/* ═══════════════════════════════════════════════════════════
   ziiiegler DESIGN — Buch-Layout & E-Book Landingpage
   style.css · Stand 2026
   ─────────────────────────────────────────────────────────
   Mobile First — Breakpoints: 600px (sm) · 960px (lg)
   WCAG AA — alle Textkombinationen geprüft und bestanden
   W3C valide — !important nur im prefers-reduced-motion-Block (WCAG 2.3.3 konform)
   ─────────────────────────────────────────────────────────
   Inhalt
    1.  Tokens / Custom Properties
    2.  Reset & Base
    3.  Layout-Utilities
    4.  Screenreader-Helfer
    5.  Scroll Reveal
    6.  Typografie
    7.  Buttons
    8.  Navigation
    9.  Hero
   10.  Über mich
   11.  Das Handwerk
   12.  Fullbild
   13.  Format-Wahl
   14.  Ablauf
   15.  Projekte / Portfolio
   16.  Zusammenarbeit
   17.  FAQ
   18.  CTA
   19.  Footer
   20.  Scroll-to-top
   21.  Cookie-Banner
   22.  Responsive — sm (≥ 600 px)
   23.  Responsive — lg (≥ 960 px)
═══════════════════════════════════════════════════════════ */

/* ─── 1. Tokens ─────────────────────────────────────────── */
:root {
  /* Seitenpalette */
  --cr:    #FAF9F7;   /* Creme-Weiß — Seitenhintergrund       */
  --sand:  #F2EDE6;   /* Warmes Sand — Sektionsalternative    */
  --sand2: #E8E1D8;   /* Etwas stärker — Borders, Hover       */
  --sand3: #D0C8BE;   /* Deutliche Border / Linien            */

  /* Textfarben — alle WCAG AA geprüft */
  --ink:   #292929;   /* Headlines — 13.83:1 auf --cr         */
  --body:  #4A443E;   /* Fließtext  —  9.12:1 auf --cr        */
  --stone: #6C6460;   /* Hilfstext  —  5.50:1 auf --cr        */

  /* Akzentfarbe */
  --rose:  #A84850;   /* Akzent — 5.38:1 auf --cr (WCAG AA)  */
  --rose2: #8E3540;   /* Hover-Dunkelton                      */
  --rsoft: #F5E4E6;   /* Akzent-Pale — Hintergründe           */

  /* Typografie */
  --f: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max:  1080px;
  --px:   1.25rem;    /* horizontales Padding — Mobile        */
}

/* ─── 2. Reset & Base ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Verhindert Layout-Shift bei Scrollbar-Erscheinen */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--f);
  background: var(--cr);
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Keine Animation bei reduzierter Bewegung */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── 3. Layout-Utilities ───────────────────────────────── */
.w {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* Section-Abstand — Mobile: kompakter */
.sec {
  padding: 3.5rem 0;
}

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

/* ─── 5. Scroll Reveal ──────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.r.on {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ─── 6. Typografie ─────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .75rem;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--sand3);
  flex-shrink: 0;
}

/* Mobile-first: clamp() sorgt für flüssige Skalierung */
h1 {
  font-size: clamp(32px, 8vw, 62px);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}

h2 {
  font-size: clamp(22px, 5.5vw, 38px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
}

h3 {
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ink);
}

/* Zentrierter Section-Header */
.sh {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.sh h2 { margin: .5rem 0 .9rem; }

.sh p {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
}

/* ─── 7. Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  /* Mobile: volle Breite für leichte Bedienbarkeit */
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  /* Touch-Target min. 44px (WCAG 2.5.5) */
  min-height: 44px;
  transition: background .18s, color .18s, border-color .18s, transform .14s;
}

.btn-dark {
  background: var(--ink);
  color: var(--cr);
}

.btn-dark:hover {
  background: var(--rose);
  transform: translateY(-1px);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--sand3);
}

.btn-line:hover {
  border-color: var(--rose);
  color: var(--rose);
}

