/* =====================================================================
   ZELKON GERMANY — Digitalisierungsdienstleistungen
   Stil: technisch-präzise / Blueprint-Editorial, hell & seriös
   Farben: Schwarz · Rot · Gold (Deutschlandflagge / Logo)
   ===================================================================== */

/* ----- Fonts (lokal gehostet – kein externer Request) ----- */
@import url('../fonts/fonts.css');

/* ----- Design Tokens ----- */
:root {
  --black: #0a0a0a;
  --ink: #16181d;
  --grey-900: #2a2d34;
  --grey-600: #5b6068;
  --grey-400: #9aa0a8;
  --grey-200: #d9dbdf;
  --grey-100: #eceded;
  --paper: #f6f6f3;
  --paper-2: #efefea;
  --white: #ffffff;

  --red: #e2211c;          /* kräftiges Flaggenrot, kontraststark */
  --red-logo: #ff3131;     /* Logo-Rot, für Akzentlinien */
  --red-dark: #b3140f;
  --gold: #f2c200;
  --gold-soft: #ffde59;    /* Logo-Gold */

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 2px;

  --grid-line: rgba(10, 10, 10, 0.045);
  --hair: rgba(10, 10, 10, 0.14);

  --shadow-card: 0 1px 0 rgba(10,10,10,.04), 0 18px 40px -28px rgba(10,10,10,.35);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Blueprint-Raster, sehr dezent */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-soft); color: var(--black); }

/* ----- Layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey-600);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--red);
  display: inline-block;
}
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: 18px;
}
.section-head p { margin-top: 18px; color: var(--grey-600); font-size: clamp(16px, 2vw, 19px); max-width: 60ch; }

/* technische Schnittmarken in Ecken */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--hair); pointer-events: none;
}
.ticks::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.ticks::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--font-mono);
  font-size: 13.5px; letter-spacing: .04em;
  padding: 15px 24px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black); color: var(--white);
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(226,33,28,.7); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,246,243,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.scrolled { box-shadow: 0 10px 30px -22px rgba(10,10,10,.4); background: rgba(246,246,243,.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; }
.brand img { height: 66px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .03em;
  color: var(--grey-600); padding: 9px 14px; border-radius: var(--radius);
  position: relative; transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover, .nav a.active { color: var(--black); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; padding: 11px 18px; }
.nav .btn:hover { color: var(--white); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 1px solid var(--hair); border-radius: var(--radius); }
.burger span { width: 22px; height: 2px; background: var(--black); transition: transform .3s ease, opacity .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { /* gold-glow oben rechts */
  content: ""; position: absolute; top: -180px; right: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(242,194,0,.16), transparent 62%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__index { font-family: var(--font-mono); font-size: 12px; color: var(--grey-400); letter-spacing: .18em; margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 7.2vw, 86px); line-height: 0.98; letter-spacing: -0.03em; color: var(--black);
}
.hero h1 .red { color: var(--red); }
.hero h1 .ul { position: relative; white-space: nowrap; }
.hero h1 .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .1em;
  background: linear-gradient(90deg, var(--red-logo), var(--gold-soft)); }
.hero__lede { margin-top: 26px; font-size: clamp(17px, 2vw, 20px); color: var(--grey-900); max-width: 52ch; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.hero__meta .stat .n { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--black); line-height: 1; }
.hero__meta .stat .l { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); margin-top: 8px; }

/* Hero-Visual: Blueprint-Karte */
.hero__visual { position: relative; }
.blueprint {
  position: relative; aspect-ratio: 4/5; border: 1px solid var(--hair); border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(226,33,28,.06), transparent 55%),
    linear-gradient(rgba(10,10,10,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,.05) 1px, transparent 1px),
    var(--white);
  background-size: auto, 28px 28px, 28px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.blueprint__label { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--grey-600); text-transform: uppercase; }
