/* ==========================================================
   Tupfwerk 3D – Stylesheet
   Hell, freundlich, verspielt. Schriften lokal (DSGVO).
   ========================================================== */

@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }


:root {
  --creme: #fff8f1;
  --creme-2: #fdeee3;
  --papier: #ffffff;
  --tinte: #2a2238;
  --tinte-2: #5f566c;
  --tinte-3: #8d8597;
  --koralle: #ff6f8e;
  --koralle-d: #e8577a;
  --mint: #4fc3a1;
  --mint-h: #d6f4ea;
  --sonne: #ffd84d;
  --flieder: #b9a3ee;
  --himmel: #8ccff0;
  --linie: rgba(42, 34, 56, .1);
  --schatten: 0 18px 50px -18px rgba(70, 40, 60, .35);
  --schatten-klein: 0 6px 20px -8px rgba(70, 40, 60, .3);
  --r: 22px;
  --r-klein: 14px;
  --titel: "Fredoka", "Nunito", system-ui, sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1220px;
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--koralle-d); }
h1, h2, h3 { font-family: var(--titel); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--tinte); color: #fff; padding: .6em 1em; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 6px; }

.behaelter { width: min(var(--breite), 100% - 32px); margin-inline: auto; }
.behaelter--schmal { width: min(780px, 100% - 32px); }
.zentriert { text-align: center; }

.vorzeile {
  font-family: var(--titel);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--koralle-d);
  margin-bottom: .9em;
}
.vorzeile span { color: var(--mint); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--titel); font-weight: 600; font-size: 1.05rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 0;
  background: var(--koralle);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--koralle-d), 0 14px 26px -10px rgba(232, 87, 122, .7);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--koralle-d), 0 18px 30px -10px rgba(232, 87, 122, .75); }
