/* ==========================================================================
   Hochzeitsinvite · Auftritt des Dienstes (Startseite und Designer)
   Cormorant Garamond und Jost. Lachs (#E9967A) und Pfirsich (#FFDAB9) auf hellem Papier (seit 04.10.2026,
   vorher Salbei). Dunkles Anthrazit gibt es nur noch für Schrift, nie als Fläche.
   ========================================================================== */

:root {
  --papier: #FFF7F0;
  --papier-2: #FFDAB9;      /* Pfirsich: Wechselflächen wie „So geht's" und „Designs" */
  --karte: #FFFFFF;
  --tinte: #2A2A2E;         /* nur Schrift */
  --tinte-2: #5E5A58;
  --tinte-3: #8F8A87;
  --akzent: #E9967A;        /* Lachs: Knöpfe, Preiskarte, Schmuck */
  --akzent-tief: #B5583A;   /* kräftiges Lachs für kleine betonte Schrift, Kontrast 4,5:1 auf Papier */
  --butter: #FFE6CF;        /* helles Pfirsich für Hinweiskästen */
  --pfirsich: #FFDAB9;
  --salbei: #FFDAB9;        /* Name aus der Salbei-Zeit, Farbe jetzt Pfirsich */
  --gold: #B89B66;
  --linie: rgba(42, 42, 46, .13);
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-ui: "Jost", "Helvetica Neue", Arial, sans-serif;
  --schatten: 0 30px 60px -35px rgba(42, 42, 46, .35);
  --korn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font-variant-numeric: lining-nums; font-family: var(--f-ui); font-weight: 400; font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--korn), var(--papier); background-blend-mode: soft-light; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--akzent-tief); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* Wortmarke: vektorisiert aus der Logo-Vorlage (HOCHZEITS, Blumenherz, Invite in Kalligrafie).
   Als Maske eingebunden, damit sie der Textfarbe folgt, auf Hell wie auf Dunkel. */
.marke { display: block; width: 11em; aspect-ratio: 4590 / 1578; background: currentColor; color: var(--akzent-tief); text-decoration: none;
  -webkit-mask: url(../img/logo.svg) center / contain no-repeat; mask: url(../img/logo.svg) center / contain no-repeat; }
.marke span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* So verschoben, dass das Blumenherz im Logo auf der Mitte der Navigation und des Knopfes liegt */
.kopf .marke, .d-kopf .marke, .fuss .marke { transform: translateY(.74em); }
.kopf .marke, .d-kopf .marke { width: 10.5rem; }
.fuss .marke { width: 9rem; color: var(--tinte-2); }
.abschnitt.dunkel .marke, .dunkel .marke { color: var(--akzent-tief); }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; cursor: pointer; text-decoration: none;
  font: 500 .92rem/1.2 var(--f-ui); letter-spacing: .06em; padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid var(--tinte);
  background: var(--akzent); border-color: var(--akzent); color: var(--tinte); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(42, 42, 46, .7); }
.knopf.akzent { background: var(--akzent); border-color: var(--akzent); color: var(--tinte); }
.knopf.hell { background: transparent; color: var(--tinte); }
.knopf.klein { padding: .6rem 1.05rem; font-size: .85rem; }
.knopf[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.knopf .pfeil { transition: transform .2s ease; }
.knopf:hover .pfeil { transform: translateX(3px); }

.ueber { font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--akzent-tief); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem; }
/* Vor den Abschnitts-Überschriften steht das Herz aus dem Logo (Sven, 04.10.2026). Es ist ein Ausschnitt der ohnehin
   geladenen Logo-Datei: Die Maske wird so groß gezogen und verschoben, dass nur das Herz im Feld liegt.
   Lage des Herzens im Logo (Einheiten der viewBox 4590 x 1578): x 1972, y 106, Breite 408, Höhe 357. */
.ueber::before { content: ""; --herz: 26px; flex: none; width: var(--herz); height: calc(var(--herz) * 357 / 408); background: var(--akzent);
  -webkit-mask: url(../img/logo.svg) calc(var(--herz) * -1972 / 408) calc(var(--herz) * -106 / 408) / calc(var(--herz) * 4590 / 408) auto no-repeat;
  mask: url(../img/logo.svg) calc(var(--herz) * -1972 / 408) calc(var(--herz) * -106 / 408) / calc(var(--herz) * 4590 / 408) auto no-repeat; }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.kopf { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--papier) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; }
.kopf nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 500; }
.kopf nav a { text-decoration: none; color: var(--tinte-2); }
.kopf nav a:hover { color: var(--tinte); }
.kopf nav .knopf { color: var(--tinte); white-space: nowrap; }
.kopf nav .knopf.hell { color: var(--tinte); }
.kopf nav .knopf.hell:hover { background: var(--akzent); border-color: var(--akzent); color: var(--tinte); }
/* Am Handy passen Marke, „Anmelden" und „Jetzt gestalten" so in eine Zeile */
@media (max-width: 560px) {
  .kopf .marke { width: 7.6rem; }
  .kopf nav { gap: .45rem; }
  .kopf nav .knopf.klein { padding: .55rem .8rem; font-size: .8rem; letter-spacing: .03em; }
}

/* --------------------------------------------------------------------------
   Startseite · Bühne
   -------------------------------------------------------------------------- */
/* Hero kompakt (Sven, 06.10.2026): kurze Headline, kurze Beschreibung, drei Vorteile. Knöpfe gibt es nur in der Kopfzeile.
   Ziel: Am Smartphone ist das vorhandene Handy mit den Designs schon im ersten Bildschirm zu sehen. */
.buehne { position: relative; overflow: hidden; padding: clamp(1.6rem, 4.5vw, 4.2rem) 0 clamp(3rem, 6vw, 5.5rem); }
.buehne::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, var(--salbei), transparent 68%); z-index: -1; }
.buehne::after { content: ""; position: absolute; width: 44vw; height: 44vw; left: -16vw; bottom: -20vw; border-radius: 50%; background: radial-gradient(circle, var(--pfirsich), transparent 68%); z-index: -1; }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.6rem, 4.5vw, 4.5rem); align-items: center; }
.buehne .ueber { margin-bottom: .9rem; }
.buehne h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; hyphens: manual; }
.buehne h1 em { display: inline-block; }
.buehne .unter { font-size: 1.12rem; color: var(--tinte-2); max-width: 40ch; margin: 1.1rem 0 0; }
.buehne-fakten { display: flex; flex-direction: column; gap: .6rem; margin: 1.7rem 0 0; padding: 0; list-style: none; font-size: .98rem; line-height: 1.4; color: var(--tinte-2); }

/* Brief-Intro der Startseite (04.10.2026): derselbe Foto-Umschlag wie auf den Hochzeitsseiten,
   Mechanik in css/umschlag.css und js/umschlag.js. Cremepapier mit rotem Siegel. */
html.intro-aktiv { overflow: hidden; }
.ohne-intro .start-intro { display: none; }
.start-intro { --f-script: var(--f-display); --f-body: var(--f-ui); }
.start-intro .si-marke { display: block; width: 8em; aspect-ratio: 4590 / 1578; margin: 0 auto 1.4em; background: var(--akzent-tief);
  -webkit-mask: url(../img/logo.svg) center / contain no-repeat; mask: url(../img/logo.svg) center / contain no-repeat; }
.start-intro .ec-eyebrow { margin-bottom: 1em; line-height: 1.6; }
.start-intro .ec-namen { font-style: italic; font-size: 1.35em; line-height: 1.15; }
.start-intro .si-gross { display: block; font-style: normal; font-weight: 500; font-size: 1.22em; line-height: 1.05; margin-top: .2em; white-space: nowrap; }

