@import url("fonts.css");

/* d-bridge e. V. – Leitrichtung: Dienst, der Papierkram verständlich macht (Baba),
   weiße Lesefläche mit hellen Bändern (Airbnb.org), eigenes Zeichen: der Brückenbogen. */
:root {
  --action: #2457b8;          /* nur Knöpfe und Links */
  --action-hover: #1b4596;
  --stage-1: #1e4c9e;         /* Eröffnung / Abschluss */
  --stage-2: #133572;
  --proof: #0e1f3d;           /* dunkles Belegfeld */
  --note: #ff8a3d;            /* nur Bögen, Unterstreichungen, Fokus */
  --note-ink: #b5470d;        /* Handschrift auf hellem Papier (4,9:1) */
  --ink: #16202e;
  --body: #3a4556;
  --muted: #5b6676;
  --canvas: #ffffff;
  --band: #f4f6f9;
  --tile: #eef2f7;
  --rule: #dfe4ec;
  --paper: #ffffff;
  --success: #1f8a5b;

  --font-head: "Manrope", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-note: "Caveat", "Segoe Print", cursive;

  --r-btn: 12px;
  --r-tile: 10px;
  --r-panel: 24px;
  --container: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --chapter: clamp(64px, 8vw, 96px);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .045' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045 .9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font: 400 1.0625rem/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-head); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--action); text-underline-offset: .18em; }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--note); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skiplink:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 64px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 768px) { .container { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* Knöpfe – 44px, 12px Radius, Druck-Rückmeldung */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--primary { background: var(--action); color: #fff; box-shadow: 0 1px 2px rgba(22,32,46,.12); }
.btn--primary:hover { background: var(--action-hover); color: #fff; }
.btn--inverse { background: #fff; color: var(--stage-2); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.btn--inverse:hover { background: #eaf0fb; color: var(--stage-2); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

/* Kopfleiste */
.sitehead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.sitehead.is-scrolled { border-bottom-color: var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 60; }
.sitehead { top: env(safe-area-inset-top, 0px); }
.sitehead__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { display: block; width: auto; height: 50px; }
@media (max-width: 599px) { .brand__logo { height: 46px; } }
.sitenav { display: flex; align-items: center; gap: 28px; }
.sitenav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sitenav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96875rem; transition: background-color .15s var(--ease); }
.sitenav__link:hover { background: var(--band); color: var(--ink); }
.sitenav__link.is-active { color: var(--action); }
.navtoggle { display: none; }

@media (max-width: 959px) {
  .navtoggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -7px; } .navtoggle__bars::after { top: 7px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .sitenav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 24px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 16px 32px -24px rgba(22,32,46,.35); }
  .sitenav[hidden] { display: none; }
  .sitenav__list { flex-direction: column; }
  .sitenav__link { min-height: 48px; font-size: 1.0625rem; }
  .no-js .sitenav[hidden] { display: flex; position: static; box-shadow: none; }
}

/* Bühnen mit matter Textur */
.stage {
  position: relative; isolation: isolate; color: #fff;
  background: radial-gradient(120% 90% at 78% 110%, #2a62c4 0%, var(--stage-1) 45%, var(--stage-2) 100%);
}
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--texture); background-size: 320px 320px; mix-blend-mode: soft-light; opacity: .55; pointer-events: none; }

