/* ==========================================================
   SUITABLE SOLUTIONS IT – site.css (v7)
   Marco Keppens – Agile Coach, Scrum Master & IT-Projektleiter
   Fonts liegen lokal in /assets/fonts (kein Google, kein Cookie-Banner)
   ========================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/fraunces-var-italic.woff2') format('woff2');
}

/* ----------------------------------------------------------
   TOKENS
   ---------------------------------------------------------- */
:root {
  --bg:        #f7f5f0;
  --surface:   #ffffff;
  --surface-2: #efece5;
  --ink:       #12151c;
  --ink-2:     #3a404d;
  --muted:     #646b79;
  --line:      #e3dfd6;

  --blue:      #0057ff;
  --blue-ink:  #0043c7;
  --blue-soft: #e8efff;
  --cyan:      #00c8ff;
  --coral:     #ff4d5e;
  --mint:      #1ae1a0;
  --green:     #19b46b;

  --dark:      #0d1117;
  --dark-2:    #161c27;
  --on-dark:   #e9edf3;
  --on-dark-2: #a3acbb;
  --line-dark: rgba(255,255,255,.1);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 1px 2px rgba(18,21,28,.04), 0 8px 24px -12px rgba(18,21,28,.12);
  --shadow-lg: 0 30px 60px -30px rgba(18,21,28,.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ----------------------------------------------------------
   RESET / BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ----------------------------------------------------------
   TYPO HELPERS
   ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
.h2 em, .h1 em { font-style: italic; font-weight: 400; color: var(--blue); }
.h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.muted { color: var(--muted); }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em;
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(0,87,255,.7);
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-ink); transform: translateY(-1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--blue-ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--blue);
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247,245,240,.94); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 50px; width: auto; margin-block: -4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block; padding: 8px 13px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav__link:hover { background: var(--surface-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .nav__cta { margin: 6px 0 0; }
}

/* ----------------------------------------------------------
   SECTIONS
   ---------------------------------------------------------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .h2, .section--dark strong { color: #fff; }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-2); }
.section--dark .eyebrow { color: var(--cyan); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .h2 { margin-top: 16px; }
.section__head .lead { margin-top: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split {
  max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end;
}
.section__head--split .lead { margin-top: 0; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   HERO (Startseite)
   ---------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -320px; top: -360px;
  background: radial-gradient(closest-side, rgba(0,87,255,.14), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.h1 { font-family: var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.h1__kicker {
  display: block; margin-bottom: 22px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
}
.h1__kicker b { color: var(--ink); font-weight: 650; }
.h1__main {
  display: block;
  font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: 1; font-weight: 560;
  font-variation-settings: 'opsz' 144;
}
.hero .lead { margin-top: 28px; max-width: 590px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px;
  font-size: 14px; color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.portrait { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.portrait__img {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--mint);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
}
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__badge {
  position: absolute; left: -28px; bottom: 32px;
  background: var(--surface); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); min-width: 230px;
}
.portrait__badge-name { font-weight: 700; font-size: 15.5px; }
.portrait__badge-sub { font-size: 13px; color: var(--muted); line-height: 1.4; }
.portrait__status {
  position: absolute; right: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,17,23,.78); color: #fff; backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,180,107,.25); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 420px; }
  .portrait__badge { left: 16px; }
}

/* ----------------------------------------------------------
   FACTS STRIP
   ---------------------------------------------------------- */
.facts { background: var(--dark); color: var(--on-dark); }
.facts__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line-dark);
}
.facts__item { padding: 36px 28px; border-right: 1px solid var(--line-dark); }
.facts__num {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; line-height: 1; color: #fff;
  font-variation-settings: 'opsz' 144;
}
.facts__num span { color: var(--cyan); }
.facts__label { margin-top: 10px; font-size: 14.5px; color: var(--on-dark-2); }
@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr 1fr; border-left: 0; }
  .facts__item { padding: 26px 16px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .facts__item:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .facts__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ----------------------------------------------------------
   CARDS / GRIDS
   ---------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.problem__num {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--coral); font-weight: 500;
}
.problem .h3 { margin-top: 14px; }
.problem p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Lösung */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .h2 { margin-top: 16px; }
.split__body p { margin-top: 18px; color: var(--ink-2); }
.split__body .btn { margin-top: 30px; }
.roles { display: grid; gap: 14px; margin-top: 26px; }
.roles li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); font-size: 16px; }
.roles svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Leistungen */
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.service__tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink);
}
.service__tag--coral { background: #ffe9eb; color: #c4202f; }
.service__tag--green { background: #e3f6ec; color: #0e7a47; }
.service__tag--ink { background: var(--surface-2); color: var(--ink-2); }
.service .h3 { margin-top: 18px; font-size: 1.4rem; }
.service .h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.service p { margin-top: 12px; color: var(--muted); font-size: 16px; flex-grow: 1; }
.service__result {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.service__result span { color: var(--blue); }
.service__more { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.service__tag--ai { background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; }
.service--feature {
  grid-column: 1 / -1;
  background: var(--dark); border-color: var(--dark); color: var(--on-dark);
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(0,200,255,.22), transparent 70%);
}
.service--feature .h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.service--feature p { color: var(--on-dark-2); max-width: 760px; }
.service--feature .service__result { color: #fff; border-top-color: var(--line-dark); }
.service--feature .service__result span, .service--feature .service__more { color: var(--cyan); }
.service--feature:hover { border-color: var(--cyan); }
@media (max-width: 760px) { .service--feature { grid-column: auto; } }

/* Projekte */
.case { display: flex; flex-direction: column; }
.case__meta { font-size: 12.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case .h3 { margin-top: 12px; font-size: 1.15rem; }
.case__role { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.case__results { list-style: none; padding: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.case__results li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.case__results li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.industries { margin-top: 36px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.industries .label-sm { margin-right: 12px; }

/* Zertifikate */
.certs { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.certs li { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.certs strong { display: block; font-weight: 600; }
.certs span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.certs__upcoming { grid-column: 1 / -1; border-style: dashed !important; border-color: var(--blue) !important; background: var(--blue-soft) !important; }
.certs__upcoming span { color: var(--blue-ink); font-weight: 500; }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }

/* Vorgehen */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
}
.step::after {
  content: ''; position: absolute; top: 21px; left: 54px; right: -8px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-dark) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step .h3 { color: #fff; font-size: 1.15rem; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--on-dark-2); }
.step__time { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--cyan); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .step::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Über mich */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 24px); }
.about__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about__body .h2 { margin-top: 16px; }
.about__body p { margin-top: 18px; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.label-sm { font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about__skills { margin-top: 34px; }
.about__skills + .about__skills { margin-top: 28px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 420px; }
}

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery .g-w { grid-column: span 2; }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(13,17,23,.7);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.gallery .g-a { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery .g-a, .gallery .g-w { grid-column: auto; grid-row: auto; }
}

/* Auf einen Blick */
.glance { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.glance dt, .glance dd { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: 14px; font-weight: 650; color: var(--muted); padding-right: 16px; }
.glance dd { color: var(--ink); font-size: 16px; }
.glance a { color: var(--blue); }
@media (max-width: 600px) {
  .glance { grid-template-columns: 1fr; }
  .glance dt { padding-bottom: 0; border-bottom: 0; }
  .glance dd { padding-top: 4px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.12rem; font-weight: 600; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex-shrink: 0; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  font-size: 20px; font-weight: 400; color: var(--blue); transition: transform .25s, background .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--blue-soft); border-color: transparent; }
.faq__item summary:hover { color: var(--blue); }
.faq__a { padding: 0 56px 24px 0; color: var(--ink-2); }
.faq__a p + p { margin-top: 10px; }
@media (max-width: 600px) { .faq__a { padding-right: 0; } }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  background: var(--blue); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta::after {
  content: ''; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(0,200,255,.5), transparent 70%); pointer-events: none;
}
.cta .h2 { color: #fff; }
.cta__person { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cta__avatar { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.25); flex-shrink: 0; }
.cta__person-name { font-weight: 700; font-size: 16px; color: #fff; line-height: 1.3; }
.cta__person-role { font-size: 14px; color: #cfe0ff; }
.cta .eyebrow { color: #cfe0ff; }
.cta p { margin-top: 16px; color: #dbe6ff; font-size: 1.08rem; }
.cta .btn { margin-top: 30px; }
.cta__contacts { position: relative; z-index: 1; display: grid; gap: 12px; }
.cta__contacts li a, .cta__contacts li > span {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.1);
  font-size: 15px; font-weight: 500; overflow-wrap: anywhere;
}
.cta__contacts li a:hover { background: rgba(255,255,255,.18); }
.cta__contacts svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   UNTERSEITEN
   ---------------------------------------------------------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero .h1 {
  margin-top: 18px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.04; font-weight: 560;
  font-variation-settings: 'opsz' 144;
}
.page-hero .lead { margin-top: 22px; max-width: 680px; }
.page-hero .hero__actions { margin-top: 30px; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside .card { padding: 26px; }
.aside .h3 { font-size: 1.05rem; }
.aside .glance { grid-template-columns: 1fr; margin-top: 14px; }
.aside .glance dt { padding: 12px 0 0; border: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.aside .glance dd { padding: 2px 0 12px; font-size: 15px; }
.aside .btn { width: 100%; margin-top: 16px; }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}

/* Fließtext */
.prose { max-width: 720px; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.2em; font-family: var(--serif); font-weight: 560; color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; font-weight: 650; color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; }
.prose ul li + li, .prose ol li + li { margin-top: .55em; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px;
  background: var(--blue); transform: rotate(45deg) scale(.75);
}
.prose ol { counter-reset: li; }
.prose ol li::before {
  counter-increment: li; content: counter(li);
  position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); font-size: 12.5px; font-weight: 700;
}
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .answer {
  padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--blue); color: var(--ink);
}
.prose .note {
  padding: 16px 20px; border-radius: 12px; background: var(--blue-soft); color: var(--ink-2); font-size: 15.5px;
}
.prose address { font-style: normal; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.related a {
  display: block; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.related a:hover { border-color: var(--blue); transform: translateY(-2px); }
.related strong { display: block; font-size: 1.05rem; }
.related span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.updated { margin-top: 40px; font-size: 13.5px; color: var(--muted); }

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding-block: 72px 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__brand address { margin-top: 18px; font-style: normal; line-height: 1.6; }
.footer__title { color: #fff; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.footer__list { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   REVEAL – reines CSS (scroll-driven animation).
   Browser ohne Unterstützung zeigen alles sofort an –
   Inhalte sind also nie versteckt (wichtig für Crawler).
   ---------------------------------------------------------- */
@keyframes reveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

@media print {
  .site-header, .nav-toggle, .cta, .site-footer { display: none; }
  body { background: #fff; }
}
