/* SofortPlakat – Oberfläche im Stil von apple.com: viel Weißraum, große ruhige Schrift, flache Flächen in Weiß und Hellgrau,
   runde Pillen-Knöpfe, zurückhaltende Linien. Markenfarben: Dunkelblau #001840, Hellblau #00a0f0. */
:root {
  --akzent: #00a0f0;
  --akzent-dunkel: #0b8fd6;
  --navy: #001840;
  --tinte: #1d1d1f;
  --grau: #6e6e73;
  --linie: #d2d2d7;
  --linie-hell: #e8e8ed;
  --hell: #f5f5f7;
  --weiss: #fff;
  --radius: 18px;
  --radius-klein: 12px;
  --breite: 1024px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--tinte); background: var(--weiss); line-height: 1.47; font-size: 17px; letter-spacing: -.01em; }
a { color: #2f8a7e; text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .7em; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; margin: 1.4em 0 .5em; }
small { color: var(--grau); }
p { margin: 0 0 1em; }

/* ---- Kopfzeile: schmal, leicht durchscheinend, mittig ---- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--linie-hell); }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 22px; height: 52px; max-width: calc(var(--breite) + 44px); margin: 0 auto; }
body > .kopf { max-width: none; }
body > .kopf::before { content: none; }
.logo { display: inline-flex; align-items: center; color: var(--tinte); text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo img { height: 30px; width: auto; display: block; }
nav { display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a { color: var(--tinte); opacity: .85; text-decoration: none; font-size: .84rem; font-weight: 400; letter-spacing: -.01em; flex: none; }
nav a:hover { opacity: 1; text-decoration: none; }
.badge { display: inline-block; min-width: 18px; text-align: center; background: var(--akzent); color: #fff; border-radius: 999px; padding: 0 6px; font-size: .72rem; line-height: 18px; margin-left: 2px; }

/* ---- Hero: mittig, groß, ruhig ---- */
.hero { text-align: center; padding: 96px 22px 56px; max-width: 820px; margin: 0 auto; }
.hero h1 { margin-bottom: .35em; }
.unter { font-size: 1.3rem; color: var(--grau); max-width: 42ch; margin: 0 auto 1.6em; line-height: 1.4; font-weight: 400; }
.hero-knoepfe { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.link-pfeil { color: #2f8a7e; font-size: 1.05rem; }
.link-pfeil::after { content: " ›"; }

/* Produktkacheln */
.kacheln-bereich { padding: 0 22px 72px; max-width: var(--breite); margin: 0 auto; }
.karten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.karte { background: var(--hell); border-radius: var(--radius); padding: 40px 36px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; text-align: left; }
.karte:hover { transform: scale(1.01); box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.karte b { display: block; font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 6px; }
.karte .ab { color: #2f8a7e; font-weight: 500; font-size: 1.05rem; }
.karte p { margin: 10px 0 0; color: var(--grau); font-size: 1rem; }

/* ---- Abschnitte ---- */
.abschnitt { padding: 80px 22px; max-width: var(--breite); margin: 0 auto; }
.abschnitt > h2 { text-align: center; }
.hell { background: var(--hell); max-width: none; }
.hell > * { max-width: var(--breite); margin-left: auto; margin-right: auto; }

/* Tabs als Segment-Schalter */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 28px; padding: 4px; background: var(--hell); border-radius: 24px; max-width: 900px; }
.tabs button { border: none; background: transparent; padding: 9px 22px; border-radius: 999px; font-size: .95rem; font-family: inherit; cursor: pointer; color: var(--tinte); transition: background .2s; }
.tabs button.aktiv { background: var(--weiss); box-shadow: 0 2px 8px rgba(0,0,0,.08); font-weight: 600; }

/* ---- Konfigurator ---- */
.konfig { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.konfig-form .feld { margin-bottom: 26px; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; }
.felder .feld { margin-bottom: 0; }
.felder input, .felder select { width: 100%; padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; font: inherit; background: #fff; }
.felder input:focus, .felder select:focus { outline: none; border-color: var(--blau, #00a0f0); box-shadow: 0 0 0 3px rgba(0,160,240,.18); }
.felder label small { font-weight: 400; color: #6e6e73; }
.feld > label:first-child, .feld > label.titel { display: block; font-weight: 600; margin-bottom: 10px; font-size: .95rem; }
.beschreibung { color: var(--grau); margin-top: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--linie); border-radius: var(--radius-klein); padding: 12px 16px; cursor: pointer; background: var(--weiss); transition: border-color .15s, box-shadow .15s; line-height: 1.3; }
.chip:hover { border-color: #86868b; }
.chip:has(input:checked) { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent) inset; }
.chip input { margin: 0; accent-color: var(--akzent); }
.chip.aus { opacity: .4; cursor: not-allowed; }
.chip small { display: block; width: 100%; font-size: .82rem; }
.zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
input[type=number], input[type=text], input[type=email], input[type=password], input:not([type]), textarea, select { font: inherit; padding: 11px 14px; border: 1px solid var(--linie); border-radius: var(--radius-klein); width: 100%; background: var(--weiss); color: var(--tinte); transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 4px rgba(0,160,240,.18); }
input[type=number] { width: 120px; }
input[type=checkbox], input[type=radio] { accent-color: var(--akzent); }
.mengen { display: flex; gap: 6px; flex-wrap: wrap; }
.mengen button { border: 1px solid var(--linie); background: var(--weiss); border-radius: 999px; padding: 7px 13px; cursor: pointer; font: inherit; font-size: .9rem; }
.mengen button:hover { border-color: #86868b; }
.upload { border: 1.5px dashed var(--linie); border-radius: var(--radius-klein); padding: 18px; margin-bottom: 10px; background: var(--hell); }
.upload.ok { border-color: #34c759; background: #f0fbf2; }
#upload-status { color: var(--grau); font-size: .9rem; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; }
.check input { margin-top: 5px; }

/* Preisbox und Vorschau */
.seite-rechts { display: grid; gap: 16px; position: sticky; top: 72px; }
.preisbox { border-radius: var(--radius); padding: 26px; background: var(--hell); }
.preis-gross { font-size: 2.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.preis-detail { color: var(--grau); font-size: .95rem; margin: 10px 0 18px; white-space: pre-line; }
.fehler { color: #d70015; font-size: .92rem; min-height: 1.2em; margin-bottom: 8px; }
.vorschau { border-radius: var(--radius); padding: 18px; background: var(--hell); }
.buehne { display: flex; align-items: flex-end; justify-content: center; gap: 22px; min-height: 380px; padding: 10px 0; }
.buehne.flach { align-items: center; }
.blatt-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.blatt { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; box-sizing: border-box; }
.blatt img { width: 100%; height: 100%; object-fit: contain; display: block; }
.druckflaeche { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; outline: 1px dashed rgba(0,24,64,.3); outline-offset: -1px; }
.blatt span { color: var(--grau); text-align: center; font-size: .85rem; line-height: 1.2; padding: 4px; }
.blatt.matt { cursor: zoom-in; background: #f4f3f0; }
.blatt.matt img { filter: saturate(.86) contrast(.92) brightness(1.02); }
.blatt.matt::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.blatt.matt::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0) 45%, rgba(0,0,0,.05)); }
.matt-badge { position: absolute; right: 6px; bottom: 6px; z-index: 2; font-style: normal; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(0,24,64,.72); color: #fff; border-radius: 4px; padding: 2px 6px; }
.figur { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.figur svg { height: 100%; width: auto; fill: #c7c7cc; }
.figur small, .karte-vergleich small, .blatt-wrap small { font-size: .72rem; color: var(--grau); white-space: nowrap; }
.karte-vergleich { position: relative; background: linear-gradient(135deg, #e2e5eb, #c6cbd5); box-shadow: 0 4px 12px rgba(0,0,0,.10); }
.karte-vergleich::before { content: ""; position: absolute; left: 10%; top: 32%; width: 15%; height: 24%; border-radius: 12%; background: #efe0b0; }
.vorschau-text { font-size: .85rem; color: var(--grau); margin-top: 8px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); z-index: 100; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox-inhalt { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.blatt.gross { box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-text { color: #d2d2d7; font-size: .95rem; text-align: center; max-width: 90vw; }

/* ---- Knöpfe: Pillen ---- */
.knopf { display: inline-block; background: var(--akzent); color: #fff; text-decoration: none; border: 1px solid transparent; border-radius: 999px; padding: 11px 22px; font-weight: 500; font-size: 1rem; font-family: inherit; cursor: pointer; letter-spacing: -.01em; transition: background .15s, transform .15s; line-height: 1.3; }
.knopf:hover { background: var(--akzent-dunkel); text-decoration: none; }
.knopf:active { transform: scale(.98); }
.knopf.gross { padding: 14px 28px; font-size: 1.05rem; width: 100%; text-align: center; }
.hero .knopf.gross { width: auto; }
.knopf.zweit { background: transparent; color: #2f8a7e; border-color: #2f8a7e; }
.knopf.zweit:hover { background: #2f8a7e; color: #fff; }
.knopf.klein { padding: 6px 14px; font-size: .88rem; }
.knopf:disabled { opacity: .5; cursor: default; }

/* ---- So geht's ---- */
.schritte, .technik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schritte > div, .technik > div { background: var(--weiss); border-radius: var(--radius); padding: 30px 28px; }
.schritte b, .technik b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.schritte p, .technik p { margin: 0; color: var(--grau); font-size: .98rem; }
.technik { margin-top: 16px; }

/* ---- Warenkorb und Kasse ---- */
.liste { list-style: none; padding: 0; margin: 0 0 20px; }
.liste li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie-hell); align-items: flex-start; }
.liste li small { display: block; }
.liste li b { white-space: nowrap; font-weight: 600; }
.leer { color: var(--grau); text-align: center; padding: 20px 0 0; }
.summe { font-size: 1.1rem; margin: 16px 0 22px; }
.lieferung .chip { flex-direction: column; align-items: flex-start; }
.lieferung .chip small { color: var(--grau); }
.gutschein input { max-width: 260px; text-transform: uppercase; }
.gutschein .zeile { gap: 8px; }
#gutschein-status.ok { color: #248a3d; }
#gutschein-status.fehler { color: #d70015; }
.kasse { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; background: var(--weiss); border-radius: var(--radius); padding: 32px; }
.kasse .feld { margin-bottom: 16px; }
.kasse .adresse { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 0 12px; }
.kasse > .feld:nth-last-of-type(1), .kasse .check, .kasse .fehler, .kasse .knopf { grid-column: 1 / -1; }
.kontobox { grid-column: 1 / -1; background: var(--hell); border-radius: var(--radius-klein); padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.kasse #konto-anlegen-feld { grid-column: 1 / -1; }
#passwort-feld { margin-top: 8px; max-width: 320px; }
.zahlarten { display: grid; gap: 10px; }
.zahlarten .chip { padding: 14px 16px; flex-direction: column; align-items: flex-start; }
.zahlarten .chip .titel { font-weight: 600; }
.zahlarten .chip small { color: var(--grau); }

.meldung { max-width: var(--breite); margin: 0 auto; padding: 16px 22px; background: #e6f5fe; border-radius: var(--radius-klein); }
.schmal { max-width: 720px; margin: 56px auto; padding: 0 22px; }

/* ---- Kundenkonto ---- */
.konto { max-width: 960px; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kasten { border-radius: var(--radius); padding: 28px; background: var(--hell); margin-bottom: 20px; }
.kasten h2 { font-size: 1.4rem; }
.kasten .feld { margin-bottom: 14px; }
.kasten input { background: var(--weiss); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 24px; }
.tabelle th, .tabelle td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--linie-hell); vertical-align: top; }
.tabelle th { color: var(--grau); font-weight: 500; font-size: .85rem; }

/* ---- Fuß ---- */
footer { background: var(--hell); padding: 28px 22px 36px; color: var(--grau); font-size: .8rem; display: grid; gap: 8px; text-align: center; }
footer a { color: var(--tinte); opacity: .8; }

/* ---- Cookie-Hinweis ---- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; background: rgba(255,255,255,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--tinte); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; z-index: 50; box-shadow: 0 12px 40px rgba(0,0,0,.18); font-size: .9rem; border: 1px solid var(--linie-hell); }
.cookie-banner a { color: #2f8a7e; }
.cookie-knoepfe { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 56px 22px 36px; }
  .karten, .konfig, .kasse, .zwei-spalten { grid-template-columns: 1fr; }
  .kasse { padding: 22px; }
  .abschnitt { padding: 56px 18px; }
  .schritte, .technik { grid-template-columns: 1fr; }
  .seite-rechts { position: static; }
  .kasse .adresse { grid-template-columns: 1fr; }
  nav { gap: 14px; font-size: .9rem; flex-wrap: nowrap; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav .korb { order: -1; }
  .kopf { gap: 14px; }
  .kopf .logo { flex: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-knoepfe { justify-content: flex-end; }
}

/* ---- Startseite ---- */
.hero-szene { max-width: 1100px; margin: 0 auto 72px; padding: 0 22px; }
.hero-szene svg { width: 100%; height: auto; display: block; border-radius: 28px; }
.zentriert { text-align: center; }
.unter.zentriert { margin-left: auto; margin-right: auto; margin-bottom: 36px; }
.beispiele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beispiel b { font-size: 1.15rem; }
@media (min-width: 1100px) { .beispiele { grid-template-columns: repeat(4, 1fr); } .beispiel b { margin: 16px 18px 2px; } .beispiel .ab { margin: 0 18px; } .beispiel p { margin: 6px 18px 18px; font-size: .9rem; } }
.beispiel { display: block; background: var(--hell); border-radius: var(--radius); overflow: hidden; color: var(--tinte); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.beispiel:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.1); text-decoration: none; }
.beispiel .bild svg { width: 100%; height: auto; display: block; }
.beispiel b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; margin: 18px 22px 2px; }
.beispiel .ab { display: block; margin: 0 22px; color: #2f8a7e; font-weight: 500; }
.beispiel p { margin: 8px 22px 22px; color: var(--grau); font-size: .95rem; }
@media (max-width: 860px) { .beispiele { grid-template-columns: repeat(2, 1fr); gap: 12px; } .beispiel b { font-size: 1rem; margin: 12px 14px 0; } .beispiel .ab { margin: 0 14px; font-size: .9rem; } .beispiel p { margin: 6px 14px 14px; font-size: .85rem; } .hero-szene { margin-bottom: 40px; } }
@media (max-width: 520px) { .beispiele { grid-template-columns: 1fr; } }

/* ---- Raumszene auf der Startseite ---- */
.raum { position: relative; min-height: 680px; overflow: hidden; background: #efebe4; }
.raum-bild { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.raum-text { position: relative; max-width: var(--breite); margin: 0 auto; padding: 120px 22px 80px; }
.raum-text h1 { max-width: 560px; text-align: left; }
.raum-text .knopf.gross { width: auto; }
.raum-text .unter { max-width: 480px; margin-left: 0; text-align: left; color: #4a4a4f; }
.raum-text .hero-knoepfe { justify-content: flex-start; }
@media (max-width: 860px) {
  .raum { min-height: 0; }
  .raum-bild { opacity: .35; }
  .raum-text { padding: 64px 22px 48px; }
  .raum-text h1, .raum-text .unter { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
  .raum-text .hero-knoepfe { justify-content: center; }
}

/* ---- Bewegung: Einblenden beim Scrollen, Kopfzeile, Parallax ---- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); }
[data-reveal].sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
.kopf { transition: box-shadow .3s ease; }
.kopf.gescrollt { box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06); }
.raum-bild, .raum-text { will-change: transform; }

/* ---- Dunkle Vollbreiten-Kachel ---- */
.kachel-dunkel { background: var(--navy); color: #f5f5f7; padding: 128px 22px; text-align: center; }
.kachel-dunkel .inhalt { max-width: 780px; margin: 0 auto; }
.kachel-dunkel h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.kachel-dunkel p { color: #c7d2e3; font-size: 1.2rem; max-width: 58ch; margin: 0 auto 1.6em; }
.ueberzeile { display: block; color: var(--akzent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.links { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.link-pfeil.auf-dunkel { color: #36c1ff; }

/* ---- Story: klebende Bühne, Text läuft durch ---- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--breite); margin: 0 auto; padding: 72px 22px 40px; }
.story-buehne { position: sticky; top: 76px; height: calc(100vh - 110px); display: flex; align-items: center; }
.story-buehne svg { width: 100%; height: auto; max-height: 100%; }
.story-buehne .stufe { transition: opacity .7s ease; }
.story-buehne .stufe-1, .story-buehne .stufe-2 { opacity: 0; }
.story-buehne[data-stufe="1"] .stufe-1 { opacity: 1; }
.story-buehne[data-stufe="2"] .stufe-1, .story-buehne[data-stufe="2"] .stufe-2 { opacity: 1; }
.story-texte { display: flex; flex-direction: column; }
.story-text { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s ease; }
.story-text.aktiv { opacity: 1; }
.story-text h2 { text-align: left; }
.story-text p { color: var(--grau); font-size: 1.15rem; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; padding-top: 40px; }
  .story-buehne { position: relative; top: 0; height: auto; }
  .story-text { min-height: 0; padding: 28px 0; opacity: 1; }
  .kachel-dunkel { padding: 72px 22px; }
}

/* ---- Fotos: Atelier auf der Startseite, bunter Papierhintergrund auf den Produktseiten ---- */
.hero-foto { max-width: 1240px; margin: -16px auto 72px; padding: 0 22px; }
.foto-rahmen { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,24,64,.18); background: var(--hell); aspect-ratio: 16 / 9; }
.foto-rahmen img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.hero.parallax-text { will-change: transform, opacity; }
.hero.mit-bild { max-width: none; padding: 110px 22px 90px; background: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)), url("/static/bilder/farben.jpg") center / cover no-repeat; }
@supports (background-image: url("a.webp")) { .hero.mit-bild { background-image: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)), url("/static/bilder/farben.webp"); } }
.hero.mit-bild h1, .hero.mit-bild .unter { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero.mit-bild .unter { color: #3a3a3f; }
@media (max-width: 860px) { .hero-foto { margin-bottom: 40px; } .foto-rahmen { border-radius: 18px; } .hero.mit-bild { padding: 64px 22px 48px; } }

/* ---- Konfigurator als Schritte mit Optionskarten ---- */
.schritt { margin-bottom: 34px; }
.schritt-kopf { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.schritt-kopf .nr { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.schritt-kopf b { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.schritt-kopf small { display: block; color: var(--grau); font-size: .88rem; line-height: 1.35; }
.optionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.option.reihe { flex-direction: row; align-items: center; gap: 12px; min-height: 0; padding: 12px 12px 12px 14px; }
.option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; align-self: stretch; }
.option.reihe .blatt-symbol, .option.reihe .gramm { flex: none; width: 34px; height: 38px; margin: 0; align-items: center; justify-content: center; }
.format-info { margin: 10px 0 0; color: var(--grau); font-size: .88rem; line-height: 1.35; }
.optionen.zwei { grid-template-columns: 1fr 1fr; }
.option { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; border: 1px solid var(--linie); border-radius: 14px; background: var(--weiss); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; min-height: 92px; }
.option:hover { border-color: #86868b; }
.option input { position: absolute; opacity: 0; width: 0; height: 0; }
.option:has(input:checked) { border-color: var(--akzent); box-shadow: 0 0 0 1.5px var(--akzent) inset; }
.option:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--akzent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; }
.option:has(input:disabled), .option.aus { opacity: .45; cursor: not-allowed; }
.option .titel { font-weight: 600; letter-spacing: -.01em; line-height: 1.25; padding-right: 22px; }
.option small { color: var(--grau); font-size: .8rem; line-height: 1.3; }
.option .preis { margin-top: auto; padding-top: 6px; color: #2f8a7e; font-weight: 500; font-size: .92rem; min-height: 1.3em; }
.option.breit { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 0; padding: 12px 14px; margin-bottom: 10px; }
.option.breit .titel { padding-right: 26px; }
.option.breit small { width: 100%; }
.option.breit::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--linie); background: var(--weiss); flex: none; }
.option.breit:has(input:checked)::before { border-color: var(--akzent); background: var(--akzent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; }
.option.breit:has(input:checked)::after { content: none; }
.option.breit:has(input:checked) { box-shadow: none; border-color: var(--akzent); }
.blatt-symbol { height: 38px; display: flex; align-items: flex-end; margin-bottom: 4px; }
.blatt-symbol i { display: block; background: #fff; border: 1.5px solid #86868b; border-radius: 2px; box-shadow: 2px 2px 0 rgba(0,0,0,.08); }
.gramm { height: 26px; display: flex; align-items: flex-end; gap: 3px; margin-bottom: 6px; }
.gramm i { display: block; width: 10px; background: linear-gradient(180deg, #36c1ff, var(--akzent)); border-radius: 3px 3px 1px 1px; }
.titel-klein { display: block; font-weight: 600; font-size: .95rem; margin: 14px 0 8px; }
.menge-zeile { align-items: center; gap: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; background: var(--weiss); }
.stepper button { border: none; background: transparent; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; color: var(--tinte); font-family: inherit; line-height: 1; }
.stepper button:hover { background: var(--hell); }
.stepper input[type=number] { width: 84px; border: none; border-radius: 0; text-align: center; font-weight: 600; font-size: 1.05rem; padding: 10px 4px; box-shadow: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mengen button.aktiv { background: var(--navy); color: #fff; border-color: var(--navy); }
.dropzone { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px dashed var(--linie); border-radius: 14px; background: var(--hell); cursor: pointer; transition: border-color .15s, background .15s; margin-bottom: 10px; color: var(--grau); }
.dropzone:hover, .dropzone.drag { border-color: var(--akzent); background: #e6f5fe; color: var(--navy); }
.dropzone.ok { border-style: solid; border-color: #34c759; background: #f0fbf2; color: var(--tinte); }
.dropzone input { position: absolute; opacity: 0; width: 0; height: 0; }
.dz-icon { flex: none; color: var(--akzent); display: inline-flex; }
.dz-text { font-size: .95rem; line-height: 1.35; }
.dz-text u { color: #2f8a7e; text-decoration: none; }
.preis-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.preis-kopf > span:first-child { color: var(--grau); font-size: .95rem; }
.preis-zeilen { list-style: none; margin: 0 0 10px; padding: 10px 0 0; border-top: 1px solid var(--linie-hell); }
.preis-zeilen li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 4px 0; color: var(--grau); }
.preis-zeilen li b { color: var(--tinte); font-weight: 500; white-space: nowrap; }
.preisleiste { display: none; }
.warenkorb-seite { padding-top: 24px; }
.check > span { flex: 1; }
@media (max-width: 860px) {
  .optionen { grid-template-columns: 1fr 1fr; }
  .konfig { grid-template-columns: minmax(0, 1fr); }
  .preisleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--linie-hell); transform: translateY(110%); transition: transform .3s ease; }
  .preisleiste.an { transform: none; }
  .preisleiste b { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
  .preisleiste small { color: var(--grau); }
}
.beispiel .bild img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.beispiel:hover .bild img { transform: scale(1.03); }
/* 13. Kachel: über die volle Breite, Bild links, Text rechts */
@media (min-width: 521px) {
  .beispiel:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto auto 1fr; grid-template-areas: "bild ." "bild titel" "bild ab" "bild text" "bild ."; }
  .beispiel:last-child .bild { grid-area: bild; height: 100%; }
  .beispiel:last-child .bild img { aspect-ratio: 4 / 3; height: 100%; }
  .beispiel:last-child b { grid-area: titel; margin-top: 0; }
  .beispiel:last-child .ab { grid-area: ab; }
  .beispiel:last-child p { grid-area: text; margin-bottom: 0; }
}
.beispiel .bild { overflow: hidden; }

/* 3D-Vorschau */
#drei { width: 100%; height: 320px; border-radius: 12px; background: radial-gradient(ellipse at 50% 35%, #ffffff, #e6e8ee 70%); overflow: hidden; position: relative; }
#drei canvas { display: block; }
#drei .drei-tipp { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: #8e8e93; pointer-events: none; }
#drei .drei-laden { position: absolute; inset: 0; display: grid; place-items: center; color: #8e8e93; font-size: .85rem; }


/* ================= Krümelstich ================= 
   Farben aus dem Logo: Krümel-Braun #4d3829, Stich-Mint #3fa698 (hell #8fd3c4), Rosa #f08ca0, Senfgelb #f2c04b, Creme #fbf6ef. */
:root {
  --akzent: #3fa698;
  --akzent-dunkel: #2f8a7e;
  --navy: #4d3829;
  --tinte: #3b2b20;
  --grau: #7a6a60;
  --linie: #e3d6c8;
  --linie-hell: #efe5da;
  --hell: #f7efe5;
  --weiss: #fffdf9;
  --rosa: #f08ca0;
  --senf: #f2c04b;
  --minz: #8fd3c4;
}
body { background: var(--weiss); font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
a { color: var(--akzent-dunkel); }
h1, h2 { color: var(--navy); }
.kopf, body > .kopf { background: rgba(58, 42, 32, .94); border-bottom: 2px dashed rgba(143, 211, 196, .45); height: 62px; }
.logo img { height: 46px; border-radius: 8px; }
nav a { color: #f7efe5; opacity: .9; }
nav a:hover { color: #fff; opacity: 1; }
nav .korb, nav a.korb { color: #fff; }
.badge { background: var(--rosa) !important; color: #fff !important; }
.knopf, button.knopf { background: var(--akzent); }
.knopf:hover { background: var(--akzent-dunkel); }
.felder input:focus, .felder select:focus { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(63,166,152,.2); }
.abschnitt.hell, section.hell { background: var(--hell); }
footer { background: #3a2a20; color: #e9dccd; }
footer a { color: var(--minz); }
.ks-held { background: #2b2019; display: flex; justify-content: center; }
.ks-held img { display: block; width: 100%; max-width: 1200px; height: auto; }
.ks-kacheln .bild { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ks-kacheln .bild::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(77,56,41,.25); border-radius: 12px; }
.ks-kacheln .bild span { font-size: 4.2rem; color: rgba(77,56,41,.55); font-family: "Segoe UI Symbol", sans-serif; }
.ks-minz { background: linear-gradient(135deg, #d6f0ea, #a9e0d4); }
.ks-rosa { background: linear-gradient(135deg, #fde3e8, #f6bcc8); }
.ks-gelb { background: linear-gradient(135deg, #fdf0cc, #f6d887); }
.ks-creme { background: linear-gradient(135deg, #f7efe5, #e6d6c2); }
.beispiel b { color: var(--navy); }
.ab { color: var(--akzent-dunkel); }

.ks-held img { max-width: 960px; }
.logo img { height: 48px; }

/* ===== Krümelstich v2: Look nach den Entwürfen (Creme, Papier, Schreibschrift, Schildchen) ===== */
body { background: #fbf4ea; }
.schreib { font-family: "Segoe Script", "Snell Roundhand", "Brush Script MT", "Apple Chancery", cursive; font-weight: 700; letter-spacing: 0; color: var(--navy); }
h2.schreib { font-size: clamp(1.8rem, 3.6vw, 2.6rem); text-align: center; }
h2.herzen::before, h2.herzen::after { content: "♡"; color: #d98b98; font-family: sans-serif; font-weight: 400; margin: 0 .5em; font-size: .8em; }
.ks-papier { background: #fbf4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='60'%3E%3Cpath d='M0 30 Q150 0 300 30 T600 30 T900 30 T1200 30' fill='none' stroke='%23c9a891' stroke-width='2' stroke-dasharray='8 7'/%3E%3C/svg%3E") top center / 1200px 60px no-repeat; padding-top: 80px; }
.kopf, body > .kopf { background: #4a3628; border-bottom: none; box-shadow: 0 6px 0 -3px #fbf4ea, 0 7px 0 -2px rgba(201,168,145,.6); }
.logo img { height: 50px; border-radius: 10px; }

/* Startbild: Atelier mit Text rechts auf der hellen Wand */
.ks-start { position: relative; max-width: 1400px; margin: 0 auto; overflow: hidden; }
.ks-start-bild { display: block; width: 100%; height: auto; min-height: 520px; object-fit: cover; object-position: 30% center; }
.ks-start-text { position: absolute; top: 12%; left: 52%; width: 40%; text-align: center; }
.ks-start-text h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.12; margin: 0 0 14px; text-shadow: 0 2px 12px rgba(255,248,238,.8); }
.ks-pille { display: inline-block; padding: 6px 22px; border: 2px dashed #c9a891; border-radius: 999px; background: rgba(253,240,224,.9); color: var(--navy); font-family: "Segoe Script", "Snell Roundhand", cursive; font-size: 1.15rem; }
.ks-vorteile { list-style: none; display: flex; justify-content: center; gap: 22px; padding: 0; margin: 22px 0; font-size: .82rem; color: var(--navy); }
.ks-vorteile li { line-height: 1.25; }
.ks-vorteile i { display: block; font-style: normal; font-size: 1.6rem; color: #d98b98; margin-bottom: 4px; }
.ks-knopf { background: #5f9e8c !important; width: auto !important; box-shadow: 0 6px 18px rgba(95,158,140,.35); }
.ks-knopf:hover { background: #4d8a79 !important; }
@media (max-width: 860px) {
  .ks-start-bild { min-height: 340px; }
  .ks-start-text { position: static; width: auto; padding: 26px 18px 10px; background: #fbf4ea; }
  .ks-vorteile { gap: 12px; flex-wrap: wrap; }
}

/* Produktkacheln mit Schildchen */
.ks-kacheln { gap: 22px; }
.ks-kacheln .beispiel { background: #fffaf3; border: 1px solid #efe1d0; box-shadow: 0 6px 20px rgba(110,80,55,.08); border-radius: 20px; }
.ks-kacheln .bild { position: relative; aspect-ratio: auto; display: block; padding: 10px 10px 0; background: none; }
.ks-kacheln .bild::after { content: none; }
.ks-kacheln .bild img { border-radius: 14px; }
.ks-schild { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: #fdf3e6; border: 1.5px dashed #c9a891; border-radius: 10px; padding: 6px 16px; font-weight: 600; color: var(--navy); font-size: .98rem; box-shadow: 0 4px 10px rgba(110,80,55,.12); }
.ks-kacheln .ab { margin-top: 26px; text-align: center; }
.ks-kacheln p { text-align: center; }
.ks-mehr { margin-top: 30px; }

.ks-banner { max-width: 1200px; margin: 30px auto 0; padding: 0 22px; }
.ks-banner img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 14px 40px rgba(110,80,55,.15); }

.ks-hinter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; max-width: 1200px; }
.ks-hinter-bild img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 14px 40px rgba(110,80,55,.15); }
.ks-hinter h2.schreib { text-align: left; }
.ks-liste { padding-left: 1.1em; color: var(--grau); }
.ks-liste li { margin-bottom: .5em; }
.ks-liste li::marker { content: "♡  "; color: #d98b98; }
@media (max-width: 860px) { .ks-hinter { grid-template-columns: 1fr; } }

.ks-schritte > div { background: #fffaf3; border: 1.5px dashed #e0cbb5; border-radius: 18px; padding: 22px; text-align: center; }
.ks-nr { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: #f6c1cc; color: var(--navy); font-weight: 700; margin-bottom: 8px; }

/* Produktseiten: Kopf mit hellem Atelierbild */
.hero.mit-bild { background: linear-gradient(rgba(251,244,234,.82), rgba(251,244,234,.82)), url("/static/bilder/kopf_atelier.jpg") center / cover no-repeat; }
@supports (background-image: url("a.webp")) { .hero.mit-bild { background-image: linear-gradient(rgba(251,244,234,.82), rgba(251,244,234,.82)), url("/static/bilder/kopf_atelier.webp"); } }
.hero.mit-bild h1 { font-family: "Segoe Script", "Snell Roundhand", "Brush Script MT", cursive; }
footer { background: #4a3628; }

.ks-kacheln .bild span.ks-schild { font-size: .98rem; color: var(--navy); font-family: inherit; }
.ks-kacheln .beispiel { grid-column: auto !important; display: block !important; }
.ks-kacheln .beispiel .bild img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.ks-kacheln .beispiel .bild { overflow: visible !important; height: auto !important; }
.ks-kacheln .beispiel:last-child > *, .ks-kacheln .beispiel:last-child .bild { grid-area: auto !important; }
.ks-kacheln .beispiel:last-child .bild img { height: auto !important; }

/* ===== Kopfzeile wie Entwurf 1 ===== */
.kopf.ks-kopf { position: sticky; top: 0; z-index: 30; height: 78px; max-width: none; padding: 0 28px 0 250px; display: flex; align-items: center; justify-content: flex-end; background: #4a3628; box-shadow: none; border: 0; }
.kopf.ks-kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v4c-100 10-200 14-300 8S700 0 600 6 400 18 300 14 100 2 0 8z' fill='%234a3628'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ks-logo { position: absolute; left: 18px; top: 6px; z-index: 2; background: #fbf4ea; padding: 8px 14px 10px; border-radius: 0 0 26px 26px; border: 2px dashed #c9a891; border-top: 0; box-shadow: 0 10px 24px rgba(60,40,25,.25); }
.ks-logo img { height: 92px; width: auto; display: block; border-radius: 0; }
.ks-nav { display: flex; gap: 4px; align-items: center; overflow: visible; }
.ks-nav > a, .ks-shop > a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #f7efe5 !important; opacity: 1; font-size: .92rem; font-weight: 500; border-bottom: 3px solid transparent; border-radius: 0; }
.ks-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ks-nav a:hover { color: #fff !important; text-decoration: none; }
.ks-nav a.aktiv { border-bottom-color: #8fd3c4; }
.ks-nav .badge { background: none !important; color: inherit !important; padding: 0; font-weight: 600; }
.ks-shop { position: relative; }
.ks-shop-liste { display: none; position: absolute; top: 100%; left: -10px; min-width: 260px; background: #fffaf3; border: 1.5px dashed #c9a891; border-radius: 16px; padding: 10px; box-shadow: 0 16px 40px rgba(60,40,25,.2); }
.ks-shop:hover .ks-shop-liste, .ks-shop:focus-within .ks-shop-liste { display: grid; }
.ks-shop-liste a { color: var(--navy) !important; padding: 7px 12px; border-radius: 10px; font-size: .92rem; }
.ks-shop-liste a:hover { background: #f3e6d6; text-decoration: none; }
.ks-menue-knopf { display: none; }
body.start .ks-start, main, body > section:first-of-type { margin-top: 0; }
@media (max-width: 1180px) { .ks-nav > a span, .ks-shop > a span { display: none; } .ks-nav .korb span { display: inline; } .kopf.ks-kopf { padding-left: 200px; } .ks-logo img { height: 74px; } }
@media (max-width: 700px) {
  .kopf.ks-kopf { height: 64px; padding: 0 14px; }
  .ks-logo { left: 10px; padding: 5px 9px 7px; } .ks-logo img { height: 60px; }
  .ks-menue-knopf { display: block; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.7rem; }
  .ks-nav { display: none; position: absolute; top: 64px; right: 0; left: 0; flex-direction: column; align-items: stretch; background: #4a3628; padding: 30px 14px 14px; }
  body.menue-offen .ks-nav { display: flex; }
  .ks-nav > a span, .ks-shop > a span { display: inline; }
  .ks-shop-liste { position: static; display: grid; background: none; border: 0; box-shadow: none; }
  .ks-shop-liste a { color: #f7efe5 !important; }
}

/* Galerie, Stoffe, Kontakt */
.ks-galerie { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 10px 0 24px; }
.ks-bsp { margin: 0; background: #fffaf3; border: 1px solid #efe1d0; border-radius: 18px; padding: 8px; box-shadow: 0 6px 18px rgba(110,80,55,.08); }
.ks-bsp img { width: 100%; height: auto; display: block; border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.ks-bsp figcaption { text-align: center; padding: 8px 4px 4px; }
.ks-bsp figcaption b { display: block; color: var(--navy); font-size: .95rem; }
.ks-bsp figcaption small { font-size: .8rem; }
@media (max-width: 1000px) { .ks-galerie { grid-template-columns: repeat(2, 1fr); } }
.ks-stoffe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 18px; }
.ks-stoffe > div { background: #fffaf3; border: 1.5px dashed #e0cbb5; border-radius: 16px; padding: 16px 18px 16px 70px; position: relative; }
.ks-stoffe > div::before { content: ""; position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 10px; background: var(--f); box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.ks-stoffe b { display: block; color: var(--navy); }
.ks-stoffe small { font-size: .85rem; }
@media (max-width: 800px) { .ks-stoffe { grid-template-columns: 1fr; } }
.ks-kontakt { background: #f3e6d6; border-radius: 26px; max-width: 900px; margin: 20px auto 60px; padding: 40px 24px; }

/* Handy: nichts breiter als der Bildschirm */
html, body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 700px) {
  .ks-kacheln, .beispiele.ks-kacheln { grid-template-columns: 1fr !important; }
  .ks-galerie { grid-template-columns: 1fr 1fr; }
  .ks-start-text h1 { font-size: 2.1rem; }
  .ks-vorteile li { flex: 1 1 40%; }
  h2.schreib { font-size: 1.7rem; }
  .ks-schild { font-size: .9rem; }
  .ks-hinter { padding-left: 16px; padding-right: 16px; }
}

/* ===== Logo-Schildchen und Übergang v2 ===== */
.ks-logo { top: 0; padding: 14px 20px 16px; border: 0 !important; border-radius: 0 0 34px 34px; background: #fbf4ea; box-shadow: 0 10px 22px -6px rgba(40,25,15,.45); }
.ks-logo::before { content: ""; position: absolute; left: 7px; right: 7px; top: -2px; bottom: 7px; border: 2px dashed #d3b59c; border-top: 0; border-radius: 0 0 28px 28px; pointer-events: none; }
/* weiche Innenrundung, wo das Schildchen aus der Leiste kommt */
.ks-logo::after { content: ""; position: absolute; top: 0; left: -22px; right: -22px; height: 22px; pointer-events: none;
  background: radial-gradient(circle at 0 100%, transparent 21px, #4a3628 22px) left / 22px 22px no-repeat,
              radial-gradient(circle at 100% 100%, transparent 21px, #4a3628 22px) right / 22px 22px no-repeat; }
.ks-logo img { height: 96px; }
.kopf.ks-kopf { padding-left: 280px; }
/* Startbild randlos über die ganze Breite, oben unter die Wellenkante geschoben */
.ks-start { max-width: none; margin-top: -18px; }
.ks-start-bild { width: 100%; height: clamp(520px, 52vw, 760px); min-height: 0; object-fit: cover; object-position: 30% 45%; }
.ks-start-text { top: 14%; }
@media (max-width: 1180px) { .kopf.ks-kopf { padding-left: 220px; } .ks-logo img { height: 76px; } }
@media (max-width: 700px) { .ks-start { margin-top: -14px; } .ks-start-bild { height: 300px; } .ks-logo { padding: 8px 12px 10px; border-radius: 0 0 24px 24px; } .ks-logo::before { border-radius: 0 0 19px 19px; left: 5px; right: 5px; bottom: 5px; } .ks-logo img { height: 58px; } .ks-logo::after { display: none; } }
.ks-logo::after { top: 78px; }
@media (max-width: 1180px) { .ks-logo::after { top: 78px; } }
.ks-logo::after { top: 84px; height: 24px; left: -24px; right: -24px;
  background: radial-gradient(circle at 0 100%, transparent 23px, #4a3628 24px) left top / 24px 24px no-repeat,
              radial-gradient(circle at 100% 100%, transparent 23px, #4a3628 24px) right top / 24px 24px no-repeat; }

/* ===== Kopf v3: Leiste wölbt sich fließend unter das Logo ===== */
.ks-logo { top: 4px; left: 22px; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.ks-logo::before { display: none; }
.ks-logo img { height: 118px; filter: drop-shadow(0 0 1.2px rgba(251,244,234,.95)) drop-shadow(0 0 1.2px rgba(251,244,234,.8)) drop-shadow(0 0 10px rgba(251,244,234,.28)); }
.ks-logo::after { content: ""; position: absolute; z-index: -1; top: -4px; left: -22px; width: 400px; height: 160px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160'%3E%3Cpath d='M0 0H400V82C372 82 356 96 344 116C330 140 312 154 270 154H0Z' fill='%234a3628'/%3E%3Cpath d='M0 146H268C304 146 320 134 333 112C344 93 360 79 386 77' fill='none' stroke='%23d3b59c' stroke-width='1.6' stroke-dasharray='6 5' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") left top / 400px 160px no-repeat;
  filter: drop-shadow(0 6px 8px rgba(40,25,15,.18)); }
.kopf.ks-kopf { padding-left: 300px; }
@media (max-width: 1180px) {
  .kopf.ks-kopf { padding-left: 250px; }
  .ks-logo img { height: 96px; }
  .ks-logo::after { width: 340px; height: 136px; background-size: 340px 136px; }
}
@media (max-width: 700px) {
  .ks-logo { left: 10px; top: 3px; }
  .ks-logo img { height: 66px; }
  .ks-logo::after { display: block; left: -10px; top: -3px; width: 230px; height: 92px; background-size: 230px 92px; }
}
.ks-logo::after { filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160'%3E%3Cdefs%3E%3ClinearGradient id='n' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23d3b59c' stop-opacity='.8'/%3E%3Cstop offset='.7' stop-color='%23d3b59c' stop-opacity='.8'/%3E%3Cstop offset='.97' stop-color='%23d3b59c' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%23281a10' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%23281a10' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 154H270C312 154 330 140 344 116C350 106 356 98 363 92C352 104 344 126 330 140C316 152 300 160 270 160H0Z' fill='url(%23s)'/%3E%3Cpath d='M0 0H400V82C372 82 356 96 344 116C330 140 312 154 270 154H0Z' fill='%234a3628'/%3E%3Cpath d='M0 146H268C304 146 320 134 333 112C344 93 360 80 392 78' fill='none' stroke='url(%23n)' stroke-width='1.6' stroke-dasharray='6 5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Aufklappmenü über der Wellenkante, mit Abstand und unsichtbarer Brücke für die Maus */
.ks-nav { position: relative; z-index: 3; }
.ks-shop-liste { top: calc(100% + 14px); z-index: 10; padding: 12px; }
.ks-shop-liste::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }

.ks-galerie { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .ks-galerie { grid-template-columns: repeat(2, 1fr); } }

/* Stoffdrucke / Vorbestellung */
.vb-banner { display: block; margin-top: 10px; padding: 10px 14px; background: #fdf0d8; border: 1.5px dashed #e3b955; border-radius: 12px; color: var(--navy); font-size: .92rem; }
.stoff-flaeche { background-repeat: repeat; border-radius: 4px; box-shadow: 0 12px 28px rgba(77,56,41,.18); outline: 1px solid rgba(0,0,0,.06); }
