/* =============================================================
   Polstereiwerkstatt Grubesic – "Der Sofa-Retter"
   style.css · Designrichtung: „Editorial Atelier / Werkstatt-Journal"
   Warmes Papier + charaktervolle Serifen + Naht-/Stich-Motiv + Meister-Siegel.
   Eine Datei, keine Frameworks, KEINE externen Requests (DSGVO).
   System-Serifen mit Charakter; Breakpoints 768px & 480px.
   ============================================================= */

/* ---------- Lokale Schriften (selbst gehostet → kein externer Request, DSGVO-konform; OFL-lizenziert) ---------- */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Design-Tokens ---------- */
:root {
  /* Papier & Tinte */
  --c-bg:            #f4ead7; /* warmes Papier */
  --c-surface:       #fbf6ec; /* warmes Off-White (Karten) */
  --c-surface-alt:   #ece0c8; /* tieferes Papier (Wechselsektionen) */
  --c-dark:          #1d3a3f; /* tiefes Petrol */
  --c-dark-2:        #14282c;
  --paper-edge:      #e4d6ba;

  /* Akzente – dominante Tinte + scharfe Akzente */
  --c-accent:        #1f8aa6; /* Marken-Hellblau – grafische Akzente, Naht */
  --c-accent-text:   #15677d; /* dunkles Blau – Textakzente (AA) */
  --c-accent-btn:    #146781; /* Button-Fläche */
  --c-accent-btn-hi: #0f5f74; /* Button Hover */
  --c-brass:         #9c6b30; /* warmes Detail (Leder/Holz, Bilderrahmen-Naht) */

  /* Text */
  --c-text:          #2a201b; /* warmes Espresso-Schwarz */
  --c-muted:         #6a5c4c; /* Sekundärtext (AA auf Papier) */
  --c-border:        #ddccac; /* Haarlinie auf Papier */
  --c-border-dark:   #355a60;

  /* Auf dunklem Grund */
  --on-dark:         #ece2cf;
  --on-dark-muted:   #a7bbb6;

  /* Typografie – moderne, lokal gehostete Schriften (kein externer Request → DSGVO) */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label:   "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Naht-/Stich-Motiv (Polsterei-Referenz) */
  --stitch:      repeating-linear-gradient(90deg, var(--c-accent) 0 9px, transparent 9px 17px);
  --stitch-soft: repeating-linear-gradient(90deg, var(--c-border) 0 7px, transparent 7px 14px);

  /* Maße */
  --maxw: 1180px;
  --maxw-narrow: 720px;
  --radius: 4px;            /* kantiger, editorial – nicht „App-rund" */
  --radius-sm: 3px;
  --shadow-sm: 0 1px 2px rgba(29,58,63,.07);
  --shadow-md: 0 10px 30px rgba(29,58,63,.12);
  --shadow-lg: 0 22px 60px rgba(20,40,44,.30);
  --space: clamp(3.5rem, 8vw, 7rem);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.07rem;
  line-height: 1.62;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Feine Papier-Körnung über die ganze Seite (eingebettetes SVG, kein Request) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent-btn-hi); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--c-dark);
  font-weight: 700;
  margin: 0 0 .55em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--c-dark); font-weight: 700; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.narrow { max-width: var(--maxw-narrow); }
.text-center { text-align: center; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--c-muted); max-width: 62ch; }
.section__head.center .lead { margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 1000;
  background: var(--c-dark); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Naht-Linie (wiederkehrendes Motiv) ---------- */
.seam { height: 2px; border: 0; background: var(--stitch); opacity: .7; margin: 0; }
.seam--soft { background: var(--stitch-soft); opacity: 1; }

/* ---------- Eyebrow / Label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-label);
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--c-accent-text);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 1.9rem; height: 2px; background: var(--stitch); flex: 0 0 auto; }
.section__head.center .eyebrow { justify-content: center; }
.eyebrow--light { color: #9fd6e6; }
.eyebrow--light::before { background: repeating-linear-gradient(90deg, #9fd6e6 0 9px, transparent 9px 17px); }

/* ---------- Reveal-Animation (Progressive Enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-label); font-size: .92rem; font-weight: 700;
  letter-spacing: .04em; line-height: 1.1;
  padding: .95em 1.7em; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--c-accent-btn); color: #fff; box-shadow: 0 6px 16px rgba(168,69,31,.28); }
.btn--primary:hover { background: var(--c-accent-btn-hi); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(168,69,31,.34); }
.btn--ghost { background: transparent; color: var(--c-dark); border-color: var(--c-dark); }
.btn--ghost:hover { background: var(--c-dark); color: var(--c-bg); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(236,226,207,.55); }
.btn--on-dark:hover { background: var(--c-bg); color: var(--c-dark); border-color: var(--c-bg); transform: translateY(-2px); }
.btn--lg { font-size: 1rem; padding: 1.05em 2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* Link mit animierter Naht-Unterstreichung */
.link-seam {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--c-accent-text);
  text-decoration: none; position: relative; padding-bottom: 6px; align-self: flex-start;
}
.link-seam::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--stitch); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.link-seam:hover { color: var(--c-accent-btn-hi); }
.link-seam:hover::after { transform: scaleX(1); }
.link-seam::before { content: ""; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,234,215,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--c-dark); }
.brand:hover { color: var(--c-dark); }
.brand__mark { flex: 0 0 auto; width: 46px; height: 46px; display: block; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--c-dark); letter-spacing: -.01em; }
.brand__tag { font-family: var(--font-label); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-text); font-weight: 700; margin-top: 1px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0; background: transparent;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin-inline: auto; background: var(--c-dark); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: .5em .85em;
  font-family: var(--font-label); font-size: .86rem; font-weight: 600; letter-spacing: .04em;
  color: var(--c-dark); text-decoration: none; border-radius: var(--radius-sm);
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: .85em; right: .85em; bottom: .15em; height: 2px;
  background: var(--stitch); transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--c-accent-text); }