.blueprint__corner { position: absolute; bottom: 16px; right: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--grey-400); }
.blueprint svg.draw { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint .dim { stroke: var(--grey-400); stroke-width: 1; fill: none; }
.blueprint .obj { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s ease forwards .4s; }
.blueprint .obj.b { stroke: var(--red); animation-delay: 1.1s; }
.blueprint .node { fill: var(--gold); stroke: var(--black); stroke-width: 1.2; opacity: 0; animation: pop .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

/* Marquee / Leistungs-Stripe */
.stripe { border-block: 1px solid var(--hair); background: var(--white); overflow: hidden; }
.stripe__track { display: flex; gap: 0; white-space: nowrap; font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-600);
  animation: marquee 38s linear infinite; }
.stripe__track span { padding: 16px 28px; display: inline-flex; align-items: center; gap: 28px; }
.stripe__track span::after { content: "—"; color: var(--red); }
.stripe:hover .stripe__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   LEISTUNGEN
   ===================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); }
.svc {
  background: var(--white); padding: clamp(28px, 3.4vw, 44px); position: relative; overflow: hidden;
  transition: background .25s ease;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--red); transition: height .35s ease; }
.svc:hover { background: var(--paper); }
.svc:hover::before { height: 100%; }
.svc__no { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--red); }
.svc__icon { width: 46px; height: 46px; margin: 22px 0 20px; color: var(--black); }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.01em; color: var(--black); }
.svc p { margin-top: 12px; color: var(--grey-600); font-size: 16px; }
.svc ul { margin-top: 18px; list-style: none; padding: 0; display: grid; gap: 9px; }
.svc ul li { font-family: var(--font-mono); font-size: 13px; color: var(--grey-900); display: flex; gap: 10px; align-items: baseline; }
.svc ul li::before { content: "+"; color: var(--gold); font-weight: 600; }

/* =====================================================================
   ABLAUF
   ===================================================================== */
.process { background: var(--black); color: var(--paper); background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 46px 46px; }
.process .eyebrow { color: var(--grey-400); }
.process .eyebrow::before { background: var(--gold); }
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: var(--grey-400); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.step { background: var(--black); padding: clamp(26px, 3vw, 38px); position: relative; }
.step__no { font-family: var(--font-display); font-weight: 800; font-size: 46px; color: rgba(255,255,255,.13); line-height: 1; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--white); margin-top: 14px; }
.step p { color: var(--grey-400); font-size: 14.5px; margin-top: 10px; }
.step__bar { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.step.in .step__bar { transform: scaleX(1); }

/* =====================================================================
   ÜBER UNS
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.01em; color: var(--black); }
.about__lead em { font-style: normal; color: var(--red); }
.about__body p { color: var(--grey-600); }
.about__body p + p { margin-top: 16px; }
.feature-row { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.feature-row div { background: var(--paper); padding: 20px 22px; }
.feature-row .ft-k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.feature-row .ft-v { font-family: var(--font-display); font-weight: 600; color: var(--black); margin-top: 6px; font-size: 17px; }

/* =====================================================================
   KONTAKT / QUIZ-KONFIGURATOR
   ===================================================================== */
.ph { color: var(--grey-400); font-style: italic; }

.quiz {
  background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 48px);
  max-width: 920px; margin-inline: auto; position: relative;
}

/* Fortschritt */
.quiz__progress { margin-bottom: clamp(26px, 4vw, 40px); }
.quiz__bar { height: 4px; background: var(--grey-100); border-radius: 99px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 25%; border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.quiz__steps { display: flex; justify-content: space-between; margin-top: 14px; }
.quiz__steps .dot { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-400); display: flex; align-items: center; gap: 7px; transition: color .3s ease; }
.quiz__steps .dot::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--grey-200); border-radius: 50%; transition: all .3s ease; }
.quiz__steps .dot.done { color: var(--grey-900); }
.quiz__steps .dot.done::before { background: var(--red); border-color: var(--red); }
.quiz__steps .dot.active { color: var(--black); }
.quiz__steps .dot.active::before { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,33,28,.16); }
.quiz__steps .dot .lbl { display: none; }
@media (min-width: 620px) { .quiz__steps .dot .lbl { display: inline; } }

