/* ==========================================================================
   experthesis · Designsystem „Zweifarbdruck“
   Die Seite ist gesetzt wie ein Druckbogen aus der eigenen Werkstatt:
   Papierweiß, Tintenschwarzblau, exakt zwei Schmuckfarben aus dem Logo
   (Cyan + Limettengrün), Druckerei-Artefakte als Dekor (Schnittmarken,
   Druckkontrollstreifen, Überdruck-Marke) und der Häkchen-Swoosh des
   Logos als Leitmotiv.

   Typografie: Fraunces (Display-Serif mit optischer Größe) für die großen
   Überschriften, Literata für den Fließtext, Archivo für UI und Auszeichnung.
   ========================================================================== */
:root {
  --ink: #26292c;             /* Tinte – tiefes Anthrazit wie Leinen-Hardcover */
  --ink-2: #33373b;
  --paper: #fcfcfb;           /* Papierweiß, unbunt */
  --paper-2: #f3f4f2;
  --text: #33383c;
  --text-muted: #5b6266;
  --cyan: #009fe3;            /* Schmuckfarbe 1: Logo-Cyan (nur groß/dekorativ) */
  --cyan-deep: #006a99;       /* Cyan als Textfarbe, AA-konform */
  --cyan-mid: #007fb8;        /* Cyan für große Headline-Auszeichnung (≥3:1) */
  --green: #93c01f;           /* Schmuckfarbe 2: Logo-Grün (nur groß/dekorativ) */
  --green-deep: #476f10;      /* Grün als Textfarbe, AA-konform */
  --foil: #c9a44e;            /* Goldfolie – ausschließlich auf Buch-Covern */
  --foil-silver: #ccd6dd;     /* Silberfolie – ausschließlich auf Buch-Covern */
  --rule: #e0e2e3;
  --radius: 4px;
  --radius-book: 4px 10px 10px 4px;  /* Buchdeckel: Bund links, Schnitt rechts */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-sticky: 1020;
  --z-modal: 1050;
  --font-display: "Fraunces", "Literata", Georgia, serif;
  --font-body: "Literata", Georgia, serif;
  --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h3, h4, .btn, .nav-link, .navbar-brand, .form-label, .form-control, .form-select,
.form-check-label, .step-num, .price-tag, .hint, .small-label { font-family: var(--font-ui); }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h3 { text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.8rem); color: var(--ink); line-height: 1.18; }
p { max-width: 68ch; text-wrap: pretty; }
a { color: var(--cyan-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 2px; border-radius: 2px; }
.section { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.lead-serif {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 60ch;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--ink); color: #fff; padding: 0.7rem 1.2rem;
  font-family: var(--font-ui); font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

/* ---------- Druckkontrollstreifen ---------- */
/* Wie am Rand jedes echten Druckbogens: die Farbfelder der Maschine.
   Erscheint genau zweimal – als oberste Kante der Seite und am Fußende. */
.printbar { display: flex; height: 6px; }
.printbar span { flex: 1; }
.printbar .c1 { background: var(--cyan); }
.printbar .c2 { background: rgba(0,159,227,0.62); }
.printbar .c3 { background: rgba(0,159,227,0.3); }
.printbar .g1 { background: var(--green); }
.printbar .g2 { background: rgba(147,192,31,0.62); }
.printbar .g3 { background: rgba(147,192,31,0.3); }
.printbar .k1 { background: var(--ink); }
.printbar .k2 { background: rgba(28,30,32,0.62); }
.printbar .k3 { background: rgba(28,30,32,0.3); }
.printbar .f1 { background: var(--foil); }

/* ---------- Überdruck-Marke ---------- */
/* Zwei übereinander gedruckte Farbfelder – Cyan über Grün, wie beim
   Übereinanderdruck zweier Schmuckfarben. Kennzeichnet jede Kapitelüberschrift. */
.overprint {
  display: inline-block; position: relative;
  width: 22px; height: 22px; margin-right: 0.85rem;
  vertical-align: baseline; transform: translateY(2px);
}
.overprint::before, .overprint::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  mix-blend-mode: multiply;
}
.overprint::before { left: 0; top: 8px; background: var(--cyan); }
.overprint::after { left: 8px; top: 0; background: var(--green); }

/* ---------- Schnittmarken ---------- */
.cropped { position: relative; }
.crop { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: 100%; height: 1px; }
.crop::after { width: 1px; height: 100%; }
.crop.tl { top: 0; left: 0; }
.crop.tr { top: 0; right: 0; transform: scaleX(-1); }
.crop.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.crop.br { bottom: 0; right: 0; transform: scale(-1); }
.crop.tl::before, .crop.tr::before { top: 0; left: 0; }
.crop.tl::after, .crop.tr::after { top: 0; left: 0; }
.crop.bl::before, .crop.br::before { top: 0; left: 0; }
.crop.bl::after, .crop.br::after { top: 0; left: 0; }

/* ---------- Häkchen-Swoosh (aus dem Logo) ---------- */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.34rem 0; }
.tick-list .tick { flex: none; width: 1em; height: 1em; transform: translateY(0.14em); }
.tick-cyan { color: var(--cyan-deep); }
.tick-green { color: var(--green-deep); }
.tick-foil { color: var(--foil); }
.tick-silver { color: var(--foil-silver); }