/* Fokus-Ring für alle interaktiven Elemente */
.btn:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

/* Textlink-Variante */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--sand3);
  color: var(--stone);
  font-family: var(--f);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  min-height: 44px;
  cursor: pointer;
  border-radius: 0;
  transition: color .18s, border-color .18s;
  text-decoration: none;
}

.btn-text:hover {
  color: var(--rose);
  border-color: var(--rose);
}

.btn-text:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

/* ─── 8. Navigation ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background .28s, border-color .28s;
}

.nav.s {
  background: rgba(250, 249, 247, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--sand2);
}

.nav__i {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--rose);
}

/* Desktop-Menü: auf Mobile ausgeblendet */
.nav__menu {
  display: none;
  list-style: none;
}

.nav__menu a {
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
  /* Touch-Target */
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .25rem;
  transition: color .18s;
}

.nav__menu a:hover {
  color: var(--rose);
}

.nav__menu a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* CTA-Button in Nav: auf Mobile ausgeblendet */
.nav__cta {
  display: none;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--ink);
  color: var(--cr);
  padding: 9px 18px;
  min-height: 44px;
  align-items: center;
  border-radius: 0;
  transition: background .18s;
}

.nav__cta:hover {
  background: var(--rose);
}

.nav__cta:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

/* Hamburger — immer sichtbar auf Mobile */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  /* Touch-Target */
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
}

.nav__burger:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* Mobile Nav-Overlay */
.nav__mob {
  display: none;
  position: fixed;
  inset: 60px 0 0;
  background: var(--cr);
  padding: 1.5rem var(--px);
  z-index: 199;
  border-top: 1px solid var(--sand2);
  overflow-y: auto;
}

.nav__mob.open {
  display: block;
}

.nav__mob a {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  /* Touch-Target */
  min-height: 56px;
  border-bottom: 1px solid var(--sand);
  transition: color .18s;
}

.nav__mob a:hover {
  color: var(--rose);
}

.nav__mob a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* ─── 9. Hero ───────────────────────────────────────────── */
.hero {
  /* Mobile: gestapelt */
  display: flex;
  flex-direction: column;
  background: var(--cr);
  min-height: 100svh;
  overflow: hidden;
}

/* Bild: auf Mobile oben, 240px hoch */
.hero__r {
  order: -1;
  height: 240px;
  background:
    url('bilder/hero_r_background-zD_01.png') center center / cover no-repeat;
  background-color: var(--sand);
  flex-shrink: 0;
}

/* Text-Bereich */
.hero__l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem var(--px) 3rem;
  flex: 1;
}

.hero__h1 {
  margin: .75rem 0 1.25rem;
}

.hero__h1 b {
  font-weight: 600;
  color: var(--rose);
}

.hero__p {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.hero__note {
  font-size: 12px;
  font-weight: 300;
  color: var(--sand3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero__note::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--sand3);
}

/* ─── 10. Über mich ─────────────────────────────────────── */
.about-sec {
  padding: 3.5rem 0;
  background: var(--cr);
}

/* Mobile: einspaltig */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-card {
  background: var(--sand);
  border: 1px solid var(--sand2);
  padding: 2rem var(--px);
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--rose);
}

.about-q {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: .5rem;
  letter-spacing: -.015em;
}

.about-by {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--stone);
  margin-bottom: 1.75rem;
}

/* 2×2 Stats-Grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  background: var(--cr);
  border: 1px solid var(--sand2);
  padding: .9rem;
}

.stat__v {
  font-size: 18px;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: -.02em;
  margin-bottom: 3px;
}

.stat__l {
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.4;
}

.about-text h2 {
  margin: .5rem 0 1.25rem;
}

.about-text p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-text strong {
  font-weight: 500;
  color: var(--ink);
}

/* ─── 11. Das Handwerk ──────────────────────────────────── */
.whats-in {
  padding: 3.5rem 0;
  background: var(--sand);
}

/* Mobile: einspaltig, gestapelt */
.wi-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--sand2);
  margin-top: 2rem;
}

