/**
 * kryptobesteuerung.eu - Haupt-Stylesheet
 *
 * Design-System: haberbosch.legal v10 mit Acid Lime Accent
 * Fonts: Inter + Instrument Serif (lokal, DSGVO-konform)
 *
 * @version 1.0.0
 */

/* ═══════ FONT-FACE (Lokal, DSGVO!) ═══════ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ═══════ CSS VARIABLES ═══════ */
:root {
  --accent-h: 72;
  --accent-s: 100%;
  --accent: hsl(72, 100%, 50%);
  --accent-light: hsl(72, 100%, 62%);
  --accent-dim: hsla(72, 100%, 50%, 0.12);
  --accent-glow: hsla(72, 100%, 50%, 0.06);
  --accent-text: hsl(72, 100%, 68%);
  --bg: #08080a;
  --bg-card: #141417;
  --bg-elevated: #1a1a1e;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #f0f0f0;
  --text-secondary: rgba(255,255,255,0.55);
  --text-muted: rgba(255,255,255,0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-w: 280px;
}

/* ═══════ RESET & BASE ═══════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }

/* Page content offset (Header-Abstand fuer Unterseiten) */
.page-content { padding-top: 120px; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow */
.ambient {
  position: fixed;
  top: -30vh;
  left: 0;
  right: 0;
  height: 70vh;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--accent-h), var(--accent-s), 50%, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
}

a { color: inherit; }

/* ═══════ HEADER ═══════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8,8,10,0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
section[id] {
  scroll-margin-top: 120px;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  display: block;
}
header .logo img { height: 48px; }
footer .logo img { height: 48px; }

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 52%, 0.35);
  transition: all 0.25s var(--ease);
}
nav a:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.nav-cta {
  background: transparent !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-hover) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-color: var(--accent) !important;
  transform: translateY(-1px);
}
.nav-cta-always {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-color: var(--accent) !important;
}
.nav-cta-always:hover { filter: brightness(1.15); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,8,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 52%, 0.35);
  transition: all 0.25s;
  width: 80%;
  text-align: center;
}
.mobile-nav a:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.mobile-nav .nav-cta {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-hover);
  font-weight: 600;
  margin-top: 12px;
  border-radius: var(--radius-full);
}
.mobile-nav .nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.mobile-nav .nav-cta-always {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.btn-accent,
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 50%, 0.45);
  box-shadow: 0 0 12px hsla(var(--accent-h), var(--accent-s), 50%, 0.08);
}
.btn-accent:hover,
.btn-ghost:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-dim), 0 0 20px hsla(var(--accent-h), var(--accent-s), 50%, 0.15);
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ═══════ GRADIENT DIVIDERS ═══════ */
.glow-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 48px auto;
}
.glow-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 5px;
  background: linear-gradient(90deg,
    transparent 0%,
    hsla(var(--accent-h), var(--accent-s), 50%, 0.08) 15%,
    hsla(var(--accent-h), var(--accent-s), 50%, 0.4) 40%,
    hsla(var(--accent-h), var(--accent-s), 50%, 0.55) 50%,
    hsla(var(--accent-h), var(--accent-s), 50%, 0.4) 60%,
    hsla(var(--accent-h), var(--accent-s), 50%, 0.08) 85%,
    transparent 100%
  );
  border-radius: 3px;
}
.glow-divider::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 24px;
  background: radial-gradient(ellipse at center, hsla(var(--accent-h), var(--accent-s), 50%, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ═══════ SECTIONS ═══════ */
section { position: relative; z-index: 1; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* ═══════ SCROLL REVEAL WITH BLUR ═══════ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(18px);
  transition: opacity 2.8s var(--ease), transform 2.8s var(--ease), filter 3.2s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════ HERO ═══════ */
.hero {
  padding: 140px 24px 0;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  filter: saturate(0.9) brightness(1.25);
  transition: opacity 2s ease-in-out;
}
.hero-bg img.active {
  opacity: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0) 0%, rgba(8,8,10,0.25) 55%, rgba(8,8,10,1) 100%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-badge::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--accent-light);
}
.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.45s forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
  margin-bottom: 32px;
}
.hero-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}
.hero-qual {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  cursor: default;
}
.hero-qual:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ═══════ SOFORTHILFE BANNER ═══════ */
.soforthilfe-banner { padding: 0 24px; }
.soforthilfe-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(20,20,23,0.8) 100%);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 50%, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.soforthilfe-text h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin-bottom: 6px;
}
.soforthilfe-text p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 720px;
}
.soforthilfe-inner .btn {
  flex-shrink: 0;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-hover);
}
.soforthilfe-inner .btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ═══════ SERVICE CARDS ═══════ */
.service-section { padding: 0 24px 24px; }
.service-inner { max-width: 1120px; margin: 0 auto; }
.service-header { margin-bottom: 32px; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card:hover {
  border-color: hsla(var(--accent-h), var(--accent-s), 52%, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 50px hsla(var(--accent-h), var(--accent-s), 52%, 0.12), 0 24px 64px rgba(0,0,0,0.3);
  filter: brightness(1.08);
}
.service-card-img {
  width: calc(100% + 64px);
  height: 160px;
  object-fit: cover;
  margin: -36px -32px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  filter: brightness(0.6) saturate(0.85);
  transition: filter 0.4s var(--ease);
}
.service-card:hover .service-card-img {
  filter: brightness(0.75) saturate(1);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 50%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.service-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.service-card .btn {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 13px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid hsla(var(--accent-h), var(--accent-s), 50%, 0.45);
  box-shadow: 0 0 12px hsla(var(--accent-h), var(--accent-s), 50%, 0.08);
}
.service-card .btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 8px 32px var(--accent-dim), 0 0 20px hsla(var(--accent-h), var(--accent-s), 50%, 0.15);
}

/* ═══════ BLOG FEED ═══════ */
.blog-section { padding: 0 24px 24px; }
.blog-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 48px;
}
.blog-header {
  margin-bottom: 32px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.blog-header .view-all {
  font-size: 13px;
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
  white-space: nowrap;
}
.blog-header .view-all:hover { gap: 10px; }

/* Article Cards */
.article-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.article-card:hover {
  border-color: hsla(var(--accent-h), var(--accent-s), 52%, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 50px hsla(var(--accent-h), var(--accent-s), 52%, 0.12), 0 24px 64px rgba(0,0,0,0.3);
  filter: brightness(1.08);
}
.article-thumb {
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.article-card:hover .article-thumb img { opacity: 0.9; }
.article-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.15;
}
.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.article-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.article-card:hover h3 { color: var(--accent-light); }
.article-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  gap: 16px;
}

/* ═══════ SIDEBAR ═══════ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-widget h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.sidebar-search {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.sidebar-search:focus { border-color: var(--accent); }
.sidebar-search::placeholder { color: var(--text-muted); }
.sidebar-cats { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.sidebar-cats a:hover { color: var(--accent-light); }
.sidebar-cats .count {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.sidebar-cta { text-align: center; }
.sidebar-cta p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 20px;
  font-size: 13px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-hover);
}
.sidebar-cta .btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ═══════ FAQ ═══════ */
.faq {
  padding: 0 24px 24px;
  background: linear-gradient(180deg, rgba(20,20,26,0.5) 0%, transparent 100%);
}
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 36px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.2s;
  outline: none;
}
.faq-q:hover,
.faq-q:focus,
.faq-q:active {
  color: var(--accent-light);
  background: transparent !important;
}
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  font-size: 15px;
  color: var(--text-muted);
}
.faq-q:hover .faq-icon,
.faq-q:focus .faq-icon {
  border-color: var(--accent);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a.open { max-height: 300px; }
.faq-a-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ═══════ ABOUT / UEBER MICH ═══════ */
.about { padding: 0 24px 24px; }
.about-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-aside {
  position: sticky;
  top: 90px;
}
.about-photo-frame {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 70% center;
}
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.about-photo-frame:hover::after {
  opacity: 0.2;
}
.about-name {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 3px;
}
.about-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.quals {
  display: flex;
  flex-direction: column;
}
.qual-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s var(--ease);
}
.qual-item:hover {
  color: var(--accent-light);
}
.qual-item:last-child {
  border: none;
}
.qual-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}
/* Google Review Badge */
.google-review-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  padding: 14px 22px;
  margin: 20px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.google-review-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.google-g { flex-shrink: 0; }