/* ---------- Buttons (über Bootstrap-Button-Variablen) ---------- */
.btn { --bs-btn-border-radius: var(--radius); font-weight: 600; padding: 0.72rem 1.5rem; }
.btn-ink {
  --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--cyan-deep); --bs-btn-hover-border-color: var(--cyan-deep); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--cyan-deep); --bs-btn-active-border-color: var(--cyan-deep); --bs-btn-active-color: #fff;
}
.btn-outline-ink {
  --bs-btn-bg: transparent; --bs-btn-border-color: var(--ink); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--ink); --bs-btn-active-border-color: var(--ink); --bs-btn-active-color: #fff;
}
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  z-index: var(--z-sticky);
}
.navbar .nav-link {
  color: var(--ink); font-weight: 500; font-size: 0.98rem;
  padding-block: 0.55rem;
  padding-left: 1rem !important; padding-right: 1rem !important;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--cyan-deep); }
.navbar-logo { height: clamp(60px, 4.8vw + 43px, 77px); width: auto; }
/* Burger-Menü ohne Bootstrap-Rahmen; Tastaturfokus zeigt weiterhin
   der globale :focus-visible-Umriss. */
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }
.nav-phone { font-weight: 600; color: var(--ink) !important; white-space: nowrap; }
.nav-phone svg { margin-right: 0.35rem; margin-top: -2px; }

/* ---------- Hero ---------- */
/* Heller Satzspiegel statt dunkler Template-Bühne: die Seite beweist die
   eigene Satzkunst. Feines Linienraster wie auf einem Andruckbogen. */
