/* ============================================================
   onlinestrategien.de – Globales Stylesheet
   Version: 1 | Design nach Mockup: hell, Navy + Blau, Inter
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy:        #0C1C3A;   /* Headlines, Primär-Buttons */
  --ink:         #0A1226;   /* Dunkle Sektionen */
  --ink-2:       #101B38;   /* Dunkle Karten */
  --blue:        #2563EB;   /* Links, Akzente */
  --blue-soft:   #EAF0FD;   /* Icon-Hintergründe, Tints */
  --peri:        #8EA7E9;   /* Logo-Punkt, dezente Akzente */
  --green:       #16A34A;   /* Positive Kennzahlen */
  --bg:          #FFFFFF;
  --bg-soft:     #F2F5FA;   /* Hero, getönte Sektionen */
  --text:        #33415E;
  --muted:       #5D6B85;
  --dark-text:   #E9EEF8;
  --dark-muted:  #A3B3CF;
  --border:      #E3E9F2;
  --border-dark: rgba(255,255,255,.09);
  --shadow-sm:   0 1px 2px rgba(12,28,58,.06), 0 4px 12px rgba(12,28,58,.05);
  --shadow-md:   0 2px 6px rgba(12,28,58,.07), 0 16px 40px rgba(12,28,58,.10);
  --shadow-lg:   0 8px 24px rgba(12,28,58,.10), 0 32px 80px rgba(12,28,58,.16);
  --max-w:       1200px;
  --pad-x:       clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:       76px;
  --r-md:        .75rem;
  --r-lg:        1rem;
  --r-xl:        1.5rem;
  --f-body:      'Inter', system-ui, -apple-system, sans-serif;
  --t:           .22s ease;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--dark-muted); }

/* Akzent-Punkt am Satzende (Signature-Element) */
.dot { color: var(--blue); }
.section-dark .dot { color: var(--peri); }