/* Anmeldefenster der Startseite */
.anmelde-dialog { width: min(470px, 100% - 2rem); border: 0; border-radius: 28px; padding: clamp(1.6rem, 5vw, 2.4rem); background: var(--karte); color: var(--tinte); box-shadow: 0 40px 80px -30px rgba(42, 42, 46, .55); }
.anmelde-dialog::backdrop { background: rgba(42, 42, 46, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.anmelde-dialog h2 { font-size: clamp(2rem, 7vw, 2.6rem); margin-bottom: .8rem; padding-right: 2rem; }
.anmelde-dialog p { color: var(--tinte-2); }
.anmelde-dialog form .knopf { width: 100%; margin-top: .3rem; }
.ad-zu-form { position: absolute; right: 1rem; top: 1rem; margin: 0; }
.ad-zu { width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1px solid var(--linie); background: var(--papier); color: var(--tinte-2); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ad-zu:hover { color: var(--tinte); }
.ad-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.ad-klein { font-size: .86rem; margin: 1.3rem 0 0; }
.ad-klein a { color: var(--akzent-tief); text-underline-offset: 2px; }

/* Eingabefelder in Profil, Anmeldung und Dashboard (gleiche Optik wie im Designer) */
.feld input[type="email"], .feld input[type="password"] {
  font: inherit; font-size: 1rem; width: 100%; min-width: 0; padding: .72rem .85rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte);
}
.feld input[type="email"]:focus-visible, .feld input[type="password"]:focus-visible { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent); }
.buehne-fakten li { display: flex; align-items: center; gap: .6rem; }
.buehne-fakten li::before { content: ""; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--akzent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.2 4.4a.8.8 0 0 1-1.1 0L4.3 8.6l1.1-1.1 1.5 1.5 3.7-3.8z'/%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 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.2 4.4a.8.8 0 0 1-1.1 0L4.3 8.6l1.1-1.1 1.5 1.5 3.7-3.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Breite Bildschirme: Text oben ausrichten statt mittig zum hohen Handy, sonst rutscht der kurze Text weit nach unten */
@media (min-width: 1001px) {
  .buehne-raster { align-items: start; }
  .buehne-raster > :first-child { padding-top: clamp(2rem, 7vw, 6.5rem); }
}
/* Smartphones: Hero eng, Vorteile untereinander (steht nach den Grundregeln, damit es greift) */
@media (max-width: 560px) {
  .buehne { padding: 1.15rem 0 2.6rem; }
  .buehne-raster { gap: 1.25rem; }
  .buehne .ueber { font-size: .66rem; letter-spacing: .24em; gap: .6rem; margin-bottom: .55rem; }
  .buehne .ueber::before { --herz: 22px; }
  .buehne h1 { font-size: clamp(1.9rem, 8.9vw, 2.3rem); }
  .buehne .unter { font-size: .98rem; line-height: 1.45; margin: .6rem 0 0; }
  .buehne-fakten { gap: .45rem; margin-top: 1.1rem; font-size: .92rem; }
}

/* Handy mit Live-Vorschau, dahinter aufgefächerte Karten */
.schau { position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.schau-faecher { position: relative; width: min(100%, 330px); }
.schau-faecher::before, .schau-faecher::after { content: ""; position: absolute; inset: 6% 4%; border-radius: 34px; z-index: -1; transition: background .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--schatten); }
.schau-faecher::before { background: var(--f1, var(--salbei)); transform: rotate(-9deg) translate(-22%, 3%); }
.schau-faecher::after { background: var(--f2, var(--butter)); transform: rotate(8deg) translate(22%, 5%); }
.handy { position: relative; width: 100%; aspect-ratio: 390 / 800; border-radius: 44px; background: #17121A; padding: 10px; box-shadow: 0 50px 80px -40px rgba(42, 42, 46, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.handy-glas { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; }
.handy-glas iframe { position: absolute; left: 0; top: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; }
/* Designleiste unter dem Handy: eine Zeile zum Wischen, Pfeile blättern durch alle Designs */
.schau-leiste { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; width: min(100%, 520px); }
.schau-pfeil { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--linie); background: var(--karte); color: var(--tinte); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: all .2s ease; }
.schau-pfeil:hover { background: var(--akzent); color: var(--tinte); border-color: var(--akzent); }
.schau-wahl { position: relative; display: flex; gap: .4rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: .2rem 1rem;
  -webkit-mask: linear-gradient(90deg, transparent, #000 .9rem, #000 calc(100% - .9rem), transparent); mask: linear-gradient(90deg, transparent, #000 .9rem, #000 calc(100% - .9rem), transparent); }
.schau-wahl::-webkit-scrollbar { display: none; }
.schau-los { margin-top: .2rem; }
/* Farbwelten des gewählten Designs */
.schau-farben { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: -.5rem; }
.schau-farben button { display: inline-flex; align-items: center; gap: .5rem; font: 500 .78rem var(--f-ui); padding: .38rem .8rem .38rem .5rem; border-radius: 999px; border: 1.5px solid transparent; background: transparent; color: var(--tinte-2); cursor: pointer; transition: all .2s ease; }
.schau-farben button:hover { border-color: var(--linie); }
.schau-farben button[aria-pressed="true"] { background: var(--karte); border-color: var(--akzent); color: var(--tinte); }
.punkte-mini { display: inline-flex; }
.punkte-mini i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--karte); margin-left: -5px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); }
.punkte-mini i:first-child { margin-left: 0; }
.schau-wahl button { flex: none; }
.schau-wahl button { font: 600 .82rem var(--f-ui); padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); color: var(--tinte-2); cursor: pointer; transition: all .2s ease; }
.schau-wahl button[aria-pressed="true"] { background: var(--akzent); color: var(--tinte); border-color: var(--akzent); }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.abschnitt { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
/* „dunkel" heißt seit dem 04.10.2026 Pfirsich-Fläche (der Klassenname blieb, damit das HTML gleich bleibt) */
.abschnitt.dunkel { background: var(--papier-2); color: var(--tinte); }
.abschnitt.dunkel .ueber { color: var(--tinte); }
.abschnitt.dunkel h2 em { color: var(--akzent-tief); }
.abschnitt.ton { background: var(--papier-2); }
.kopfzeile { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.kopfzeile h2 { font-size: clamp(2.5rem, 5.8vw, 4.3rem); }
.kopfzeile p { font-size: 1.12rem; color: var(--tinte-2); margin: 1.2rem 0 0; max-width: 58ch; }
.abschnitt.dunkel .kopfzeile p { color: var(--tinte-2); }

/* So geht's */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: schritt; }
.schritt { counter-increment: schritt; background: var(--karte); border: 1px solid var(--linie); border-radius: 26px; padding: 1.8rem 1.5rem 1.6rem; position: relative; }
.schritt::before { content: counter(schritt); font-family: var(--f-display); font-style: italic; font-size: 3.8rem; line-height: 1; color: var(--akzent); display: block; margin-bottom: 1.2rem; }
.schritt:nth-child(2) { transform: translateY(1.6rem); } .schritt:nth-child(3) { transform: translateY(3.2rem); } .schritt:nth-child(4) { transform: translateY(4.8rem); }
.schritt h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.schritt p { color: var(--tinte-2); font-size: .97rem; margin: 0; }
.schritte-ende { margin-top: 7rem; }

/* Designs */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.design-karte[hidden] { display: none; }
.design-karte { background: var(--karte); border: 1px solid var(--linie); box-shadow: 0 24px 40px -30px rgba(42, 42, 46, .35); border-radius: 28px; padding: 1rem 1rem 1.4rem; display: flex; flex-direction: column; transition: transform .3s ease, background .3s ease; }
.design-karte:hover { transform: translateY(-6px); }
.design-fenster { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; background: #fff; cursor: pointer; }
.design-fenster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.design-fenster:hover img, .design-fenster:focus-visible img { transform: scale(1.03); }
.design-live { position: absolute; right: .7rem; bottom: .7rem; font: 600 .74rem var(--f-ui); letter-spacing: .06em; padding: .45rem .8rem; border-radius: 999px; background: rgba(23, 18, 26, .78); color: #fff; opacity: 0; transform: translateY(4px); transition: all .25s ease; }
.design-fenster:hover .design-live, .design-fenster:focus-visible .design-live { opacity: 1; transform: none; }
.designs-mehr { text-align: center; margin: 2.2rem 0 0; }
.design-info { padding: 1.2rem .5rem 0; display: flex; flex-direction: column; flex: 1; }
.design-info h3 { font-size: 2rem; }
.design-stil { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--akzent-tief); margin: .35rem 0 .7rem; }
.design-info p { font-size: .95rem; color: var(--tinte-2); flex: 1; }
.design-fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.punkte { display: flex; gap: .6rem; }
.punkte span, .punkte button { display: flex; }
/* Farbpunkte der Designkarten sind Knöpfe (06.10.2026): gleiche Größe und Abstände wie zuvor, die aktive Farbe mit feinem Ring */
.punkte button { padding: 3px; margin: -3px; border: 0; border-radius: 999px; background: none; cursor: pointer; box-shadow: 0 0 0 1.5px transparent; transition: box-shadow .2s ease; }
.punkte button:hover { box-shadow: 0 0 0 1.5px var(--linie); }
.punkte button[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--akzent-tief); }
.punkte button:focus-visible { outline: 2px solid var(--akzent-tief); outline-offset: 2px; }
.design-fenster img { transition: transform .5s ease, opacity .25s ease; }
.punkte i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--karte); margin-left: -7px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); }
.punkte i:first-child { margin-left: 0; }
.abschnitt.dunkel .knopf.hell { color: var(--tinte); border-color: color-mix(in srgb, var(--tinte) 45%, transparent); }
.abschnitt.dunkel .knopf.hell:hover { background: var(--akzent); border-color: var(--akzent); color: var(--tinte); }

/* Module */
.module-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.modul-block { background: var(--karte); border: 1px solid var(--linie); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.modul-block.inklusive { background: var(--akzent); color: var(--tinte); position: sticky; top: 6rem; }
.modul-block h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.modul-block > p { color: var(--tinte-2); font-size: .97rem; }
.modul-block.inklusive > p { color: color-mix(in srgb, var(--tinte) 80%, transparent); }
.modul-liste li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; border-top: 1px solid var(--linie); }
.modul-block.inklusive .modul-liste li { border-color: color-mix(in srgb, var(--tinte) 15%, transparent); }
.modul-liste strong { font-weight: 600; }
.modul-liste span { grid-column: 1; font-size: .92rem; color: var(--tinte-2); }
.modul-block.inklusive .modul-liste span { color: color-mix(in srgb, var(--tinte) 80%, transparent); }
.modul-liste em { grid-row: 1; grid-column: 2; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--akzent-tief); white-space: nowrap; }
.modul-block.inklusive .modul-liste em { color: var(--tinte); }
.ki-marke { display: inline-block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; background: var(--butter); color: var(--tinte); padding: .15rem .5rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle; }

/* Dashboard-Vorschau */
.dash-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.dash { background: var(--karte); border-radius: 28px; border: 1px solid var(--linie); padding: 1.4rem; box-shadow: var(--schatten); transform: rotate(1.2deg); }
.dash-kopf { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--tinte-3); margin-bottom: 1rem; }
.dash-kopf strong { color: var(--tinte); font-size: .95rem; }
.dash-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.dash-zahl { background: var(--papier); border-radius: 16px; padding: .9rem; }
.dash-zahl b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.dash-zahl span { font-size: .74rem; color: var(--tinte-2); }
.dash-zahl:first-child { background: var(--salbei); }
.dash-balken { margin-top: 1rem; display: grid; gap: .55rem; font-size: .82rem; }
.dash-balken div { display: grid; grid-template-columns: 6.5rem 1fr 2rem; align-items: center; gap: .6rem; }
.dash-balken i { height: 10px; border-radius: 999px; background: var(--akzent-tief); width: var(--w); }
.dash-balken div:nth-child(2) i { background: var(--gold); } .dash-balken div:nth-child(3) i { background: var(--akzent); } .dash-balken div:nth-child(4) i { background: var(--pfirsich); }
.dash-liste { margin-top: 1rem; border-top: 1px solid var(--linie); font-size: .85rem; }
.dash-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); }
.dash-liste span { color: var(--tinte-2); }
.dash-liste .ja { color: var(--akzent-tief); font-weight: 600; } .dash-liste .nein { color: #A0574B; font-weight: 600; }
.haken li { position: relative; padding: .45rem 0 .45rem 2rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 18px; height: 18px; border-radius: 50%; background: var(--akzent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.2 4.4a.8.8 0 0 1-1.1 0L4.3 8.6l1.1-1.1 1.5 1.5 3.7-3.8z'/%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 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.2 4.4a.8.8 0 0 1-1.1 0L4.3 8.6l1.1-1.1 1.5 1.5 3.7-3.8z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Preis */
.preis-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; }
.preis-karte { border-radius: 28px; padding: clamp(1.6rem, 3.5vw, 2.6rem); background: var(--karte); border: 1px solid var(--linie); }
.preis-karte.haupt { background: var(--akzent); color: var(--tinte); border: 0; position: relative; overflow: hidden; }
.preis-karte.haupt::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -90px; bottom: -110px; background: rgba(255, 255, 255, .12); }
.preis-zahl { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.04em; }
.preis-zahl small { font-size: .32em; letter-spacing: 0; font-style: italic; }
.preis-karte h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.preis-karte.haupt .haken li::before { background: var(--tinte); }
.zahlarten { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.zahlarten span { font-size: .8rem; font-weight: 600; border: 1.5px solid var(--linie); border-radius: 10px; padding: .4rem .7rem; background: var(--papier); }
.rechnung { margin: 0 0 1.2rem; }
.rechnung li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--linie); font-size: .97rem; }
.rechnung li.summe { border-bottom: 0; font-weight: 600; font-size: 1.15rem; padding-top: .9rem; }
.rechnung li > span:last-child { white-space: nowrap; }   /* „49 €“ nie umbrechen (29.10.2026) */
.zweitweg { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--linie); }
.zweitweg[hidden] { display: none; }
.zweitweg p { margin: 0 0 .8rem; font-size: .92rem; color: var(--tinte-2); }
.zweitweg p strong { color: var(--tinte); }