.hero {
  background:
    repeating-linear-gradient(0deg, rgba(28,30,32,0.028) 0 1px, transparent 1px 36px),
    var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero-inner { position: relative; }
.hero-inner > .crop { color: rgba(28,30,32,0.4); }
/* Arbeitstypen-Zeile über der Headline: gesetzt wie die Overlines der
   Kapitel – Versalien, gesperrt, Cyan – statt als fette Serifenzeile. */
.hero-keywords {
  font-family: var(--font-ui);
  font-size: clamp(0.72rem, 0.66rem + 0.25vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  max-width: none;
  text-wrap: balance;
  line-height: 1.9;
  margin-bottom: 0;
}
.hero h1 {
  font-size: clamp(2.3rem, 1.45rem + 3.8vw, 4rem);
  line-height: 1.12;
  color: var(--ink);
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--cyan-mid); }
.hero-sub { color: var(--text-muted); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 52ch; }
.hero-facts { font-size: 0.98rem; color: var(--text); }
.hero-facts .tick { color: var(--green-deep); }
.hero-phone { font-family: var(--font-ui); font-size: 0.95rem; color: var(--text-muted); }
.hero-phone a { font-weight: 600; color: var(--ink); text-decoration: none; }
.hero-phone a:hover { color: var(--cyan-deep); }

/* Bühne für das Buch: Überdruck-Feld der beiden Hausfarben */
.book-stage { position: relative; padding: 2.5rem 0 0.5rem; }
.book-stage .field { position: absolute; mix-blend-mode: multiply; pointer-events: none; }
.book-stage .field-cyan { width: 62%; aspect-ratio: 1; right: 4%; top: 0; background: rgba(0,159,227,0.1); }
.book-stage .field-green { width: 46%; aspect-ratio: 1; right: 26%; top: 18%; background: rgba(147,192,31,0.12); }
.book-scene { perspective: 1400px; display: flex; justify-content: center; position: relative; }
/* Die Buchreihe: fünf Hardcover in echten Leinenfarben, hintereinander
   gestaffelt wie auf dem Werkstattregal – vorn die geprägte Masterthesis. */
.book-row {
  position: relative;
  width: min(272px, 58vw);
  margin-left: clamp(2rem, 8vw, 4.5rem);
}
.book {
  position: relative;
  width: 100%;
  aspect-ratio: 210 / 297;
  transform: rotateY(-16deg) rotateX(2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(22px 30px 34px rgba(18,20,22,0.4));
  --cover: #202327;
  --spine: #16181b;
}
.book-back {
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  filter: drop-shadow(12px 16px 20px rgba(18,20,22,0.28));
}
.book-back .book-cover { padding: 0; }
.book-back.b1 { transform: translateX(-9%)  rotateY(-16deg) rotateX(2deg) scale(0.965); --cover: #5d222f; --spine: #451723; }
.book-back.b2 { transform: translateX(-18%) rotateY(-16deg) rotateX(2deg) scale(0.93);  --cover: #24513b; --spine: #193b2a; }
.book-back.b3 { transform: translateX(-27%) rotateY(-16deg) rotateX(2deg) scale(0.895); --cover: #1d3a5f; --spine: #142c4a; }
.book-back.b4 { transform: translateX(-36%) rotateY(-16deg) rotateX(2deg) scale(0.86);  --cover: #71787f; --spine: #585f66; }
.book-back.b5 { transform: translateX(-45%) rotateY(-16deg) rotateX(2deg) scale(0.825);  --cover: #E3D3B8; --spine: #B8A98F; }
.book-cover {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px),
    var(--cover);
  border-radius: 3px 8px 8px 3px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center;
  padding: 14% 10%;
  text-align: center;
}
.book-spine {
  position: absolute; top: 1px; bottom: 1px; left: -14px; width: 14px;
  background: var(--spine);
  transform: rotateY(-70deg); transform-origin: right;
  border-radius: 2px 0 0 2px;
}
.book-pages {
  position: absolute; top: 5px; bottom: 5px; right: -9px; width: 9px;
  background: repeating-linear-gradient(0deg, #e9e6df 0 2px, #f8f6f1 2px 4px);
  transform: rotateY(60deg); transform-origin: left;
}
.foil {
  color: var(--foil);
  font-family: var(--font-ui);
  text-shadow: 0 1px 1px rgba(0,0,0,0.55), 0 -1px 0 rgba(255,235,180,0.18);
  letter-spacing: 0.14em;
}
.book-cover .foil-title { font-size: clamp(0.9rem, 0.6rem + 1vw, 1.15rem); font-weight: 600; margin-top: 20%; }
.book-cover .foil-name { font-size: clamp(0.68rem, 0.5rem + 0.6vw, 0.8rem); font-weight: 500; margin-top: 4%; letter-spacing: 0.1em; }
.book-cover .foil-uni { font-size: clamp(0.58rem, 0.45rem + 0.5vw, 0.7rem); margin-top: auto; letter-spacing: 0.12em; }
.book-cover .foil-rule { width: 34%; height: 1px; background: var(--foil); opacity: 0.7; margin-top: 5%; }
.book-caption { color: var(--text-muted); font-size: 0.88rem; text-align: center; margin-top: 1.7rem; font-family: var(--font-ui); }

/* Service-Siegel – die Rosette aus dem Logo, behutsam animiert */
.seal {
  position: absolute; left: clamp(-10px, 2vw, 30px); bottom: -26px;
  width: clamp(104px, 9vw + 70px, 132px); height: auto;
  filter: drop-shadow(0 6px 14px rgba(18,20,22,0.22));
}
.seal-rotor { transform-origin: 60px 60px; animation: seal-spin 48s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ---------- Kapitelköpfe ---------- */
.chapter-head h2 { margin-bottom: 0; }
.chapter-head .lead-serif { margin-top: 1rem; }

/* ---------- Leistungen: Editorial-Karten ---------- */
/* Kapitälchen-Overline + Serif-Titel wie ein Kapitelanfang im gebundenen Buch.
   Die Kernleistung „Drucken & Binden“ steht als große Feature-Karte voran. */
.service-overline {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 0.55rem;
}
.service-feature {
  display: grid; grid-template-columns: 1.08fr 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 22px 40px -30px rgba(18,20,22,0.3);
}
.service-feature-media { overflow: hidden; position: relative; }
.service-feature-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease-out);
}
/* Einheitliche Kartenhöhe: das Bild ordnet sich unter und wird passend beschnitten */
@media (min-width: 992px) {
  .service-feature { min-height: 480px; }
  .service-feature-media img { position: absolute; inset: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .service-feature { min-height: 550px; }
}
@media (hover: hover) { .service-feature:hover .service-feature-media img { transform: scale(1.04); } }
.service-feature-body { padding: clamp(1.8rem, 1.2rem + 2vw, 3rem); align-self: center; }
.service-feature-body h3 {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin: 0 0 0.7rem;
}
.service-feature-body h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.service-feature-body > p { margin-bottom: 0.4rem; }
.service-feature-list { margin-top: 0.9rem; font-size: 0.97rem; }
.service-more {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.1rem;
}
.service-more:hover { color: var(--cyan-deep); border-bottom-color: var(--cyan); }
.service-feature.flip { grid-template-columns: 1fr 1.08fr; }
.service-feature.flip .service-feature-media { order: 2; }
@media (max-width: 991.98px) {
  .service-feature, .service-feature.flip { grid-template-columns: 1fr; }
  .service-feature.flip .service-feature-media { order: 0; }
  .service-feature-media img { aspect-ratio: 16 / 9; }
}

/* ---------- Werkstatt / Galerie (hellgraue Sektion) ---------- */
.workshop {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
}
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--rule); background: #fff; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease-out);
}
.gallery-grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(18, 20, 22, 0.78));
  color: #fff; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 500;
  text-align: left; pointer-events: none;
  opacity: 0; transition: opacity 0.35s;
}
@media (hover: hover) {
  .gallery-grid figure:hover img { transform: scale(1.045); }
  .gallery-grid figure:hover figcaption { opacity: 1; }
}
@media (hover: none) { .gallery-grid figcaption { opacity: 1; } }
@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); z-index: var(--z-modal); }
.lightbox::backdrop { background: rgba(16, 18, 20, 0.86); }
.lightbox img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.lightbox .lb-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: #e3e6e8; font-family: var(--font-ui); font-size: 0.92rem; padding: 0.7rem 0.2rem;
}
.lightbox .lb-count { margin-left: auto; color: #9aa0a5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-stage { position: relative; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(16,18,20,0.55); color: #fff;
  backdrop-filter: blur(3px);
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(0,159,227,0.75); border-color: transparent; }
.lb-prev { left: 0.7rem; }
.lb-next { right: 0.7rem; }
.lightbox .lb-close {
  background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff;
  border-radius: var(--radius); padding: 0.35rem 0.95rem; font-family: var(--font-ui); font-size: 0.88rem;
  min-height: 44px;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,0.12); }