.wi {
  background: var(--cr);
  padding: 1.5rem var(--px);
  border-bottom: 1px solid var(--sand2);
  transition: background .2s;
}

.wi:last-child {
  border-bottom: none;
}

.wi:hover {
  background: var(--sand);
}

.wi__n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* Outline-Technik: dekorativ, kein Kontrastproblem */
  -webkit-text-stroke: 1px var(--sand3);
  color: transparent;
  margin-bottom: 1rem;
}

.wi__h {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.wi__p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
}

/* ─── 12. Fullbild ──────────────────────────────────────── */
.fullbild {
  padding: 3.5rem var(--px);
  background:
    url('bilder/fullbild_background-zD_01.png') center center / cover no-repeat;
  background-color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--sand2);
  border-bottom: 1px solid var(--sand2);
  text-align: center;
}

/* Weißer Overlay für Lesbarkeit */
.fullbild::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 247, .55);
  pointer-events: none;
}

/* Dekoratives vertikales Trennmotiv — nicht auf Mobile */
.fullbild__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.fullbild__q {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 300;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1.45;
}

/* ─── 13. Format-Wahl ───────────────────────────────────── */
.format-sec {
  padding: 3.5rem 0;
  background: var(--cr);
}

.format-question {
  text-align: center;
  margin-bottom: 2rem;
}

.format-question h2 {
  margin: .5rem 0 1rem;
}

.format-question p {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
}

/* Mobile: einspaltig */
.format-paths {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand2);
}

.fpath {
  padding: 2rem var(--px);
  border-bottom: 1px solid var(--sand2);
  background: var(--cr);
  transition: background .2s;
}

.fpath:last-child {
  border-bottom: none;
}

.fpath:hover {
  background: var(--sand);
}

.fpath__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sand3);
  margin-bottom: .9rem;
}

.fpath__icon {
  width: 40px;
  height: 40px;
  background: var(--rsoft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.fpath__icon svg {
  color: var(--rose);
}

.fpath__h {
  font-size: clamp(18px, 4.5vw, 20px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .6rem;
  letter-spacing: -.015em;
}

.fpath__p {
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.fpath__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fpath__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--body);
}

/* Tick-Icon */
.tick {
  width: 15px;
  height: 15px;
  background: var(--rsoft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.tick svg {
  color: var(--rose);
}

/* Hinweis-Box */
.format-combo {
  border: 1.5px dashed var(--sand3);
  background: var(--sand);
  padding: 1.25rem var(--px);
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  flex-wrap: wrap;
}

.format-combo__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.65;
}

.format-combo__text strong {
  font-weight: 500;
  color: var(--ink);
}

/* EPUB-Streifen */
.epub-strip {
  background: var(--sand);
  border: 1px solid var(--sand2);
  padding: 1rem var(--px);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.epub-strip__ico {
  flex-shrink: 0;
  color: var(--stone);
}

.epub-strip__text {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--stone);
}

.epub-strip__text span {
  font-weight: 500;
  color: var(--body);
}

/* ─── 14. Ablauf ────────────────────────────────────────── */
.proc-sec {
  padding: 3.5rem 0;
  background: var(--sand);
}

/* Mobile: einspaltig */
.proc-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand2);
  margin-top: 2rem;
}

.proc-step {
  background: var(--cr);
  padding: 1.5rem var(--px);
  border-bottom: 1px solid var(--sand2);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .9rem;
  align-items: start;
  transition: background .2s;
}

.proc-step:last-child {
  border-bottom: none;
}

.proc-step:hover {
  background: var(--sand);
}

.proc-n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  padding-top: 3px;
}

.proc-h {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .35rem;
  letter-spacing: -.01em;
}

.proc-p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

/* ─── 15. Projekte / Portfolio ──────────────────────────── */
.port-sec {
  padding: 3.5rem 0;
  background: var(--cr);
}

/* Mobile: einspaltig */
.port-grid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand2);
  margin-top: 2rem;
}