/* Fragen */
.fragen { max-width: 820px; }
.fragen details { border-top: 1px solid var(--linie); padding: 1.2rem 0; }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-family: var(--f-ui); font-size: 1.5rem; color: var(--akzent); transition: transform .25s ease; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { margin: .8rem 0 0; color: var(--tinte-2); max-width: 64ch; }

.schluss { text-align: center; }
.schluss h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 2rem; }
.fuss { border-top: 1px solid var(--linie); padding: 2.2rem 0 2.6rem; font-size: .88rem; color: var(--tinte-2); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.fuss nav { display: flex; gap: 1.4rem; }

/* Textseiten (Impressum, später Datenschutz und AGB) */
.textseite { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.textseite .wrap { width: min(760px, 100% - 2.5rem); }
.textseite h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 2.4rem; }
.textseite h2 { font-family: var(--f-ui); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-2); margin: 2.2rem 0 .6rem; }
.textseite p { max-width: 62ch; }
.textseite mark { background: var(--butter); color: var(--tinte); padding: .05em .35em; border-radius: 6px; }

/* ==========================================================================
   Designer
   ========================================================================== */
body.designer { height: 100dvh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.d-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.2rem; border-bottom: 1px solid var(--linie); background: var(--papier); }
.d-kopf-rechts { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--tinte-2); }
.d-gespeichert { display: inline-flex; align-items: center; gap: .4rem; }
.d-gespeichert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6F9466; }
/* Ohne Profil liegt der Entwurf nur im Browser: gelber Punkt und Link zum kostenlosen Profil (Sven, 29.10.2026) */
.d-gespeichert.nur-browser::before { background: #D9A441; }
.kopf-sichern { font-size: .85rem; font-weight: 600; }
.kopf-sichern[hidden] { display: none; }
/* Linke Spalte breit genug, dass die Schritte 1 bis 6 ohne Scrollen nebeneinander passen (29.09.2026) */
.d-flaeche { display: grid; grid-template-columns: minmax(460px, 600px) 1fr; min-height: 0; }

/* linke Spalte */
.d-spalte { display: grid; grid-template-rows: auto 1fr auto auto; grid-template-columns: minmax(0, 1fr); min-height: 0; min-width: 0; border-right: 1px solid var(--linie); background: var(--karte); }
.d-schritte { display: flex; gap: .15rem; padding: .9rem .9rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--linie); }
.d-schritte::-webkit-scrollbar { display: none; }
.d-schritte button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; font: 600 .78rem var(--f-ui); color: var(--tinte-3); background: transparent; border: 0; padding: .45rem .55rem; border-radius: 999px; cursor: pointer; }
.d-schritte button b { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; background: var(--papier-2); color: var(--tinte-2); }
.d-schritte button[aria-current="step"] { background: var(--akzent); color: var(--tinte); }
.d-schritte button[aria-current="step"] b { background: var(--karte); color: var(--tinte); }
.d-schritte button.fertig b { background: var(--salbei); color: var(--tinte); }
.d-inhalt { overflow-y: auto; padding: 1.6rem 1.4rem 2rem; scroll-behavior: smooth; }
.d-panel { display: none; }
.d-panel.aktiv { display: block; animation: panel .35s ease; }
@keyframes panel { from { opacity: 0; transform: translateY(8px); } }
.d-panel h2 { font-size: 2.1rem; margin-bottom: .5rem; }
.d-panel > p.hilfe { color: var(--tinte-2); font-size: .97rem; margin-bottom: 1.5rem; }
.d-panel h3 { font-family: var(--f-ui); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-2); margin: 1.8rem 0 .8rem; }

/* Auswahlkarten */
.wahl-liste { display: grid; gap: .7rem; }
.wahl-karte { position: relative; display: block; cursor: pointer; }
.wahl-karte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wahl-karte .flaeche { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 18px; border: 1.5px solid var(--linie); background: var(--papier); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.wahl-karte:hover .flaeche { transform: translateY(-1px); }
.wahl-karte input:checked + .flaeche { border-color: var(--akzent-tief); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 35%, transparent); background: var(--karte); }
.wahl-karte input:focus-visible + .flaeche { outline: 2px solid var(--akzent); outline-offset: 2px; }
.wahl-karte strong { font-size: 1rem; }
.wahl-karte small { color: var(--tinte-2); font-size: .85rem; line-height: 1.4; }

.design-wahl .flaeche { grid-template-columns: 92px 1fr; gap: .2rem 1rem; align-items: center; padding: .7rem; }
.mini { grid-row: span 3; width: 92px; height: 112px; border-radius: 12px; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini i { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; }
.design-wahl .stil { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--akzent-tief); }
.design-wahl strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }

.wahl-gruppe { font-size: .82rem; color: var(--tinte-2); margin: .9rem 0 -.1rem; }
.wahl-gruppe:first-child { margin-top: 0; }
.schema-wahl .flaeche { padding: .7rem 1rem; }
.trend-raster { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.trend-raster .flaeche { grid-template-columns: 1fr !important; gap: .45rem !important; padding: .7rem .8rem; }
.trend-raster strong { font-size: .86rem; font-weight: 500; line-height: 1.25; }
.trend-raster .schema-punkte i { width: 24px; height: 24px; margin-left: -7px; }
.schema-wahl .flaeche { grid-template-columns: auto 1fr; align-items: center; gap: .9rem; }
.schema-punkte { display: flex; }
.schema-punkte i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--karte); margin-left: -9px; box-shadow: 0 0 0 1px var(--linie); }
.schema-punkte i:first-child { margin-left: 0; }

.farb-reihe { display: flex; flex-wrap: wrap; gap: .6rem; }
.farb-knopf { position: relative; cursor: pointer; display: grid; justify-items: center; gap: .3rem; font-size: .72rem; color: var(--tinte-2); width: 58px; text-align: center; }
.farb-knopf input { position: absolute; opacity: 0; }
.farb-knopf i { width: 42px; height: 42px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s ease, box-shadow .2s ease; }
.farb-knopf input:checked + i { box-shadow: 0 0 0 3px var(--karte), 0 0 0 5px var(--tinte); transform: scale(.94); }
.farb-knopf input:focus-visible + i { outline: 2px solid var(--akzent); outline-offset: 5px; }
.farb-knopf.mit-bild { width: 66px; }
.farb-knopf.mit-bild i { width: 54px; height: 54px; background: none; box-shadow: none; overflow: visible; display: grid; place-items: center; }
.farb-knopf.mit-bild img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(42, 30, 43, .3)); transition: transform .2s ease; }
.farb-knopf.mit-bild input:checked + i { box-shadow: none; transform: none; }
.farb-knopf.mit-bild input:checked + i img { transform: scale(1.12); filter: drop-shadow(0 4px 7px rgba(42, 30, 43, .45)); }
.farb-knopf.mit-bild input:checked + i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--tinte); }
.farb-knopf.mit-bild i { position: relative; }
.intro-farben[hidden] { display: none; }

/* Felder */
.feld { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.feld label, .feld .label { font-size: .84rem; font-weight: 600; }
.feld label small, .feld .label small { font-weight: 400; color: var(--tinte-3); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.designer input[type="text"], .designer input[type="date"], .designer input[type="time"], .designer input[type="url"], .designer input[type="tel"], .designer select, .designer textarea {
  font: inherit; font-size: 1rem; width: 100%; min-width: 0; padding: .72rem .85rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte);
}
.designer input:focus-visible, .designer select:focus-visible, .designer textarea:focus-visible { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent); }
.designer textarea { resize: vertical; line-height: 1.5; }
.adresse-feld { display: flex; align-items: stretch; border: 1.5px solid var(--linie); border-radius: 12px; background: var(--papier); overflow: hidden; }
.adresse-feld input { border: 0 !important; border-radius: 0 !important; background: transparent !important; text-align: right; padding-right: .2rem !important; font-weight: 600; }
.adresse-feld span { display: grid; place-items: center; padding: 0 .85rem 0 0; color: var(--tinte-2); font-size: .95rem; white-space: nowrap; }
.tipp { font-size: .84rem; color: var(--tinte-2); background: var(--butter); border-radius: 12px; padding: .7rem .9rem; margin: .4rem 0 1rem; }
.tipp strong { color: var(--tinte); }