/* Schritte */
.quiz__step { border: 0; padding: 0; margin: 0; display: none; animation: stepIn .4s cubic-bezier(.2,.7,.2,1); }
.quiz__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.quiz__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 3vw, 30px);
  letter-spacing: -0.01em; color: var(--black); line-height: 1.15; }
.quiz__qno { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.quiz__hint { font-family: var(--font-mono); font-size: 12.5px; color: var(--grey-600); margin-top: 8px; }

/* Kacheln */
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  text-align: left; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; position: relative;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 104px;
}
.tile:hover { border-color: var(--black); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(10,10,10,.5); }
.tile svg { width: 30px; height: 30px; color: var(--grey-900); margin-bottom: 8px; transition: color .2s ease; }
.tile__t { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--black); margin-top: auto; }
.tile__d { font-size: 12.5px; color: var(--grey-600); line-height: 1.35; }
.tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; gap: 14px; }
.tile--wide svg { margin: 0; flex-shrink: 0; }
.tile--wide .tile__t { margin-top: 0; }
/* ausgewählt */
.tile[aria-pressed="true"] { border-color: var(--red); background: #fff5f4; box-shadow: inset 0 0 0 1px var(--red); }
.tile[aria-pressed="true"] svg { color: var(--red); }
.tile[aria-pressed="true"]::after {
  content: "✓"; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px;
  background: var(--red); color: #fff; border-radius: 50%; font-size: 12px; line-height: 20px; text-align: center; font-weight: 700;
}

/* Zusammenfassung in Schritt 4 */
.quiz__summary { display: grid; gap: 8px; margin: 22px 0 26px; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.quiz__summary:empty { display: none; }
.quiz__summary .row { display: flex; gap: 12px; font-size: 14px; align-items: baseline; flex-wrap: wrap; }
.quiz__summary .row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-600); min-width: 92px; }
.quiz__summary .row .v { color: var(--black); font-weight: 500; }

/* Felder */
.field { margin-bottom: 18px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); display: block; margin-bottom: 8px; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--grey-400); font-weight: 400; }
.quiz__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .quiz__contact { grid-template-columns: 1fr; gap: 0; } }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(242,194,0,.25); }
input.err, textarea.err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,33,28,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--grey-600); }
.consent input { width: auto; margin-top: 4px; }
.consent label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13.5px; margin: 0; color: var(--grey-600); }
.consent a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* Navigation */
.quiz__nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hair); }
.quiz__count { font-family: var(--font-mono); font-size: 12px; color: var(--grey-400); margin-left: auto; }
.quiz__nav .btn { white-space: nowrap; }
#quizBack { margin-right: auto; }
#quizBack + .quiz__count { margin-left: 0; }
.form-msg { margin-top: 14px; font-family: var(--font-mono); font-size: 13px; min-height: 1.2em; color: var(--red); }
.form-msg.ok { color: var(--red-dark); }

/* direkter Kontakt */
.quiz__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center;
  margin-top: 28px; font-family: var(--font-mono); font-size: 13px; color: var(--grey-600); }
.quiz__direct a { color: var(--black); }
.quiz__direct a:hover { color: var(--red); }
.quiz__direct .sep { color: var(--grey-200); }
.quiz__direct .note-inline { font-style: italic; color: var(--grey-400); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--black); color: var(--grey-400); padding-top: clamp(56px, 7vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { display: inline-flex; background: var(--paper); border-radius: var(--radius); padding: 8px 12px; }
.footer__logo img { height: 66px; display: block; }
.footer__brand p { margin-top: 22px; max-width: 38ch; font-size: 14.5px; color: var(--grey-400); }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--grey-400); transition: color .2s ease; }
.footer ul a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--grey-600); }
.footer__bottom a:hover { color: var(--white); }