.pc {
  background: var(--cr);
  border-bottom: 1px solid var(--sand2);
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.pc:last-child {
  border-bottom: none;
}

.pc:hover {
  background: var(--sand);
}

/* Bild-Container */
.pc__thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand2);
  flex-shrink: 0;
}

/* Referenzbild */
.pc__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}

.pc:hover .pc__img {
  transform: scale(1.04);
}

/* Overlay-Label */
.pc__tag-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(250, 249, 247, .9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--sand2);
  padding: 4px 9px;
  pointer-events: none;
}

/* Text-Body */
.pc__body {
  padding: 1.25rem var(--px) 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc__tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}

.pc__name {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.pc__d {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
  margin-top: auto;
}

.port-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ─── 16. Zusammenarbeit ────────────────────────────────── */
.local-sec {
  padding: 3.5rem 0;
  background: var(--sand);
}

/* Mobile: einspaltig */
.local-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.local-text h2 {
  margin: .5rem 0 1rem;
}

.local-text p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Listen-Karten */
.local-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand2);
}

.litem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem var(--px);
  border-bottom: 1px solid var(--sand2);
  background: var(--cr);
  transition: background .18s;
}

.litem:last-child {
  border-bottom: none;
}

.litem:hover {
  background: var(--sand);
}

.litem__ico {
  width: 34px;
  height: 34px;
  background: var(--rsoft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.litem__ico svg {
  color: var(--rose);
}

.litem__t {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}

.litem__s {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.6;
}

/* ─── 17. FAQ ───────────────────────────────────────────── */
.faq-sec {
  padding: 3.5rem 0;
  background: var(--cr);
}

.faq-list {
  max-width: 640px;
  margin: 2rem auto 0;
  border: 1px solid var(--sand2);
}

.fq {
  border-bottom: 1px solid var(--sand2);
}

.fq:last-child {
  border-bottom: none;
}

.fq__btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--px);
  gap: 1rem;
  text-align: left;
  /* Touch-Target */
  min-height: 56px;
  transition: background .18s;
}

.fq__btn:hover,
.fq.open .fq__btn {
  background: var(--sand);
}

.fq__btn:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: -2px;
}

.fq__q {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -.01em;
}

.fq__ico {
  width: 24px;
  height: 24px;
  background: var(--sand2);
  border: 1px solid var(--sand3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .26s, background .18s;
  color: var(--rose);
}

.fq.open .fq__ico {
  transform: rotate(45deg);
  background: var(--rsoft);
}

.fq__a {
  display: none;
  padding: 0 var(--px) 1.1rem;
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  background: var(--sand);
}

.fq.open .fq__a {
  display: block;
}

/* ─── 18. CTA ───────────────────────────────────────────── */
.cta-sec {
  padding: 4rem 0;
  background: var(--sand);
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin: .5rem 0 1rem;
}

.cta-inner p {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Mobile: CTA-Button volle Breite */
.cta-inner .btn {
  max-width: 360px;
  margin: 0 auto;
}

.cta-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
}

.cta-row svg {
  color: var(--rose);
  flex-shrink: 0;
}

.cta-row a {
  color: var(--rose);
  font-weight: 500;
  transition: color .18s;
}

.cta-row a:hover {
  color: var(--rose2);
}

.cta-row a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* ─── 19. Footer ────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2rem var(--px);
}

.ft {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.ft__logo {
  flex-shrink: 0;
}

.ft__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
}

.ft__links a {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(250, 249, 247, .3);
  /* Touch-Target */
  display: flex;
  align-items: center;
  min-height: 44px;
  transition: color .18s;
}

.ft__links a:hover {
  color: rgba(168, 72, 80, .8);
}

.ft__links a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.ft__copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(250, 249, 247, .2);
}

/* ─── 20. Scroll-to-top ─────────────────────────────────── */
#up {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--rose);
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(168, 72, 80, .25);
}

#up.v {
  opacity: 1;
  pointer-events: auto;
}