/* Fotos */
.foto-feld { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: .8rem; border: 1.5px dashed var(--linie); border-radius: 18px; background: var(--papier); margin-bottom: 1rem; }
.foto-feld img, .foto-feld .leer { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; background: var(--papier-2); }
.foto-feld p { font-size: .88rem; color: var(--tinte-2); margin: 0 0 .6rem; }
.foto-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .8rem; }
.foto-raster figure { margin: 0; position: relative; }
.foto-raster img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.foto-raster button { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(23, 18, 26, .75); color: #fff; font-size: .95rem; line-height: 1; cursor: pointer; }
/* Reihenfolge und Hauptbild: Haken oben links, Pfeile unten, das Foto lässt sich auch ziehen */
.foto-raster figure { cursor: grab; border-radius: 10px; transition: opacity .2s ease, box-shadow .2s ease; }
.foto-raster figure.zieht { opacity: .4; }
.foto-raster figure.ziel { box-shadow: 0 0 0 3px var(--akzent); }
.foto-raster .f-haupt { left: 4px; right: auto; background: rgba(255, 255, 255, .85); color: transparent; border: 1.5px solid rgba(23, 18, 26, .55); font-weight: 700; }
.foto-raster .f-haupt:hover, .foto-raster .f-haupt:focus-visible { background: var(--akzent-tief); border-color: var(--akzent-tief); color: #fff; }
.foto-raster .f-links, .foto-raster .f-rechts { top: auto; bottom: 4px; font-size: 1.1rem; }
.foto-raster .f-links { left: 4px; right: auto; }
.foto-feld { position: relative; }
.foto-feld.ist-beispiel::before { content: "Beispielfoto" !important; background: var(--tinte-3) !important; }
.modul.hervor { box-shadow: 0 0 0 3px var(--akzent); transition: box-shadow .3s ease; }
.foto-feld::before { content: "✓ Hauptbild"; position: absolute; left: 1.2rem; top: 1.2rem; z-index: 1; font: 600 .62rem var(--f-ui); letter-spacing: .06em; padding: .2rem .5rem; border-radius: 999px; background: var(--akzent-tief); color: #fff; }
input[type="file"].versteckt { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Bildausschnitt des Hauptbilds ausrichten */
.ausrichten { display: grid; gap: .5rem; margin: -.2rem 0 .4rem; }
.ausricht-reihe { display: grid; grid-template-columns: 6.2rem auto; align-items: center; gap: .8rem; }
.ausricht-reihe > span:first-child { font-size: .84rem; font-weight: 600; }
.ausricht-reihe .umschalter { justify-self: start; }

/* Module */
.modul { border: 1.5px solid var(--linie); border-radius: 18px; background: var(--papier); margin-bottom: .7rem; overflow: hidden; transition: border-color .2s ease; }
.modul.an { border-color: var(--akzent-tief); background: var(--karte); }
.modul-kopf { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .95rem 1.05rem; align-items: center; }
.modul-kopf strong { font-size: .98rem; }
.modul-kopf small { grid-column: 1; color: var(--tinte-2); font-size: .84rem; line-height: 1.4; }
.modul-preis { grid-row: 1; grid-column: 2; justify-self: end; font-weight: 600; font-size: .85rem; color: var(--akzent-tief); }
.modul.standard .modul-preis { color: var(--akzent-tief); }
/* Noch nicht buchbare Funktion: sichtbar als Ausblick, aber ohne Schalter (03.10.2026) */
.modul.bald { opacity: .75; }
.modul.bald .modul-preis { background: var(--butter); color: var(--tinte); padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.schalter { grid-column: 2; justify-self: end; position: relative; width: 46px; height: 27px; }
.schalter input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.schalter i { position: absolute; inset: 0; border-radius: 999px; background: var(--papier-2); box-shadow: inset 0 0 0 1.5px var(--linie); transition: background .2s ease; }
.schalter i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.schalter input:checked + i { background: var(--akzent-tief); box-shadow: none; }
.schalter input:checked + i::after { transform: translateX(19px); }
.schalter input:focus-visible + i { outline: 2px solid var(--tinte); outline-offset: 2px; }
.modul-inhalt { padding: 0 1.05rem 1.05rem; border-top: 1px dashed var(--linie); padding-top: 1rem; }
.modul:not(.an) .modul-inhalt, .modul-inhalt:empty { display: none; }
.modul-oeffner { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; margin-top: .75rem; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--akzent-tief); background: var(--akzent-tief); color: #fff; font: 600 .92rem var(--f-ui); letter-spacing: .02em; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.modul-oeffner::before { content: ""; width: 17px; height: 17px; 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='M3 17.2V21h3.8L18 9.8 14.2 6 3 17.2zM20.7 7a1 1 0 0 0 0-1.4l-2.3-2.3a1 1 0 0 0-1.4 0l-1.8 1.8L19 8.9 20.7 7z'/%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='M3 17.2V21h3.8L18 9.8 14.2 6 3 17.2zM20.7 7a1 1 0 0 0 0-1.4l-2.3-2.3a1 1 0 0 0-1.4 0l-1.8 1.8L19 8.9 20.7 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.modul-oeffner:hover { transform: translateY(-1px); }
.modul.offen .modul-oeffner { background: transparent; color: var(--akzent-tief); }
.modul.offen .modul-oeffner::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E"); }
.modul.offen { box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 40%, transparent); }
.modul:not(.an) .modul-oeffner { display: none; }
.modul:not(.offen) .modul-inhalt { display: none; }

.wdh-eintrag { position: relative; display: grid; gap: .5rem; padding: .8rem 2.4rem .8rem .8rem; border-radius: 14px; background: var(--papier-2); margin-bottom: .6rem; }
.wdh-eintrag .weg { position: absolute; right: .5rem; top: .5rem; width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--tinte-2); }
.wdh-eintrag .weg:hover { background: var(--karte); color: var(--akzent-tief); }
.wdh-eintrag .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* Adresse: Suche mit Trefferliste, darunter Straße, PLZ und Ort einzeln */
.adr { display: grid; gap: .5rem; padding: .6rem; border-radius: 12px; background: var(--karte); border: 1px solid var(--linie); }
.adr-suche { position: relative; }
.adr-q { padding-left: 2.2rem !important; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5583A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") .7rem center / 1.05rem no-repeat !important; }
.adr-treffer { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: .3rem; list-style: none; background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(42, 42, 46, .5); max-height: 260px; overflow-y: auto; }
.adr-treffer button { display: grid; gap: .1rem; width: 100%; text-align: left; padding: .5rem .65rem; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font: inherit; color: var(--tinte); }
.adr-treffer button:hover, .adr-treffer button:focus-visible { background: var(--papier-2); }
.adr-treffer strong { font-size: .9rem; font-weight: 600; }
.adr-treffer span, .adr-treffer .leer { font-size: .8rem; color: var(--tinte-2); }
.adr-treffer .leer { padding: .5rem .65rem; }
.adr-felder { display: grid; grid-template-columns: minmax(0, 1fr) 5.2rem minmax(0, .8fr); gap: .4rem; }
.adr-felder input[data-k="strasse"] { grid-column: 1 / -1; }
.adr-felder input[data-k="plz"] { grid-column: 1 / 2; max-width: 6.5rem; }
.adr-felder input[data-k="stadt"] { grid-column: 2 / -1; }
.adr-status { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0; font-size: .8rem; color: var(--tinte-2); }
.adr-status .ok { color: #4C6B45; font-weight: 600; }
.adr-status a, .adr-status button { font: inherit; color: var(--akzent-tief); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.adr-karte iframe { display: block; width: 100%; height: 190px; border: 1px solid var(--linie); border-radius: 10px; }

/* Foto am Ort */
.wdh-foto { display: grid; grid-template-columns: 96px 1fr; gap: .8rem; align-items: center; }
.wdh-foto img, .wdh-foto .leer { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--karte); border: 1.5px dashed var(--linie); display: grid; place-items: center; font-size: .68rem; color: var(--tinte-2); text-align: center; }
.wdh-foto img { border-style: solid; }
.wdh-foto > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.wdh-foto label.knopf { cursor: pointer; }
.wdh-foto .foto-weg { font: inherit; font-size: .8rem; color: var(--tinte-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.wdh-foto small { flex-basis: 100%; font-size: .74rem; line-height: 1.4; color: var(--tinte-2); }

/* Diktieren */
.diktat { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: -.3rem 0 .8rem; }
.diktat-knopf { display: inline-flex; align-items: center; gap: .45rem; }
.diktat-knopf.laeuft { background: #B3422A; border-color: #B3422A; color: #fff; animation: diktat-puls 1.4s ease-in-out infinite; }
@keyframes diktat-puls { 50% { box-shadow: 0 0 0 7px rgba(179, 66, 42, .18); } }
.diktat-status { margin: 0; font-size: .8rem; color: var(--tinte-2); flex: 1 1 12rem; }

/* Abschluss: große Vorschau-Schaltfläche */
.schluss-vorschau-knopf { font-family: var(--f-ui); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; width: 100%; margin: .4rem 0 1.6rem; padding: 1.3rem 1.4rem; text-align: left; cursor: pointer;
  border: 0; border-radius: 22px; color: var(--tinte); background: linear-gradient(135deg, #F0AC93, var(--akzent)); box-shadow: 0 24px 40px -22px rgba(42, 42, 46, .8); transition: transform .25s ease, box-shadow .25s ease; }
.schluss-vorschau-knopf:hover, .schluss-vorschau-knopf:focus-visible { transform: translateY(-3px); box-shadow: 0 30px 46px -22px rgba(42, 42, 46, .9); }
.sv-auge { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.sv-text { display: grid; gap: .2rem; }
.sv-text strong { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.sv-text small { font-size: .84rem; opacity: .85; }
.schluss-vorschau-knopf .pfeil { font-size: 1.5rem; }
.link-hinweis { margin: 1.2rem 0 1rem; }

/* Schlussvorschau im Vollbild mit Bezahlleiste */
.nur-schluss { display: none !important; }
body.schluss-offen .nur-schluss { display: inline-flex !important; }
body.schluss-offen .schluss-leiste.nur-schluss { display: flex !important; }
body.schluss-offen .d-vorschau { position: fixed; inset: 0; z-index: 90; transform: none; grid-template-rows: auto 1fr auto; }
body.schluss-offen #vorschauZu { display: none; }
.schluss-leiste { align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 2rem; padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom, 0px)); background: var(--karte); border-top: 1px solid var(--linie); box-shadow: 0 -18px 40px -24px rgba(42, 42, 46, .5); }
.schluss-leiste > div { display: grid; gap: .15rem; }
.schluss-leiste strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.schluss-leiste small { font-size: .88rem; color: var(--tinte-2); }
.schluss-leiste small b { color: var(--tinte); }
.knopf.gross { font-size: 1.05rem; padding: 1.1rem 2rem; }
@media (max-width: 900px) {
  .schluss-leiste { gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); }
  .schluss-leiste strong { font-size: 1.2rem; }
  .schluss-leiste small { font-size: .78rem; }
  .schluss-leiste .knopf.gross { width: 100%; justify-content: center; font-size: .95rem; padding: .9rem 1.2rem; }
  .sv-text strong { font-size: 1.3rem; }
}

.dc-palette { display: flex; flex-wrap: wrap; gap: .5rem; }
.dc-farbe { display: grid; justify-items: center; gap: .25rem; width: 56px; font: 500 .68rem var(--f-ui); color: var(--tinte-2); background: none; border: 0; padding: 0; cursor: pointer; }
.dc-farbe i { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.dc-farbe[data-status="ja"] i { box-shadow: 0 0 0 3px var(--karte), 0 0 0 5px #5C8A52; }
.dc-farbe[data-status="ja"] i::after { content: "✓"; position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; background: #5C8A52; color: #fff; font-size: .72rem; display: grid; place-items: center; font-style: normal; }
.dc-farbe[data-status="nein"] i { box-shadow: 0 0 0 3px var(--karte), 0 0 0 5px #A0574B; }
.dc-farbe[data-status="nein"] i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 3px; background: #A0574B; transform: translate(-50%, -50%) rotate(-45deg); border-radius: 2px; }
.dc-legende { display: flex; gap: 1rem; font-size: .78rem; color: var(--tinte-2); margin: 0 0 .8rem; flex-wrap: wrap; }
.dc-legende b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .3rem; }

/* Abschluss und Kasse */
.abschluss-rechnung { background: var(--papier); border-radius: 18px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; }
.kasse-zustimmung { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: .4rem 0 1rem; font-size: .88rem; line-height: 1.55; color: var(--tinte-2); cursor: pointer; }
.kasse-zustimmung input { margin: .25em 0 0; width: 1.1em; height: 1.1em; accent-color: var(--akzent-tief); }
.kasse-zustimmung a { color: var(--akzent-tief); text-underline-offset: 2px; }
.kasse-zustimmung[hidden] { display: none; }
/* Einwilligung in Erinnerungen und Angebote (Sven, 29.10.2026): kleiner als die Zustimmung zur Bestellung */
.werbe-ok { font-size: .84rem; margin: .2rem 0 .9rem; }
.werbe-ok small { display: block; font-size: .78rem; color: var(--tinte-3); margin-top: .15rem; }
#kontoWerbeSchalter { margin-top: .8rem; }
.kasse-status { min-height: 1.2em; margin: .7rem 0 0; font-size: .9rem; color: var(--tinte-2); }
#kasse .zahlarten { margin-top: .9rem; }
.zahlarten[hidden] { display: none; }
#kasse > div:not([hidden]) ~ div:not([hidden]) { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }

/* Bezahlte Profile (04.10.2026): kein Preis und kein Bezahlen mehr, nur noch „Änderungen veröffentlichen".
   body.bezahlt setzt designer.js, sobald das angemeldete Profil eine veröffentlichte Seite hat. */
body.bezahlt .nur-unbezahlt, body:not(.bezahlt) .nur-bezahlt { display: none !important; }
body.bezahlt .schluss-leiste.nur-unbezahlt, body:not(.bezahlt) .schluss-leiste.nur-bezahlt { display: none !important; }
.konto-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }

/* Persönlicher Link nach der Zahlung: groß und mit Knöpfen zum Teilen (04.10.2026) */
.link-karte { margin: 1.8rem 0; padding: clamp(1.5rem, 4.5vw, 2.4rem); border-radius: 28px; color: var(--tinte); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F0AC93, var(--akzent)); box-shadow: 0 30px 50px -28px rgba(42, 42, 46, .5); }
.link-karte[hidden] { display: none; }
.link-karte::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -120px; background: rgba(255, 255, 255, .18); pointer-events: none; }
.link-karte .lk-titel { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--tinte); margin: 0 0 .6rem; }
.link-karte .lk-link { display: block; position: relative; z-index: 1; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 5.2vw, 2.6rem); line-height: 1.15; color: #fff;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: break-word; margin: 0 0 1.3rem; }
.link-karte .lk-link:hover { text-decoration-thickness: 2px; }
.lk-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.link-karte .knopf.lk-kopieren { background: #fff; color: var(--tinte); border-color: #fff; }
.link-karte .knopf.lk-hell { background: transparent; color: var(--tinte); border-color: rgba(42, 42, 46, .45); }
.link-karte .knopf.lk-hell:hover { background: rgba(255, 255, 255, .35); }
.link-karte .lk-hinweis { position: relative; z-index: 1; margin: 1.2rem 0 0; font-size: .93rem; color: rgba(42, 42, 46, .82); }
.link-karte .lk-hinweis a { color: var(--tinte); }
/* Dashboard: unter den Zusagen der Abschnitt „Eure Seite" mit Link und „Design anpassen" */
.db-seite { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linie); }
.db-seite .link-karte { margin-top: 0; }
.db-seite .knopf.gross { width: 100%; justify-content: center; }
.db-klein { font-size: .9rem; color: var(--tinte-2); margin: .8rem 0 0; }
.danke-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }
/* Im schmaleren Designer etwas kleiner */
.link-karte-kompakt { margin: 0 0 1rem; padding: 1.4rem; border-radius: 22px; }
.link-karte-kompakt .lk-link { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 1rem; }
.konto-stand { font-size: .92rem; color: var(--tinte-2); background: var(--papier-2); border-radius: 12px; padding: .7rem .9rem; }
.text-knopf { font: inherit; font-size: .92rem; color: var(--akzent-tief); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Fußleiste der Spalte */
.d-fuss { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1.2rem; border-top: 1px solid var(--linie); background: var(--karte); }
/* Hinweis „Entwurf kostenlos speichern“ über der Fußleiste und der Dialog dazu (Sven, 25.10.2026) */
.merken { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; padding: .6rem 1.2rem; border: 0; border-top: 1px solid var(--linie); background: var(--butter); font: 500 .84rem var(--f-ui); color: var(--tinte-2); text-align: left; cursor: pointer; }
.merken[hidden] { display: none; }
.merken-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merken-los { flex: 0 0 auto; font-weight: 600; color: var(--akzent-tief); }
.merken:hover .merken-los { text-decoration: underline; text-underline-offset: 2px; }
.merken-dialog #kontoBereich > h3, .merken-dialog #kontoBereich > .hilfe { display: none; }
.merken-dialog .feld input { width: 100%; }
.merken-dialog.fertig > p:not(.ueber) { display: none; }
.merken-dialog #mdWeiter { width: 100%; justify-content: center; margin-top: 1rem; }
.merken-dialog form[method="dialog"]:not(.ad-zu-form) { margin: 0; }
.d-preis { display: grid; line-height: 1.15; }
.d-preis small { font-size: .72rem; color: var(--tinte-3); }
.d-preis b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; letter-spacing: -.02em; }
.d-fuss-knoepfe { display: flex; gap: .5rem; }

/* Vorschau rechts */
.d-vorschau { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; min-height: 0; background: var(--korn), var(--butter); background-blend-mode: soft-light; }
.d-leiste { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 1.2rem; flex-wrap: wrap; }
.d-url { font-size: .84rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 999px; padding: .4rem .95rem; color: var(--tinte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46%; }
.d-url b { color: var(--tinte); font-weight: 600; }
.d-werkzeug { display: flex; gap: .4rem; align-items: center; }
.umschalter { display: inline-flex; background: var(--karte); border: 1px solid var(--linie); border-radius: 999px; padding: 3px; }
.umschalter button { font: 600 .8rem var(--f-ui); border: 0; background: transparent; padding: .4rem .85rem; border-radius: 999px; cursor: pointer; color: var(--tinte-2); }
.umschalter button[aria-pressed="true"] { background: var(--akzent); color: var(--tinte); }
.d-rahmen { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 1.2rem 1.2rem; overflow: hidden; }
.geraet { position: relative; background: #fff; overflow: hidden; transform-origin: 50% 50%; box-shadow: 0 40px 70px -35px rgba(42, 42, 46, .6); }
.geraet.handy-modus { border-radius: 38px; border: 9px solid #17121A; }
.geraet.desktop-modus { border-radius: 14px; border: 1px solid var(--linie); }
.geraet iframe { border: 0; display: block; transform-origin: 0 0; background: #fff; }
.nur-mobil { display: none; }

/* ==========================================================================
   Kleinere Bildschirme
   ========================================================================== */
@media (max-width: 1000px) {
  .buehne-raster, .module-raster, .dash-raster, .preis-raster { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; }
  .schritt:nth-child(n) { transform: none; }
  .schritte-ende { margin-top: 2.5rem; }
  .designs { grid-template-columns: 1fr 1fr; }
  .design-live { opacity: 1; transform: none; }
  .modul-block.inklusive { position: static; }
  .kopf nav a:not(.knopf) { display: none; }
}
@media (max-width: 900px) {
  .d-flaeche { grid-template-columns: minmax(0, 1fr); }
  .d-spalte { border-right: 0; }
  .d-vorschau { position: fixed; inset: 0; z-index: 60; transform: translateY(102%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
  body.vorschau-offen .d-vorschau { transform: none; }
  .d-rahmen { padding: 0; }
  .geraet.handy-modus { border: 0; border-radius: 0; box-shadow: none; }
  .d-werkzeug .umschalter { display: none; }
  .nur-mobil { display: inline-flex; }
  .d-url { max-width: 60%; }
  .d-kopf-rechts .d-gespeichert, .d-kopf-rechts .kopf-sichern { display: none; }
}
@media (max-width: 640px) {
  .d-preis small { display: none; }
  .d-preis b { font-size: 1.35rem; white-space: nowrap; }
  .d-fuss { padding: .7rem .8rem; gap: .5rem; }
  .merken { padding: .55rem .8rem; font-size: .8rem; }
  .d-fuss .knopf.klein { padding: .7rem .85rem; }
  .schritte, .designs { grid-template-columns: 1fr; }
  .feld-reihe { grid-template-columns: 1fr; }
  .dash { transform: none; }
  .d-fuss .knopf { padding: .8rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 700px) {
  /* Am Handy steht die Personenauswahl neben der Marke, die Filterleiste rollt normal mit.
     Zwei übereinander klebende Leisten würden sonst den halben Bildschirm belegen. */
  .ideenwand .kopf .wrap { gap: .6rem; padding-block: .55rem; }
  .ideenwand .kopf .marke { width: 7.2rem; flex: 0 0 auto; }
  .iw-wer > span { display: none; }
  .iw-wer .umschalter button { padding: .45rem .8rem; font-size: .82rem; }
  .iw-leiste { position: static; padding: 0 0 .4rem; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .iw-hinweis { position: static; }
  .iw-wertung button { padding: .8rem .3rem; font-size: .82rem; }
  .iw-filter { gap: .3rem; }
  .iw-filter button { padding: .45rem .7rem; font-size: .8rem; }
}
/* Solange niemand gewählt ist, sind die Bewertungsknöpfe sichtbar gesperrt */
.ideenwand:not(.wer-gewaehlt) .iw-wertung button { opacity: .45; }
.iw-hinweis { position: sticky; top: 4.2rem; z-index: 25; margin: 0 0 1rem; padding: .8rem 1.1rem; border-radius: 14px;
  background: var(--butter); color: var(--tinte); font-size: .92rem; font-weight: 500; }
.ideenwand.wer-gewaehlt .iw-hinweis { display: none; }

/* ==========================================================================
   Ideenwand (intern): Design-Ideen vergleichen und bewerten
   ========================================================================== */
.iw-haupt { padding: clamp(2rem, 5vw, 4rem) 0 5rem; }
.iw-haupt h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.iw-einleitung { max-width: 68ch; color: var(--tinte-2); margin: 1rem 0 2rem; }
.iw-wer { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--tinte-2); }
.iw-wer.wackeln { animation: wackeln .5s ease; }
@keyframes wackeln { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.iw-leiste { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; position: sticky; top: 4.2rem; z-index: 20; padding: .7rem 0; background: color-mix(in srgb, var(--papier) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.iw-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.iw-filter button { font: 500 .85rem var(--f-ui); padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--karte); color: var(--tinte-2); cursor: pointer; }
.iw-filter button b { font-weight: 600; opacity: .6; margin-left: .2rem; }
.iw-filter button[aria-pressed="true"] { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }
.iw-stand { font-size: .88rem; color: var(--tinte-3); margin: .6rem 0 1.6rem; }
.iw-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 1.6rem; }
body.iw-handy .iw-raster { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.iw-karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, opacity .2s ease; }
.iw-karte[hidden] { display: none; }
.iw-karte[data-status="fav"] { box-shadow: 0 0 0 3px var(--akzent-tief); }
.iw-karte[data-status="raus"] { opacity: .55; }
.iw-fenster { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--linie); }
body.iw-handy .iw-fenster { aspect-ratio: 390 / 700; }
.iw-fenster iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.iw-vorlage { position: absolute; right: .7rem; bottom: .7rem; width: 74px; border-radius: 10px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.iw-vorlage:hover { transform: scale(1.06); }
.iw-vorlage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.iw-marke { position: absolute; left: .7rem; top: .7rem; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: var(--tinte); padding: .25rem .6rem; border-radius: 999px; }
.iw-info { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.iw-info h2 { font-size: 2rem; }
.iw-stil { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--akzent-tief); margin: 0; }
.iw-text { font-size: .93rem; color: var(--tinte-2); margin: 0; flex: 1; }
.iw-farben { display: flex; gap: .5rem; margin: .2rem 0; }
.iw-schema { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--linie); background: var(--papier); cursor: pointer; }
.iw-schema i { width: 16px; height: 16px; border-radius: 50%; margin-left: -5px; border: 1.5px solid var(--papier); }
.iw-schema i:first-child { margin-left: 0; }
.iw-wertung { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .3rem; }
.iw-wertung button { font: 600 .85rem var(--f-ui); padding: .7rem .4rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte); cursor: pointer; transition: all .15s ease; }
.iw-wertung button[data-wert="fav"][aria-pressed="true"] { background: var(--akzent-tief); border-color: var(--akzent-tief); color: #fff; }
.iw-wertung button[data-wert="vielleicht"][aria-pressed="true"] { background: var(--butter); border-color: var(--gold); }
.iw-wertung button[data-wert="raus"][aria-pressed="true"] { background: #A0574B; border-color: #A0574B; color: #fff; }
.iw-stimmen { display: flex; gap: .4rem; flex-wrap: wrap; font-size: .76rem; margin: 0; }
.iw-stimmen span { padding: .15rem .55rem; border-radius: 999px; background: var(--papier-2); color: var(--tinte-2); }
.iw-stimmen .fav { background: var(--salbei); color: var(--tinte); } .iw-stimmen .vielleicht { background: var(--butter); color: var(--tinte); } .iw-stimmen .raus { background: #EBD3CE; color: #7A3B31; }
.iw-notiz { font: inherit; font-size: .9rem; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--linie); background: var(--papier); color: var(--tinte); width: 100%; }
.iw-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .84rem; margin: .2rem 0 0; }
.iw-links a { color: var(--akzent-tief); text-underline-offset: 3px; }

/* Startseite: Hinweis auf Save the Date (04.10.2026) */
.std-teaser { padding-block: clamp(3rem, 6vw, 5rem); }
.std-karte { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 32px; padding: clamp(1.6rem, 4.5vw, 3rem); box-shadow: var(--schatten); }
.std-karte h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.std-karte p { color: var(--tinte-2); max-width: 56ch; }
.std-karte .knopf { margin-top: .6rem; }
.std-muster { justify-self: center; width: min(100%, 300px); aspect-ratio: .72; display: grid; align-content: center; justify-items: center; gap: .5rem; text-align: center;
  padding: 1.5rem; background: var(--papier); border-radius: 6px; box-shadow: 0 22px 40px -24px rgba(42, 42, 46, .55), inset 0 0 0 1px var(--linie); transform: rotate(2.5deg); position: relative; }
.std-muster::before { content: ""; position: absolute; inset: 7%; border: 1px solid color-mix(in srgb, var(--akzent) 60%, transparent); pointer-events: none; }
.std-m-ueber { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--akzent-tief); margin: 0; }
.std-m-namen { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.05; color: var(--tinte); margin: .4rem 0; }
.std-m-namen em { color: var(--akzent-tief); }
.std-m-datum { font-family: var(--f-display); font-size: 1.25rem; color: var(--tinte); margin: 0; }
.std-m-folgt { font-size: .78rem; color: var(--tinte-2); margin: .8rem 0 0; font-style: italic; }
@media (max-width: 760px) { .std-karte { grid-template-columns: 1fr; } .std-muster { width: min(80%, 260px); } }

/* Dashboard (04.10.2026): auf einen Blick die Zahlen, dann die Gästeliste mit Filter und Löschen,
   danach Menü und Allergien fürs Restaurant, Nachrichten und ganz unten die eigene Seite */
.db-status { margin: 0 0 1.2rem; font-size: .95rem; color: var(--tinte-2); }
.db-status b { color: var(--tinte); }
.db-kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2rem; }
.db-kachel { background: var(--karte); border: 1px solid var(--linie); border-radius: 20px; padding: 1.1rem 1.2rem; display: grid; gap: .2rem; }
.db-kachel b { font-family: var(--f-display); font-weight: 500; font-size: 2.6rem; line-height: 1; }
.db-kachel span { font-size: .85rem; color: var(--tinte-2); }
.db-kachel.haupt { background: var(--akzent); border-color: var(--akzent); color: var(--tinte); }
.db-kachel.haupt span { color: rgba(42, 42, 46, .8); }
.db-leer { color: var(--tinte-2); font-style: italic; }
.db-block { margin-top: 2.4rem; }
.db-block h2 { margin: 0; }
.db-block-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.db-block h3 { font-family: var(--f-ui); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-2); margin: 0 0 .6rem; }
.db-tabelle { border: 1px solid var(--linie); border-radius: 18px; background: var(--karte); overflow: hidden; }
.db-zeile { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr) 2.4rem; gap: .8rem; align-items: center; padding: .75rem 1.1rem; border-top: 1px solid var(--linie); font-size: .95rem; }
#dbGaeste .db-zeile:first-child { border-top: 0; }
.db-kopfzeile { border-top: 0; border-bottom: 1px solid var(--linie); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--tinte-3); background: var(--papier); }
.db-name { font-weight: 600; }
.db-zeile i { color: var(--tinte-3); font-style: normal; }
.db-badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; }
.db-badge.ja { background: #E2EEDA; color: #3F6B35; }   /* Grün als eindeutiges Ja, unabhängig von der Markenfarbe */
.db-badge.nein { background: #F2E1DD; color: #8E4637; }
.db-weg { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--linie); background: transparent; color: var(--tinte-3); font-size: 1.15rem; line-height: 1; cursor: pointer; justify-self: end; }
.db-weg:hover, .db-weg:focus-visible { background: #F2E1DD; color: #8E4637; border-color: #E4C3BB; }
.db-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 1.3rem 1.4rem; }
.db-nachrichten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.db-nachricht { margin: 0; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 1.1rem 1.2rem; }
.db-nachricht blockquote { margin: 0 0 .6rem; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.35; }
.db-nachricht figcaption { font-size: .82rem; color: var(--tinte-2); }
.knopf-loeschen { color: #8E4637; border-color: #E4C3BB; }
.knopf-loeschen:hover { background: #8E4637; color: #fff; border-color: #8E4637; }
@media (max-width: 760px) {
  .db-kacheln { grid-template-columns: 1fr 1fr; }
  .db-kopfzeile { display: none; }
  .db-zeile { grid-template-columns: minmax(0, 1fr) auto 2.4rem; grid-template-areas: "name status weg" "essen essen essen" "allergie allergie allergie"; row-gap: .3rem; }
  .db-zeile > :nth-child(1) { grid-area: name; } .db-zeile > :nth-child(2) { grid-area: status; }
  .db-zeile > :nth-child(3) { grid-area: essen; } .db-zeile > :nth-child(4) { grid-area: allergie; } .db-zeile > :nth-child(5) { grid-area: weg; }
  .db-zeile [data-titel]::before { content: attr(data-titel) ": "; color: var(--tinte-3); font-size: .85rem; }
  .db-zwei { grid-template-columns: 1fr; }
}

/* Interne Auswertung (admin.html) */
.ad-zeile { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, .6fr)) minmax(0, 1fr) minmax(0, 1.1fr); }
.ad-balken { display: block; height: 5px; border-radius: 999px; background: var(--papier-2); margin-top: .35rem; overflow: hidden; }
.ad-balken i { display: block; height: 100%; background: var(--akzent); border-radius: 999px; }
.ad-reihe { display: grid; gap: .4rem; counter-reset: none; }
.ad-eintrag { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 2.2rem 2.2rem auto; align-items: center; gap: .5rem; padding: .5rem .8rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; }
.ad-eintrag.ist-aus { opacity: .55; }
.ad-nr { font-family: var(--f-display); font-size: 1.3rem; color: var(--tinte-3); }
.ad-name { font-weight: 600; text-decoration: none; }
.ad-name:hover { text-decoration: underline; }
.ad-pfeil { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--linie); background: var(--papier); cursor: pointer; font-size: 1rem; }
.ad-pfeil[disabled] { opacity: .3; cursor: default; }
@media (max-width: 760px) {
  .ad-zeile { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .ad-zeile > :first-child { grid-column: 1 / -1; }
  .ad-zeile > * { grid-area: auto !important; }
}
.ad-eintrag .schalter { grid-column: auto; grid-row: auto; }
#adSummen { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { #adSummen { grid-template-columns: 1fr 1fr; } }

/* Designer: Felder, die noch den Beispieltext enthalten (designer.js markiert sie) */
.designer .ist-beispiel { color: var(--tinte-3) !important; }
.designer .ist-beispiel:focus { color: var(--tinte) !important; }
.beispiel-hinweis { color: var(--tinte-3); }

/* Designer: Feld leeren (ein × wandert mit dem aktiven Textfeld) und Weiter-Knopf am Ende offener Bausteine */
.d-inhalt { position: relative; }
.feld-leeren { position: absolute; z-index: 30; width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--papier-2); color: var(--tinte); font: 600 1.05rem/28px var(--f-ui); text-align: center; box-shadow: 0 2px 6px -2px rgba(42, 42, 46, .35); }
.feld-leeren:hover, .feld-leeren:focus-visible { background: var(--akzent); }
.feld-leeren[hidden] { display: none; }
.modul .modul-oeffner.unten { display: flex; width: calc(100% - 2.1rem); margin: 0 1.05rem 1.05rem; }
.modul.offen .modul-oeffner.unten { background: var(--akzent); border-color: var(--akzent); color: var(--tinte); }
.link-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
.link-tipp { font-size: .74rem; line-height: 1.4; color: var(--tinte-2); }
/* Menüwahl: ein Feld je Gericht */
.gerichte { display: grid; gap: .45rem; margin-bottom: .6rem; }
.gericht { display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem; gap: .4rem; align-items: center; }
.gericht-weg { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--linie); background: var(--karte); color: var(--tinte-2); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.gericht-weg:hover, .gericht-weg:focus-visible { background: var(--papier-2); color: var(--tinte); }

/* Dashboard: Save the Date oder komplette Einladung umschalten */
.db-startart { margin: 0 0 2rem; padding: clamp(1.2rem, 3vw, 1.6rem); background: var(--karte); border: 1px solid var(--linie); border-radius: 22px; }
.db-startart h2 { margin: 0 0 1rem; }
.db-startwahl { grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
.db-startart .knopf.gross { width: 100%; justify-content: center; }
.db-startart .knopf[disabled] { opacity: .6; }
.db-startart .db-klein { margin: .7rem 0 0; }
.db-online { display: inline-block; vertical-align: middle; margin-left: .4rem; font: 600 .66rem var(--f-ui); letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: #E2EEDA; color: #3F6B35; }
.db-online[hidden] { display: none; }
@media (max-width: 640px) { .db-startwahl { grid-template-columns: 1fr; } }

/* Kasse: Gutscheincode */
.gutschein { margin: 0 0 1.2rem; }
.gutschein .label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .35rem; }
.gutschein-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; }
.gutschein-zeile input { font: inherit; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; width: 100%; padding: .72rem .85rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte); }
.gutschein-ok { color: #3F6B35; font-weight: 600; }
/* Admin: Gutscheincodes */
.ad-gutschein-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; align-items: end; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 1.2rem 1.2rem .4rem; }
.ad-gutschein-form input[type="number"], .ad-gutschein-form input[type="date"], .ad-gutschein-form input[type="text"] { font: inherit; font-size: 1rem; width: 100%; padding: .65rem .8rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte); }
.ad-prozente { display: flex; gap: .3rem; margin-bottom: .4rem; }
.ad-prozente button { font: 600 .78rem var(--f-ui); padding: .35rem .6rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--papier); cursor: pointer; }
.ad-prozente button:hover { background: var(--papier-2); }
.ad-gs-knopf .knopf { width: 100%; justify-content: center; }
.ad-gs-zeile { grid-template-columns: minmax(0, 1.3fr) .6fr .8fr .9fr minmax(0, 1.6fr) .9fr; }
.ad-gs-zeile.ist-aus { opacity: .55; }
.ad-code { font: 600 .95rem var(--f-ui); letter-spacing: .05em; padding: .2rem .55rem; border-radius: 8px; border: 1px dashed var(--akzent-tief); background: var(--papier); color: var(--tinte); cursor: pointer; }
@media (max-width: 760px) {
  .ad-gutschein-form { grid-template-columns: 1fr; }
  .ad-gs-zeile { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .ad-gs-zeile > * { grid-area: auto !important; }
  .ad-gs-zeile > :first-child { grid-column: 1 / -1; }
}
#gsCode { text-transform: uppercase; }
.ad-gs-website { grid-column: 1 / -1; margin: 0; }
/* Admin: Profile ohne Veröffentlichung (29.10.2026) */
.db-badge.offen { background: var(--butter); color: var(--tinte-2); }
.ad-profile { display: grid; gap: .8rem; }
.ad-profil { border: 1px solid var(--linie); border-radius: 18px; background: var(--karte); padding: 1rem 1.2rem; }
.ad-profil p { margin: 0 0 .4rem; }
.ad-pr-kopf b { word-break: break-all; margin-right: .3rem; }
.ad-pr-entwurf { font-size: .95rem; }
.ad-pr-gesendet { margin: .2rem 0 .6rem; padding-left: 1.2rem; }
.ad-pr-form { margin-top: .8rem; display: grid; gap: .2rem; }
.ad-pr-form[hidden] { display: none; }
.ad-pr-form input, .ad-pr-form textarea { font: inherit; font-size: .92rem; width: 100%; padding: .7rem .85rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); box-sizing: border-box; }
.ad-pr-zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 10rem)); gap: .8rem; }
#gsCode::placeholder { text-transform: none; }
/* Admin: Sprungleiste und Bestellungen */
.ad-sprung { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; }
.ad-sprung a { font: 600 .82rem var(--f-ui); text-decoration: none; color: var(--tinte); padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--karte); }
.ad-sprung a:hover { background: var(--papier-2); }
.db-block[id] { scroll-margin-top: 90px; }
.ad-bs-zeile { grid-template-columns: .9fr minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1fr) .8fr minmax(0, 1.2fr); }
.ad-bs-zeile a { color: var(--akzent-tief); word-break: break-all; }
.ad-unter { display: block; font-size: .8rem; color: var(--tinte-3); word-break: break-all; }
@media (max-width: 760px) {
  .ad-bs-zeile { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "paar betrag" "wann status" "design seite"; row-gap: .35rem; }
  .ad-bs-zeile > :nth-child(1) { grid-area: wann; font-size: .85rem; color: var(--tinte-2); }
  .ad-bs-zeile > :nth-child(2) { grid-area: paar; }
  .ad-bs-zeile > :nth-child(3) { grid-area: design; }
  .ad-bs-zeile > :nth-child(4) { grid-area: betrag; text-align: right; }
  .ad-bs-zeile > :nth-child(5) { grid-area: status; justify-self: end; }
  .ad-bs-zeile > :nth-child(6) { grid-area: seite; justify-self: end; text-align: right; font-size: .85rem; }
  .ad-bs-zeile .ad-unter { display: inline; }
  .ad-bs-zeile > :nth-child(2) .ad-unter, .ad-bs-zeile > :nth-child(4) .ad-unter { display: block; }
  .ad-bs-zeile > :nth-child(3) .ad-unter::before { content: " · "; }
}
#adMails .db-nachricht { min-width: 0; overflow-wrap: anywhere; }   /* lange Links in Mails sprengen sonst am Handy die Breite */
.ad-fehler { margin: 0 0 .5rem; font-size: .88rem; color: #8E4637; overflow-wrap: anywhere; }
#mails .db-badge:not(.ja):not(.nein) { background: var(--papier-2); color: var(--tinte-2); }
/* Widerruf und Kündigung (§§ 356a, 312k BGB): im Footer jeder Seite */
/* seit 07.10.2026 zurückhaltend als Textlinks wie Impressum und Datenschutz (Sven), weiter auf jeder Seite und mit dem vorgeschriebenen Wortlaut */
.fuss-vertrag { flex-wrap: wrap; row-gap: .4rem; }
.vt .wrap { max-width: 680px; }
.vt-art { margin: 0 0 1.6rem; }
.vt-gruppe { border: 1px solid var(--linie); border-radius: 18px; background: var(--karte); padding: 1rem 1.2rem .3rem; margin: 0 0 1rem; }
.vt-gruppe legend { font: 600 .78rem var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--tinte-2); padding: 0 .4rem; }
.vt-gruppe textarea, .vt-gruppe input[type="date"], .vt-gruppe input[type="text"] { font: inherit; font-size: 1rem; width: 100%; min-width: 0; padding: .72rem .85rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); color: var(--tinte); }
.vt-gruppe textarea:focus-visible, .vt-gruppe input:focus-visible { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 30%, transparent); }
.vt-wahl { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; padding: .7rem .2rem; cursor: pointer; }
.vt-wahl input { margin-top: .3rem; accent-color: var(--akzent-tief); }
.vt-wahl small { display: block; color: var(--tinte-2); font-size: .85rem; }
.vt .knopf.gross { width: 100%; justify-content: center; margin-top: .6rem; }
.vt-eingang { font-weight: 600; }
.vt-inhalt { background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 1rem 1.2rem 1rem 2.2rem; line-height: 1.7; overflow-wrap: anywhere; }
.db-vertrag { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.db-vertrag-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media print {
  .kopf, .fuss, .vt-nicht-drucken { display: none !important; }
  .textseite { padding: 0; }
}
.ad-vt { margin-bottom: .8rem; }
.ad-vt.ist-aus { opacity: .6; }
.ad-vt p { margin: .5rem 0 0; }
.ad-sprung a.ad-hinweis { background: #F2E1DD; border-color: #8E4637; color: #8E4637; }
.vt-art[hidden] { display: none; }
/* Laufzeit verlängern im Dashboard (07.10.2026) */
.db-verlaengern { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.db-verl-wahl { margin: 1rem 0 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.db-verl-wahl small { color: var(--tinte-2); }
.db-verlaengern .knopf { width: 100%; justify-content: center; }

/* Baustein „Weitere Sprachen“ im Designer (Sven, 11.10.2026) */
.sp-wahl { margin: 1rem 0 0; }
.sp-wahl label small { color: var(--akzent-tief); font-weight: 500; }
.sp-wahl select { width: 100%; }
.sp-preisplakette { font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: .12rem .5rem; border-radius: 99px; background: var(--butter); color: var(--akzent-tief); }
.sp-preis { margin: .8rem 0 0; }
.sp-beispiel { overflow-wrap: anywhere; font-weight: 500; }
.sp-karte { margin-top: .9rem; padding: .9rem 1rem 1rem; border: 1px solid var(--linie); border-radius: 14px; background: var(--karte); }
.sp-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem .8rem; }
.sp-stand { font-size: .8rem; color: var(--tinte-3); }
.sp-stand.ok { color: #3D7A4F; }
.sp-knoepfe { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.sp-status { margin: .5rem 0 0; font-size: .85rem; color: var(--tinte-2); }
.sp-status:empty { display: none; }
.sp-texte { margin-top: .9rem; border-top: 1px solid var(--linie); padding-top: .8rem; }
.sp-feld label small { color: var(--akzent-tief); font-weight: 500; }
.sp-original { margin: .1rem 0 .35rem; font-size: .82rem; line-height: 1.45; color: var(--tinte-3); white-space: pre-line; }
.sp-feld.veraltet textarea { border-color: var(--akzent-tief); }

/* Dashboard: Eure Sprachen (11.10.2026) */
.db-sprachen { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.db-sprachlinks { display: grid; gap: .8rem; margin: .9rem 0 1.2rem; }
.db-sprachlink { padding: .9rem 1rem 1rem; border: 1px solid var(--linie); border-radius: 14px; background: var(--karte); }
.db-sprachlink p { margin: 0 0 .3rem; }
.db-sprachlink .lk-link { display: block; overflow-wrap: anywhere; font-size: .95rem; }
.db-sprachlink .lk-knoepfe { margin-top: .6rem; }
#spKaufen .knopf { width: 100%; justify-content: center; }


/* QR-Code und Einladungskarte im Dashboard (Sven, 15.10.2026) */
.db-karte[hidden] { display: none; }
.qr-feld { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin: 1.2rem 0 .9rem; }
.qr-bild { flex: none; width: 172px; height: 172px; padding: 12px; background: #FFF; border-radius: 20px;
  box-shadow: 0 14px 30px -20px rgba(42, 42, 46, .55); }
.qr-bild svg { display: block; width: 100%; height: 100%; }
.qr-knoepfe { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }

/* Admin: Besucherzählung (Sven, 23.10.2026) */
.ad-be-wahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.ad-be-diagramm { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: clamp(2px, .6vw, 8px); align-items: end; height: 220px;
  padding: 1rem 1rem .4rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; }
.ad-be-saeule { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; min-width: 0; }
.ad-be-zahl { font-size: .78rem; font-weight: 600; text-align: center; color: var(--tinte-2); line-height: 1.6; }
.ad-be-stapel { display: flex; flex-direction: column; min-height: 2px; border-radius: 6px 6px 2px 2px; overflow: hidden; background: var(--papier-2); }
.ad-be-stapel i { display: block; min-height: 0; }
.ad-be-stapel i.ig, .ad-be-legende i.ig { background: var(--akzent-tief); }
.ad-be-stapel i.rest, .ad-be-legende i.rest { background: var(--akzent); }
.ad-be-tag { font-size: .7rem; color: var(--tinte-3); text-align: center; white-space: nowrap; overflow: visible; line-height: 1.8; height: 1.3rem; }
.ad-be-legende { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; font-size: .82rem; color: var(--tinte-2); margin: .5rem 0 0; }
.ad-be-legende i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: -.6rem; vertical-align: -1px; }
.ad-be-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.6rem; margin-top: 2rem; }
.ad-be-stufe { display: grid; grid-template-columns: minmax(0, 1fr) auto 3rem; align-items: baseline; column-gap: .7rem; padding: .35rem 0; font-size: .93rem; }
.ad-be-stufe b { font-weight: 600; text-align: right; }
.ad-be-stufe small { color: var(--tinte-3); text-align: right; }
.ad-be-stufe .ad-balken { grid-column: 1 / -1; margin-top: .25rem; }
.ad-be-stufe.unter > span:first-child { padding-left: 1rem; color: var(--tinte-2); }
.ad-be-q-zeile { grid-template-columns: minmax(0, 1.8fr) repeat(5, minmax(0, .6fr)); }
.ad-be-v-zeile { grid-template-columns: .8fr minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.3fr); }
.ad-be-v-zeile.heiss { background: color-mix(in srgb, var(--butter) 55%, transparent); }
.ad-be-weit { display: flex; flex-wrap: wrap; gap: .3rem; }
.ad-be-weit .db-badge:not(.ja):not(.nein) { background: var(--papier-2); }
.ad-be-r-zeile { grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, .7fr)); }
.ad-be-rueckblick { margin-top: 2rem; }
.ad-be-rueckblick summary { cursor: pointer; font-weight: 600; margin-bottom: .6rem; }
#beGeraete code { font-size: .85em; background: var(--butter); padding: .05em .35em; border-radius: 5px; }
@media (max-width: 760px) {
  .ad-be-zwei { grid-template-columns: minmax(0, 1fr); }
  .ad-be-diagramm { height: 180px; padding: .8rem .6rem .3rem; }
  .ad-be-zahl { font-size: .66rem; }
  .ad-be-wt { display: none; }
  .ad-be-q-zeile, .ad-be-r-zeile { grid-template-columns: 1fr 1fr; grid-template-areas: none; }
  .ad-be-q-zeile > *, .ad-be-r-zeile > * { grid-area: auto !important; }
  .ad-be-q-zeile > :first-child, .ad-be-r-zeile > :first-child { grid-column: 1 / -1; }
  .ad-be-v-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "wann woher" "was was" "weit weit"; row-gap: .35rem; }
  .ad-be-v-zeile > :nth-child(1) { grid-area: wann; } .ad-be-v-zeile > :nth-child(2) { grid-area: woher; }
  .ad-be-v-zeile > :nth-child(3) { grid-area: was; } .ad-be-v-zeile > :nth-child(4) { grid-area: weit; }
}