.knopf:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--koralle-d), 0 8px 16px -8px rgba(232, 87, 122, .7); }
.knopf--hell { background: #fff; color: var(--tinte); box-shadow: 0 6px 0 #eadfd6, 0 14px 26px -12px rgba(60, 40, 50, .35); }
.knopf--hell:hover { box-shadow: 0 8px 0 #eadfd6, 0 18px 30px -12px rgba(60, 40, 50, .4); }
.knopf--klein { padding: .55em 1.15em; font-size: .98rem; box-shadow: 0 4px 0 var(--koralle-d); }
.knopf--gross { font-size: 1.2rem; padding: 1em 2em; }
.knopf--breit { width: 100%; }
.pfeil-link { font-family: var(--titel); font-weight: 600; font-size: 1.1rem; color: var(--tinte); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; border-bottom: 3px solid var(--sonne); padding-bottom: 2px; }
.pfeil-link::after { content: "→"; transition: transform .2s; }
.pfeil-link:hover::after { transform: translateX(5px); }

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--kopf-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
/* Milchglas auf eigener Ebene: backdrop-filter direkt an .kopf würde das Handy-Menü (position: fixed) auf die Höhe der Kopfleiste einengen */
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 248, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linie); opacity: 0; transition: opacity .3s; pointer-events: none; }
.kopf.ist-gescrollt { --kopf-h: 64px; }
.kopf.ist-gescrollt::before { opacity: 1; }
.kopf__innen { width: min(var(--breite), 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: var(--tinte); }
.logo__blase {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--titel); font-weight: 700; font-size: 1.4rem; color: #fff;
  background: radial-gradient(circle at 30% 25%, #ffb3c4, var(--koralle) 55%, var(--koralle-d));
  box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.5), 0 6px 14px -6px rgba(232,87,122,.8);
  text-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.logo__text { font-family: var(--titel); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.logo__text b { font-weight: 700; color: var(--mint); margin-left: .12em; font-size: .8em; vertical-align: .25em; }
.logo--hell { color: #fff; }

.hauptnav { display: flex; align-items: center; gap: 1.8rem; }
.hauptnav a:not(.knopf) { font-family: var(--titel); font-weight: 500; font-size: 1.05rem; color: var(--tinte); text-decoration: none; position: relative; }
.hauptnav a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--sonne); transform: scaleX(0); transition: transform .25s; }
.hauptnav a:not(.knopf):hover::after, .hauptnav a.aktiv:not(.knopf)::after { transform: scaleX(1); }
.menue-knopf { display: none; }

/* ---------- Bubble-Schrift (CSS-Variante der 3D-Buchstaben) ---------- */
.bubble, .leinwand__schrift {
  font-family: var(--titel); font-weight: 700;
  color: var(--bf, #fdfbf7);
  letter-spacing: .04em;
  text-shadow:
    0 1px 0 color-mix(in srgb, var(--bf, #fdfbf7) 92%, #000),
    0 2px 0 color-mix(in srgb, var(--bf, #fdfbf7) 88%, #000),
    0 3px 0 color-mix(in srgb, var(--bf, #fdfbf7) 84%, #000),
    0 4px 0 color-mix(in srgb, var(--bf, #fdfbf7) 80%, #000),
    0 5px 1px rgba(0,0,0,.18),
    0 8px 14px rgba(40,20,40,.35),
    0 16px 30px rgba(40,20,40,.22);
  -webkit-text-stroke: .02em color-mix(in srgb, var(--bf, #fdfbf7) 90%, #000);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(100svh, 680px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--kopf-h);
}
.hero__bild { position: absolute; inset: -12% 0 -12% 0; z-index: -3; will-change: transform; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__schleier {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,248,241,.96) 0%, rgba(255,248,241,.88) 34%, rgba(255,248,241,.25) 62%, rgba(255,248,241,0) 80%),
    linear-gradient(0deg, rgba(255,248,241,1) 0%, rgba(255,248,241,0) 18%);
}
.hero__buchstaben {
  position: absolute; z-index: -1;
  right: max(2vw, calc((100vw - var(--breite)) / 2 - 20px));
  top: 52%; transform: translateY(-50%);
  width: min(40vw, 560px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2vw .4vw;
}
.hero__b {
  width: 100%;
  will-change: transform;
  animation: plopp .9s cubic-bezier(.3, 1.6, .5, 1) backwards;
  animation-delay: calc(.25s + var(--i) * .08s);
}
@keyframes plopp { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.hero__inhalt { position: relative; }
.hero__titel { max-width: 12ch; margin-bottom: .45em; }
.hero__titel em { font-style: normal; color: var(--koralle); position: relative; white-space: nowrap; }
.hero__titel em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em; z-index: -1;
  background: var(--sonne); border-radius: 1em; opacity: .7; transform: rotate(-1deg);
}
.hero__text { max-width: 33rem; font-size: 1.15rem; color: var(--tinte-2); }
.hero__knoepfe { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 30px; height: 48px; border: 2.5px solid var(--tinte); border-radius: 20px; opacity: .55; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 3px; background: var(--tinte); animation: scrollpunkt 1.8s infinite; }
@keyframes scrollpunkt { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Laufband ---------- */
.laufband { background: var(--tinte); color: #fff; overflow: hidden; padding: 1.05rem 0; transform: rotate(-1.2deg) scale(1.03); margin-top: -10px; position: relative; z-index: 2; }
.laufband__spur { display: flex; width: max-content; gap: 2rem; align-items: center; animation: lauf 34s linear infinite; }
.laufband span { font-family: var(--titel); font-weight: 600; font-size: 1.5rem; white-space: nowrap; }
.laufband i { width: 16px; height: 16px; border-radius: 50%; background: var(--koralle); flex: none; }
.laufband i:nth-of-type(3n+2) { background: var(--sonne); }
.laufband i:nth-of-type(3n) { background: var(--mint); }
@keyframes lauf { to { transform: translateX(-50%); } }

/* ---------- Abschnitte allgemein ---------- */
section { position: relative; }
.tiefe, .schritte, .atelier, .formate, .vorschau, .faq, .galerie, .konfig, .danke, .text-seite { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Tiefe ---------- */
.tiefe { overflow: hidden; }
.tiefe__raster { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tiefe__text p { color: var(--tinte-2); font-size: 1.12rem; }
.haken { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.haken li { padding-left: 2.1rem; position: relative; font-weight: 600; }
.haken li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--mint-h); color: #24946f; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.tiefe__bilder { position: relative; min-height: 640px; }
.tiefe__bilder figure { margin: 0; }
.tiefe__haupt { position: absolute; right: 0; top: 0; width: 72%; border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); }
.tiefe__haupt img { aspect-ratio: 3 / 4.2; object-fit: cover; width: 100%; }
.tiefe__klein { position: absolute; left: 0; bottom: 0; width: 42%; background: #fff; padding: 10px 10px 6px; border-radius: 18px; box-shadow: var(--schatten); rotate: -5deg; }
.tiefe__klein img { border-radius: 10px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.tiefe__klein figcaption { font-family: var(--titel); font-weight: 500; font-size: .95rem; text-align: center; padding-top: 6px; color: var(--tinte-2); }
.tiefe__marke {
  position: absolute; left: 30%; top: 4%;
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--sonne); color: var(--tinte);
  font-family: var(--titel); font-weight: 500; line-height: 1.05; font-size: .95rem;
  box-shadow: var(--schatten-klein); rotate: 10deg;
}
.tiefe__marke b { font-size: 1.9rem; font-weight: 700; }

/* ---------- Farbwelten horizontal ---------- */
.farbwelten { background: var(--papier); }
.farbwelten__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 2.2rem; padding-top: var(--kopf-h); }
.farbwelten__kopf { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 2rem; }
.farbwelten__kopf .vorzeile { grid-column: 1 / -1; margin-bottom: .4em; }
.farbwelten__kopf h2 { margin: 0; }
.farbwelten__hinweis { margin: 0; color: var(--tinte-3); justify-self: end; font-weight: 600; }
.farbwelten__spur {
  display: flex; gap: clamp(18px, 2.4vw, 32px);
  padding-left: max(16px, calc((100vw - var(--breite)) / 2));
  padding-right: 10vw;
  width: max-content;
  will-change: transform;
}
.welt { width: clamp(250px, 26vw, 360px); flex: none; text-decoration: none; color: var(--tinte); display: block; }
.welt__bild { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); position: relative; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.welt__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.welt:hover .welt__bild { transform: translateY(-8px) rotate(-1.5deg); }
.welt:hover .welt__bild img { transform: scale(1.06); }
.welt__info { display: block; padding: 1rem .3rem 0; }
.welt__name { display: block; font-family: var(--titel); font-weight: 600; font-size: 1.45rem; }
.welt__text { display: block; color: var(--tinte-2); font-size: .98rem; }
.welt__punkte { display: flex; gap: 6px; margin-top: .6rem; }
.welt__punkte i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.welt--eigen .welt__bild { background: repeating-linear-gradient(45deg, var(--creme) 0 14px, var(--creme-2) 14px 28px); display: grid; place-items: center; border: 3px dashed #e9c9cf; box-shadow: none; }
.welt__plus { font-family: var(--titel); font-size: 5rem; color: var(--koralle); line-height: 1; }

/* ohne JS oder bei reduzierter Bewegung: normal wischen */
html:not(.js) .farbwelten__sticky, .ruhig .farbwelten__sticky { position: static; height: auto; padding: 100px 0; }
html:not(.js) .farbwelten__spur, .ruhig .farbwelten__spur { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
html:not(.js) .welt, .ruhig .welt { scroll-snap-align: start; }

/* ---------- Schritte ---------- */
.schritte { background: linear-gradient(180deg, var(--papier), var(--creme)); }
.schritte__liste { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.schritte__liste li { background: #fff; border-radius: var(--r); padding: 2rem 1.6rem 1.6rem; box-shadow: var(--schatten-klein); position: relative; }
.schritte__liste li:nth-child(even) { translate: 0 34px; }
.schritte__nr {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--titel); font-weight: 700; font-size: 1.8rem; color: #fff; margin-bottom: 1.1rem;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 40%), var(--c, var(--koralle));
  box-shadow: inset -4px -5px 10px rgba(0,0,0,.12), 0 8px 16px -8px var(--c, var(--koralle));
}
.schritte__liste li:nth-child(1) { --c: var(--koralle); }
.schritte__liste li:nth-child(2) { --c: var(--mint); }
.schritte__liste li:nth-child(3) { --c: #f2b705; }
.schritte__liste li:nth-child(4) { --c: var(--flieder); }
.schritte__liste p { color: var(--tinte-2); margin: 0; }

/* ---------- Band ---------- */
.band { height: clamp(380px, 62vh, 620px); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.band__bild { position: absolute; inset: -20% 0; z-index: -2; will-change: transform; }
.band__bild img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(255,248,241,.6), rgba(255,248,241,.1) 70%); }
.band__zitat { font-family: var(--titel); font-weight: 600; font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.15; text-align: center; color: var(--tinte); margin: 0; }
.band__blase { position: absolute; width: clamp(110px, 14vw, 200px); right: 7%; top: 30%; filter: drop-shadow(0 14px 18px rgba(80,40,40,.25)); }

/* ---------- Atelier ---------- */
.atelier__raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.atelier__stapel { position: relative; height: 600px; }
.karte { position: absolute; margin: 0; background: #fff; padding: 10px; border-radius: 18px; box-shadow: var(--schatten); }
.karte img { border-radius: 10px; width: 100%; object-fit: cover; }
.karte--a { left: 0; top: 0; width: 78%; rotate: -2deg; }
.karte--a img { aspect-ratio: 16 / 10; }
.karte--b { right: 0; top: 24%; width: 40%; rotate: 4deg; }
.karte--b img { aspect-ratio: 3 / 4; }
.karte--c { left: 8%; bottom: 0; width: 52%; rotate: -4deg; }
.karte--c img { aspect-ratio: auto; }
.karte .wandbild__werk img { height: 100%; border-radius: 1px; }
.atelier__text p { color: var(--tinte-2); font-size: 1.12rem; }

/* ---------- Formate ---------- */
.formate { background: var(--papier); }
.formate__intro { max-width: 40rem; margin-inline: auto; color: var(--tinte-2); }
.formate__reihe { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 46px); margin-top: 3.5rem; flex-wrap: wrap; }
.format { --s: 4.2px; text-decoration: none; color: var(--tinte); display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.format__flaeche {
  width: calc(var(--b) * var(--s)); height: calc(var(--h) * var(--s));
  border-radius: 6px;
  background: url("../img/farbwelt-sommerwiese.jpg") center / cover;
  box-shadow: 6px 10px 0 -2px rgba(0,0,0,.06), var(--schatten-klein);
  display: grid; place-items: center; margin-bottom: .7rem;
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
.format:nth-child(2) .format__flaeche { background-image: url("../img/farbwelt-lagune.jpg"); }
.format:nth-child(3) .format__flaeche { background-image: url("../img/farbwelt-pfirsich.jpg"); }
.format:nth-child(4) .format__flaeche { background-image: url("../img/farbwelt-lavendel.jpg"); }
.format:hover .format__flaeche { transform: translateY(-8px) rotate(-2deg); }
.format__mini { font-family: var(--titel); font-weight: 700; font-size: calc(var(--b) * .08rem); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.08), 0 5px 10px rgba(0,0,0,.25); }
.format__name { font-family: var(--titel); font-weight: 600; font-size: 1.25rem; }
.format__mass { color: var(--tinte-3); font-weight: 600; font-size: .95rem; }

/* ---------- Galerie-Vorschau ---------- */
.vorschau__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.vorschau__kopf h2 { margin: 0; }
.vorschau__raster { columns: 3; column-gap: 22px; }
.vorschau__item { display: block; break-inside: avoid; margin-bottom: 22px; border-radius: var(--r); overflow: hidden; position: relative; box-shadow: var(--schatten-klein); color: #fff; text-decoration: none; }
.vorschau__item img { width: 100%; transition: transform .6s; }
.vorschau__item:hover img { transform: scale(1.05); }
.vorschau__item span { position: absolute; left: 12px; bottom: 12px; background: rgba(42,34,56,.75); backdrop-filter: blur(6px); padding: .3em .8em; border-radius: 999px; font-family: var(--titel); font-weight: 500; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--creme-2); }
.faq h2 { margin-bottom: 1.6rem; }
.faq details { background: #fff; border-radius: var(--r-klein); margin-bottom: 12px; box-shadow: 0 2px 0 rgba(0,0,0,.03); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.4rem; font-family: var(--titel); font-weight: 600; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-h); color: #24946f; display: grid; place-items: center; font-size: 1.3rem; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--tinte-2); }

/* ---------- CTA ---------- */
.cta { padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; isolation: isolate; }
.cta__bild { position: absolute; inset: -20% 0; z-index: -1; }
.cta__bild img { width: 100%; height: 100%; object-fit: cover; }
.cta__inhalt { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 32px; padding: clamp(36px, 6vw, 70px); text-align: center; max-width: 760px; box-shadow: var(--schatten); }
.cta__inhalt p { color: var(--tinte-2); font-size: 1.15rem; margin-bottom: 2rem; }
.cta--kompakt { padding: clamp(80px, 10vw, 130px) 0; }

/* ---------- Fuß ---------- */
.fuss { background: var(--tinte); color: #d9d3e2; padding: 90px 0 30px; position: relative; overflow: hidden; }
.fuss__tupfen { position: absolute; inset: 0 0 auto; height: 14px; background: radial-gradient(circle, var(--koralle) 4px, transparent 5px) 0 0 / 28px 14px, radial-gradient(circle, var(--sonne) 4px, transparent 5px) 14px 0 / 28px 14px; opacity: .9; }
.fuss__raster { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.fuss h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.fuss a { color: #d9d3e2; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss__claim { margin-top: 1rem; }
.fuss__klein { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #a59db1; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { padding: calc(var(--kopf-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.seitenkopf--klein { padding-bottom: clamp(50px, 6vw, 80px); }
.seitenkopf__bild { position: absolute; inset: -20% 0; z-index: -2; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,248,241,.95), rgba(255,248,241,.75) 55%, rgba(255,248,241,.35)), linear-gradient(0deg, var(--creme), transparent 30%); }
.seitenkopf h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.seitenkopf p:not(.vorzeile) { max-width: 36rem; font-size: 1.15rem; color: var(--tinte-2); }

/* ---------- Konfigurator ---------- */
.konfig { padding-top: 40px; }
.konfig__raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.block { border: 0; margin: 0 0 22px; padding: clamp(20px, 3vw, 32px); background: #fff; border-radius: var(--r); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 10px 30px -20px rgba(60,30,50,.35); min-width: 0; }
.block legend { float: left; width: 100%; font-family: var(--titel); font-weight: 600; font-size: 1.35rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; padding: 0; }
.block legend small { font-family: var(--text); font-size: .9rem; color: var(--tinte-3); font-weight: 600; }
.block legend + * { clear: both; }
.block__nr { width: 34px; height: 34px; border-radius: 50%; background: var(--koralle); color: #fff; display: inline-grid; place-items: center; font-size: 1.05rem; flex: none; }

.wahl { display: grid; gap: 12px; }
.wahl--2 { grid-template-columns: repeat(2, 1fr); }
.wahl--4 { grid-template-columns: repeat(4, 1fr); }
.wahl--farben { grid-template-columns: repeat(6, 1fr); }
.wahlkarte, .farbkarte, .chip, .farbpunkt, .segment label { position: relative; cursor: pointer; }
.wahlkarte input, .farbkarte input, .chip input, .farbpunkt input, .segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahlkarte__inhalt { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; height: 100%; padding: 1rem 1.05rem; border-radius: var(--r-klein); border: 2px solid var(--linie); background: var(--creme); transition: border-color .2s, background .2s, transform .2s; }
.wahl--2 .wahlkarte__inhalt { flex-direction: row; align-items: center; gap: .9rem; }
.wahl--2 .wahlkarte__inhalt small { margin-left: auto; }
.wahlkarte__inhalt b { font-family: var(--titel); font-weight: 600; font-size: 1.15rem; }
.wahlkarte__inhalt small { color: var(--tinte-3); font-size: .85rem; line-height: 1.35; }
.wahlkarte__mass { font-weight: 700; color: var(--koralle-d); font-size: .95rem; }
.wahlkarte:hover .wahlkarte__inhalt { border-color: #f2b9c6; }
.wahlkarte input:checked + .wahlkarte__inhalt { border-color: var(--koralle); background: #fff0f3; box-shadow: 0 0 0 4px rgba(255,111,142,.15); }
.wahlkarte input:focus-visible + .wahlkarte__inhalt { outline: 3px solid var(--koralle); outline-offset: 2px; }
.symbol { display: inline-block; border: 3px solid var(--tinte); border-radius: 4px; background: linear-gradient(135deg, var(--mint-h), #ffe3ea); flex: none; }
.symbol--hoch { width: 26px; height: 36px; }
.symbol--quer { width: 36px; height: 26px; }

.farbkarte { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.farbkarte__bild { width: 100%; aspect-ratio: 1; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--linie); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.farbkarte__bild--eigen { display: grid; place-items: center; background: conic-gradient(var(--koralle), var(--sonne), var(--mint), var(--himmel), var(--flieder), var(--koralle)); color: #fff; font-family: var(--titel); font-size: 2rem; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,.25); }
.farbkarte__name { font-size: .85rem; font-weight: 700; line-height: 1.2; color: var(--tinte-2); }
.farbkarte:hover .farbkarte__bild { transform: scale(1.06); }
.farbkarte input:checked ~ .farbkarte__bild { box-shadow: 0 0 0 3px var(--koralle), 0 8px 16px -8px rgba(232,87,122,.8); transform: scale(1.06); }
.farbkarte input:checked ~ .farbkarte__name { color: var(--koralle-d); }
.farbkarte input:focus-visible ~ .farbkarte__bild { outline: 3px solid var(--koralle); outline-offset: 3px; }
.eigenfarben { margin-top: 1.2rem; padding: 1rem 1.1rem; background: var(--creme); border-radius: var(--r-klein); }
.eigenfarben__reihe { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.eigenfarben label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.eigenfarben input[type=color] { width: 46px; height: 46px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
.eigenfarben input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.eigenfarben input[type=color]::-webkit-color-swatch { border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie); }
.eigenfarben input[type=color]::-moz-color-swatch { border: 3px solid #fff; border-radius: 50%; }

.feld { margin-bottom: 1.2rem; position: relative; }
.feld:last-child { margin-bottom: 0; }
.feld--zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld label, .feld__titel { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.feld label small { font-weight: 600; color: var(--tinte-3); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinte);
  padding: .8rem 1rem; border-radius: 12px; border: 2px solid var(--linie); background: var(--creme);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--koralle); background: #fff; box-shadow: 0 0 0 4px rgba(255,111,142,.15); }
#schriftzug, #schriftzug2 { font-family: var(--titel); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; padding-right: 4.5rem; }
.zaehler { position: absolute; right: 1rem; bottom: .95rem; font-size: .85rem; font-weight: 700; color: var(--tinte-3); }
.feldhilfe { font-size: .9rem; color: var(--tinte-3); margin: .8rem 0 0; }
.feld .feldhilfe:first-child, .eigenfarben .feldhilfe { margin: 0 0 .7rem; }

.farbpunkte { display: flex; gap: .9rem; flex-wrap: wrap; }
.farbpunkt { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.farbpunkt span { display: block; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.7), 0 0 0 2px var(--linie); transition: transform .2s, box-shadow .2s; }
.farbpunkt em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--tinte-3); }
.farbpunkt input:checked + span { box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.7), 0 0 0 3px #fff, 0 0 0 5px var(--koralle); transform: scale(1.05); }
.farbpunkt input:focus-visible + span { outline: 3px solid var(--koralle); outline-offset: 5px; }

.segment { display: inline-flex; background: var(--creme); border: 2px solid var(--linie); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.segment span, .segment button { display: block; padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--tinte-2); border: 0; background: none; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.segment input:checked + span, .segment button.aktiv { background: var(--tinte); color: #fff; }
.segment input:focus-visible + span { outline: 3px solid var(--koralle); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.05rem; border-radius: 999px; border: 2px solid var(--linie); background: var(--creme); font-weight: 700; font-size: .95rem; transition: all .2s; }
.chip span::before { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--tinte-3); }
.chip input:checked + span { background: var(--mint-h); border-color: var(--mint); color: #1c7a5c; }
.chip input:checked + span::before { content: "✓"; color: #1c7a5c; font-size: .9rem; }
.chip input:focus-visible + span { outline: 3px solid var(--koralle); outline-offset: 2px; }

.upload { display: block; position: relative; border: 2px dashed #e7c4cc; border-radius: var(--r-klein); padding: 1.3rem; text-align: center; background: #fff8fa; cursor: pointer; font-weight: 700 !important; color: var(--tinte-2); transition: background .2s, border-color .2s; margin: 0 !important; }
.upload:hover, .upload.ist-drueber { background: #ffeef2; border-color: var(--koralle); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.haekchen { display: flex; gap: .8rem; align-items: flex-start; margin: 1.2rem 0 1.6rem; font-size: .95rem; color: var(--tinte-2); cursor: pointer; }
.haekchen input { width: 22px; height: 22px; accent-color: var(--koralle); flex: none; margin-top: .15rem; }
.hp { position: absolute; left: -9999px; }
.feld--fehler input, .feld--fehler { --linie: var(--koralle); }
.fehlertext { color: var(--koralle-d); font-weight: 700; font-size: .88rem; margin-top: .35rem; }

/* Vorschau */
.vorschau-box__sticky { position: sticky; top: calc(var(--kopf-h) + 20px); }
.vorschau-box__wand {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(ellipse at 30% 10%, #fffdfa, #f3ebe2 70%);
  box-shadow: var(--schatten);
}
.vorschau-box__wand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(#e6d8c6, #dccbb6); }
.leinwand {
  --b: 50; --h: 70;
  position: absolute; left: 50%; bottom: 52%;
  width: calc(var(--b) / 240 * 100%);
  aspect-ratio: var(--b) / var(--h);
  translate: -50% 0;
  container-type: inline-size;
  transition: width .45s cubic-bezier(.3, 1.3, .5, 1), aspect-ratio .45s;
  z-index: 2;
  filter: drop-shadow(8px 14px 14px rgba(60, 30, 40, .28));
}
.leinwand__farbe { position: absolute; inset: 0; border-radius: 3px; background: url("../img/farbwelt-sommerwiese.jpg") center / cover; transition: background .4s; box-shadow: inset -4px 0 0 rgba(0,0,0,.08); }
.leinwand__schrift {
  --n: 4;
  position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap;
  font-size: min(26cqw, calc(118cqw / var(--n)));
  line-height: 1;
  transition: top .4s, color .3s;
}
.leinwand__schrift.pos-oben { top: 14%; }
.leinwand__schrift.pos-mitte { top: 50%; translate: 0 -50%; }
.leinwand__schrift.pos-unten { top: auto; bottom: 14%; }
.leinwand__schrift .z { display: inline-block; transition: transform .4s; }
.massstab { position: absolute; left: 50%; bottom: 9%; translate: -50% 0; width: calc(200 / 240 * 100%); aspect-ratio: 200 / 78; z-index: 1; }
.massstab__sofa { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 0, rgba(255,255,255,.35), transparent 60%),
  linear-gradient(#cfd9d4, #b9c7c0);
  border-radius: 18% 18% 6% 6% / 34% 34% 8% 8%;
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.06);
}
.massstab__sofa::before, .massstab__sofa::after { content: ""; position: absolute; bottom: 0; width: 11%; height: 70%; background: #aebdb6; border-radius: 30% 30% 8% 8%; }
.massstab__sofa::before { left: -3%; }
.massstab__sofa::after { right: -3%; }
.zusammenfassung { margin: 1.4rem 0 0; display: grid; gap: .1rem; background: #fff; border-radius: var(--r-klein); padding: .6rem 1.2rem; box-shadow: 0 2px 0 rgba(0,0,0,.03); }
.zusammenfassung div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.zusammenfassung div:last-child { border-bottom: 0; }
.zusammenfassung dt { font-weight: 700; color: var(--tinte-3); font-size: .92rem; }
.zusammenfassung dd { margin: 0; font-weight: 700; }
.zusammenfassung--gross { padding: 1rem 1.6rem; margin-bottom: 2rem; }
.farbklecks { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; margin-left: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* Danke / Hinweise */
.hinweis-test { background: #fff6d6; border: 2px dashed #f2c94c; color: #7a5b00; border-radius: var(--r-klein); padding: .9rem 1.2rem; font-weight: 700; margin-bottom: 2rem; }
.fehlerliste { background: #fff0f3; border-radius: var(--r-klein); padding: 1.2rem 1.2rem 1.2rem 2.6rem; color: var(--koralle-d); font-weight: 700; margin-bottom: 1.6rem; }
.danke__knoepfe { display: flex; gap: 1rem; flex-wrap: wrap; }
.text-seite h2 { font-size: 1.5rem; margin-top: 2rem; }
.text-seite p { color: var(--tinte-2); }

/* ---------- Galerie ---------- */
.galerie { padding-top: 30px; }
.filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter__knopf { font: inherit; font-weight: 700; font-size: .98rem; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--linie); background: #fff; color: var(--tinte-2); cursor: pointer; transition: all .2s; }
.filter__knopf:hover { border-color: var(--koralle); color: var(--tinte); }
.filter__knopf.aktiv { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.galerie__raster { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 26px; }
.werk { margin: 0; }
.werk--quer { grid-column: span 2; }
.werk[hidden] { display: none; }
.werk__knopf { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r); overflow: hidden; position: relative; box-shadow: var(--schatten-klein); }
.werk__knopf img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s; }
.werk--quer .werk__knopf img { aspect-ratio: auto; height: 100%; }
.werk--quer .werk__knopf { aspect-ratio: auto; }
.werk__knopf:hover img { transform: scale(1.04); }
.werk__marke { position: absolute; top: 12px; left: 12px; background: var(--sonne); color: var(--tinte); font-family: var(--titel); font-weight: 600; font-size: .85rem; padding: .25em .8em; border-radius: 999px; }
.werk figcaption { padding: .8rem .2rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.werk figcaption b { font-family: var(--titel); font-weight: 600; font-size: 1.2rem; }
.werk figcaption span { color: var(--tinte-3); font-size: .92rem; font-weight: 600; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(30, 22, 40, .88); backdrop-filter: blur(6px); }
.lightbox__inhalt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 80px 24px; gap: 1rem; }
.lightbox__inhalt img { max-width: 100%; max-height: calc(100vh - 270px); width: auto; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.lightbox__leiste { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; width: min(900px, 100%); color: #fff; flex-wrap: wrap; }
.lightbox__leiste b { font-family: var(--titel); font-weight: 600; font-size: 1.4rem; display: block; }
.lightbox__leiste span { color: #cfc6dc; }
.lightbox .segment { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); }
.lightbox .segment button { color: #fff; }
.lightbox .segment button.aktiv { background: #fff; color: var(--tinte); }
.lightbox__zu, .lightbox__pfeil { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox__zu:hover, .lightbox__pfeil:hover { background: rgba(255,255,255,.28); }
.lightbox__zu { top: 16px; right: 16px; }
.lightbox__pfeil--l { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__pfeil--r { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Animationen beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * .1s); }
.js [data-reveal].ist-sichtbar { opacity: 1; transform: none; }
[data-speed], [data-slide] { will-change: transform; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .wahl--farben { grid-template-columns: repeat(3, 1fr); }
  .wahl--4 { grid-template-columns: repeat(2, 1fr); }
  .schritte__liste { grid-template-columns: repeat(2, 1fr); }
  .schritte__liste li:nth-child(even) { translate: 0 0; }
}
@media (max-width: 900px) {
  :root { --kopf-h: 66px; }
  .menue-knopf {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--schatten-klein); cursor: pointer; z-index: 2;
  }
  .menue-knopf span:not(.sr) { width: 20px; height: 2.5px; background: var(--tinte); border-radius: 2px; transition: transform .25s; }
  .menue-knopf[aria-expanded=true] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .menue-knopf[aria-expanded=true] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .hauptnav {
    position: fixed; inset: 0; background: var(--creme);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .hauptnav a:not(.knopf) { font-size: 1.8rem; }
  .hauptnav .knopf { font-size: 1.3rem; }
  .menue-offen .hauptnav { opacity: 1; pointer-events: auto; }
  .menue-offen { overflow: hidden; }

  .hero { align-items: flex-end; padding-bottom: 90px; }
  .hero__schleier { background: linear-gradient(0deg, rgba(255,248,241,1) 0%, rgba(255,248,241,.92) 46%, rgba(255,248,241,.2) 72%, rgba(255,248,241,0) 100%); }
  .hero__buchstaben { top: calc(var(--kopf-h) + 3vh); transform: none; left: 50%; right: auto; translate: -50% 0; width: min(72vw, 380px); gap: 2vw 1vw; }
  .hero { padding-top: calc(var(--kopf-h) + min(48vw, 250px)); }
  .hero__text { font-size: 1.05rem; }

  .tiefe__raster, .atelier__raster, .konfig__raster { grid-template-columns: 1fr; }
  .tiefe__bilder { min-height: 0; aspect-ratio: 1 / 1.05; margin-top: 10px; }
  .atelier__stapel { height: auto; aspect-ratio: 1 / .95; order: 2; }
  .farbwelten__kopf { grid-template-columns: 1fr; }
  .farbwelten__hinweis { justify-self: start; margin-top: .5rem; }
  .vorschau__raster { columns: 2; }
  .galerie__raster { grid-template-columns: repeat(2, 1fr); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__raster > div:first-child { grid-column: 1 / -1; }
  .vorschau-box { order: -1; }
  .vorschau-box__sticky { position: static; }
  .vorschau-box__wand { aspect-ratio: 4 / 3; }
  .lightbox__inhalt { padding: 70px 14px 20px; }
  .lightbox__pfeil { top: auto; bottom: 20px; translate: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wahl--2 .wahlkarte__inhalt { flex-direction: column; align-items: flex-start; }
  .wahl--2 .wahlkarte__inhalt small { margin-left: 0; }
  .wahl--farben { grid-template-columns: repeat(3, 1fr); }
  .feld--zwei { grid-template-columns: 1fr; }
  .schritte__liste { grid-template-columns: 1fr; }
  .format { --s: 2.4px; }
  .formate__reihe { gap: 12px 18px; }
  .vorschau__raster { columns: 1; }
  .galerie__raster { grid-template-columns: 1fr; }
  .werk--quer { grid-column: auto; }
  .tiefe__marke { width: 92px; height: 92px; font-size: .8rem; }
  .tiefe__marke b { font-size: 1.4rem; }
  .zusammenfassung div { grid-template-columns: 1fr; gap: 0; }
  .laufband span { font-size: 1.2rem; }
  .hero__knoepfe .knopf { flex: 1 1 auto; }
}

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

/* ==========================================================
   v0.2: Farbpalette, mitlaufende Vorschau, Großansicht
   ========================================================== */
.vorschau-box { align-self: stretch; }
.vorschau-box__rahmen { position: relative; }
.lupe {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45rem;
  font: inherit; font-weight: 700; font-size: .92rem;
  padding: .55rem .95rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--tinte);
  box-shadow: 0 6px 16px -8px rgba(60,30,50,.45);
  transition: transform .2s, background .2s;
}
.lupe:hover { transform: translateY(-2px); background: #fff; }

.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 14px 10px; }
.palette__farbe { display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; position: relative; text-align: center; }
.palette__farbe input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.palette__punkt {
  display: block; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.55), 0 0 0 2px var(--linie);
  transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s;
  position: relative;
}
.palette__name { font-size: .8rem; font-weight: 700; color: var(--tinte-2); line-height: 1.2; }
.palette__farbe:hover .palette__punkt { transform: scale(1.08); }
.palette__farbe input:checked + .palette__punkt { box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), 0 0 0 3px #fff, 0 0 0 5px var(--koralle); transform: scale(1.08); }
.palette__farbe input:checked + .palette__punkt::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.palette__farbe input:focus-visible + .palette__punkt { outline: 3px solid var(--koralle); outline-offset: 5px; }
.palette__farbe.ist-gesperrt { opacity: .35; cursor: not-allowed; }
.palette__status { margin: 1rem 0 0; font-weight: 700; font-size: .92rem; color: var(--koralle-d); }
.farbname { display: inline-flex; align-items: center; gap: .3rem; margin-right: .8rem; }
.farbname .farbklecks { margin-left: 0; }

/* Großansicht */
.grossansicht { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.grossansicht::backdrop { background: rgba(30, 22, 40, .9); backdrop-filter: blur(6px); }
.grossansicht__kopf { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 1rem; padding: 14px 16px; z-index: 2; flex-wrap: wrap; }
.grossansicht__kopf .segment { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.grossansicht__kopf .segment button { color: #fff; }
.grossansicht__kopf .segment button.aktiv { background: #fff; color: var(--tinte); }
.grossansicht__info { margin: 0; color: #e7e1ef; font-weight: 600; flex: 1; min-width: 0; }
.grossansicht__zu { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; margin-left: auto; }
.grossansicht__zu:hover { background: rgba(255,255,255,.28); }
.grossansicht__buehne { position: absolute; inset: 0; padding: 80px 16px 20px; display: grid; place-items: center; }
.vorschau-box__wand--gross {
  width: min(94vw, calc((100vh - 110px) * 1400 / 788));
  border-radius: 18px;
}
.nur-bild { background: radial-gradient(ellipse at 50% 40%, #fffdfa, #efe6dc); }
.nur-bild::after, .nur-bild .massstab { display: none; }
.nur-bild .leinwand { width: auto; height: 78%; max-width: 88%; bottom: 11%; }

/* Handy-Knopf */
.mini-vorschau { display: none; }
@media (max-width: 900px) {
  .mini-vorschau {
    display: flex; align-items: center; gap: .6rem;
    position: fixed; right: 14px; bottom: 14px; z-index: 40;
    padding: 8px 16px 8px 8px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--tinte); color: #fff; font: inherit; font-weight: 700;
    box-shadow: 0 12px 30px -10px rgba(30,20,40,.6);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.3,1.4,.5,1);
  }
  .mini-vorschau.ist-da { transform: none; }
  .mini-vorschau__bild { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #f3ebe2; overflow: hidden; display: block; }
  .leinwand--mini { bottom: auto !important; top: 50%; translate: -50% -50% !important; width: auto !important; height: 70%; filter: none; }
}
@media (max-width: 700px) {
  .grossansicht__info { order: 3; flex-basis: 100%; font-size: .9rem; }
  .grossansicht__buehne { padding-top: 140px; }
}

/* v0.3: Galerie-Beschreibungen */
.werk__text { flex-basis: 100%; margin: .35rem 0 0; color: var(--tinte-2); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lightbox__text { max-width: 640px; }
.lightbox__text p { margin: .5rem 0 0; color: #e7e1ef; font-size: .98rem; line-height: 1.55; }

/* v0.3: Wandansicht mit Raumfoto */
.wandbild { position: relative; width: min(100%, calc((100vh - 270px) * 1400 / 788)); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.wandbild[hidden] { display: none; }
.wandbild__raum { width: 100%; height: auto; display: block; max-height: none !important; border-radius: 0 !important; box-shadow: none !important; }
.wandbild__werk {
  position: absolute;
  box-shadow: 6px 10px 14px -4px rgba(40, 25, 20, .45), 18px 26px 40px -10px rgba(40, 25, 20, .3);
  transition: left .45s ease, top .45s ease, width .45s ease;
}
.wandbild__werk img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none !important; border-radius: 1px !important; box-shadow: none !important; filter: brightness(.9) saturate(.92) sepia(.08); }
/* Licht im Raum: warm von links, etwas dunkler nach rechts */
.wandbild__werk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 210, 160, .16), rgba(255, 255, 255, 0) 45%, rgba(60, 50, 40, .12)); mix-blend-mode: multiply; pointer-events: none; }
/* Leinwandkante rechts */
.wandbild__werk::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: 1.6%; background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.22)); pointer-events: none; }
.wandbild--karte { width: 100%; border-radius: 10px; box-shadow: none; }
.wandbild.wechsel .wandbild__werk img { animation: einblenden .5s ease; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
.wandbild__mass { position: absolute; left: 12px; bottom: 12px; background: rgba(42,34,56,.75); color: #fff; font-weight: 700; font-size: .85rem; padding: .25rem .7rem; border-radius: 999px; backdrop-filter: blur(4px); }

/* v0.3: Schriftwahl */
.leinwand__schrift { font-family: var(--sf, var(--titel)); }
.leinwand__schrift.ist-schwung { letter-spacing: 0; -webkit-text-stroke: 0; }
.schriftwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.schriftkarte { position: relative; cursor: pointer; }
.schriftkarte input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schriftkarte__inhalt { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .8rem .5rem .7rem; border-radius: var(--r-klein); border: 2px solid var(--linie); background: var(--creme); text-align: center; transition: border-color .2s, background .2s; height: 100%; }
.schriftkarte__probe { font-size: 1.9rem; line-height: 1.2; color: var(--tinte); white-space: nowrap; overflow: hidden; max-width: 100%; }
.schriftkarte__inhalt b { font-size: .9rem; }
.schriftkarte__inhalt small { font-size: .75rem; color: var(--tinte-3); line-height: 1.25; }
.schriftkarte:hover .schriftkarte__inhalt { border-color: #f2b9c6; }
.schriftkarte input:checked + .schriftkarte__inhalt { border-color: var(--koralle); background: #fff0f3; box-shadow: 0 0 0 4px rgba(255,111,142,.15); }
.schriftkarte input:focus-visible + .schriftkarte__inhalt { outline: 3px solid var(--koralle); outline-offset: 2px; }
.schriftkarte__probe[data-w="800"] { font-weight: 800; }
.schriftkarte:first-child .schriftkarte__probe { font-weight: 700; }
.schriftwahl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 600px) { .schriftwahl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* v0.4: Vorschau auf dem Raumfoto */
.raumvorschau { aspect-ratio: 1400 / 788 !important; background: #e9e2da; }
.raumvorschau::after { display: none; }
.raumvorschau__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.raumvorschau .leinwand {
  left: var(--mxh); top: var(--myh); bottom: auto;
  translate: -50% -50%;
  width: calc(var(--b) * var(--pxcm));
  filter: drop-shadow(4px 8px 7px rgba(40, 25, 20, .38));
  transition: width .45s cubic-bezier(.3, 1.3, .5, 1), left .45s ease, top .45s ease;
}
.raumvorschau .leinwand.ist-quer { left: var(--mxq); top: var(--myq); }
.raumvorschau .leinwand__farbe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 210, 160, .16), rgba(255,255,255,0) 45%, rgba(60, 50, 40, .12)); mix-blend-mode: multiply; }
.raumvorschau.nur-bild { background: radial-gradient(ellipse at 50% 40%, #fffdfa, #efe6dc); }
.raumvorschau.nur-bild .raumvorschau__foto { visibility: hidden; }
.raumvorschau.nur-bild .leinwand, .raumvorschau.nur-bild .leinwand.ist-quer { left: 50%; top: 50%; width: auto; height: 82%; max-width: 90%; }
.vorlage-hinweis { background: var(--mint-h); color: #1c6b52; border-radius: var(--r-klein); padding: .9rem 1.2rem; font-weight: 600; margin-bottom: 22px; }
.danke__nr { background: #fff; border-radius: var(--r-klein); padding: 1rem 1.2rem; font-weight: 600; color: var(--tinte-2); }
.danke__nr b { color: var(--tinte); font-size: 1.1rem; }

/* v0.4: Vorlage aus der Galerie */
.werk__vorlage { flex-basis: 100%; margin-top: .55rem; font-family: var(--titel); font-weight: 600; color: var(--koralle-d); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.werk__vorlage::after { content: "→"; transition: transform .2s; }
.werk__vorlage:hover::after { transform: translateX(4px); }
.lightbox__aktionen { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.lightbox__aktionen .knopf { box-shadow: 0 4px 0 var(--koralle-d); }

#konfigForm { scroll-margin-top: 100px; }
@media (max-width: 900px) { .lupe { top: auto; bottom: 10px; right: 10px; font-size: .8rem; padding: .4rem .75rem; } }

/* v0.5: STL-Schriften (echte 3D-Druckformen als Bilder) */
.leinwand__schrift.ist-stl { position: absolute; inset: 0; translate: none; top: 0; bottom: 0; text-shadow: none; -webkit-text-stroke: 0; filter: drop-shadow(1px 3px 2px rgba(40, 25, 30, .35)) drop-shadow(3px 8px 8px rgba(40, 25, 30, .22)); }
.stlz { position: absolute; display: block; transform-origin: 50% 80%; }
.stlz img { display: block; width: 100%; height: auto; }
.stlz.getoent::after { content: ""; position: absolute; inset: 0; background: var(--bf); mix-blend-mode: multiply; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.schriftkarte__inhalt--stl { position: relative; }
.schriftkarte__inhalt--stl .schriftkarte__probe { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 2.3rem; }
.schriftkarte__inhalt--stl .schriftkarte__probe img { height: 100%; width: auto; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.25)) brightness(.92); }
.schriftkarte__inhalt--stl .schriftkarte__probe img + img { height: 72%; }
.schriftkarte__marke { position: absolute; top: -8px; right: -6px; background: var(--mint); color: #fff; font-size: .62rem; font-weight: 800; padding: .15rem .45rem; border-radius: 999px; letter-spacing: .03em; }
.stl-hinweis { margin: -.4rem 0 1.2rem; font-size: .9rem; font-weight: 700; color: #1c6b52; background: var(--mint-h); padding: .55rem .85rem; border-radius: 10px; }

/* v0.6: Studio (Großansicht mit Einstellungen links) */
.studio[open] { display: grid; grid-template-columns: minmax(330px, 420px) 1fr; padding: 0; }
.studio::backdrop { background: rgba(30, 22, 40, .92); }
.studio__panel { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--creme); min-width: 0; box-shadow: 10px 0 40px -20px rgba(0,0,0,.5); }
.studio__kopf { padding: 16px 18px 12px; border-bottom: 1px solid var(--linie); background: #fff; }
.studio__kopf b { font-family: var(--titel); font-weight: 600; font-size: 1.35rem; display: block; }
.studio__info { display: block; font-size: .85rem; color: var(--tinte-2); font-weight: 600; line-height: 1.4; margin-top: .2rem; }
.studio__felder { flex: 1; overflow-y: auto; padding: 14px; overscroll-behavior: contain; }
.studio__fuss { padding: 12px 14px 14px; background: #fff; border-top: 1px solid var(--linie); }
.studio__felder .block { padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.studio__felder .block legend { font-size: 1.1rem; margin-bottom: .8rem; }
.studio__felder .block__nr { width: 28px; height: 28px; font-size: .9rem; }
.studio__felder .wahl--4 { grid-template-columns: repeat(2, 1fr); }
.studio__felder .wahl--2 .wahlkarte__inhalt { flex-direction: column; align-items: flex-start; gap: .3rem; padding: .7rem .8rem; }
.studio__felder .wahl--2 .wahlkarte__inhalt small { margin-left: 0; }
.studio__felder .wahlkarte__inhalt { padding: .7rem .8rem; }
.studio__felder .wahlkarte__inhalt small { display: none; }
.studio__felder .wahl--farben { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.studio__felder .schriftwahl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio__felder .schriftkarte__inhalt small { display: none; }
.studio__felder .feld--zwei { grid-template-columns: 1fr 1fr; gap: .6rem; }
.studio__felder .segment span { padding: .4rem .7rem; font-size: .88rem; }
.studio__felder #schriftzug, .studio__felder #schriftzug2 { font-size: 1.25rem; padding: .65rem .9rem; }
.studio__felder .palette { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.studio__buehne { position: relative; min-width: 0; }
.studio .grossansicht__kopf { position: absolute; top: 0; left: 0; right: 0; }
.studio .grossansicht__buehne { position: absolute; inset: 0; padding: 76px 24px 24px; display: grid; place-items: center; }
.studio .vorschau-box__wand--gross { width: min(100%, calc((100vh - 110px) * 1400 / 788)); }
.studio-offen .mini-vorschau { display: none; }
@media (max-width: 900px) {
  .studio[open] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .studio__buehne { order: -1; height: 46vh; height: 46dvh; }
  .studio .grossansicht__buehne { padding: 64px 10px 10px; }
  .studio .vorschau-box__wand--gross { width: min(100%, calc((46dvh - 80px) * 1400 / 788)); }
  .studio__panel { height: auto; min-height: 0; overflow: hidden; border-radius: 18px 18px 0 0; }
  .studio__kopf { padding: 12px 14px 8px; }
  .studio__kopf b { font-size: 1.1rem; }
}
fieldset.block { scroll-margin-top: 90px; }

/* v0.9: Segment-Auswahl im Formular (Position, Anordnung) ruhiger und gleich breit */
.feld .segment {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  width: 100%; max-width: 360px;
  background: #f3ebe3; border: 0; border-radius: 14px; padding: 4px; gap: 4px;
}
.feld .segment label { display: block; }
.feld .segment span {
  text-align: center; border-radius: 10px; padding: .6rem .7rem;
  color: var(--tinte-2); font-size: .95rem; line-height: 1.2;
  transition: background .2s, color .2s, box-shadow .2s;
}
.feld .segment label:hover span { color: var(--tinte); }
.feld .segment input:checked + span {
  background: #fff; color: var(--koralle-d);
  box-shadow: 0 1px 2px rgba(42, 34, 56, .08), 0 6px 14px -8px rgba(232, 87, 122, .55);
}
.feld .segment input:focus-visible + span { outline: 3px solid var(--koralle); outline-offset: 1px; }
.studio__felder .feld .segment span { padding: .5rem .5rem; font-size: .88rem; }

/* Hero und „3D“-Blase aus der eigenen 3D-Druck-Schrift (ab 0.10) */
.hero__buchstaben--stl { --cap: min(8vw, 112px); align-items: center; justify-items: center; }
.hero__buchstaben--stl .hero__b { width: auto; max-width: 100%; height: calc(var(--hb, 1.1) * var(--cap)); object-fit: contain; filter: drop-shadow(0 10px 12px rgba(60, 40, 50, .28)); }
.band__blase--stl { display: flex; align-items: flex-end; gap: 2px; width: auto; }
.band__blase--stl img { width: auto; height: calc(var(--hb, 1.1) * clamp(70px, 9vw, 130px)); }
@media (max-width: 900px) { .hero__buchstaben--stl { --cap: min(14vw, 76px); } }

/* ---------- Realistische Wandansicht (ab 0.12, Variante C) ----------
   Licht kommt im Raumfoto vom Fenster links: Schatten fällt weich nach rechts unten,
   Farben ans Raumlicht angepasst, feine Leinwandstruktur, sichtbare Keilrahmenkante rechts (ca. 1,1 cm),
   matter Acrylschimmer. Gilt für Konfigurator, Studio, Galerie "An der Wand" und Startseite. */
.raumvorschau .leinwand, .wandbild__werk {
  filter: drop-shadow(1px 1px 1px rgba(30, 20, 14, .4)) drop-shadow(12px 14px 16px rgba(45, 30, 20, .3)) drop-shadow(26px 30px 40px rgba(45, 30, 20, .16));
  box-shadow: none;
}
.raumvorschau .leinwand__farbe { border-radius: 1px; box-shadow: none; }
.raumvorschau .leinwand__farbe, .raumvorschau .leinwand__schrift, .wandbild__werk img { filter: saturate(.8) brightness(.95) contrast(.94) sepia(.07); }
.raumvorschau .leinwand__schrift.ist-stl { filter: saturate(.8) brightness(.95) sepia(.07) drop-shadow(-1px -1px 0 rgba(255, 250, 240, .35)) drop-shadow(2px 3px 2px rgba(35, 22, 18, .42)) drop-shadow(6px 9px 9px rgba(35, 22, 18, .22)); }
/* Fensterlicht von links */
.raumvorschau .leinwand__farbe::after, .wandbild__werk::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(95deg, rgba(255, 236, 205, .42), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0) 58%, rgba(35, 25, 18, .3));
  mix-blend-mode: soft-light;
}
/* Leinwandstruktur */
.raumvorschau .leinwand__farbe::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(90, 70, 50, .07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(90, 70, 50, .06) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 40% 40%, transparent 60%, rgba(40, 28, 20, .12));
}
/* Keilrahmenkante rechts, perspektivisch schmaler */
.raumvorschau .leinwand::after, .wandbild__werk::before {
  content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 100%; right: auto; width: calc(100% * 1.1 / var(--b, 50));
  background: linear-gradient(90deg, rgba(30, 22, 16, .38), rgba(30, 22, 16, .55)), var(--rand-bild, #7a8f96); background-size: cover; background-position: right center;
  clip-path: polygon(0 0, 100% 2.5%, 100% 97.5%, 0 100%); pointer-events: none;
}
/* matter Acrylschimmer */
.raumvorschau .leinwand__schrift::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .10) 42%, rgba(255, 255, 255, 0) 54%); mix-blend-mode: screen; }
.leinwand--mini::after { display: none; }

/* ---------- Preise (ab 0.13) ---------- */
.preise-kopf { position: relative; }
.preise-kopf h1 em { font-style: normal; color: var(--koralle); }
.preise-kopf__b { position: absolute; z-index: 0; width: auto; height: clamp(70px, 9vw, 130px); filter: drop-shadow(0 12px 14px rgba(60, 40, 50, .25)); pointer-events: none; }
.preise-kopf__b--0 { right: 18%; top: 26%; }
.preise-kopf__b--1 { right: 8%; top: 46%; }
.preise-kopf__b--2 { right: 24%; top: 62%; }
@media (max-width: 900px) { .preise-kopf__b { height: 54px; opacity: .55; } .preise-kopf__b--0 { right: 6%; top: 14%; } .preise-kopf__b--1 { right: 2%; top: 30%; } .preise-kopf__b--2 { right: 14%; top: 40%; } }
.preise { padding: 10px 0 70px; }
.preise__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; align-items: stretch; }
.preiskarte { background: #fff; border-radius: var(--r); padding: 24px 22px 22px; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 18px 40px -26px rgba(60,30,50,.45); display: flex; flex-direction: column; gap: .35rem; transition: transform .3s; }
.preiskarte:hover { transform: translateY(-6px); }
.preiskarte__bild { height: 170px; display: grid; place-items: end center; margin-bottom: .6rem; background: radial-gradient(ellipse at 50% 90%, rgba(60,30,50,.08), transparent 60%); }
.preiskarte__leinwand { display: block; height: calc(var(--h) * 2px); max-height: 160px; aspect-ratio: var(--b) / var(--h); background-size: cover; background-position: center; border-radius: 3px; box-shadow: 4px 8px 16px rgba(40, 25, 20, .28); }
.preiskarte__name { font-size: 1.6rem; margin: 0; }
.preiskarte__mass { margin: 0; color: var(--tinte-3); font-weight: 600; }
.preiskarte__info { margin: 0; color: var(--tinte-2); font-size: .95rem; }
.preiskarte__preis { font-family: var(--titel); font-weight: 700; font-size: 2rem; color: var(--koralle); margin: .4rem 0 .2rem; }
.preiskarte__tabelle { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .95rem; }
.preiskarte__tabelle caption { text-align: left; font-weight: 700; font-size: .85rem; color: var(--tinte-3); padding-bottom: .3rem; }
.preiskarte__tabelle th, .preiskarte__tabelle td { padding: .45rem 0; border-top: 1px solid var(--linie, rgba(42,34,56,.1)); text-align: left; font-weight: 600; vertical-align: top; }
.preiskarte__tabelle td { text-align: right; font-weight: 700; white-space: nowrap; }
.preiskarte__tabelle small { display: block; font-weight: 600; color: var(--tinte-3); font-size: .8rem; }
.preiskarte__ohne th, .preiskarte__ohne td { color: var(--tinte-3); }
.preiskarte .knopf { margin-top: auto; text-align: center; }
.preise__hinweis { text-align: center; color: var(--tinte-3); font-size: .9rem; margin-top: 28px; }
.preise-inklusive { padding: 40px 0 90px; }
.preise-inklusive__liste { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.preise-inklusive__liste li { background: #fff; border-radius: var(--r); padding: 22px; display: grid; gap: .3rem; box-shadow: 0 10px 30px -22px rgba(60,30,50,.4); }
.preise-inklusive__liste b { font-family: var(--titel); font-size: 1.2rem; font-weight: 600; }
.preise-inklusive__liste b::before { content: "✓"; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: .5em; border-radius: 50%; background: var(--mint, #4fc3a1); color: #fff; font-size: .8em; }
.preise-inklusive__liste span { color: var(--tinte-2); }
.format__preis { color: var(--koralle); font-weight: 700; font-size: .95rem; }
/* Konfigurator: Preis und Buchstabengrößen */
.wahlkarte__preis { display: block; margin-top: .3rem; font-weight: 700; color: var(--koralle); font-size: .88rem; }
.zusammenfassung__preis dd b { font-family: var(--titel); font-size: 1.3rem; color: var(--koralle); }
.zusammenfassung__preis dd small { display: block; font-size: .78rem; color: var(--tinte-3); font-weight: 600; line-height: 1.4; margin-top: .2rem; }
.stl-masse { margin: -.2rem 0 1rem; padding: .7rem .9rem; background: var(--creme); border-radius: 12px; font-size: .9rem; }
.stl-masse span { display: block; font-weight: 700; color: var(--tinte-3); font-size: .8rem; margin-bottom: .35rem; }
.stl-masse ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stl-masse li { background: #fff; border-radius: 999px; padding: .25rem .7rem; font-weight: 600; white-space: nowrap; }
.stl-masse li b { font-family: var(--titel); color: var(--koralle); margin-right: .4em; }

.preiskarte__preis--anfrage { font-size: 1.25rem; color: var(--tinte-2); }

/* ---------- 0.21: zweite Zeile, & dazwischen, gesperrte Buchstabengröße ---------- */
.und-wahl { margin: -.2rem 0 1.4rem; }
.und-wahl b { color: var(--tinte); }
.und-wahl small { display: block; color: var(--tinte-2); opacity: .8; }
.und-wahl.ist-gesperrt { opacity: .45; cursor: not-allowed; }
.segment label.ist-gesperrt { cursor: not-allowed; }
.segment label.ist-gesperrt span { opacity: .38; cursor: not-allowed; }
.segment label.ist-gesperrt span::after {
  content: ''; display: inline-block; width: .8em; height: .8em; margin-left: .35em; vertical-align: -.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.groesse-hinweis { margin: .75rem 0 0; padding: .75rem .95rem .75rem 2.6rem; border-radius: 14px; background: #fff4e5; color: #6b4a1f; font-size: .9rem; line-height: 1.45; position: relative; }
.groesse-hinweis::before { content: 'i'; position: absolute; left: .85rem; top: .8rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #e9a23b; color: #fff; font: 700 .8rem/1.2rem var(--titel, inherit); text-align: center; }
.groesse-hinweis b { color: #5a3b12; }

/* ---------- 0.21: Galerie-Großansicht ---------- */
.lightbox__zaehler { position: absolute; z-index: 2; top: 28px; left: 24px; color: #cfc6dc; font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.lightbox__fuss { display: none; }
@media (max-width: 900px) {
  /* Handy: alles scrollt, oben und unten feste Leisten, die immer erreichbar sind */
  .lightbox { height: 100vh; height: 100dvh; max-height: 100dvh; }
  .lightbox__inhalt {
    position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;   /* absolute statt fixed: sonst liegt der Knopf unter der Leiste */
    justify-content: flex-start; gap: .9rem;
    padding: 76px 16px calc(104px + env(safe-area-inset-bottom));
  }
  .lightbox__inhalt img, .lightbox__inhalt .wandbild { flex: none; }
  .lightbox__inhalt > img { max-height: 62vh; max-height: 62dvh; max-width: 100%; }
  .lightbox__leiste { display: contents; }
  .lightbox__aktionen { order: 1; width: 100%; justify-content: center; }
  .lightbox__aktionen .segment { margin: 0 auto; }
  .lightbox__text { order: 2; width: 100%; color: #fff; }
  .lightbox__zu { position: fixed; top: 12px; right: 12px; width: 46px; height: 46px; font-size: 1.7rem; }
  .lightbox__zaehler { position: fixed; top: 25px; left: 18px; }
  .lightbox__zu, .lightbox__zaehler { z-index: 4; }
  .lightbox::before {   /* Leiste oben */
    content: ''; position: fixed; z-index: 3; left: 0; right: 0; top: 0; height: 70px;
    background: linear-gradient(rgba(30,22,40,.96) 70%, rgba(30,22,40,0)); pointer-events: none;
  }
  .lightbox__fuss {
    display: block; position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; height: calc(84px + env(safe-area-inset-bottom));
    background: rgba(30, 22, 40, .97); border-top: 1px solid rgba(255,255,255,.1);
  }
  .lightbox__pfeil { position: fixed; z-index: 4; top: auto; translate: none; bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .lightbox__pfeil--l { left: 14px; }
  .lightbox__pfeil--r { right: 14px; }
  .lightbox__aktionen .knopf {
    position: fixed; z-index: 4; left: 78px; right: 78px; bottom: calc(18px + env(safe-area-inset-bottom));
    justify-content: center; text-align: center; padding-left: .5rem; padding-right: .5rem; white-space: nowrap;
  }
}

/* ---------- 0.22 ---------- */
/* Großansicht (Studio): Höhe = wirklich sichtbarer Bereich, Button immer vorne */
.grossansicht { height: 100vh; height: 100dvh; max-height: 100dvh; }
.studio__panel { position: relative; }
.studio__fuss { position: relative; z-index: 3; padding-bottom: calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 24px -14px rgba(42, 34, 56, .35); }
@media (max-width: 900px) {
  .studio[open] { height: 100vh; height: 100dvh; }
  .studio__panel { display: flex; flex-direction: column; min-height: 0; }
  .studio__felder { flex: 1 1 auto; min-height: 0; }
  .studio__fuss { flex: none; }
}

/* Auswahlfelder (Größe, Position, Anordnung): mittig, gleich breit, gewählte Option angehoben */
.feld .segment { max-width: none; align-items: stretch; }
.feld .segment label { margin: 0; display: flex; }
.feld .segment span { flex: 1; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.feld .segment label:hover span { background: rgba(255, 255, 255, .55); transform: translateY(-1px); }
.feld .segment input:checked + span { transform: translateY(-2px); box-shadow: 0 2px 3px rgba(42, 34, 56, .08), 0 10px 18px -8px rgba(232, 87, 122, .6); }
.feld .segment label:active span { transform: translateY(0); }
.feld .segment label.ist-gesperrt:hover span { background: none; transform: none; }

/* Buchstabenfarben: Name mittig unter dem Punkt, Punkt hebt sich beim Darüberfahren */
.farbpunkte { gap: .7rem; }
.farbpunkt { width: 62px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.farbpunkt span { margin: 0 auto; flex: none; }
.farbpunkt em { display: block; width: 100%; text-align: center; white-space: nowrap; }
.farbpunkt:hover span { transform: translateY(-3px) scale(1.06); box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.7), 0 0 0 2px var(--linie), 0 10px 16px -8px rgba(42, 34, 56, .45); }
.farbpunkt:hover input:checked + span { box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.7), 0 0 0 3px #fff, 0 0 0 5px var(--koralle), 0 12px 18px -8px rgba(232, 87, 122, .5); }
.farbpunkt:hover em { color: var(--tinte); }
.studio__felder:focus, .studio__felder:focus-visible { outline: none; }   /* Scrollbereich bekommt beim Öffnen den Fokus, ohne roten Rahmen */

/* ---------- 0.23: Powered by Hogibo in der Fußzeile ---------- */
.fuss__klein { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.fuss__klein p { margin: 0; }
.fuss__powered { display: inline-flex; align-items: center; gap: .75rem; color: #a59db1; text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.fuss__powered img { display: block; height: 42px; width: auto; border-radius: 8px; opacity: .85; filter: saturate(.85); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); transition: opacity .2s, filter .2s, transform .2s, box-shadow .2s; }
.fuss__powered:hover, .fuss__powered:focus-visible { color: #fff; }
.fuss__powered:hover img, .fuss__powered:focus-visible img { opacity: 1; filter: none; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6); }
.fuss__powered:focus-visible { outline: 3px solid var(--koralle); outline-offset: 4px; border-radius: 10px; }
@media (max-width: 600px) {
  .fuss__klein { flex-direction: column; justify-content: center; text-align: center; gap: 1.1rem; }
  .fuss__powered img { height: 38px; }
}

/* ---------- 0.24 ---------- */
/* Schatten der Buchstaben wird mit der Tiefe länger (--tf = Tiefe / 3 cm) */
.raumvorschau .leinwand__schrift.ist-stl { filter: saturate(.8) brightness(.95) sepia(.07) drop-shadow(-1px -1px 0 rgba(255, 250, 240, .35)) drop-shadow(calc(2px * var(--tf, 1)) calc(3px * var(--tf, 1)) calc(2px * var(--tf, 1)) rgba(35, 22, 18, .42)) drop-shadow(calc(6px * var(--tf, 1)) calc(9px * var(--tf, 1)) calc(9px * var(--tf, 1)) rgba(35, 22, 18, calc(.14 + .08 * var(--tf, 1)))); }
.leinwand__schrift.ist-stl { filter: drop-shadow(calc(1px * var(--tf, 1)) calc(3px * var(--tf, 1)) calc(2px * var(--tf, 1)) rgba(40, 25, 30, .35)) drop-shadow(calc(3px * var(--tf, 1)) calc(8px * var(--tf, 1)) calc(8px * var(--tf, 1)) rgba(40, 25, 30, .22)); }

/* Preisseite: Leinwände auf einer Grundlinie, Karten ruhig, Hover nur am Bild */
.preiskarte:hover { transform: none; }
.preiskarte__bild { height: 170px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.preiskarte__leinwand { transform: none !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; transform-origin: 50% 100%; }
.preiskarte:hover .preiskarte__leinwand { transform: translateY(-8px) scale(1.04) !important; box-shadow: 8px 18px 28px -6px rgba(40, 25, 20, .38); }
.preiskarte__info { min-height: 2.9em; }
.preiskarte__mass { white-space: nowrap; }

/* ---------- 0.25: Warenkorb, Kasse, So entsteht's ---------- */
.kopf__innen .logo { margin-right: auto; }
.korb-knopf { order: 5; position: relative; width: 46px; height: 46px; margin-left: 1.2rem; border-radius: 50%; border: 0; background: #fff; color: var(--tinte); box-shadow: var(--schatten-klein); display: grid; place-items: center; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.korb-knopf:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(70, 40, 60, .45); }
.korb-knopf__zahl { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--koralle); color: #fff; font: 700 .75rem/22px var(--titel); text-align: center; box-shadow: 0 0 0 2px #fff; }
.korb-knopf__zahl.hupf { animation: korb-hupf .5s; }
@keyframes korb-hupf { 30% { transform: scale(1.35); } }
@media (max-width: 900px) { .korb-knopf { order: 0; margin: 0 .7rem 0 0; } .menue-knopf { order: 1; } }

.korb-schleier { position: fixed; inset: 0; z-index: 90; background: rgba(30, 22, 40, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.korb-schleier.ist-offen { opacity: 1; }
.korb { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(480px, 100%); height: 100vh; height: 100dvh; background: #fff; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); visibility: hidden; outline: none; }
.korb.ist-offen { transform: none; visibility: visible; }
.korb-offen { overflow: hidden; }
.korb__kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--linie); }
.korb__kopf h2 { margin: 0; font-size: 1.3rem; }
.korb__kopf h2 span { color: var(--tinte-3); font-size: .85em; font-weight: 600; }
.korb__zu { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--creme); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tinte); }
.korb__liste { flex: 1; overflow-y: auto; padding: 6px 22px; overscroll-behavior: contain; }
.korb__liste ul { list-style: none; margin: 0; padding: 0; }
.korb__leer { text-align: center; padding: 40px 0; color: var(--tinte-2); }
.korb-pos { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.korb-pos:last-child { border-bottom: 0; }
.korb-pos__bild { width: 52px; height: 70px; border-radius: 4px; background: var(--creme-2) center / cover; box-shadow: 3px 5px 10px -4px rgba(40, 25, 20, .45); justify-self: center; }
.korb-pos__bild.ist-quer { width: 64px; height: 48px; }
.korb-pos__text b { display: block; font-family: var(--titel); font-weight: 600; font-size: 1.05rem; }
.korb-pos__text small { display: block; color: var(--tinte-2); font-size: .85rem; line-height: 1.45; margin-top: .15rem; }
.korb-pos__aktionen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.korb-pos__aktionen a, .korb-pos__aktionen button { font: 700 .8rem var(--text, inherit); color: var(--tinte-2); background: var(--creme); border: 0; padding: .3rem .7rem; border-radius: 999px; cursor: pointer; text-decoration: none; }
.korb-pos__aktionen a:hover, .korb-pos__aktionen button:hover { background: var(--creme-2); color: var(--tinte); }
.korb-pos__aktionen .weg { color: var(--koralle-d); }
.korb-pos__preis { font-family: var(--titel); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.korb-pos__preis small { font: 600 .8rem var(--text, inherit); color: var(--koralle-d); }
.korb__fuss { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); display: grid; gap: 10px; background: #fff; }
.korb__fuss[hidden] { display: none; }
.korb__summe { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 700; }
.korb__summe--klein { font-weight: 600; color: var(--tinte-2); font-size: .92rem; }
.korb__summe--gesamt { font-size: 1.15rem; padding-top: 6px; border-top: 1px dashed var(--linie); }
.korb__summe--gesamt b { font-family: var(--titel); font-size: 1.5rem; }
.korb__hinweis { margin: 0; font-size: .8rem; color: var(--tinte-3); line-height: 1.45; }
.knopf.ist-gesperrt { opacity: .45; pointer-events: none; }

/* Konfigurator: letzter Schritt */
.korb-abschluss { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.korb-abschluss__preis span { display: block; font-weight: 700; color: var(--tinte-3); font-size: .9rem; }
.korb-abschluss__preis b { display: block; font-family: var(--titel); font-size: 2.1rem; color: var(--koralle); line-height: 1.1; }
.korb-abschluss__preis small { display: block; color: var(--tinte-3); font-size: .8rem; max-width: 340px; margin-top: .2rem; }
.korb-abschluss .knopf:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.stl-hinweis--warnung { background: #fff4e5; color: #6b4a1f; margin: 0 0 1rem; }

/* Kasse */
.kasse { padding: 40px 0 90px; }
.kasse__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.kasse__raster[hidden] { display: none; }
.kasse__spalte:first-child { position: sticky; top: calc(var(--kopf-h) + 16px); }
.kasse__titel { font-size: 1.35rem; margin: 0 0 .4rem; }
.korb__liste--kasse { padding: 0; overflow: visible; }
.korb__summen { display: grid; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--linie); }
.kasse__leer { text-align: center; padding: 30px 0 10px; }
.feld--plz { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; }
.zahlwahl { display: grid; gap: 10px; }
.zahlwahl__karte { position: relative; display: block; cursor: pointer; }
.zahlwahl__karte input { position: absolute; opacity: 0; }
.zahlwahl__karte span { display: block; padding: 14px 16px 14px 50px; border-radius: 14px; border: 2px solid var(--linie); background: var(--creme); transition: border-color .2s, background .2s, transform .2s; position: relative; }
.zahlwahl__karte span::before { content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--tinte-3); background: #fff; }
.zahlwahl__karte b { font-family: var(--titel); font-size: 1.1rem; }
.zahlwahl__karte small { display: block; color: var(--tinte-2); font-size: .85rem; margin-top: .15rem; }
.zahlwahl__karte:hover span { transform: translateY(-1px); }
.zahlwahl__karte input:checked + span { border-color: var(--koralle); background: #fff1f4; }
.zahlwahl__karte input:checked + span::before { border-color: var(--koralle); box-shadow: inset 0 0 0 4px #fff; background: var(--koralle); }
.zahlwahl__karte input:focus-visible + span { outline: 3px solid var(--koralle); outline-offset: 2px; }
.kasse__gesamt { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0 .8rem; font-weight: 700; }
.kasse__gesamt b { font-family: var(--titel); font-size: 1.8rem; color: var(--koralle); }
@media (max-width: 900px) {
  .kasse__raster { grid-template-columns: 1fr; }
  .kasse__spalte:first-child { position: static; }
}

/* Danke-Seite */
.zahlbox { background: #fff; border-radius: var(--r); padding: clamp(20px, 3vw, 30px); box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 18px 40px -26px rgba(60,30,50,.45); margin-bottom: 2rem; border: 3px solid var(--sonne); }
.zahlbox h2 { margin-top: 0; }
.zahlbox__konto { display: grid; gap: 6px; margin: 1rem 0; }
.zahlbox__konto div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; }
.zahlbox__konto dt { color: var(--tinte-3); font-weight: 700; }
.zahlbox__konto dd { margin: 0; font-weight: 700; letter-spacing: .02em; }
.korb__liste--danke { list-style: none; padding: 0; margin: 0; overflow: visible; }
.korb__liste--danke .korb-pos { grid-template-columns: 1fr auto; }

/* Preisseite: Preis mit Erklärung */
.preiskarte__preis small { display: block; font: 600 .8rem var(--text, inherit); color: var(--tinte-3); margin-top: .1rem; }

/* So entsteht's */
.entstehung { padding: 40px 0 100px; }
.entstehung__liste { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(40px, 7vw, 90px); }
.entstehung__liste::before { content: ''; position: absolute; left: 50%; top: 20px; bottom: 20px; width: 3px; translate: -50% 0; background: repeating-linear-gradient(var(--koralle) 0 10px, transparent 10px 22px); opacity: .45; }
.entstehung__schritt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; position: relative; }
.entstehung__schritt:nth-child(even) .entstehung__bild { order: 2; }
.entstehung__bild { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 4 / 3; background: var(--creme-2); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.entstehung__bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.entstehung__schritt:hover .entstehung__bild { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(70, 40, 60, .45); }
.entstehung__schritt:hover .entstehung__bild img { transform: scale(1.03); }
.entstehung__nr { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 1rem; font: 700 1.6rem var(--titel); color: #fff; background: radial-gradient(circle at 30% 25%, #ffb3c4, var(--koralle) 55%, var(--koralle-d)); box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.5), 0 8px 18px -8px rgba(232,87,122,.8); }
.entstehung__text h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.entstehung__text p { margin: 0; color: var(--tinte-2); font-size: 1.08rem; line-height: 1.7; max-width: 46ch; }
@media (max-width: 800px) {
  .entstehung__liste::before { left: 29px; }
  .entstehung__schritt { grid-template-columns: 1fr; gap: 16px; padding-left: 0; }
  .entstehung__schritt:nth-child(even) .entstehung__bild { order: 0; }
  .entstehung__text { padding-left: 74px; position: relative; }
  .entstehung__nr { position: absolute; left: 0; top: -4px; }
}

/* ===== 0.26: Schrift nur in Großbuchstaben, Hover der Wahlkarten ===== */
#schriftzug.ist-gross, #schriftzug2.ist-gross { text-transform: uppercase; }
#schriftzug.ist-gross::placeholder, #schriftzug2.ist-gross::placeholder { text-transform: none; }
.wahlkarte__inhalt { transition: border-color .2s, background .2s, transform .25s cubic-bezier(.2, .8, .3, 1.2), box-shadow .25s; }
.wahlkarte:hover .wahlkarte__inhalt { transform: translateY(-3px); box-shadow: 0 12px 22px -12px rgba(70, 40, 60, .4); }
.wahlkarte:hover input:checked + .wahlkarte__inhalt { box-shadow: 0 0 0 4px rgba(255,111,142,.15), 0 12px 22px -12px rgba(70, 40, 60, .4); }
.wahlkarte.ist-gesperrt:hover .wahlkarte__inhalt { transform: none; box-shadow: none; }
@media (hover: none) { .wahlkarte:hover .wahlkarte__inhalt { transform: none; box-shadow: none; } }

/* ===== 0.30: Laufband ohne Lücke, Aufpreise, Spezialfarben, Live-Preis am Handy ===== */
/* Zwei gleiche Hälften mit je dreifachem Inhalt: die Spur verschiebt sich um genau eine Hälfte, daher kein Sprung und keine Lücke (bis ca. 4000 px Breite) */
.laufband__spur { gap: 0; animation-duration: 102s; }
.laufband__teil { display: flex; flex: none; gap: 2rem; align-items: center; padding-right: 2rem; }
@media (prefers-reduced-motion: reduce) { .laufband__spur { animation: none; } }
/* Aufpreis unter Klein, Normal, Groß */
.segment label span { flex-direction: column; line-height: 1.2; }
.segment__preis { display: block; font-size: .74rem; font-weight: 700; color: var(--tinte-3, #8a8295); margin-top: 2px; }
.segment__preis:empty { display: none; }
.segment input:checked + span .segment__preis { color: var(--koralle-d); }
.segment label.ist-gesperrt .segment__preis { opacity: .5; }
/* Spezialfarben der Buchstaben */
.farbpunkte__titel { display: block; margin: 14px 0 6px; font-weight: 700; font-size: .95rem; }
.farbpunkte__titel small { font-weight: 600; color: var(--tinte-3, #8a8295); font-size: .82rem; }
.farbpunkt__preis { display: block; margin-top: 1px; font-size: .72rem; font-weight: 800; color: var(--koralle-d); font-style: normal; text-align: center; }
.farbpunkte--spezial .farbpunkt span { box-shadow: inset -3px -4px 8px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.7), 0 0 0 2px #f3c96b; }
/* Preis im Studio */
.studio__fuss { display: flex; align-items: center; gap: 14px; }
.studio__preis { display: grid; line-height: 1.15; flex: 0 0 auto; }
.studio__preis b { font-family: var(--titel); font-weight: 600; font-size: 1.35rem; }
.studio__preis small { font-size: .75rem; color: var(--tinte-3, #8a8295); }
.studio__fuss .knopf--breit { flex: 1 1 auto; width: auto; }
/* Live-Preis-Leiste am Handy */
.preisleiste, .preisleiste-platz { display: none; }
@keyframes preis-puls { 0% { transform: scale(1); color: inherit; } 35% { transform: scale(1.14); color: var(--koralle); } 100% { transform: scale(1); } }
.puls { animation: preis-puls .5s cubic-bezier(.3, 1.5, .5, 1); display: inline-block; transform-origin: left center; }
@media (max-width: 900px) {
  .preisleiste {
    display: flex; align-items: center; gap: 10px;
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40;
    padding: 7px 7px 7px 7px; border-radius: 999px; background: var(--tinte); color: #fff;
    box-shadow: 0 14px 34px -12px rgba(30, 20, 40, .65);
  }
  .preisleiste-platz { display: block; height: 86px; }
  .preisleiste__vorschau { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
  .preisleiste__vorschau .mini-vorschau__bild { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #f3ebe2; overflow: hidden; display: block; }
  .preisleiste__preis { flex: 1 1 auto; display: grid; line-height: 1.1; min-width: 0; }
  .preisleiste__preis b { font-family: var(--titel); font-weight: 600; font-size: 1.3rem; white-space: nowrap; }
  .preisleiste__preis small { font-size: .7rem; opacity: .7; }
  .preisleiste__korb { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--koralle); color: #fff; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; box-shadow: 0 4px 0 var(--koralle-d); }
  .preisleiste__korb:disabled { opacity: .45; }
  .studio-offen .preisleiste { display: none; }
}
@media (max-width: 380px) { .preisleiste__korb span, .preisleiste__vorschau > span:last-child { display: none; } .preisleiste__vorschau { padding: 0; } }


/* 0.31: das schräge Laufband ragt seitlich minimal heraus, nur hier abschneiden (nicht am html, sonst gehen die mitlaufenden Bereiche kaputt) */
.laufband-rahmen { overflow-x: clip; position: relative; z-index: 2; }
/* 0.31: Preisleiste symmetrisch, beide Knöpfe gleich hoch, kein versetzter Schatten */
@media (max-width: 900px) {
  .preisleiste { padding: 6px; }
  .preisleiste__vorschau, .preisleiste__korb { height: 48px; box-sizing: border-box; }
  .preisleiste__vorschau { padding: 0 14px 0 1px; }
  .preisleiste__vorschau .mini-vorschau__bild { width: 46px; height: 46px; }
  .preisleiste__korb { box-shadow: none; padding: 0 18px; }
  .preisleiste__korb:active { transform: scale(.97); }
}
/* 0.31: Wandansicht fest im Seitenverhältnis des Raumfotos. Das Foto füllt den Rahmen immer ganz,
   das Wandbild sitzt in Prozent darauf. Unabhängig davon, wie der Browser das Foto misst (Zoom, Skalierung, niedrige Fenster). */
.lightbox .wandbild { aspect-ratio: 1400 / 788; flex: none; height: auto; width: min(100%, max(280px, calc((100vh - 270px) * 1400 / 788))); width: min(100%, max(280px, calc((100dvh - 270px) * 1400 / 788))); }
.lightbox .wandbild .wandbild__raum { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.lightbox__inhalt { overflow-y: auto; }
@media (max-height: 560px) and (min-width: 901px) {
  .lightbox__inhalt { justify-content: flex-start; padding-top: 20px; }
}
/* 0.31: Großansicht nicht breiter als das Fenster. 100vw zählt unter Windows die Scrollleiste mit, dann ragen × und Pfeil heraus. */
.lightbox, .grossansicht { width: 100%; max-width: 100%; margin: 0; inset: 0; }
@media (min-width: 901px) { .lightbox, .grossansicht { height: 100%; max-height: 100%; } }
@media (max-width: 900px) {
  .preisleiste__korb, .preisleiste__korb span, .preisleiste__vorschau, .preisleiste__preis b, .preisleiste__preis small { white-space: nowrap; }
  .preisleiste__korb, .preisleiste__vorschau { flex: 0 0 auto; }
  .preisleiste__preis { flex: 1 1 auto; min-width: 0; }
}
/* schmale Handys: Vorschau nur als rundes Bild, damit Preis und Knopf in eine Zeile passen */
@media (max-width: 420px) {
  .preisleiste__vorschau > span:last-child { display: none; }
  .preisleiste__vorschau { padding: 0 1px; }
}
/* 0.31: sehr schmale Handys (320 px) ohne Überbreite */
.konfig__form, .konfig__form .block { min-width: 0; }
.wahl > * { min-width: 0; }