#up:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ─── 21. Cookie-Banner ─────────────────────────────────── */
.cb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 24, .42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s ease;
}

.cb-overlay.cb--visible {
  opacity: 1;
}

/* Banner — auf Mobile volle Breite, unten */
.cb {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--f);
  background: var(--cr);
  border-top: 1px solid var(--sand2);
  box-shadow: 0 -4px 24px rgba(28, 26, 24, .1);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}

.cb.cb--visible {
  opacity: 1;
  transform: translateY(0);
}

.cb__inner {
  padding: 1.25rem var(--px) 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cb__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: .3rem;
}

.cb__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

.cb__link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .18s;
}

.cb__link:hover {
  color: var(--rose);
}

.cb__link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.cb__cats {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand2);
}

.cb__cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem var(--px);
  border-bottom: 1px solid var(--sand2);
  background: var(--sand);
}

.cb__cat:last-child {
  border-bottom: none;
}

.cb__cat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cb__cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.cb__cat-desc {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.5;
}

.cb__always {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Toggle-Switch */
.cb__toggle {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cb__toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cb__toggle-track {
  display: block;
  width: 44px;
  height: 24px;
  background: var(--sand2);
  border: 1.5px solid var(--sand3);
  border-radius: 0;
  position: relative;
  transition: background .2s, border-color .2s;
}

.cb__toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--stone);
  transition: transform .2s, background .2s;
}

.cb__toggle-input:checked + .cb__toggle-track {
  background: var(--ink);
  border-color: var(--ink);
}

.cb__toggle-input:checked + .cb__toggle-track::after {
  transform: translateX(20px);
  background: var(--cr);
}

.cb__toggle-input:focus-visible + .cb__toggle-track {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Banner-Buttons — auf Mobile: gestapelt */
.cb__actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.cb__btn {
  font-family: var(--f);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 11px 20px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  /* Touch-Target */
  min-height: 44px;
  transition: background .18s, color .18s, border-color .18s;
}

.cb__btn:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.cb__btn--line {
  background: transparent;
  color: var(--body);
  border: 1.5px solid var(--sand3);
}

.cb__btn--line:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cb__btn--ghost {
  background: var(--sand);
  color: var(--body);
  border: 1.5px solid var(--sand2);
}

.cb__btn--ghost:hover {
  background: var(--sand2);
}

.cb__btn--solid {
  background: var(--ink);
  color: var(--cr);
  /* Primäraktion: oben auf Mobile */
  order: -1;
}

.cb__btn--solid:hover {
  background: var(--body);
}

/* ─── 22. Responsive — sm (≥ 600 px) ───────────────────── */
@media (min-width: 600px) {

  :root {
    --px: 2rem;   /* mehr horizontales Padding */
  }

  .sec { padding: 5rem 0; }

  /* Hero: Seiten-Layout beginnt */
  .hero {
    flex-direction: row;
    min-height: 100svh;
  }

  .hero__r {
    order: 1;
    width: 45%;
    height: auto;
    flex-shrink: 0;
  }

  .hero__l {
    padding: 6rem 2.5rem 3rem;
    flex: 1;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  /* Buttons: auto-Breite ab Tablet */
  .btn {
    width: auto;
  }

  /* Über mich: zweispaltig */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  /* Handwerk: zweispaltig */
  .wi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--sand2);
    border: 1px solid var(--sand2);
  }

  .wi {
    border-bottom: none;
    border-right: 1px solid var(--sand2);
    padding: 2rem;
  }

  .wi:nth-child(2n) {
    border-right: none;
  }

  /* Ablauf: zweispaltig */
  .proc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .proc-step {
    border-bottom: 1px solid var(--sand2);
    border-right: 1px solid var(--sand2);
    display: block;
    padding: 1.75rem 1.5rem;
  }

  .proc-step:nth-child(2n) {
    border-right: none;
  }

  .proc-step:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Projekte: zweispaltig */
  .port-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--sand2);
    border: 1px solid var(--sand2);
  }

  .pc {
    border-bottom: none;
    border-right: 1px solid var(--sand2);
  }

  .pc:nth-child(2n) {
    border-right: none;
  }

  /* Bei ungerader Anzahl letztes Element volle Breite */
  .pc:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .pc:last-child:nth-child(odd) .pc__thumb {
    height: 240px;
  }

  /* Zusammenarbeit: zweispaltig */
  .local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  /* CTA-Meta: nebeneinander */
  .cta-meta {
    flex-direction: row;
    justify-content: center;
  }

  /* Footer: nebeneinander */
  .ft {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  /* Cookie-Banner: zentriert, Floating */
  .cb {
    bottom: 1.5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(20px);
    width: min(680px, calc(100vw - 2rem));
    border: 1px solid var(--sand2);
    border-top: 1px solid var(--sand2);
    box-shadow:
      0 4px 16px rgba(28, 26, 24, .08),
      0 24px 64px rgba(28, 26, 24, .14);
  }

  .cb.cb--visible {
    transform: translateX(-50%) translateY(0);
  }

  .cb__inner {
    padding: 1.75rem 2rem 1.5rem;
  }

  /* Banner-Buttons: nebeneinander */
  .cb__actions {
    flex-direction: row;
    align-items: center;
    gap: .75rem;
  }

  .cb__btn {
    flex: 1;
  }

  .cb__btn--solid {
    order: 0;
    flex: none;
    margin-left: auto;
  }
}