/* ---------- Preise: Karten als gebundene Exemplare ---------- */
/* Die drei Angebote sind gestaltet wie die Produkte selbst: zwei graue
   Hardcover mit Gewebestruktur und Folienschrift, eine Arbeit mit
   Metall-Spiralbindung. */
.pricing { background: var(--paper-2); }
.thesis-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: var(--radius-book);
  padding: 2.1rem 1.9rem 1.9rem;
}
.thesis-card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.15rem; }
.thesis-card .price-sub { font-size: 0.92rem; font-family: var(--font-ui); }
.thesis-card .price-tag { font-size: 2.3rem; font-weight: 700; margin: 1.1rem 0 0.2rem; font-variant-numeric: tabular-nums; }
.thesis-card .price-tag small { display: block; font-size: 0.95rem; font-weight: 500; margin-top: 0.15rem; }
.thesis-card .tick-list { margin-top: 1.2rem; font-size: 0.95rem; }
/* Hardcover-Varianten: glatter Deckel ohne Struktur, Deckelfalz,
   Folienprägung – beide Karten im selben hellen Grau. */
.thesis-card.cover {
  color: #f4f7f9;
  background: var(--cover-base, #767b81);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09), 0 16px 30px -16px rgba(18,20,22,0.5);
}
.thesis-card.cover::before { /* Deckelfalz am Bund */
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 13px; width: 2px;
  background: rgba(0,0,0,0.3); border-right: 1px solid rgba(255,255,255,0.07);
}
.thesis-card.cover-premium,
.thesis-card.cover-bordeaux { --cover-base: #767b81; }
/* Folienprägung: auf dem helleren Deckel hellere Folientöne, damit die
   Schrift lesbar bleibt – der dunkle Schlagschatten gibt die Prägetiefe. */
.thesis-card.cover h3 { color: #ecd28a; text-shadow: 0 1px 1px rgba(0,0,0,0.55); letter-spacing: 0.12em; }
.thesis-card.cover-bordeaux h3 { color: #e3ecf2; }
.thesis-card.cover .tick-foil { color: #ecd28a; }
.thesis-card.cover .tick-silver { color: #e3ecf2; }
.thesis-card.cover .badge-line { color: #fff; }
.thesis-card.cover .price-sub { color: rgba(244,247,249,0.85); }
.thesis-card.cover .price-tag { color: #fff; }
.thesis-card.cover .price-tag small { color: rgba(244,247,249,0.85); }
.thesis-card .badge-line {
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--foil);
  margin-bottom: 0.9rem;
}
/* Spiralbindung: gestanzte Ringe am Bund */
.thesis-card.spiral {
  background: #fff;
  border: 1px solid var(--rule);
  padding-left: 3.1rem;
  box-shadow: 0 16px 30px -20px rgba(18,20,22,0.25);
}
.thesis-card.spiral::before {
  content: ""; position: absolute; top: 16px; bottom: 16px; left: 9px; width: 18px;
  background-image: radial-gradient(circle at 9px 8px, transparent 2.6px, #9aa0a5 2.7px 4.2px, transparent 4.6px);
  background-size: 18px 17px; background-repeat: repeat-y;
}
.thesis-card.spiral h3 { color: var(--ink); }
.thesis-card.spiral .price-sub { color: var(--text-muted); }
.thesis-card.spiral .price-tag { color: var(--ink); }
.thesis-card.spiral .price-tag small { color: var(--text-muted); }
.price-note { color: var(--text-muted); font-size: 0.9rem; }

/* Preislisten im Stil eines Inhaltsverzeichnisses */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.62rem 0; font-size: 0.98rem; }
.price-list .item { color: var(--text); }
.price-list .leader { flex: 1; min-width: 2rem; border-bottom: 2px dotted #bcc1c5; transform: translateY(-0.28em); }
.price-list .amount {
  font-family: var(--font-ui); font-weight: 600; color: var(--ink);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.price-list-title { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.9rem; }
.price-list-panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.8rem 1.8rem 1.4rem; height: 100%; }

/* Cover-Farbpalette */
.swatch-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 1rem; }
.swatch { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-ui); font-size: 0.86rem; color: var(--text-muted); }
.swatch i {
  display: inline-block; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.35), inset 0 -2px 3px rgba(0,0,0,0.22);
}

/* ---------- Preisrechner (heller Andruckbogen) ---------- */
.calc-panel {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(28,30,32,0.025) 0 1px, transparent 1px 36px),
    #fff;
  color: var(--text);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 24px 48px -36px rgba(18,20,22,0.35);
  padding: clamp(1.8rem, 1.2rem + 2vw, 3rem);
}
.calc-panel > .crop { color: rgba(28,30,32,0.35); }
.calc-panel h2 { color: var(--ink); }
/* Angebots-Layout: links Titel und großer Live-Preis, rechts das Formular */
.calc-grid { display: grid; gap: 2rem; }
@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "intro quote" "form quote";
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-content: start;
  }
  .calc-intro { grid-area: intro; margin-bottom: 0.5rem; }
  .calc-formwrap { grid-area: form; }
  .calc-quote {
    grid-area: quote; align-self: center;
    border-left: 1px solid var(--rule);
    padding-left: clamp(2rem, 4vw, 3.5rem);
  }
}
.calc-overline {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 0.6rem;
}
.calc-sub { color: var(--text-muted); max-width: 36ch; }
.calc-panel .form-label { color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.calc-panel .form-control, .calc-panel .form-select { min-height: 48px; }
.calc-panel .form-select:disabled, .calc-panel .form-control:disabled { opacity: 0.55; }
.calc-extras-label { color: var(--ink); font-size: 0.92rem; font-weight: 600; font-family: var(--font-ui); }

/* Extras als Preisliste mit Mengen-Steppern */
.extras-list { list-style: none; margin: 0; padding: 0; }
.extras-list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--paper-2);
}
.extras-list li:last-child { border-bottom: 0; }
.extras-list .x-name { color: var(--text); font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500; }
.extras-list .x-name small { color: var(--text-muted); font-weight: 400; margin-left: 0.3rem; }
.extras-list .x-leader { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted #d5d8da; transform: translateY(0.5em); }
.extras-list li.is-disabled { opacity: 0.45; }
.stepper { display: inline-flex; align-items: center; gap: 0.15rem; }
.stepper output {
  min-width: 2.1rem; text-align: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.step-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #c2c7ca;
  background: #fff; color: var(--ink);
  font-size: 1.15rem; line-height: 1; font-family: var(--font-ui);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.step-btn:hover:not(:disabled) { background: var(--cyan-deep); border-color: var(--cyan-deep); color: #fff; }
.step-btn:disabled { opacity: 0.35; }
.calc-send-hint { color: var(--text-muted); font-size: 0.88rem; font-family: var(--font-ui); }
.calc-result {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.calc-result .amount {
  font-family: var(--font-ui); font-size: clamp(2.6rem, 2rem + 1.5vw, 3.4rem);
  font-weight: 700; color: var(--ink); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.calc-result .amount-label { color: var(--text-muted); font-size: 0.95rem; }
.calc-percopy { color: var(--text-muted); font-size: 0.95rem; font-family: var(--font-ui); font-variant-numeric: tabular-nums; min-height: 1.3em; }
.calc-disclaimer { color: var(--text-muted); font-size: 0.85rem; margin: 1.1rem 0 0; max-width: 46ch; }

/* ---------- Ablauf: Schritt-Karten im Stil der Leistungs-Karten ---------- */
.step-card {
  position: relative; height: 100%;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.7rem 1.7rem 1.8rem;
  overflow: hidden;
  isolation: isolate;
}
.step-index {
  position: absolute; top: 0.4rem; right: 1.3rem; z-index: -1;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 4.6rem; line-height: 1; color: var(--paper-2);
  user-select: none;
}
.step-card h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: 1.4rem; color: var(--ink); margin-bottom: 0.6rem;
}
.step-card p:last-child { font-size: 0.98rem; color: var(--text-muted); margin: 0; }
/* Last-Minute-Service: strukturierte Karte mit Zeiten und Anruf-Button */
.deadline-note {
  display: flex; align-items: center; gap: 1.3rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
}
.deadline-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(147,192,31,0.16); color: var(--green-deep);
}
.deadline-body { flex: 1 1 32ch; }
.deadline-body h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: 1.25rem; color: var(--ink); margin-bottom: 0.3rem;
}
.deadline-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.deadline-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0 0; padding: 0;
}
.deadline-facts li {
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600;
  color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: 100px;
  padding: 0.3rem 0.85rem;
}
.deadline-call { white-space: nowrap; }
.deadline-call svg { margin-right: 0.45rem; margin-top: -2px; }

/* ---------- Kontakt ---------- */
.contact-cards { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
}
.contact-ico {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0,159,227,0.1); color: var(--cyan-deep);
}
.contact-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin: 0.15rem 0 0.4rem;
}
.contact-card p { margin: 0; font-size: 0.97rem; }
.contact-card p + p { margin-top: 0.2rem; }
.contact-card .muted { color: var(--text-muted); font-size: 0.92rem; }
.whatsapp-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-ui); font-weight: 600; color: #0b7a58;
}
.whatsapp-link:hover { color: var(--ink); }
.contact-form-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem);
}
.contact-form-panel > .crop { color: rgba(28,30,32,0.35); }
.form-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.01em; }
.form-sub { color: var(--text-muted); font-size: 0.95rem; }
/* Bestätigung nach dem Absenden */
.contact-success {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  text-align: center;
  outline: none;
}
.contact-success .success-ico {
  display: inline-grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(147,192,31,0.16); color: var(--green-deep);
  margin-bottom: 1.1rem;
}
.contact-success h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: 1.5rem; color: var(--ink); margin-bottom: 0.6rem;
}
.contact-success p { color: var(--text-muted); margin: 0 auto 0.4rem; max-width: 44ch; }
.contact-success a { font-family: var(--font-ui); font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-success a:hover { color: var(--cyan-deep); }
.form-control, .form-select { min-height: 48px; border-color: #d0d4d7; border-radius: var(--radius); }
textarea.form-control { min-height: 130px; }
.form-control:focus, .form-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 0.2rem rgba(0,159,227,0.15); }
.form-control::placeholder { color: #878e93; }

/* Datenschutz-Checkbox */
.privacy-check { padding-top: 0.3rem; }
.privacy-check .form-check-input {
  width: 1.25em; height: 1.25em; margin-top: 0.18em;
  border: 1.5px solid #b6bcc0; border-radius: 4px;
}
.privacy-check .form-check-input:checked { background-color: var(--cyan-deep); border-color: var(--cyan-deep); }
.privacy-check .form-check-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 0.2rem rgba(0,159,227,0.15); }
.privacy-check .form-check-label {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.5;
  padding-left: 0.25rem;
}
.privacy-check .form-check-label a { color: var(--cyan-deep); }

/* Übernahme aus dem Preisrechner */
.calc-summary {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.calc-summary-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; color: var(--ink);
  margin-bottom: 0.4rem;
}
.calc-summary-remove {
  background: none; border: 0; padding: 0.2rem 0;
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted); text-decoration: underline; text-underline-offset: 0.15em;
}
.calc-summary-remove:hover { color: var(--ink); }
.calc-summary pre {
  margin: 0; white-space: pre-wrap;
  font-family: var(--font-ui); font-size: 0.92rem; color: var(--text); line-height: 1.55;
}