/* Eröffnung */
.hero { overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero__title { color: #fff; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 13ch; }
.hero__lead { margin-top: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; color: #fff; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions--center { justify-content: center; }

.hero__scene { position: relative; min-height: 380px; }
.letter {
  position: absolute; left: 4%; top: 6%; width: min(330px, 74%);
  background: var(--paper); color: var(--ink); border-radius: 6px; padding: 22px 22px 26px;
  box-shadow: 0 24px 48px -20px rgba(6,18,44,.55), 0 2px 6px rgba(6,18,44,.2);
  transform: rotate(-3.5deg);
}
.letter__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.letter__seal { width: 26px; height: 26px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #cfd7e4 0 15deg, #e7ecf3 15deg 30deg); flex: none; }
.letter__from { font: 700 .8125rem/1.2 var(--font-head); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.letter__subject { margin: 14px 0 12px; font: 700 1rem/1.3 var(--font-head); color: var(--ink); }
.letter__line { display: block; height: 7px; border-radius: 4px; background: #e6ebf2; margin-top: 9px; }
.letter__line--short { width: 55%; } .letter__line--mid { width: 78%; }
.letter__note {
  position: absolute; right: -18px; bottom: -22px; transform: rotate(5deg);
  font: 600 1.5rem/1.1 var(--font-note); color: var(--note-ink);
  background: #fff8ec; padding: 6px 12px 8px; border-radius: 4px; box-shadow: 0 6px 14px -6px rgba(6,18,44,.35);
}
.bubble {
  position: absolute; right: 2%; bottom: 10%; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); padding: 14px 18px 14px 14px; border-radius: 18px 18px 18px 4px;
  font: 700 1.25rem/1 var(--font-head); box-shadow: 0 18px 36px -18px rgba(6,18,44,.6);
}
.bubble__check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--success); }
.bubble__check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bridge-arc { position: absolute; inset: 8% 0 0 0; width: 100%; height: 86%; overflow: visible; }
.bridge-arc__path { fill: none; stroke: var(--note); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 0; }
.bridge-arc circle { fill: var(--note); }
@media (prefers-reduced-motion: no-preference) {
  .bridge-arc__path { stroke-dasharray: 760; stroke-dashoffset: 760; animation: draw 1.1s .35s var(--ease-out) forwards; }
  .bridge-arc circle:last-of-type, .bubble { opacity: 0; animation: pop .45s 1.25s var(--ease-out) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
}

.langband { border-top: 1px solid rgba(255,255,255,.16); }
.langband__inner { display: flex; align-items: baseline; gap: 20px; padding-block: 18px 20px; overflow-x: auto; scrollbar-width: none; }
.langband__label { font-size: .875rem; color: rgba(255,255,255,.72); white-space: nowrap; }
.langband__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.langband__list li { font: 700 1.125rem/1.2 var(--font-head); color: #fff; white-space: nowrap; }
.langband__list li:lang(hy), .langband__list li:nth-child(4) { font-family: var(--font-body); }

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__scene { min-height: 300px; }
  .letter { left: 0; width: min(300px, 78%); }
  .letter__note { bottom: auto; top: -20px; right: -10px; font-size: 1.25rem; }
  .bubble { right: 0; bottom: 4%; }
}

/* Kapitel */
.chapter { padding-block: var(--chapter); }
.chapter + .chapter:not(.chapter--band) { padding-top: 0; }
.chapter--band { background: var(--band); }
.chapter--band + .chapter:not(.chapter--band) { padding-top: var(--chapter); }
.chapter__head { max-width: 680px; margin-bottom: 40px; }
.chapter__head--center { margin-inline: auto; text-align: center; }
.chapter__title { font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; }
.chapter__lead { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.eyebrow { font: 700 .875rem/1.4 var(--font-head); color: var(--action); margin-bottom: 12px; letter-spacing: .01em; }

/* Mosaik */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tile { grid-column: span 6; display: flex; flex-direction: column; background: var(--tile); border-radius: var(--r-tile); overflow: hidden; position: relative; transition: transform .25s var(--ease-out); }
.tile--feature { grid-row: span 2; }
.tile:nth-child(2), .tile:nth-child(3) { grid-column: span 6; }
.tile:nth-child(4) { grid-column: span 12; flex-direction: row; }
.tile:nth-child(4) .tile__media { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
.tile:nth-child(4) .tile__body { justify-content: center; padding: 32px 40px; }
.tile__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe6f0; }
.tile--feature .tile__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 340px; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tile__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tile__category { font: 700 .8125rem/1.3 var(--font-head); color: var(--action); }
.tile__title { font-weight: 700; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.01em; }
.tile__link { color: inherit; text-decoration: none; }
.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile__link:focus-visible { outline: none; }
.tile:has(.tile__link:focus-visible) { outline: 3px solid var(--note); outline-offset: 3px; }
.tile__text { color: var(--body); }
@media (hover: hover) and (pointer: fine) {
  .tile:has(.tile__link):hover .tile__media img { transform: scale(1.03); }
  .tile:has(.tile__link):hover .tile__title { color: var(--action); }
}
@media (max-width: 899px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile, .tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .tile:nth-child(4) { flex-direction: column; }
  .tile:nth-child(4) .tile__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .tile--feature .tile__media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .tile:nth-child(4) .tile__body { padding: 22px 24px 26px; }
}

/* Schritte */
.steps { position: relative; }
/* Brückenbogen: zwei Bögen von Nummer zu Nummer (Mitte 1 → Mitte 3 = 2 Spalten + 2 Abstände) */
.steps__arc { position: absolute; z-index: 1; left: 46px; top: -26px; width: calc(66.667% + 16px); height: 76px; overflow: visible; fill: none; stroke: var(--note); stroke-width: 2.5; stroke-linecap: round; pointer-events: none; }
.steps__arc path { vector-effect: non-scaling-stroke; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-tile); padding: 28px 24px 26px; text-align: left; }
.step__num { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action); color: #fff; font: 800 1.125rem/1 var(--font-head); margin-bottom: 18px; box-shadow: 0 0 0 6px #fff; }
.step__note { position: absolute; left: 84px; top: 34px; transform: rotate(-4deg); font: 600 1.375rem/1.1 var(--font-note); color: var(--note-ink); }
.step__title { font: 600 1.125rem/1.35 var(--font-body); margin-bottom: 8px; }
@media (max-width: 767px) {
  .steps__list { grid-template-columns: 1fr; }
  .steps__arc { display: none; }
  .steps__list { isolation: isolate; }
  /* mobil: Faden von Nummer zu Nummer, sichtbar in den Abständen */
  .steps__list::before { content: ""; position: absolute; z-index: -1; left: 45px; top: 50px; bottom: 60px; border-left: 2.5px dashed var(--note); }
}

/* Belegfeld */
.proof { position: relative; isolation: isolate; overflow: hidden; background: var(--proof); color: #fff; border-radius: var(--r-panel); padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); }
.proof::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--texture); background-size: 320px; opacity: .14; }
.proof::after { content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02); z-index: -1; }
.proof__title { color: #fff; font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; }
/* Geschichte als Zeitleiste: Punkte verbunden durch den Brückenbogen */
.proof__story { position: relative; margin-top: 56px; }
.proof__arc { position: absolute; left: 8px; top: 0; width: 66.667%; height: 60px; overflow: visible; fill: none; stroke: var(--note); stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.proof__arc path { vector-effect: non-scaling-stroke; }
.proof__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 76px 0 0; list-style: none; }
.proof__item { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: clamp(20px, 3vw, 40px); }
.proof__item::before { content: ""; position: absolute; left: 0; top: -26px; width: 16px; height: 16px; border-radius: 50%; background: var(--note); box-shadow: 0 0 0 5px var(--proof); }
.proof__item:last-child::before { background: #fff; box-shadow: 0 0 0 5px var(--proof), 0 0 0 8px var(--note); }
.proof__value { font: 700 clamp(1.375rem, 2.2vw, 1.75rem)/1.15 var(--font-head); color: #fff; letter-spacing: -.01em; }
.proof__label { color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.55; max-width: 34ch; }
@media (max-width: 767px) {
  .proof__arc { display: none; }
  .proof__row { grid-template-columns: 1fr; row-gap: 32px; padding: 0 0 0 36px; }
  .proof__item:not(:last-child)::after { content: ""; position: absolute; left: -29px; top: 26px; bottom: -34px; border-left: 2.5px dashed var(--note); }
  .proof__item { padding-right: 0; }
  .proof__item::before { left: -36px; top: 6px; }
}

/* Gezeichnete Objekte statt Foto (Kacheln) */
.tile__scene { position: relative; display: grid; place-items: center; padding: 28px 24px 36px; background: radial-gradient(120% 100% at 30% 0%, #e9eef6 0%, #dbe3ef 100%); }
.wordcard, .papers { position: relative; width: min(300px, 78%); }
.wordcard { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 24px; background: var(--paper); border-radius: 6px; border-top: 6px solid var(--action); transform: rotate(-2.5deg); box-shadow: 0 18px 36px -18px rgba(6,18,44,.45), 0 1px 3px rgba(6,18,44,.12); color: var(--ink); }
.wordcard__article { font: 500 .9375rem/1 var(--font-body); color: var(--muted); }
.wordcard__word { font: 800 clamp(1.5rem, 2.4vw, 1.875rem)/1.15 var(--font-head); letter-spacing: -.01em; }
.wordcard__trans { margin-top: 6px; font-size: .9375rem; color: var(--body); }
.papers__sheet { position: relative; display: block; padding: 20px 22px 26px; background: var(--paper); border-radius: 6px; transform: rotate(2deg); box-shadow: 0 18px 36px -18px rgba(6,18,44,.45), 0 1px 3px rgba(6,18,44,.12); }
.papers__sheet--back { position: absolute; inset: 0; transform: rotate(-4deg) translate(-10px, 6px); background: #f6f8fb; }
.papers__head { display: block; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font: 700 .8125rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.papers__stamp { position: absolute; right: 14px; bottom: 12px; display: grid; place-items: center; width: 92px; height: 92px; border: 2.5px solid var(--action); border-radius: 50%; transform: rotate(-14deg); font: 800 .5625rem/1 var(--font-head); letter-spacing: .03em; text-transform: uppercase; color: var(--action); opacity: .85; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--action); }
.scene-note { position: absolute; right: -14px; bottom: -24px; transform: rotate(4deg); font: 600 1.375rem/1.1 var(--font-note); color: var(--note-ink); background: #fff8ec; padding: 5px 12px 7px; border-radius: 4px; box-shadow: 0 6px 14px -6px rgba(6,18,44,.35); white-space: nowrap; }

/* Geschichte mit Foto-Abzug */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.prose { margin-top: 20px; display: grid; gap: 14px; }
.prose p { max-width: 60ch; }
.textlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; text-decoration: none; min-height: 44px; }
.textlink:hover { text-decoration: underline; }
.textlink .icon { transition: transform .2s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }
.print { margin: 0; background: #fff; padding: 12px 12px 18px; border-radius: 4px; box-shadow: 0 18px 40px -18px rgba(22,32,46,.35), 0 1px 3px rgba(22,32,46,.1); transform: rotate(1.6deg); }
.print img { border-radius: 2px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print__caption { margin-top: 12px; font: 600 1.25rem/1.2 var(--font-note); color: var(--muted); }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } .print { transform: rotate(1deg); } }

/* Fragen */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--rule); border-radius: var(--r-tile); background: #fff; transition: background-color .2s var(--ease); }
.faq__item[open] { background: var(--band); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 600 1.0625rem/1.4 var(--font-body); color: var(--ink); min-height: 44px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__sign { position: relative; width: 18px; height: 18px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px; background: var(--action); transition: transform .25s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 22px; color: var(--body); }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } }

/* Abschluss */
.closing { overflow: hidden; border-radius: var(--r-panel); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.closing__title { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.025em; max-width: 18ch; }
.closing__text { margin-top: 16px; max-width: 46ch; color: #fff; font-size: 1.125rem; }
.closing .hero__actions { margin-top: 28px; }
.closing__scene { display: grid; place-items: center; }
.closing .apptcard { transform: rotate(-3deg); }
.closing .apptcard__head { background: var(--stage-2); }
@media (max-width: 899px) { .closing { grid-template-columns: 1fr; } .closing__scene { display: none; } }

/* Unterseiten */
.pagehero { background: var(--band); padding-block: clamp(48px, 7vw, 88px); margin-bottom: var(--chapter); }
.pagehero__inner--media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pagehero__title { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; max-width: 18ch; }
.pagehero__lead { margin-top: 18px; font-size: 1.1875rem; color: var(--body); max-width: 52ch; }
.print--hero { transform: rotate(-1.4deg); }
@media (max-width: 899px) { .pagehero__inner--media { grid-template-columns: 1fr; } }
.prose-block { margin-bottom: 48px; }
.prose-block > * { max-width: 760px; }
.prose-block h2 { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.015em; margin: 8px 0 14px; }
.prose-block p + p, .prose-block ul { margin-top: 14px; }
.prose-block ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose-block li { position: relative; padding-left: 28px; }
.prose-block li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8' fill='none' stroke='%23ff8a3d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 7 Q 8 -3 15 7'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (min-width: 900px) {
  .prose-block > .frame { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 80px); }
  .prose-block > .frame > header { grid-column: 1; grid-row: 1 / span 30; }
  .prose-block > .frame > :not(header) { grid-column: 2; max-width: 680px; }
  .prose-block h2 { margin-top: 0; }
  .prose-block + .prose-block > .frame { border-top: 1px solid var(--rule); padding-top: 40px; }
}
.prose-block li::marker { color: var(--action); }
.prose-block .ce-bodytext { color: var(--body); }

/* Footer */
.sitefoot { margin-top: var(--chapter); background: var(--ink); color: rgba(255,255,255,.78); padding-block: 64px 32px; font-size: .9375rem; }
.sitefoot a { color: #fff; text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.sitefoot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sitefoot__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; }
.sitefoot__logo { display: block; width: auto; height: 56px; }
.sitefoot__call { padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-panel); background: rgba(255,255,255,.03); }
.sitefoot__phone { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font: 800 clamp(1.5rem, 3vw, 2.125rem)/1.1 var(--font-head); letter-spacing: -.01em; color: #fff; }
.sitefoot__phone .icon { width: 26px; height: 26px; color: var(--note); }
.sitefoot__label--langs { margin: 22px 0 8px; }
.sitefoot__langs { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; color: #fff; font-weight: 500; }
.sitefoot__nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.sitefoot__nav .sitefoot__links--inline { flex-wrap: wrap; gap: 8px 28px; font-size: 1rem; }
.sitefoot__nav a { display: inline-flex; min-height: 44px; align-items: center; }
.sitefoot__tag { margin-top: 10px; max-width: 36ch; }
.sitefoot__label { font: 700 .8125rem/1.3 var(--font-head); color: rgba(255,255,255,.6); margin-bottom: 12px; letter-spacing: .03em; }
.sitefoot__address { font-style: normal; margin-top: 6px; }
.sitefoot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sitefoot__links--inline { display: flex; gap: 20px; }
.sitefoot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; color: rgba(255,255,255,.6); }
@media (max-width: 767px) { .sitefoot__top { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Sprachumschalter */
.langswitch { position: relative; }
.langswitch__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 8px; cursor: pointer; list-style: none; font-weight: 500; font-size: .96875rem; color: var(--ink); }
.langswitch__btn::-webkit-details-marker { display: none; }
.langswitch__btn:hover { background: var(--band); }
.langswitch__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(22,32,46,.35); transform-origin: top right; }
@media (prefers-reduced-motion: no-preference) { .langswitch[open] .langswitch__list { animation: menu-in .16s var(--ease-out); } @keyframes menu-in { from { opacity: 0; transform: scale(.97) translateY(-4px); } } }
.langswitch__link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langswitch__link:hover { background: var(--band); color: var(--ink); }
.langswitch__link.is-active { color: var(--action); font-weight: 600; }
@media (max-width: 959px) { .langswitch { margin-left: auto; } .brand { margin-right: 0; } .sitehead__inner { gap: 8px; } }
@media (min-width: 960px) { .sitenav { order: 1; } .langswitch { order: 2; } }

/* Wegweiser (Erklärseite) */
.guide { padding-bottom: var(--chapter); }
.guide__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide__main { display: grid; gap: 48px; max-width: 720px; }
.guide__draft { background: #fff6e8; border: 1px solid #f3cf98; color: #6b3d00; border-radius: var(--r-tile); padding: 14px 18px; font-size: .9375rem; }
.guide__answer { background: var(--band); border-left: 4px solid var(--action); border-radius: 0 var(--r-tile) var(--r-tile) 0; padding: 22px 24px; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.guide__kicker { font: 700 .875rem/1.3 var(--font-head); color: var(--action); margin-bottom: 8px; }
.guide__section h2 { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 18px; }
.guide__steps { list-style: none; margin: 0; padding: 0; counter-reset: gstep; display: grid; gap: 4px; }
.guide__steps li { counter-increment: gstep; position: relative; padding: 0 0 22px 60px; }
.guide__steps li::before { content: counter(gstep); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--action); color: #fff; font: 800 1rem/1 var(--font-head); }
.guide__steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--rule); }
.guide__steps h3 { font: 600 1.125rem/1.4 var(--font-body); margin-bottom: 6px; }
.guide__check, .guide__warn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide__check li, .guide__warn li { position: relative; padding-left: 32px; }
.guide__check li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 18px; height: 18px; border-radius: 5px; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.guide__warn li::before { content: "!"; position: absolute; left: 2px; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: #c2410c; color: #fff; font: 800 .75rem/18px var(--font-head); text-align: center; }
.guide__aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.guide__card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-tile); padding: 22px; display: grid; gap: 12px; }
.guide__card--help { background: var(--stage-2); color: rgba(255,255,255,.9); border: 0; }
.guide__card--help .guide__cardtitle { color: #fff; }
.guide__card--help .btn { justify-self: start; background: #fff; color: var(--stage-2); }
.guide__card--help .btn:hover { background: #eaf0fb; color: var(--stage-2); }
.guide__phone { font: 700 1.0625rem/1.2 var(--font-head); color: #fff; }
.guide__cardtitle { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.guide__card .prose { margin-top: 0; font-size: .96875rem; }
.guide__meta { font-size: .875rem; color: var(--muted); display: grid; gap: 6px; padding: 4px 4px 0; }
.guide__meta strong { color: var(--ink); }
.guide__sources { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.guide__sources a { word-break: break-word; }
.guide__disclaimer { margin-top: 6px; font-style: italic; }
@media (max-width: 959px) { .guide__grid { grid-template-columns: 1fr; } .guide__aside { position: static; } }

/* Linkliste */
.chapter--links { padding-top: 0; }
.chapter__title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.linklist__item { border-top: 1px solid var(--rule); }
.linklist__link { position: relative; display: grid; gap: 4px; height: 100%; padding: 18px 44px 20px 0; color: var(--body); text-decoration: none; }
.linklist__link:hover { color: var(--body); }
.linklist__link:focus-visible { outline-offset: 2px; }
.linklist__title { font: 600 1.0625rem/1.4 var(--font-body); color: var(--ink); overflow-wrap: break-word; transition: color .2s var(--ease); }
.linklist__link:hover .linklist__title { color: var(--action); }
.linklist__text { font-size: .9375rem; color: var(--muted); }
.linklist__arrow { position: absolute; right: 6px; top: 50%; margin-top: -9px; color: var(--action); transition: transform .2s var(--ease); }
.linklist__link:hover .linklist__arrow { transform: translateX(4px); }
@media (max-width: 767px) { .linklist { grid-template-columns: 1fr; } }

/* Untermenüs */
.sitenav__row { display: flex; align-items: center; }
.sitenav__toggle { display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -6px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; }
.sitenav__toggle:hover { background: var(--band); color: var(--ink); }
.sitenav__toggle .icon { transition: transform .2s var(--ease); }
.sitenav__item--sub.is-open .sitenav__toggle .icon { transform: rotate(180deg); }
.sitenav__sub { list-style: none; margin: 0; padding: 6px; }
.sitenav__sublink { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.sitenav__sublink:hover { background: var(--band); color: var(--ink); }
.sitenav__sublink.is-active { color: var(--action); font-weight: 600; }
@media (min-width: 960px) {
  .sitenav__item--sub { position: relative; }
  .sitenav__sub { position: absolute; left: 0; top: calc(100% + 4px); z-index: 70; min-width: 260px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(22,32,46,.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s var(--ease-out), transform .16s var(--ease-out), visibility 0s linear .16s; }
  .sitenav__item--sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
  .sitenav__item--sub.is-open .sitenav__sub, .sitenav__item--sub:hover .sitenav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (max-width: 959px) {
  .sitenav__toggle { display: none; }
  .sitenav__sub { padding: 0 0 6px 14px; margin-left: 12px; border-left: 2px solid var(--rule); }
  .sitenav__sublink { min-height: 44px; font-size: 1rem; color: var(--body); }
}
@media (max-width: 959px) { .sitenav { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; } }
@media (min-width: 960px) { .sitenav__sub:has(> li:nth-child(7)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 540px; column-gap: 4px; } }

/* Gezeichnete Objekte im Seitenkopf */
.pagehero__scene { position: relative; display: grid; place-items: center; min-height: 260px; }
.apptcard, .folder { position: relative; width: min(340px, 86%); }
.apptcard { background: var(--paper); border-radius: 8px; padding: 0 24px 28px; transform: rotate(2.5deg); box-shadow: 0 24px 48px -22px rgba(6,18,44,.45), 0 1px 3px rgba(6,18,44,.12); color: var(--ink); }
.apptcard__head { position: relative; display: flex; align-items: center; justify-content: center; margin: 0 -24px 18px; padding: 16px 24px 14px; background: var(--action); border-radius: 8px 8px 0 0; }
.apptcard__ring { position: absolute; top: -9px; width: 10px; height: 22px; border-radius: 6px; background: #e6ebf2; box-shadow: inset 0 0 0 2px #c9d3e2; }
.apptcard__ring:first-child { left: 26%; } .apptcard__ring:nth-child(2) { right: 26%; }
.apptcard__label { font: 800 1.125rem/1 var(--font-head); color: #fff; letter-spacing: .02em; }
.apptcard__place { font: 700 1.0625rem/1.45 var(--font-head); margin-bottom: 8px; }
.folder { height: 220px; margin-top: 28px; }
.folder__sheet { position: absolute; inset: 0; background: var(--paper); border-radius: 0 6px 6px 6px; padding: 30px 22px 22px; box-shadow: 0 18px 36px -20px rgba(6,18,44,.45), 0 1px 3px rgba(6,18,44,.1); }
.folder__sheet--3 { transform: rotate(-3deg) translate(-14px, -10px); background: #f1f4f8; }
.folder__sheet--2 { transform: rotate(-1deg) translate(-6px, -4px); background: #f8fafc; }
.folder__sheet--1 { transform: rotate(1.5deg); }
.folder__tab { position: absolute; bottom: 100%; padding: 8px 12px 6px; border-radius: 6px 6px 0 0; font: 700 .75rem/1 var(--font-head); white-space: nowrap; }
.folder__sheet--3 .folder__tab { right: 0; background: #e3e8f0; color: var(--muted); }
.folder__sheet--2 .folder__tab { left: 27%; background: #dce4f1; color: var(--muted); }
.folder__sheet--1 .folder__tab { left: 0; background: var(--action); color: #fff; }
@media (max-width: 899px) { .pagehero__scene { min-height: 0; padding: 12px 0 20px; } .folder { height: 210px; } }

/* Kontakt: Anrufen + Vorbeikommen */
.chapter--contact { padding-top: 0; }
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; }
.contact__call, .contact__visit { border-radius: var(--r-panel); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.contact__call { overflow: hidden; }
.contact__visit { background: var(--band); }
.contact__kicker { font: 700 .9375rem/1.3 var(--font-head); color: var(--action); }
.contact__call .contact__kicker { color: rgba(255,255,255,.78); }
.contact__number { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 26px; border-radius: var(--r-btn); background: #fff; color: var(--stage-2); text-decoration: none; font: 800 clamp(1.375rem, 2.6vw, 1.875rem)/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); transition: background-color .2s var(--ease), transform .12s var(--ease); }
.contact__number .icon { width: 24px; height: 24px; }
.contact__number:hover { background: #eaf0fb; color: var(--stage-2); }
.contact__number:active { transform: scale(.97); }
.contact__call .contact__text { color: #fff; font-size: 1.0625rem; max-width: 40ch; }
.contact__mail { margin-top: auto; padding-top: 6px; color: #fff; font-size: 1rem; }
.contact__mail a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-underline-offset: .2em; }
.contact__mail a:hover { color: #fff; text-decoration-thickness: 2px; }
.contact__address { font: 700 1.25rem/1.45 var(--font-head); font-style: normal; color: var(--ink); }
.contact__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__places .textlink { margin-top: 4px; min-height: 44px; }
.apptcard__place { font-size: .9375rem; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } .contact__number { align-self: stretch; justify-content: center; } }

/* Handy: gleich breite Knöpfe, Sprachband umbrechen statt abschneiden */
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .langband__inner { flex-wrap: wrap; gap: 8px 16px; overflow: visible; }
  .langband__label { flex-basis: 100%; }
  .langband__list { flex-wrap: wrap; gap: 6px 20px; }
}

/* kein doppelter Abstand vor dem Footer */
.main > .chapter:last-child:not(.chapter--band) { padding-bottom: 0; }
.main:has(> .chapter--band:last-child) + .sitefoot { margin-top: 0; }
.folder__gap { margin-top: 22px; }
@media (max-width: 479px) { .folder__sheet--3 .folder__tab { display: none; } }

.guide__print { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; margin-top: 6px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r-btn); background: #fff; color: var(--ink); font: 600 .9375rem/1 var(--font-body); cursor: pointer; transition: border-color .2s var(--ease), transform .12s var(--ease); }
.guide__print[hidden] { display: none; }
.guide__print:hover { border-color: var(--action); }
.guide__print:active { transform: scale(.97); }

/* Druckansicht: Inhalt, Quellen und Telefonnummer – ohne Navigation und Dekoration */
@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .skiplink, .sitenav, .navtoggle, .langswitch, .sitehead .btn, .langband, .closing, .chapter--links, .sitefoot__nav, .sitefoot__legal, .sitefoot__tag,
  .guide__print, .pagehero__scene, .hero__scene, .print, .tile__media, .guide__card--help .btn, .eyebrow { display: none !important; }
  .sitehead { position: static; background: none; backdrop-filter: none; border-bottom: 1px solid #000; }
  .pagehero { background: none; padding: 6mm 0 4mm; margin: 0; }
  .pagehero__inner--media { display: block; }
  .pagehero__title { font-size: 22pt; }
  .pagehero__lead { font-size: 12pt; color: #000; }
  .guide { padding-bottom: 0; }
  .guide__grid { display: block; }
  .guide__main { max-width: none; gap: 6mm; }
  .guide__aside { position: static; margin-top: 6mm; display: grid; gap: 4mm; }
  .guide__draft, .guide__answer { background: none; border: 1px solid #000; color: #000; }
  .guide__card, .guide__card--help { background: none; color: #000; border: 1px solid #000; }
  .guide__card--help .guide__cardtitle, .guide__phone { color: #000; }
  .guide__phone { font-size: 16pt; }
  .guide__steps li, .guide__section, .guide__card, .guide__answer { break-inside: avoid; }
  .guide__steps li::before { background: none; color: #000; border: 1.5px solid #000; }
  .guide__meta, .guide__meta strong { color: #000; }
  a { color: #000; }
  .guide__sources a::after { content: " – " attr(href); font-size: 9pt; word-break: break-all; }
  .chapter, .prose-block { padding-block: 4mm; margin: 0; }
  .sitefoot { background: none; color: #000; margin: 6mm 0 0; padding: 4mm 0 0; border-top: 1px solid #000; }
  .sitefoot a, .sitefoot__phone, .sitefoot__langs, .sitefoot__label { color: #000; }
  .sitefoot__top { display: flex; gap: 10mm; align-items: flex-start; }
  .sitefoot__call { border: 0; padding: 0; background: none; }
  .sitefoot__logo { filter: invert(1); height: 40px; }
  .sitefoot__phone .icon { color: #000; }
  .faq__sign { display: none; }
  .faq__item, .faq__item[open] { background: none; border-color: #000; break-inside: avoid; }
}

/* Kontaktformular (EXT:form, Vorlage version2): Paneel, zweispaltige Felder, Brief-Zeichnung, Erfolgskarte */
.prose-block > .frame-type-form_formframework { background: var(--band); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 56px); }
.frame-type-form_formframework > header h2 { margin-bottom: 10px; }
.frame-type-form_formframework > header h3, .frame-type-form_formframework > header p { font: 400 1.0625rem/1.55 var(--font-body); color: var(--body); max-width: 30ch; margin: 0; }
.frame-type-form_formframework > header::after { content: ""; display: block; width: min(240px, 100%); aspect-ratio: 24 / 17; margin-top: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 170'%3E%3Cg transform='rotate(-4 120 85)'%3E%3Crect x='20' y='30' width='190' height='120' rx='8' fill='%23fff' stroke='%23dfe4ec' stroke-width='2'/%3E%3Cpath d='M22 34 115 98 208 34' fill='none' stroke='%23c3ccd9' stroke-width='2.5' stroke-linejoin='round'/%3E%3Crect x='150' y='42' width='44' height='30' rx='3' fill='%23eef2f7' stroke='%232457b8' stroke-width='2' stroke-dasharray='3 3'/%3E%3C/g%3E%3Cpath d='M8 150 C 50 70, 150 60, 232 120' fill='none' stroke='%23ff8a3d' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='150' r='5' fill='%23ff8a3d'/%3E%3Ccircle cx='232' cy='120' r='5' fill='%23ff8a3d'/%3E%3C/svg%3E") center / contain no-repeat; }
.frame-type-form_formframework form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.frame-type-form_formframework form > * { grid-column: 1 / -1; }
.frame-type-form_formframework form > div:first-child { display: contents; }
.frame-type-form_formframework form > h2 { display: none; }
.frame-type-form_formframework form > .form-element-text, .frame-type-form_formframework form > .form-element-select { grid-column: auto; }
.frame-type-form_formframework .form-element { display: grid; gap: 6px; margin: 0; align-content: start; }
.frame-type-form_formframework .form-label { font: 600 1rem/1.4 var(--font-body); color: var(--ink); }
.frame-type-form_formframework .required { color: var(--note-ink); margin-left: 2px; }
.frame-type-form_formframework .form-control, .frame-type-form_formframework .form-select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d2df; border-radius: var(--r-btn);
  background: #fff; color: var(--ink); font: 400 1.0625rem/1.45 var(--font-body);
  box-shadow: 0 1px 2px rgba(22,32,46,.04); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.frame-type-form_formframework textarea.form-control { min-height: 160px; resize: vertical; }
.frame-type-form_formframework .form-select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.frame-type-form_formframework .form-control:hover, .frame-type-form_formframework .form-select:hover { border-color: #9aa6b8; }
.frame-type-form_formframework .form-control:focus, .frame-type-form_formframework .form-select:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px rgba(36,87,184,.16); }
.frame-type-form_formframework .form-text { font-size: .9375rem; color: var(--muted); }
.frame-type-form_formframework .form-element-check { padding: 16px 18px; background: #fff; border: 1.5px solid #dfe4ec; border-radius: var(--r-btn); }
.frame-type-form_formframework .form-check-wrapping-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--body); }
.frame-type-form_formframework .form-check-input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--action); }
.frame-type-form_formframework .form-element-statictext, .frame-type-form_formframework .form-element-statictext p { font-size: .9375rem; color: var(--muted); margin: 0; }
.frame-type-form_formframework .form-element-statictext h2, .frame-type-form_formframework .form-element-statictext h3 { display: none; }
.frame-type-form_formframework .has-error .form-control, .frame-type-form_formframework .is-invalid { border-color: #b3261e; }
.frame-type-form_formframework .error, .frame-type-form_formframework .invalid-feedback, .frame-type-form_formframework .help-block { color: #b3261e; font-size: .9375rem; font-weight: 500; }
.frame-type-form_formframework .form-navigation { display: block; }
.frame-type-form_formframework button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: var(--r-btn);
  background: var(--action); color: #fff; font: 600 1.0625rem/1.2 var(--font-body); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(36,87,184,.7); transition: background-color .2s var(--ease), transform .12s var(--ease);
}
.frame-type-form_formframework button[type="submit"]::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s var(--ease); }
.frame-type-form_formframework button[type="submit"]:hover { background: var(--action-hover); }
.frame-type-form_formframework button[type="submit"]:hover::after { transform: translateX(3px); }
.frame-type-form_formframework button[type="submit"]:active { transform: scale(.97); }
/* Erfolgskarte nach dem Absenden */
.frame-type-form_formframework > div[id^="kontakt-"] { position: relative; align-self: start; padding: 24px 24px 24px 72px; background: #fff; border-radius: var(--r-tile); border: 1.5px solid #cfe6da; font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.frame-type-form_formframework > div[id^="kontakt-"]::before { content: ""; position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (max-width: 899px) { .frame-type-form_formframework > header::after { display: none; } .frame-type-form_formframework > header { margin-bottom: 24px; } }
@media (max-width: 599px) {
  .frame-type-form_formframework form { grid-template-columns: 1fr; }
  .frame-type-form_formframework form > .form-element-text, .frame-type-form_formframework form > .form-element-select { grid-column: 1 / -1; }
  .frame-type-form_formframework button[type="submit"] { width: 100%; }
}