/* Öffentliche Gutschein-Aktion aus der Verwaltung (js/aktion.js, Sven 29.10.2026): Leiste über dem Kopf der Startseite,
   Hinweise beim Preis und im Designer. Der Code wird nur genannt, eingeben müssen ihn die Paare selbst. */
.aktion-leiste { background: var(--tinte); color: var(--papier); text-align: center; font-size: .88rem; line-height: 1.45; padding: .55rem 16px; }
.aktion-leiste[hidden], .aktion-hinweis[hidden] { display: none; }
.aktion-leiste .aktion-code { letter-spacing: .08em; border: 1px dashed currentColor; border-radius: 6px; padding: 0 .4rem; white-space: nowrap; }
.aktion-kopieren { font: inherit; font-size: .84em; font-weight: 600; background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0 0 0 .35rem; white-space: nowrap; }
.aktion-hinweis { font-size: .9rem; line-height: 1.5; color: var(--tinte); background: var(--butter); border: 1px dashed var(--akzent-tief); border-radius: 14px; padding: .75rem 1rem; margin: 1rem 0; }
.aktion-hinweis .aktion-code { letter-spacing: .06em; color: var(--akzent-tief); white-space: nowrap; }
#preis .aktion-hinweis { max-width: 46rem; margin: 1.6rem auto 0; text-align: center; }
.gutschein .aktion-hinweis { margin: 0 0 .9rem; }