/* Fehlermeldung des Kontaktformulars (serverseitige Prüfung) */
.form-error {
  font-family: var(--font-ui); font-size: 0.95rem;
  background: rgba(200,60,40,0.08); border-left: 3px solid #c8402a;
  border-radius: var(--radius); padding: 0.85rem 1.1rem; color: #8d2a1b;
}

/* Honeypot: für Menschen unsichtbar und unerreichbar, für Bots ein normales Feld. */
.hp-feld {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- FAQ ---------- */
/* Helle Kontakt-Karte links, Fragen als einzelne Karten rechts */
.faq-cta {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.9rem 1.8rem;
}
.faq-cta h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: 1.45rem; color: var(--ink); margin-bottom: 0.7rem;
}
.faq-cta p { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 1.2rem; }
.faq-cta-list { list-style: none; margin: 0; padding: 0; }
.faq-cta-list li { border-top: 1px solid var(--rule); }
.faq-cta-list a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 0.2rem;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.97rem;
  color: var(--ink); text-decoration: none;
}
.faq-cta-list a:hover { color: var(--cyan-deep); }
.faq-cta-list svg { flex: none; color: var(--cyan-deep); }
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-accordion .accordion-item {
  border: 1px solid var(--rule); border-radius: 8px;
  background: #fff; overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: var(--font-ui); font-weight: 600; color: var(--ink);
  font-size: 1rem; padding: 1.05rem 1.3rem; background: #fff;
  border-radius: 0;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #fff; color: var(--cyan-deep); box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(0,159,227,0.15); }
.faq-accordion .accordion-button::after { filter: grayscale(1); }
.faq-accordion .accordion-body { color: var(--text); padding: 0 1.3rem 1.2rem; }

/* ---------- Footer (hell) ---------- */
.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  color: var(--text); font-size: 0.95rem;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--cyan-deep); text-decoration: underline; }
.footer h4 {
  font-size: 0.8rem; font-weight: 700; color: var(--ink);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-logo img { height: 56px; width: auto; display: block; }
.footer-desc { color: var(--text-muted); font-size: 0.92rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.22rem 0; }
.footer-contact { color: var(--text-muted); font-size: 0.95rem; }
.footer-contact p { margin-bottom: 0.35rem; }
.footer-contact a { color: var(--ink); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid var(--rule); color: var(--text-muted); font-size: 0.85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
}

/* ---------- Mobile Schnellleiste ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: flex;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--rule);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.quickbar a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; padding: 0.5rem 0.4rem;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.quickbar .qb-primary { background: var(--ink); color: #fff; }
@media (max-width: 991px) { body:has(.quickbar) { padding-bottom: 68px; } }
@media (max-width: 374px) {
  .quickbar { gap: 0.35rem; }
  .quickbar a { font-size: 0.8rem; padding-inline: 0.25rem; }
  .quickbar a:nth-child(2) { display: none; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
/* Der Inhalt dieser Seiten ist kurz. Damit der Footer trotzdem immer am
   unteren Bildschirmrand steht – egal wie hoch der Monitor ist –, wird die
   Seite zur Flex-Spalte über die volle Höhe; der Hauptteil dehnt sich. */
.legal-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.legal-page main { flex: 1 0 auto; }
.legal-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--ink); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-top: 1.8rem; margin-bottom: 0.5rem; }
.legal-page h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-top: 1.4rem; margin-bottom: 0.4rem; }
.legal-page main a { overflow-wrap: anywhere; }
.legal-page main ul { padding-left: 1.3rem; }
.legal-page main li { margin-bottom: 0.4rem; }