.google-review-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.google-review-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.google-review-rating {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.google-stars {
  font-size: 16px;
  color: #FBBC05;
  letter-spacing: 1px;
  line-height: 1;
}
.google-review-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}
.network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.net-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.net-link:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-glow);
}
.net-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ═══════ FINAL CTA ═══════ */
.final-cta {
  padding: 0 24px 24px;
  text-align: center;
  position: relative;
}
.final-cta-bg {
  position: absolute;
  inset: -40px;
  z-index: 0;
}
.final-cta-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.5) brightness(0.9);
  transition: opacity 2s ease-in-out;
}
.final-cta-bg img.active {
  opacity: 0.75;
}
.final-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8,8,10,0.4) 0%, rgba(8,8,10,0.75) 80%);
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
  position: relative;
}
.final-cta p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════ FOOTER ═══════ */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 10px;
}
footer h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 7px; }
footer .footer-col a,
footer ul a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
footer .footer-col a:hover,
footer ul a:hover { color: var(--accent-light); }
.footer-bottom {
  max-width: 1120px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════ SINGLE ARTICLE ═══════ */
.single-article { padding: 0 24px; }
.single-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 48px;
}
.single-layout-full { grid-template-columns: 1fr; max-width: 780px; }
.single-header { margin-bottom: 32px; }
.single-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.single-thumb {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Entry Content */
.entry-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.entry-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 32px 0 12px;
}
.entry-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}
.entry-content p { margin-bottom: 16px; }
.entry-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--accent); }
.entry-content ul, .entry-content ol {
  margin: 12px 0 16px 24px;
  color: var(--text-secondary);
}
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 16px 0;
}