/* Verwaltung: Bereiche auf- und zuklappen (Sven, 29.10.2026), nur auf admin.html (body.ad-seite) */
.ad-seite .db-block { margin-top: 0; padding: 1.3rem 0; border-top: 1px solid var(--linie); }
.ad-seite #adSummen + .db-block { margin-top: 1.4rem; }
.ad-klapp { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; line-height: inherit; background: none; border: 0; padding: .2rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .7rem; text-align: left; }
.ad-klapp::before { content: ""; flex: none; width: .42em; height: .42em; border-right: 2px solid var(--akzent-tief); border-bottom: 2px solid var(--akzent-tief); transform: translateY(-.12em) rotate(45deg); transition: transform .2s; }
.ad-klapp:hover { color: var(--akzent-tief); }
.ist-zu .ad-klapp::before { transform: rotate(-45deg); }
/* Zu: nur die erste Zeile bleibt (Überschrift oder Kopf), im Kopf nur die Überschrift ohne Umschalter */
.db-block.ist-zu > :not(:first-child), .db-block.ist-zu > .db-block-kopf:first-child > :not(h2) { display: none !important; }
.db-block.ist-zu > .db-block-kopf:first-child { margin-bottom: 0; }
.ad-alle { display: inline-flex; gap: 1rem; margin-left: auto; align-items: center; font-size: .82rem; }