/* ─── 23. Responsive — lg (≥ 960 px) ───────────────────── */
@media (min-width: 960px) {

  :root {
    --px: 2.5rem;
  }

  /* Nav: Desktop-Elemente einblenden */
  .nav__menu {
    display: flex;
    gap: 2rem;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__burger {
    display: none;
  }

  /* Hero: größeres Padding */
  .hero__l {
    padding: 8rem 4rem 4rem
      max(2.5rem, calc((100vw - var(--max)) / 2 + 2.5rem));
  }

  /* Format-Wahl: zweispaltig */
  .format-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--sand2);
  }

  .fpath {
    border-bottom: none;
    border-right: 1px solid var(--sand2);
    padding: 2.75rem 2.5rem;
  }

  .fpath:last-child {
    border-right: none;
  }

  /* Handwerk: dreispaltig */
  .wi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wi:nth-child(2n) {
    border-right: 1px solid var(--sand2);
  }

  .wi:nth-child(3n) {
    border-right: none;
  }

  /* Ablauf: vierspaltig */
  .proc-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .proc-step {
    border-right: 1px solid var(--sand2);
    border-bottom: none;
  }

  .proc-step:last-child {
    border-right: none;
  }

  .proc-step:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Projekte: dreispaltig */
  .port-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pc:nth-child(2n) {
    border-right: 1px solid var(--sand2);
  }

  .pc:nth-child(3n) {
    border-right: none;
  }

  .pc:last-child:nth-child(odd) {
    grid-column: auto;
  }

  /* Fullbild: Höhe auf Desktop */
  .fullbild {
    padding: 6rem 2.5rem;
  }
}

/* ─── Ergänzungen zu Basis-Klassen ──────────────────────── */

/* Eyebrow zentriert (ersetzt inline justify-content) */
.eyebrow--center {
  justify-content: center;
}

/* Button: Abstand oben (ersetzt inline margin-top) */
.btn--mt {
  margin-top: 1.5rem;
}

/* CTA-Button: eigene Größe (ersetzt inline font-size + padding) */
.btn--cta {
  font-size: 15px;
  padding: 15px 34px;
  max-width: 320px;
  margin: 0 auto;
}

/* Fließtext in Zusammenarbeit */
.local-intro {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

/* Infopfeil im format-combo (ersetzt inline flex-shrink) */
.format-combo__icon {
  flex-shrink: 0;
  color: var(--rose);
}

/* about-card: position:relative (ersetzt inline style) */
.about-card {
  position: relative;
}