/* =====================================================================
   WISSEN / BLOG
   ===================================================================== */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; transition: background .25s ease;
}
.post-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--red); transition: height .35s ease; }
.post-card:hover { background: var(--paper); }
.post-card:hover::before { height: 100%; }
.post-card__meta { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.post-card__cat { color: var(--red); }
.post-card__meta .dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-400); display: inline-block; }
.post-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.2; letter-spacing: -0.01em; color: var(--black); }
.post-card p { color: var(--grey-600); font-size: 15.5px; }
.post-card__link { font-family: var(--font-mono); font-size: 13px; color: var(--black); margin-top: auto; display: inline-flex; gap: 8px; align-items: center; position: relative; z-index: 2; }
.post-card__link .arrow { transition: transform .2s ease; color: var(--red); }
.post-card:hover .post-card__link .arrow { transform: translateX(4px); }
.post-card .stretched { position: absolute; inset: 0; z-index: 1; }
.posts-cta { margin-top: 30px; display: flex; justify-content: flex-start; }

/* ----- Artikel-Seite ----- */
.article { padding-block: clamp(40px, 6vw, 84px); }
.article__head { max-width: 820px; border-bottom: 1px solid var(--hair); padding-bottom: 30px; margin-bottom: 36px; }
.article__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 16px 0 18px; }
.article__meta .cat { color: var(--red); }
.article__meta .dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-400); display: inline-block; }
.article__head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 50px); line-height: 1.05; letter-spacing: -0.02em; color: var(--black); }
.article__lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--grey-900); max-width: 64ch; }
.article__body { max-width: 720px; }
.article__body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); color: var(--black); margin-top: 42px; margin-bottom: 12px; letter-spacing: -0.01em; }
.article__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--black); margin-top: 24px; margin-bottom: 8px; }
.article__body p { color: var(--grey-900); margin-bottom: 16px; }
.article__body ul { margin: 0 0 18px 1.1em; display: grid; gap: 8px; color: var(--grey-900); }
.article__body ul li::marker { color: var(--red); }
.article__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article__body strong { color: var(--black); }
.article__cta { margin-top: 44px; background: var(--black); color: var(--paper); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); }
.article__cta h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.5vw, 26px); color: var(--white); }
.article__cta p { color: var(--grey-400); margin: 10px 0 22px; max-width: 52ch; }
.article__share { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.article__share .back-link { margin: 0; }

/* =====================================================================
   RECHTSSEITEN (Legal)
   ===================================================================== */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal__head { border-bottom: 1px solid var(--hair); padding-bottom: 28px; margin-bottom: 40px; }
.legal__head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; color: var(--black); margin-top: 14px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--black); margin-top: 38px; margin-bottom: 12px; }
.legal__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--black); margin-top: 22px; margin-bottom: 8px; }
.legal__body p, .legal__body li { color: var(--grey-900); }
.legal__body p { margin-bottom: 14px; }
.legal__body ul { margin: 0 0 16px 1.1em; display: grid; gap: 6px; }
.legal__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal .note { background: #fff8e1; border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; color: var(--grey-900); margin-bottom: 32px; }
.legal .note strong { color: var(--black); }
.ph-box { background: var(--white); border: 1px dashed var(--red); border-radius: var(--radius); padding: 2px 6px; color: var(--red-dark); font-family: var(--font-mono); font-size: .92em; }
.back-link { font-family: var(--font-mono); font-size: 13px; color: var(--grey-600); display: inline-flex; gap: 8px; }
.back-link:hover { color: var(--red); }

/* =====================================================================
   REVEAL-Animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hair); padding: 14px var(--gut) 24px;
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.7,.2,1); box-shadow: 0 20px 30px -24px rgba(0,0,0,.5); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--hair); }
  .nav a::after { display: none; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 22px 30px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