/* Eyebrow-Label über Überschriften */
.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.section-dark .eyebrow { color: var(--peri); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { max-width: none; margin: 0 0 2.2rem; text-align: left; }
.section-head p { margin-top: 1rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: var(--r-md);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .arr { transition: transform var(--t); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #14284E; box-shadow: var(--shadow-md); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.95); }
.nav { height: var(--nav-h); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x);
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { width: 196px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font: inherit; font-size: .96rem; font-weight: 500; color: var(--text);
  background: none; border: 0; cursor: pointer;
  padding: .55rem .85rem; border-radius: .5rem;
  transition: color var(--t), background var(--t);
  text-decoration: none;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--bg-soft); text-decoration: none; }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-chevron { width: 12px; height: 12px; transition: transform var(--t); }
.nav-link[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 300px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: .55rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item.open .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav-list { list-style: none; }
.subnav-list li { border-radius: var(--r-md); }
.subnav-list li:hover { background: var(--bg-soft); }
.subnav-link {
  display: block; padding: .65rem .8rem .1rem; color: var(--navy);
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.subnav-link:hover { text-decoration: none; }
.subnav-list small {
  display: block; padding: 0 .8rem .65rem; color: var(--muted); font-size: .82rem;
}
.nav-cta { margin-left: .75rem; padding: .7rem 1.25rem; font-size: .92rem; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: .6rem; flex-direction: column; gap: 5px;
}
.toggle-bar { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  background:
    url('/hero.webp') bottom center / 100% auto no-repeat,
    var(--bg-soft);
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-sub { margin: 1.4rem 0 2rem; max-width: 520px; color: var(--muted); font-size: 1.12rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.trust-item { display: flex; gap: .8rem; align-items: flex-start; }
.trust-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 19px; height: 19px; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.45; display: block; }

/* Dashboard-Illustration (reines CSS/HTML) */
.dash-wrap { position: relative; perspective: 1200px; }
.dash-card {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  padding: 1.5rem; transform: rotateY(-6deg) rotateX(2deg);
}
.dash-title { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 1.1rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.dash-tile {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .9rem;
}
.dash-tile-label { font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.dash-tile-num { font-size: 1.35rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; margin: .15rem 0 .1rem; }
.dash-tile-sub { font-size: .68rem; color: var(--muted); }
.dash-spark { margin-top: .5rem; width: 100%; height: 42px; }
.dash-donut { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.dash-legend { list-style: none; font-size: .68rem; color: var(--muted); }
.dash-legend li { display: flex; align-items: center; gap: .4rem; margin-bottom: .15rem; }
.dash-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.dash-tasks {
  position: absolute; right: -6%; bottom: -14%;
  width: min(300px, 78%);
  background: var(--ink-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-dark);
}
.dash-tasks-title { color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: .8rem; }
.dash-task { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .38rem 0; }
.dash-task span { color: var(--dark-text); font-size: .8rem; display: flex; align-items: center; gap: .5rem; }
.dash-check { width: 15px; height: 15px; flex-shrink: 0; color: var(--peri); }
.dash-badge {
  font-size: .62rem; font-weight: 600; padding: .18rem .55rem; border-radius: 100px;
  border: 1px solid var(--border-dark); color: var(--dark-muted); white-space: nowrap;
}
.dash-badge.done { color: #7EE2A8; border-color: rgba(126,226,168,.35); }

/* ---------- Karten-Grids ---------- */
.cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD8EE; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.card-icon svg { width: 23px; height: 23px; }
.ci-blue   { background: #EAF0FD; color: #2563EB; }
.ci-green  { background: #E7F6EE; color: #16A34A; }
.ci-violet { background: #F1ECFB; color: #7C3AED; }
.ci-amber  { background: #FDF3E2; color: #D97706; }
.ci-navy   { background: #E8EDF6; color: #0C1C3A; }
.card h3, .card .card-h { font-size: 1.08rem; margin-bottom: .55rem; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }

.side-links { list-style: none; }
.side-links li { padding: .45rem 0; border-bottom: 1px solid var(--border); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { color: var(--text); font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.side-links a:hover { color: var(--blue); }

/* Glossar */
.gloss { list-style: none; }
.gloss .gloss-item {
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.gloss .gloss-item:first-child { padding-top: 0; }
.gloss dt {
  font-weight: 700; color: var(--navy); font-size: 1.08rem;
  letter-spacing: -0.01em; margin-bottom: .45rem;
}
.gloss dd { color: var(--text); line-height: 1.7; font-size: .98rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.footer .brand-link {
  color: #fff; font-weight: 700; text-decoration: none;
}
.footer .brand-link:hover { text-decoration: underline; }

.footer-contact { list-style: none; margin-top: 1.1rem; }
.footer-contact li { padding: .18rem 0; }
.footer-contact a { color: var(--dark-text); font-size: .92rem; font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.cta-tel { color: var(--navy); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cta-tel:hover { text-decoration: underline; }
.cta-band .cta-tel { color: var(--navy); }

/* Blogartikel */
.art-meta { margin-top: 1.25rem; color: var(--muted); font-size: .92rem; }
.prose .art-teaser {
  width: 100%; height: auto; border-radius: 14px;
  margin-bottom: 2.25rem; box-shadow: var(--shadow-sm);
}
.card p { font-size: .92rem; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.card-link {
  margin-top: 1.1rem; font-weight: 600; font-size: .92rem; color: var(--blue);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card-link::after {
  content: ""; position: absolute; inset: 0; /* Overlay-Link, div bleibt Wrapper */
}
.card-link .arr { transition: transform var(--t); }
.card:hover .card-link .arr { transform: translateX(3px); }

/* ---------- Prozess-Schritte ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- Check-Listen ---------- */
ul.check { list-style: none; margin: 1.2rem 0; }
ul.check li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
ul.check li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.section-dark ul.check li { color: var(--dark-muted); }
.section-dark ul.check li::before { color: var(--peri); }

/* ---------- Blog-Karten (dunkle Sektion + Übersicht) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card {
  position: relative;
  background: var(--ink-2); border: 1px solid var(--border-dark); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t);
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.blog-card-img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--ink); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peri); margin-bottom: .6rem;
}
.blog-card h3 { color: #fff; font-size: 1.06rem; line-height: 1.35; margin-bottom: .55rem; }
.blog-card p { color: var(--dark-muted); font-size: .88rem; line-height: 1.55; flex-grow: 1; }
.blog-meta { margin-top: 1rem; font-size: .78rem; color: var(--dark-muted); }
.blog-card .card-overlay { position: absolute; inset: 0; }

/* Blog-Karten hell (Blog-Übersichtsseite) */
.blog-card.light { background: #fff; border-color: var(--border); box-shadow: var(--shadow-sm); }
.blog-card.light h3 { color: var(--navy); }
.blog-card.light p { color: var(--muted); }
.blog-card.light .blog-cat { color: var(--blue); }
.blog-card.light .blog-meta { color: var(--muted); }
.blog-card.light .blog-card-img { background: var(--bg-soft); }

/* ---------- CTA-Band ---------- */
.section.cta-band { background: var(--bg-soft); padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4rem, 8vw, 6.5rem); }

.section.section-slim { padding: clamp(2.2rem, 4vw, 3.2rem) 0; }
.cta-box {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: clamp(1.75rem, 4vw, 2.75rem);
}
.cta-icon {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.cta-icon svg { width: 28px; height: 28px; }
.cta-text { flex: 1 1 380px; }
.cta-text .eyebrow { margin-bottom: .5rem; }
.cta-text h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: .5rem; }
.cta-text p { color: var(--muted); font-size: .98rem; }
.cta-action { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border-dark);
}
.footer-logo img { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer-tag { margin-top: 1.1rem; color: var(--dark-muted); font-size: .92rem; max-width: 280px; }
.footer .footer-h {
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .6rem; }
.footer a { color: var(--dark-muted); font-size: .93rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; padding: 1.5rem 0;
}
.footer-bottom p, .footer-bottom a { color: var(--dark-muted); font-size: .85rem; }
.footer-legal { display: flex; gap: 1.5rem; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 60% 90% at 90% 0%, #E4ECFA 0%, transparent 55%),
    var(--bg-soft);
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
}
.page-hero .crumbs { margin-bottom: 1.25rem; }
.page-hero h1 { max-width: none; }
.page-hero .lead { margin-top: 1.25rem; max-width: none; color: var(--muted); font-size: 1.12rem; }
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.crumbs .sep { margin: 0 .45rem; opacity: .5; }

/* ---------- Prose (Fließtext-Seiten & Artikel) ---------- */
.prose { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .8rem; font-size: 1.18rem; }
.prose p { margin-bottom: 1.2rem; }
.prose ul.check { margin: 1.4rem 0 1.8rem; }
.prose a { font-weight: 500; }
.prose strong { color: var(--navy); }
.prose blockquote {
  border-left: 4px solid var(--blue); background: var(--bg-soft);
  padding: 1.1rem 1.4rem; border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.6rem 0; color: var(--navy); font-weight: 500;
}

/* Zwei-Spalten-Layout mit Sidebar (Artikel, Themen, Agentur) */
.layout-side { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; }
.layout-side .prose { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.side-card {
  background: var(--navy); border-radius: var(--r-lg); padding: 1.5rem;
}
.side-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: .6rem; }
.side-card p { color: var(--dark-muted); font-size: .88rem; margin-bottom: 1rem; }
.side-card .btn { width: 100%; justify-content: center; }
.side-card.plain { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.side-card.plain h3 { color: var(--navy); }
.side-card.plain ul { list-style: none; }
.side-card.plain li { margin-bottom: .6rem; }
.side-card.plain a { font-size: .9rem; color: var(--text); }
.side-card.plain a:hover { color: var(--blue); }

/* Author-Box */
.author-box {
  display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem; margin-top: 3rem;
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box strong { color: var(--navy); display: block; }
.author-box p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; margin-bottom: .8rem; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-weight: 600; color: var(--navy); font-size: 1.02rem;
  padding: 1.1rem 1.3rem;
}
.faq-q svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--t); color: var(--blue); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .96rem; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.cmp th, table.cmp td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.cmp th { background: var(--bg-soft); color: var(--navy); font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 1.5rem; display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1rem; transition: transform var(--t), box-shadow var(--t);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-card .trust-icon { width: 48px; height: 48px; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card a { font-weight: 600; }
.contact-card small { color: var(--muted); display: block; font-size: .85rem; }

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 200;
  max-width: 460px; margin: 0 auto;
  background: var(--navy); color: var(--dark-text);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: .88rem; margin-bottom: .9rem; color: var(--dark-text); }
.cookie-banner a { color: var(--peri); }
.cookie-actions { display: flex; gap: .7rem; }
.cookie-actions .btn { padding: .55rem 1.1rem; font-size: .85rem; }
.cookie-decline { background: transparent; color: var(--dark-muted); border-color: var(--border-dark); }
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Scroll-Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, .blog-card { transition: none; }
}

/* ---------- 404 ---------- */
.err-hero { text-align: center; padding: calc(var(--nav-h) + 6rem) 0 6rem; }
.err-code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.err-code .dot { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem var(--pad-x) 2.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; }
  .subnav {
    position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 .75rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-item.open .subnav { display: block; }
  .nav-cta { margin: 1.25rem 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .dash-wrap { max-width: 560px; margin: 1rem auto 3rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .layout-side { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-5, .cards-3, .cards-2, .blog-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 1.1rem; }
  .dash-tasks { position: static; width: 100%; margin-top: 1rem; }
  .dash-card { transform: none; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