.nav-cta { margin-left: .5rem; }
.nav-cta a { background: var(--c-accent-btn); color: #fff !important; padding: .6em 1.1em; }
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--c-accent-btn-hi); }

/* ---------- Hero (editorial, asymmetrisch) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(120% 120% at 12% 0%, #245056 0%, var(--c-dark) 45%, var(--c-dark-2) 100%);
}
.hero::after { /* grosse, dezente Naht-Bogen-Textur */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='900'%3E%3Cg fill='none' stroke='%23e7c39c' stroke-width='2' stroke-dasharray='10 12'%3E%3Cpath d='M-100 760 Q 600 300 1300 720'/%3E%3Cpath d='M-100 820 Q 600 360 1300 780'/%3E%3C/g%3E%3C/svg%3E");
  background-position: right -40px bottom -40px; background-repeat: no-repeat; background-size: 1100px auto;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__copy { max-width: 36ch; }
.hero__title { color: #fff; margin-bottom: .5rem; display: flex; flex-direction: column; }
.hero__title-main { font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; font-weight: 700; letter-spacing: -.01em; }
.hero__title-sub {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(.72rem, 1.5vw, .86rem);
  color: var(--on-dark-muted); margin-top: 1.1rem; line-height: 1.5;
}
.hero__lead { font-size: 1.18rem; line-height: 1.7; color: var(--on-dark); margin: 1.4rem 0 1.9rem; }
.hero__trust {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(231,195,156,.25);
  display: flex; flex-wrap: wrap; gap: 1rem 1.8rem;
  font-family: var(--font-label); font-size: .82rem; letter-spacing: .03em; color: var(--on-dark-muted);
}
.hero__trust span { display: inline-block; }
.hero__trust span::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .55rem; border-radius: 50%; background: var(--c-accent); vertical-align: middle; }
.hero__trust strong { color: #fff; }

/* Hero-Beistück: gerahmtes Bild + Siegel */
.hero__aside { position: relative; }
.hero__frame {
  margin: 0; position: relative; background: var(--c-surface);
  padding: 12px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); transform: rotate(1.4deg);
}
.hero__frame::before { /* Naht-Rahmen innen */
  content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(168,107,48,.55); border-radius: 2px; pointer-events: none; z-index: 1;
}
.hero__frame img { width: 100%; border-radius: 2px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__frame figcaption {
  font-family: var(--font-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-muted); text-align: right; padding: .7rem .6rem .3rem; /* rechtsbündig, damit das links sitzende Siegel die Bildunterschrift nicht überdeckt */
}
.hero__seal { position: absolute; left: -46px; bottom: -34px; width: clamp(110px, 16vw, 150px); height: auto; z-index: 2; filter: drop-shadow(0 8px 18px rgba(20,40,44,.45)); animation: seal-in 1s .5s both; }
.hero__seal svg, .hero__seal img { width: 100%; height: auto; display: block; }
@keyframes seal-in { from { opacity: 0; transform: rotate(-25deg) scale(.7); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--space); position: relative; }
.section[id] { scroll-margin-top: 94px; }
.section--alt { background: var(--c-surface-alt); border-block: 1px solid var(--paper-edge); }
.section--dark { background: var(--c-dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #9fd6e6; }
.section--dark .eyebrow::before { background: repeating-linear-gradient(90deg, #9fd6e6 0 9px, transparent 9px 17px); }
.section__head { max-width: 64ch; margin-bottom: 3rem; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head .lead { margin-bottom: 0; }

/* ---------- Manifest / Pull-Statement ---------- */
.manifesto { text-align: center; }
.manifesto .kicker { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 700; color: var(--c-accent-text); }
.manifesto h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 1.1rem auto .8rem; max-width: 18ch; }
.manifesto p { font-size: 1.16rem; color: var(--c-muted); max-width: 60ch; margin-inline: auto; }
.manifesto .seam { width: 120px; margin: 0 auto 1.8rem; }

/* ---------- Leistungen als redaktioneller Index ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.svc {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--paper-edge); }
.svc__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__num {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: #fff; background: var(--c-accent-btn); padding: .12em .42em .18em; border-radius: 0 var(--radius) 0 0;
}
.svc__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: .45em; }
.svc__body p { color: var(--c-muted); font-size: 1rem; margin-bottom: 1.1rem; }
.svc__body .link-seam { margin-top: auto; }

/* Sonder-Kachel (statt „leerer" Bildkarte) */
.svc--cta { background: var(--c-dark); border-color: var(--c-dark); justify-content: center; }
.svc--cta .svc__body { padding: 2rem 1.7rem; }
.svc--cta h3 { color: #fff; }
.svc--cta p { color: var(--on-dark-muted); }
.svc--cta .link-seam { color: #9fd6e6; }

/* ---------- Kapitel-Nummer (Leistungen) ---------- */
.chapter-num {
  display: inline-block; font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--c-accent-text); margin-bottom: .35rem;
}
.chapter-num::after { content: ""; display: block; width: 2.4rem; height: 2px; background: var(--stitch); margin-top: .5rem; }

/* ---------- Schnellübersicht (Leistungen) ---------- */
.svc-index { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.7rem 0 0; padding: 0; list-style: none; }
.svc-index a {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  font-family: var(--font-label); font-size: .84rem; font-weight: 600; color: var(--c-dark);
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px;
  padding: .5em 1.05em; transition: border-color .2s ease, color .2s ease, transform .15s ease;
}
.svc-index a:hover { border-color: var(--c-accent); color: var(--c-accent-text); transform: translateY(-2px); }
.svc-index a b { font-weight: 700; color: var(--c-accent-text); }

/* ---------- Ablauf-Schritte (Kontakt) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.process li { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.process__num {
  display: inline-flex; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem;
  border-radius: 50%; background: var(--c-accent-btn); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: .9rem;
}
.process li h3 { margin-bottom: .35em; font-size: 1.2rem; }
.process li p { color: var(--c-muted); margin-bottom: 0; font-size: .98rem; }

/* ---------- Feature-Reihen (Text + gerahmtes Bild) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.feature + .feature { margin-top: var(--space); }
.feature__media { position: relative; background: var(--c-surface); padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.feature__media::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(168,107,48,.45); border-radius: 2px; pointer-events: none; z-index: 1; }
.feature__media img { width: 100%; border-radius: 2px; aspect-ratio: 3 / 2; object-fit: cover; }
.feature__media--portrait img { aspect-ratio: 4 / 5; object-position: top; }
.feature--reverse .feature__media { order: 2; }
.feature__body h2 { margin-bottom: .5em; }

/* ---------- Checklisten / Vorteile ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checklist.cols { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .9rem 1.8rem; }
.checklist li { position: relative; padding-left: 2.2rem; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.4rem; height: 1.4rem;
  background: var(--c-accent); border-radius: 50%;
  -webkit-mask: center/0.85rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
          mask: center/0.85rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}
.section--dark .checklist li::before { background: #9fd6e6; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background-color: var(--c-accent-btn);
  color: #fff; text-align: center; position: relative;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 9px, transparent 9px 17px); }
.cta-band::before { top: 0; } .cta-band::after { bottom: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe7da; max-width: 52ch; margin-inline: auto; }
.cta-band .btn--on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn--on-dark:hover { background: #fff; color: var(--c-accent-btn); border-color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Galerie + Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.gallery li { margin: 0; } .gallery figure { margin: 0; }
.gallery button.gallery__item {
  display: block; width: 100%; padding: 0; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; background: var(--c-surface); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery button.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: .75rem .95rem; font-size: .92rem; color: var(--c-muted); text-align: left; }
.gallery .tag { display: inline-block; font-family: var(--font-label); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px; margin-right: .45rem; }
.tag--before { background: #e8dcc3; color: #6b5526; }
.tag--after  { background: #cfe0d8; color: #245048; }
.tag--peek   { background: #d7eef4; color: #15677d; }
.gallery-group + .gallery-group { margin-top: 3.5rem; }
.gallery-group > .eyebrow { margin-bottom: 1.2rem; }

/* ---------- Nicht umbrechende Wortgruppe (Titel-Typografie) ---------- */
.nb { white-space: nowrap; }

/* ---------- Referenz-Logos (Möbelhäuser) ---------- */
.logo-band { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.logo-band__head { text-align: center; margin-bottom: 1.6rem; }
.logo-band__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2rem;
}
.logo-band__list li { margin: 0; }
.logo-band__list a {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 108px; padding: 1.1rem 1.3rem;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.logo-band__list a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--paper-edge); }
.logo-band__list img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 480px) {
  .logo-band__list { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .logo-band__list a { min-height: 88px; padding: .9rem 1rem; }
  .logo-band__list img { max-height: 44px; }
}

/* ---------- Projektbeispiele unter den Leistungen ---------- */
.beispiele { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.beispiele > .eyebrow { margin-bottom: 1.1rem; }
.beispiele .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(18,28,30,.94); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--c-bg); }
.lightbox__caption { position: absolute; bottom: clamp(1rem,4vw,2.2rem); left: 0; right: 0; text-align: center; color: #f1ece3; font-family: var(--font-label); font-size: .95rem; padding-inline: 1rem; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); width: 54px; height: 54px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .15s ease; }
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: clamp(1rem,4vw,2rem); right: clamp(1rem,4vw,2rem); }
.lightbox__prev { left: clamp(.5rem,3vw,2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem,3vw,2rem); top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.7rem; }
.location-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.location-card > a { display: block; }
.location-card > a img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.location-card__body { padding: 1.6rem; }
.location-card h3 { margin-bottom: .25em; }
.location-card .role { font-family: var(--font-label); color: var(--c-accent-text); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.info-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .7rem; }
.info-list svg { flex: 0 0 auto; width: 22px; height: 22px; fill: var(--c-accent-text); margin-top: .2em; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
.hours-table { border-collapse: collapse; width: 100%; margin-top: .5rem; }
.hours-table th, .hours-table td { text-align: left; padding: .55em .4em; border-bottom: 1px solid var(--c-border); }
.hours-table th { font-weight: 600; color: var(--c-dark); width: 45%; }
.placeholder-note { display: inline-block; font-family: var(--font-label); background: #f7e7c0; border: 1px dashed #c79a3e; color: #6a4f12; font-size: .76rem; letter-spacing: .03em; padding: .3em .65em; border-radius: var(--radius-sm); }

/* ---------- Zitat ---------- */
.quote { max-width: 60ch; margin-inline: auto; text-align: center; }
.quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.4; color: #fff; margin-bottom: 1.1rem; }
.quote .mark { color: var(--c-accent); }
.quote cite { display: block; font-style: normal; font-family: var(--font-label); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #9fd6e6; font-weight: 700; }

/* ---------- Info-/Notiz-Box ---------- */
.note { background: var(--c-surface); border-left: 4px solid var(--c-accent); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }

/* ---------- Rechtstexte ---------- */
.legal h2 { margin-top: 2.4rem; } .legal h3 { margin-top: 1.7rem; }
.legal p, .legal li { color: var(--c-text); } .legal address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: var(--on-dark-muted); padding-block: 3.6rem 1.6rem; font-size: .97rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--stitch); opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.6rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--on-dark); } .site-footer a:hover { color: #fff; }
.footer-brand .brand__name { color: #fff; } .footer-brand .brand__tag { color: #9fd6e6; }
.footer-brand p { color: var(--on-dark-muted); margin-top: .9rem; max-width: 42ch; }
.footer-nav ul, .footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li, .footer-contact li { margin-bottom: .5rem; }
.footer-nav a, .footer-contact a { font-family: var(--font-label); font-size: .92rem; text-decoration: none; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--c-border-dark); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; color: var(--on-dark-muted); font-family: var(--font-label); font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; } .footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive: ≤768px ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-bg); border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md); display: none; }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem clamp(1.1rem,4vw,2.2rem) 1.2rem; }
  .nav-list a { padding: .85em .4em; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { background: var(--c-surface-alt); }
  .nav-cta { margin: .8rem 0 0; } .nav-cta a { text-align: center; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__aside { max-width: 360px; margin-inline: auto; }
  .hero__seal { left: auto; right: -10px; bottom: -28px; }
  .hero__frame figcaption { text-align: left; padding-right: 5rem; } /* Siegel sitzt mobil rechts → Caption links, Platz fürs Siegel */

  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { margin-bottom: .4rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Responsive: ≤480px ---------- */
@media (max-width: 480px) {
  body { font-size: 1.02rem; }
  .hero__lead { font-size: 1.08rem; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__prev { left: .4rem; } .lightbox__next { right: .4rem; }
  .svc__num { font-size: 2.2rem; }
}

/* ---------- Bewegungsreduktion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
