/* ============ Schriften (lokal eingebunden – DSGVO-konform, keine Google-Server) ============ */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 600; font-display: swap; src: url("../fonts/rubik-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); }

/* ============ Farben & Grundwerte – hier zentral anpassen ============ */
:root {
  --tinte: #1f2a37;        /* Dunkle Schrift / Fußzeile */
  --text: #3a4452;
  --text-leise: #6b7480;
  --akzent: #ff6a1a;       /* Orange (wie im Logo) */
  --akzent-dunkel: #e5560c;
  --akzent-hell: #ffeadc;
  --lila: #6d5ce8;   --lila-hell: #ece9ff;
  --tuerkis: #0f9e8e; --tuerkis-hell: #dcf5f1;
  --gelb: #d99a00;   --gelb-hell: #fff3cc;
  --grund: #fffaf4;        /* warmes Weiß */
  --sand: #f7efe4;         /* Abschnitte im Wechsel */
  --linie: #eadfd1;
  --weiss: #ffffff;
  --radius: 22px;
  --schatten: 0 2px 4px rgba(80, 50, 20, .04), 0 12px 32px rgba(80, 50, 20, .08);
  --schatten-gross: 0 30px 70px rgba(60, 35, 10, .18);
  --kopf-hoehe: 84px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-titel: "Rubik", "Inter", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--font); color: var(--text); background: var(--grund); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-titel); line-height: 1.15; margin: 0 0 .5em; color: var(--tinte); letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--schmal { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--akzent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 600 1.6rem/1 var(--font-hand); color: var(--akzent-dunkel); margin: 0 0 8px; transform: rotate(-2deg); display: inline-block; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; background: var(--akzent); color: #fff; font: 600 1.02rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 6px 0 var(--akzent-dunkel), 0 10px 24px rgba(255, 106, 26, .25); transition: transform .15s, box-shadow .15s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--akzent-dunkel), 0 14px 28px rgba(255, 106, 26, .3); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--akzent-dunkel), 0 4px 10px rgba(255, 106, 26, .2); }
.btn--weich { background: var(--weiss); color: var(--tinte); box-shadow: 0 6px 0 var(--linie), 0 10px 24px rgba(80, 50, 20, .08); }
.btn--weich:hover { box-shadow: 0 8px 0 var(--linie), 0 14px 28px rgba(80, 50, 20, .1); }
.btn--weich:active { box-shadow: 0 2px 0 var(--linie); }
.kopf .btn { white-space: nowrap; }
.btn--klein { padding: 11px 20px; font-size: .95rem; box-shadow: 0 4px 0 var(--akzent-dunkel); }
.btn--klein:hover { box-shadow: 0 6px 0 var(--akzent-dunkel); }
.btn--voll { width: 100%; }

/* ============ Kopfzeile ============ */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 244, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 6px 24px rgba(80, 50, 20, .06); }
.kopf__innen { height: var(--kopf-hoehe); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Logo: oben groß als „Plakette“, die über die Kopfzeile hinausragt – beim Scrollen kompakt */
.marke img { width: 140px; height: 140px; margin: 14px 0 -70px; border-radius: 50%; filter: drop-shadow(0 10px 22px rgba(60, 35, 10, .2)); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), width .35s ease, height .35s ease, margin .35s ease, filter .35s; }
.kopf.ist-gescrollt .marke img { width: 64px; height: 64px; margin: 0; filter: none; }
/* Touch-Geräte (kein Mausüber): Logo dreht beim Scrollen mit und schwingt beim Antippen bzw. Erscheinen */
@media (hover: none) {
  .marke img { rotate: calc(var(--logo-dreh, 0) * 1deg); }
  .marke:hover img, .fuss__marke:hover img, .ueber__stempel:hover { transform: none; }
  .ueber__stempel:hover { transform: rotate(-12deg); }
}
.schwingt { animation: schwung 1s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes schwung { 0% { rotate: 0deg; scale: 1; } 35% { rotate: -22deg; scale: 1.08; } 65% { rotate: 10deg; } 100% { rotate: 0deg; scale: 1; } }
.marke:hover img, .fuss__marke:hover img, .ueber__stempel:hover { transform: rotate(-14deg) scale(1.06); }
.marke__text { display: flex; flex-direction: column; line-height: 1.2; }
.marke__text strong { font: 700 1.25rem var(--font-titel); color: var(--tinte); white-space: nowrap; }
.marke__text small { font-size: .8rem; color: var(--text-leise); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--text); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:not(.btn):hover, .nav a.aktiv { background: var(--akzent-hell); color: var(--akzent-dunkel); }
.nav .btn { margin-left: 10px; }
.menu-knopf { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-knopf span { display: block; height: 2px; background: var(--tinte); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 90% 10%, #ffe2cf 0%, transparent 70%), radial-gradient(600px 400px at 0% 100%, #f1ecff 0%, transparent 70%), var(--grund); }
.hero__innen { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 104px 0 96px; }
.pille { display: inline-flex; align-items: center; gap: 10px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--text); margin-bottom: 26px; box-shadow: var(--schatten); }
.pille__punkt { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.kringel { position: relative; white-space: nowrap; color: var(--akzent); }
.kringel svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.kringel path { fill: none; stroke: var(--akzent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: zeichnen 1.1s .4s ease-out forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.hero__text { opacity: calc(1 - var(--weg, 0) * .55); translate: 0 calc(var(--weg, 0) * -40px); }
.hero__lead { font-size: 1.17rem; max-width: 34em; color: var(--text); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 30px; }
.hero__punkte { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--text); }
.hero__punkte li { display: flex; align-items: center; gap: 8px; }
.hero__punkte li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--akzent-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5560c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Foto-Collage im Polaroid-Stil */
.collage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.polaroid { position: absolute; margin: 0; background: var(--weiss); padding: 12px 12px 0; border-radius: 6px; box-shadow: var(--schatten-gross); transition: transform .35s ease; }
.polaroid img, .polaroid__video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.polaroid__video { position: relative; overflow: hidden; background: #1f2a37; }
.polaroid__video picture, .etappe__medium picture { display: block; width: 100%; height: 100%; }
.polaroid__video img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.polaroid__video .etappe__live { left: 10px; top: 10px; font-size: .74rem; }
.polaroid { translate: 0 calc(var(--parallax, 0) * 1px); }
.polaroid figcaption { font: 600 1.45rem/1 var(--font-hand); color: var(--tinte); text-align: center; padding: 10px 0 12px; }
.polaroid--1 { width: 50%; left: 0; top: 6%; transform: rotate(-6deg); z-index: 2; }
.polaroid--2 { width: 46%; right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.polaroid--3 { width: 44%; left: 30%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 4; }
.notiz { position: absolute; font: 600 1.55rem/1.05 var(--font-hand); color: var(--akzent-dunkel); margin: 0; }
.notiz svg { width: 70px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.notiz--hero { right: -4%; bottom: 3%; transform: rotate(-5deg); text-align: center; z-index: 4; }
.notiz--hero svg { margin: 0 auto 2px; }

/* ============ Abschnitte ============ */
.abschnitt { padding: 104px 0; }
.abschnitt--sand { background: var(--sand); }
.abschnitt__kopf { max-width: 680px; margin-bottom: 52px; }
.abschnitt__kopf p:last-child { color: var(--text-leise); font-size: 1.1rem; margin: 0; }
.abschnitt__kopf--mitte { text-align: center; margin-inline: auto; }
.abschnitt__kopf--zeile { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.abschnitt__kopf--zeile > div:first-child { max-width: 620px; }

/* ============ Versprechen: Wörter leuchten beim Scrollen auf ============ */
.versprechen { padding: 120px 0 110px; text-align: center; }
.versprechen__text { font: 600 clamp(1.7rem, 3.6vw, 2.9rem)/1.3 var(--font-titel); letter-spacing: -.015em; color: var(--tinte); margin: 0; }
.versprechen__text em { font-style: normal; }
.js .versprechen__text .wort { color: #e3d6c6; transition: color .35s ease; }
.js .versprechen__text .wort.an { color: var(--tinte); }
.js .versprechen__text em .wort.an { color: var(--akzent); }
.versprechen__gruss { font: 600 2.2rem/1 var(--font-hand); color: var(--akzent-dunkel); margin: 26px 0 0; transform: rotate(-3deg); }

/* ============ Von der Idee zum Teil (dunkler Abschnitt) ============ */
.abschnitt--dunkel { clip-path: inset(0 calc((1 - var(--auf, 1)) * 4%) round calc((1 - var(--auf, 1)) * 56px)); background: radial-gradient(700px 400px at 15% 0%, #33415a 0%, transparent 70%), var(--tinte); color: #c4ccd6; }
.abschnitt--dunkel h2 { color: #fff; }
.abschnitt--dunkel .abschnitt__kopf p:last-child { color: #aab3bf; }
.abschnitt--dunkel .eyebrow { color: #ff9a5c; }
.entstehung { scale: calc(.94 + var(--auf, 1) * .06); display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; counter-reset: e; }
.etappe { margin: 0; position: relative; }
.etappe + .etappe::before { content: ""; position: absolute; left: -46px; top: 30%; width: 36px; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23ff9a5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 24c8-10 18-12 30-6M34 18l-9-4M34 18l-5 8'/%3E%3C/svg%3E") center/contain no-repeat; }
.etappe__medium { position: relative; aspect-ratio: 4 / 3.2; border-radius: 22px; overflow: hidden; background: #2a3646; box-shadow: 0 20px 50px rgba(0,0,0,.35); transform: rotate(-1.2deg); transition: transform .3s; }
.etappe:nth-child(2) .etappe__medium { transform: rotate(1.2deg); }
.etappe:hover .etappe__medium { transform: rotate(0) scale(1.02); }
.etappe__medium img, .etappe__medium video { width: 100%; height: 100%; object-fit: cover; }
.etappe__medium svg { width: 100%; height: 100%; display: block; }
.js .plan__linien path, .js .plan__linien ellipse { stroke-dasharray: 700; stroke-dashoffset: 700; }
.etappe.sichtbar .plan__linien path, .etappe.sichtbar .plan__linien ellipse { animation: zeichnen 2.2s .3s ease-out forwards; }
.etappe__live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.etappe__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; animation: blinken 1.6s infinite; }
@keyframes blinken { 50% { opacity: .3; } }
.etappe figcaption { padding: 26px 6px 0; font-size: .97rem; color: #aab3bf; }
.etappe figcaption strong { display: block; font: 600 1.2rem var(--font-titel); color: #fff; margin-bottom: 4px; }
.etappe__nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--akzent); color: #fff; font: 700 1rem var(--font-titel); margin-bottom: 12px; }

/* ============ Kennst du das? ============ */
.probleme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.problem { --farbe: var(--akzent); --hell: var(--akzent-hell); background: var(--weiss); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--schatten); border-top: 5px solid var(--farbe); transition: transform .25s, box-shadow .25s; }
.problem:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--schatten-gross); }
.problem--lila { --farbe: var(--lila); --hell: var(--lila-hell); }
.problem--tuerkis { --farbe: var(--tuerkis); --hell: var(--tuerkis-hell); }
.problem--gelb { --farbe: var(--gelb); --hell: var(--gelb-hell); }
.problem__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--hell); display: grid; place-items: center; margin-bottom: 20px; }
.problem__icon svg { width: 27px; height: 27px; fill: none; stroke: var(--farbe); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.problem h3 { font-size: 1.12rem; line-height: 1.35; }
.problem p { color: var(--text-leise); font-size: .97rem; margin: 0; }

/* ============ Galerie ============ */
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { font: 500 .93rem var(--font); padding: 9px 18px; border-radius: 999px; border: 2px solid transparent; background: var(--weiss); color: var(--text); cursor: pointer; transition: all .2s; box-shadow: 0 2px 6px rgba(80, 50, 20, .06); }
.filter button:hover { border-color: var(--akzent-hell); }
.filter button[aria-pressed="true"] { background: var(--tinte); color: #fff; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.projekt { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; border-radius: var(--radius); background: var(--weiss); overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--schatten); transition: transform .25s, box-shadow .25s; }
.projekt:hover { transform: translateY(-6px); box-shadow: var(--schatten-gross); }
.projekt[hidden] { display: none; }
.projekt__bild { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--sand); }
.projekt__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.projekt:hover .projekt__bild img { transform: scale(1.06); }
.projekt__kat { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--tinte); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.projekt__anzahl { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; background: rgba(31,42,55,.78); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.projekt__anzahl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.projekt__anzahl svg path[fill] { stroke: none; }
.projekt__text { padding: 20px 24px 26px; }
.projekt__text h3 { margin-bottom: .3em; }
.projekt__text p { margin: 0; color: var(--text-leise); font-size: .96rem; }
.projekt__mehr { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--akzent-dunkel); }
.projekt__mehr span { transition: transform .2s; }
.projekt:hover .projekt__mehr span { transform: translateX(4px); }

.wisch-hinweis { display: none; }
.galerie__mehr { display: flex; justify-content: center; margin-top: 44px; }
.galerie__mehr .btn[hidden] { display: none; }

.projekt__preis { position: absolute; right: 14px; top: 14px; background: var(--akzent); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(255, 106, 26, .35); }
.preise { background: var(--sand); border-radius: 16px; padding: 16px 18px; margin: 0 0 24px; }
.preise[hidden] { display: none; }
.preise strong { display: block; color: var(--tinte); margin-bottom: 6px; }
.preise ul { list-style: none; padding: 0; margin: 0 0 8px; }
.preise li { padding: 3px 0; font-weight: 500; color: var(--tinte); }
.preise small { display: block; color: var(--text-leise); font-size: .8rem; line-height: 1.5; }

/* Platzhalter, solange kein Foto vorhanden ist */
.platzhalter { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #fbf3e9, #f1e6d8); }
.platzhalter svg { width: 34%; opacity: .9; }

/* ============ Kundenstimmen ============ */
.stimmen { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.stimmen > .stimme { flex: 0 1 calc((100% - 48px) / 3); min-width: 280px; }
.stimme { margin: 0; background: var(--weiss); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--schatten); position: relative; display: flex; flex-direction: column; }
.stimme::before { content: "„"; position: absolute; right: 22px; top: -18px; font: 700 6rem/1 var(--font-titel); color: var(--akzent-hell); }
.stimme__sterne { color: #f5a524; font-size: 1.15rem; letter-spacing: 3px; margin-bottom: 12px; }
.stimme blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--tinte); flex: 1; position: relative; }
.stimme figcaption strong { display: block; color: var(--tinte); }
.stimme figcaption span { font-size: .86rem; color: var(--text-leise); }
.stimmen__leer { text-align: center; font: 600 1.6rem/1.3 var(--font-hand); color: var(--akzent-dunkel); transform: rotate(-1.5deg); margin: 0 0 8px; }
.stimmen__leer[hidden] { display: none; }
.stimmen__aktion { text-align: center; margin-top: 36px; }
.stimmen__info { max-width: 520px; margin: 14px auto 0; font-size: .85rem; color: var(--text-leise); }
.stimme-dialog { border: 0; padding: 0; border-radius: 28px; width: min(620px, 100% - 32px); max-height: calc(100% - 32px); overflow: auto; background: transparent; }
.stimme-dialog::backdrop { background: rgba(31, 42, 55, .7); backdrop-filter: blur(6px); }
.stimme-dialog .formular { position: relative; box-shadow: none; }
.stimme-dialog h3 { font-size: 1.5rem; margin: 0 40px 0 0; }
.sterne { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.sterne legend { font-size: .92rem; font-weight: 500; color: var(--tinte); margin-bottom: 4px; padding: 0; width: 100%; }
.sterne input { position: absolute; opacity: 0; pointer-events: none; }
.sterne label { font-size: 2rem; line-height: 1; color: var(--linie); cursor: pointer; transition: color .15s, transform .15s; }
.sterne label:hover, .sterne label:hover ~ label, .sterne input:checked ~ label { color: #f5a524; }
.sterne label:hover { transform: scale(1.15); }
.sterne input:focus-visible + label { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }
.feld--versteckt { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Datei-Upload im Kontaktformular */
.datei input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.datei small { font-weight: 400; color: var(--text-leise); }
.datei__feld { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed #f3c9ab; border-radius: 14px; background: var(--grund); color: var(--text); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.datei__feld svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--akzent-dunkel); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.datei:hover .datei__feld, .datei input:focus-visible + .datei__feld { border-color: var(--akzent); background: var(--weiss); }
button:disabled { opacity: .6; cursor: progress; }

/* ============ Ablauf ============ */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.schritte::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 3px dashed #f3c9ab; }
.schritt { position: relative; text-align: center; padding: 0 8px; }
.schritt__nr { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--akzent); color: #fff; font: 700 1.6rem var(--font-titel); box-shadow: 0 0 0 8px var(--grund), 0 10px 24px rgba(255, 106, 26, .3); transition: transform .3s; }
.schritt:nth-child(2) .schritt__nr { background: var(--lila); box-shadow: 0 0 0 8px var(--grund), 0 10px 24px rgba(109, 92, 232, .3); }
.schritt:nth-child(3) .schritt__nr { background: var(--tuerkis); box-shadow: 0 0 0 8px var(--grund), 0 10px 24px rgba(15, 158, 142, .3); }
.schritt:nth-child(4) .schritt__nr { background: var(--gelb); box-shadow: 0 0 0 8px var(--grund), 0 10px 24px rgba(217, 154, 0, .3); }
.schritt:hover .schritt__nr { transform: scale(1.08) rotate(-6deg); }
.schritt p { color: var(--text-leise); font-size: .98rem; }

/* ============ Über mich ============ */
.ueber { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.ueber__medien { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.ueber__stempel { position: absolute; width: 150px; height: 150px; left: -44px; bottom: -40px; z-index: 3; border-radius: 50%; filter: drop-shadow(0 12px 24px rgba(60, 35, 10, .25)); transform: rotate(-12deg); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.ueber__rahmen { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--tinte); box-shadow: var(--schatten-gross); transform: rotate(-2deg); border: 10px solid var(--weiss); }
.ueber__rahmen > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ueber__portrait { z-index: 1; }
.ueber__video img { width: 100%; height: 100%; object-fit: cover; }
.notiz--ueber { right: -29%; top: 6%; transform: rotate(5deg); z-index: 2; }
.notiz--ueber svg { margin-bottom: 4px; }
.ueber__text > p { font-size: 1.07rem; }
.ueber__punkte { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ueber__punkte li { background: var(--weiss); border-radius: 16px; padding: 14px 18px 14px 52px; position: relative; box-shadow: 0 2px 8px rgba(80, 50, 20, .05); }
.ueber__punkte li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--akzent-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5560c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.ueber__punkte strong { color: var(--tinte); }

/* ============ Materialien ============ */
.materialien { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.material { background: var(--weiss); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--schatten); position: relative; overflow: hidden; }
.material__bild { height: 150px; margin: -8px -6px 20px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 55%, #fff 0%, var(--hell, var(--akzent-hell)) 75%); }
.material__bild svg { width: 118px; height: 118px; filter: drop-shadow(0 10px 14px rgba(40, 30, 20, .18)); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.material:hover .material__bild svg { transform: rotate(160deg); }
.material__bild--foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.material:hover .material__bild--foto img { transform: scale(1.06); }
.material:nth-child(4n+2) { --hell: var(--lila-hell); }
.material:nth-child(4n+3) { --hell: var(--tuerkis-hell); }
.material:nth-child(4n+4) { --hell: var(--gelb-hell); }
.material > * { position: relative; z-index: 1; }
.material__name { font: 700 1.9rem var(--font-titel); color: var(--tinte); margin: 0; }
.material__eig { font: 600 1.35rem/1.2 var(--font-hand); color: var(--akzent-dunkel); margin-bottom: 10px; }
.material p { font-size: .95rem; color: var(--text-leise); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--sand); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 500; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--weiss); border-radius: 18px; padding: 0 24px; box-shadow: 0 2px 8px rgba(80, 50, 20, .05); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--schatten); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; color: var(--tinte); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent-dunkel); display: grid; place-items: center; font: 600 1.3rem/1 var(--font); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-leise); padding-bottom: 20px; margin: 0; }

/* ============ Kontakt ============ */
.kontakt { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.kontakt__info > p { color: var(--text-leise); font-size: 1.1rem; }
.kontakt__box { display: grid; gap: 2px; background: #e9f9ef; border-radius: 16px; padding: 16px 20px; margin: 24px 0 28px; border-left: 5px solid #22c55e; }
.kontakt__box strong { color: #146c3a; }
.kontakt__box span { font-size: .94rem; color: #2f6b47; }
.kontakt__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.kontakt__liste li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.kontakt__liste li[hidden] { display: none; }
.kontakt__liste a { text-decoration: none; }
.kontakt__liste a:hover { color: var(--akzent-dunkel); }
.kontakt__liste svg { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--akzent-hell); fill: none; stroke: var(--akzent-dunkel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.formular { background: var(--weiss); border-radius: 28px; padding: 36px; display: grid; gap: 20px; box-shadow: var(--schatten-gross); }
.feld-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--tinte); }
.feld input, .feld textarea { font: inherit; font-size: 1rem; font-weight: 400; padding: 14px 16px; border: 2px solid var(--linie); border-radius: 14px; background: var(--grund); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.feld textarea { resize: vertical; min-height: 130px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--akzent); background: var(--weiss); box-shadow: 0 0 0 4px rgba(255,106,26,.15); }
.feld .fehler, .feld input.fehler, .feld textarea.fehler { border-color: #d43c3c; }
.auswahl { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.auswahl legend { font-size: .92rem; font-weight: 500; color: var(--tinte); margin-bottom: 8px; padding: 0; }
.auswahl label { cursor: pointer; }
.auswahl input { position: absolute; opacity: 0; pointer-events: none; }
.auswahl span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--linie); font-size: .92rem; font-weight: 500; transition: all .15s; }
.auswahl label:hover span { border-color: #f3c9ab; }
.auswahl input:checked + span { background: var(--akzent-hell); border-color: var(--akzent); color: var(--akzent-dunkel); }
.auswahl input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }
.check { display: flex; gap: 10px; font-size: .88rem; color: var(--text-leise); align-items: flex-start; }
.check input { margin-top: 4px; accent-color: var(--akzent); width: 18px; height: 18px; flex: none; }
.check input.fehler { outline: 2px solid #d43c3c; outline-offset: 2px; }
.formular__hinweis { font-size: .85rem; color: var(--text-leise); margin: 0; text-align: center; }
.formular__meldung { margin: 0; font-size: .94rem; font-weight: 500; text-align: center; }
.formular__meldung:empty { display: none; }
.formular__meldung.fehler { color: #c23333; }
.formular__meldung.ok { color: #1e7d4d; }

/* ============ Fußzeile ============ */
.fuss { background: var(--tinte); color: #aab3bf; padding: 56px 0 40px; border-radius: 36px 36px 0 0; }
.fuss__innen { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.fuss__marke { display: flex; align-items: center; gap: 18px; }
.fuss__marke img { width: 140px; height: 140px; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.fuss__marke strong { display: block; font: 700 1.2rem var(--font-titel); color: #fff; }
.fuss__marke span { font-size: .9rem; }
.fuss__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; }
.fuss__nav a { text-decoration: none; font-size: .95rem; }
.fuss__nav a:hover { color: #fff; }
.fuss__copy { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .87rem; }

/* ============ Lightbox ============ */
.lightbox { border: 0; padding: 0; border-radius: 28px; width: min(1040px, 100% - 32px); max-height: calc(100% - 32px); background: var(--weiss); box-shadow: var(--schatten-gross); overflow: auto; }
.lightbox[open] { display: grid; grid-template-columns: 1.3fr 1fr; animation: einblenden .25s ease; }
.lightbox::backdrop { background: rgba(31, 42, 55, .7); backdrop-filter: blur(6px); }
.lightbox__medien { position: relative; background: var(--sand); display: flex; flex-direction: column; }
.lightbox__bild { flex: 1; min-height: 360px; max-height: 72vh; display: grid; place-items: center; background: #1f2a37; }
.lightbox__bild img, .lightbox__bild video, .lightbox__bild .platzhalter { width: 100%; height: 100%; max-height: 72vh; object-fit: contain; }
.lightbox__pfeil { position: absolute; top: calc(50% - 50px); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--tinte); font-size: 1.9rem; line-height: 1; cursor: pointer; box-shadow: var(--schatten); display: grid; place-items: center; padding-bottom: 4px; }
.lightbox__pfeil--zurueck { left: 14px; }
.lightbox__pfeil--weiter { right: 14px; }
.lightbox__pfeil[hidden] { display: none; }
.lightbox__daumen { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: var(--weiss); }
.lightbox__daumen:empty { display: none; }
.lightbox__daumen button { flex: none; width: 64px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--sand); position: relative; }
.lightbox__daumen button[aria-current="true"] { border-color: var(--akzent); }
.lightbox__daumen img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__daumen .ist-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: rgba(0,0,0,.3); }
.lightbox__text { padding: 44px 34px 34px; }
.lightbox__text > p:not(.eyebrow) { color: var(--text-leise); }
.lightbox__zu { position: absolute; right: 14px; top: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 3; color: var(--tinte); }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--akzent-hell); color: var(--akzent-dunkel); border-radius: 999px; padding: 5px 13px; font-size: .85rem; font-weight: 600; }
@keyframes einblenden { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ============ Einblend-Animation beim Scrollen ============ */
.js .einblenden { opacity: 0; transform: translateY(30px) scale(.98); filter: blur(6px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), filter .9s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; filter: none; }

/* ============ Unterseiten (Impressum, Datenschutz) ============ */
.rechtstext { padding: 72px 0 104px; }
.rechtstext h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.rechtstext h2 { font-size: 1.3rem; margin-top: 2em; }
.fehlerseite { text-align: center; padding: 120px 0; }
.fehlerseite .notiz { position: static; margin-top: 28px; transform: rotate(-3deg); }
.hinweis-box { background: var(--akzent-hell); border-radius: 16px; padding: 16px 20px; color: #8a3a0a; font-size: .95rem; margin-bottom: 32px; }

/* ============ Responsiv ============ */
@media (max-width: 1080px) {
  .probleme, .materialien { grid-template-columns: repeat(2, 1fr); }
  .entstehung { gap: 32px; }
  .etappe + .etappe::before { display: none; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .stimmen > .stimme { flex-basis: calc((100% - 24px) / 2); }
  .notiz--ueber { right: -6%; top: -8%; }
}
@media (max-width: 900px) {
  :root { --kopf-hoehe: 76px; }
  .marke img { width: 96px; height: 96px; margin: 10px 0 -30px; }
  .kopf.ist-gescrollt .marke img { width: 54px; height: 54px; }
  .ueber__stempel { width: 110px; height: 110px; left: -12px; bottom: -30px; }
  .menu-knopf { display: block; }
  .nav { position: fixed; inset: var(--kopf-hoehe) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--grund); padding: 12px 16px 24px; border-bottom: 1px solid var(--linie); box-shadow: 0 20px 40px rgba(80, 50, 20, .12); transform: translateY(-110%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: -1; }
  .nav.offen { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 13px 16px; font-size: 1.05rem; border-radius: 14px; }
  .nav .btn { margin: 12px 0 0; padding: 15px; }
  .hero__innen { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 40px; }
  .collage { max-width: 460px; }
  .schritte { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .schritte::before { display: none; }
  .ueber, .kontakt { grid-template-columns: 1fr; gap: 56px; }
  .versprechen { padding: 88px 0 80px; }
  .entstehung { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 44px; }
  .ueber__medien { max-width: 360px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__bild { min-height: 0; height: 56vh; }
  .abschnitt { padding: 80px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap--schmal { width: calc(100% - 32px); }
  .marke__text small { display: none; }
  .nur-breit { display: none; }
  .probleme, .galerie, .materialien, .schritte, .feld-zeile { grid-template-columns: 1fr; }
  .stimmen > .stimme { flex-basis: 100%; min-width: 0; }
  .schritt { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .schritt__nr { width: 52px; height: 52px; font-size: 1.3rem; margin: 0; grid-row: span 2; }
  .schritt h3 { align-self: end; margin-bottom: .2em; }
  .formular { padding: 24px 18px; border-radius: 22px; }
  .notiz { font-size: 1.3rem; }
  .notiz--hero { right: -2%; bottom: 0; }
  .notiz svg { width: 52px; height: 40px; }
  .ueber__medien { margin-top: 48px; }
  .notiz--ueber { right: 0; top: -60px; }
  .fuss__innen { grid-template-columns: 1fr; }
  .fuss__nav { justify-content: flex-start; }
  .lightbox__text { padding: 26px 22px; }
  /* Projekte & Materialien als wischbares Karussell */
  .galerie, .materialien { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 6px 16px 22px; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .galerie::-webkit-scrollbar, .materialien::-webkit-scrollbar { display: none; }
  .galerie > .projekt, .materialien > .material { flex: 0 0 84%; scroll-snap-align: start; }
  .galerie > .projekt:hover, .materialien > .material:hover { transform: none; }
  .js .galerie .einblenden, .js .materialien .einblenden { opacity: 1; transform: none; filter: none; }
  .projekt__bild { aspect-ratio: 4 / 3.4; }
  .wisch-hinweis { display: block; font: 600 1.3rem/1 var(--font-hand); color: var(--akzent-dunkel); text-align: right; margin: -8px 4px 10px 0; transform: rotate(-2deg); }
  .abschnitt__kopf--zeile { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan__linien path, .plan__linien ellipse { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kringel path { stroke-dashoffset: 0; }
  .js .versprechen__text .wort { color: inherit; }
  .abschnitt--dunkel { clip-path: none; }
  .entstehung, .polaroid, .hero__text { scale: none; translate: none; opacity: 1; }
  .js .einblenden { filter: none; }
  .js .einblenden { opacity: 1; transform: none; }
}