/* Rechtstext */
.rechtstext-stand {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.rechtstext-content .entry-content h2 { font-size: 22px; }
.rechtstext-content .entry-content h3 { font-size: 16px; }

/* Beratung CTA Box */
.beratung-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
}
.beratung-cta-box h2 {
  font-size: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.beratung-cta-box p {
  margin-bottom: 16px;
}
.beratung-cta-box .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.beratung-cta-box .btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* Pagination */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.pagination a {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.pagination a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}
.pagination .current {
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
}

/* No results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ═══════ TABLET ═══════ */
@media (max-width: 1000px) {
  .blog-layout,
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-aside { position: static; }
}

/* ═══════ SMALL TABLET ═══════ */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 0; }
  .hero h1 { font-size: 32px; }
  .glow-divider { margin: 36px auto; }
  .soforthilfe-inner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .soforthilfe-text p { max-width: 100%; }
  .article-card { grid-template-columns: 1fr; }
  .article-thumb { height: 160px; }
}

/* ═══════ MOBILE ═══════ */
@media (max-width: 600px) {
  .cursor-glow { display: none; }
  .header-inner { padding: 10px 16px 6px; }
  header .logo img { height: 36px; }
  nav {
    gap: 4px;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  nav a {
    font-size: 10px !important;
    padding: 5px 6px !important;
    flex: 1 1 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: normal;
  }
  .hamburger { display: none; }
  .nav-cta { font-size: 10px !important; margin-left: 0; }
  .hero { padding: 120px 16px 0; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; margin-bottom: 24px; }
  .hero-quals { gap: 6px; }
  .hero-qual { font-size: 10px; padding: 4px 9px; }
  .glow-divider { margin: 28px auto; }
  .blog-section, .faq, .final-cta, .service-section, .about { padding: 0 16px 16px; }
  .about-inner { gap: 28px; }
  .about-aside {
    max-width: 100%;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: start;
  }
  .about-photo-frame { margin-bottom: 0; }
  .about-name { font-size: 20px; }
  .about-role { font-size: 12px; margin-bottom: 10px; }
  .qual-item { padding: 6px 0; font-size: 12px; }
  .about-content h2 { font-size: 26px; margin-bottom: 16px; }
  .about-content p { font-size: 14px; margin-bottom: 12px; }
  .network-links { gap: 6px; margin-top: 20px; }
  .section-label { font-size: 10px; }
  .section-title { font-size: 24px; }
  .sidebar { grid-template-columns: 1fr; }
  footer { padding: 32px 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