/* ---------- Urlaubshinweis ---------- */
/* Erscheint nur, wenn er in der Verwaltung eingeschaltet ist. Gestaltet wie
   ein eingelegtes Blatt: weißer Bogen mit Schnittmarken, Cyan als Signal. */
.urlaub-modal .modal-content {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(28,30,32,0.22);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
}
.urlaub-modal .modal-content > .crop { color: rgba(28,30,32,0.35); }
.urlaub-modal .modal-body { padding: 0; }
.urlaub-modal .urlaub-close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; }
.urlaub-marke {
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 0.5rem;
}
.urlaub-titel {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 0.35rem;
}
.urlaub-zeitraum {
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 0.9rem;
}
.urlaub-text { color: var(--text); font-size: 1rem; line-height: 1.6; }
.urlaub-aktionen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem;
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--rule);
}
/* Ohne JavaScript: statt Fenster ein Band am unteren Rand. */
.urlaub-band {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal);
  background: var(--ink); color: #fff;
  font-family: var(--font-ui); font-size: 0.92rem; line-height: 1.5;
  padding: 0.9rem 1.2rem calc(0.9rem + env(safe-area-inset-bottom));
  border-top: 3px solid var(--cyan);
}
.urlaub-band strong { display: block; font-size: 1rem; }
.urlaub-band-zeit { color: var(--foil-silver); }
@media (max-width: 991px) { .urlaub-band { bottom: 68px; } }

/* ---------- Motion ---------- */
/* Reveals verfeinern nur – ohne JS oder mit reduzierter Bewegung ist alles sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero .hero-keywords, .hero h1, .hero .hero-sub, .hero .hero-cta, .hero .hero-facts, .hero .hero-phone {
    animation: rise 0.7s var(--ease-out) both;
  }
  .hero .hero-sub { animation-delay: 0.08s; }
  .hero .hero-cta { animation-delay: 0.16s; }
  .hero .hero-facts { animation-delay: 0.24s; }
  .hero .hero-phone { animation-delay: 0.3s; }
  .book-stage { animation: rise 0.9s var(--ease-out) 0.15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .seal-rotor { animation: none; }
  .service-thumb, .gallery-grid img { transition: none; }
}
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
@media (min-width: 992px) { html { scroll-padding-top: 120px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
