/* Gestaltung nach den beiden Werbeplakaten.
   Drei Farbwelten, umgeschaltet über <html data-farbwelt="…"> (siehe farbwelt.js):
     gelb  – Papaya-Plakat: Creme, Ocker, Orange
     lila  – Donut-Plakat: Flieder, Violett
     misch – beides: Verlauf von Creme nach Flieder, Ocker und Violett als Paar
   Die hellen Plakatfarben (Ocker, Violett) tragen nur große Schrift und Flächen.
   Für kleinen Text und Knöpfe gibt es je eine dunklere Stufe – sonst wäre es schwer lesbar. */

:root, [data-farbwelt="misch"] {
  --grund: linear-gradient(160deg, #fbead3 0%, #f3ddd4 45%, #dcc9da 100%);
  --grund-farbe: #f1dcd5;
  --titel: linear-gradient(100deg, #d99a3e 5%, #b9793f 40%, #7a5bab 95%);
  --titel-farbe: #7a5bab;
  --kreis: linear-gradient(135deg, #f0a94a, #7a5bab);
  --akzent: #7a5bab;
  --akzent-text: #5a3d8c;
  --knopf: #6a4a9c;
  --zweit: #b9741c;
  --flaeche: rgba(255, 255, 255, .78);
  --linie: rgba(90, 61, 140, .22);
}
[data-farbwelt="gelb"] {
  --grund: #fbead3;
  --grund-farbe: #fbead3;
  --titel: none;
  --titel-farbe: #d99a3e;
  --kreis: #f9b95c;
  --akzent: #d99a3e;
  --akzent-text: #8a5510;
  --knopf: #a5620d;
  --zweit: #e2733d;
  --flaeche: rgba(255, 255, 255, .8);
  --linie: rgba(138, 85, 16, .25);
}
[data-farbwelt="lila"] {
  --grund: #dcc9da;
  --grund-farbe: #dcc9da;
  --titel: none;
  --titel-farbe: #7a5bab;
  --kreis: #7a5bab;
  --akzent: #7a5bab;
  --akzent-text: #4e3580;
  --knopf: #6a4a9c;
  --zweit: #b98a3c;
  --flaeche: rgba(255, 255, 255, .8);
  --linie: rgba(78, 53, 128, .25);
}

* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; min-height: 100vh; position: relative; overflow-x: hidden;
  font-family: "Jost", "Futura", "Century Gothic", sans-serif; line-height: 1.55;
  color: #2e1f1a; background: var(--grund-farbe); background-image: var(--grund); background-attachment: fixed;
}
main { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem 3rem; position: relative; }
a { color: var(--akzent-text); text-underline-offset: .18em; }
h1, h2, h3 { font-family: "Rammetto One", "Jost", sans-serif; font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); color: var(--akzent-text); margin-bottom: 1rem; text-transform: uppercase; }
h3 { font-size: 1.05rem; color: var(--akzent-text); }
p { margin: 0 0 .9rem; }
:focus-visible { outline: 3px solid var(--akzent-text); outline-offset: 3px; border-radius: 4px; }
.nur-js { display: none; }
.js .nur-js { display: inline; }

/* die weiße Schwunglinie der Plakate */
.schwung { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 110rem; pointer-events: none; }
.schwung path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: .85; vector-effect: non-scaling-stroke; }
.probe { position: relative; margin: 0; padding: .35rem 1rem; text-align: center; font-size: .85rem; background: #2e1f1a; color: #fff; }

/* ------------------------------------------------------------ Kopf */
.kopf { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: 2.5rem 0 3rem; }
.art { font-family: "Rammetto One", sans-serif; color: var(--titel-farbe); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 1.2rem; }
.haupttitel {
  font-size: clamp(3.1rem, 11.5vw, 7.2rem); text-transform: uppercase; line-height: .92; letter-spacing: -.01em;
  color: var(--titel-farbe); overflow-wrap: normal;
}
[data-farbwelt="misch"] .haupttitel, :root:not([data-farbwelt]) .haupttitel {
  background-image: var(--titel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.haupttitel span { display: block; }
.untertitel { font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-weight: 600; margin: 1.2rem 0 1.4rem; }
.eckdaten { list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: 1.08rem; }
.eckdaten li { padding: .12rem 0; }
.eckdaten strong { font-weight: 700; }

.knopf {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 700;
  font-size: 1.1rem; padding: .85rem 2rem; border-radius: 999px; color: #fff; background: var(--knopf);
  box-shadow: 0 6px 0 rgba(46, 31, 26, .18); transition: transform .12s, box-shadow .12s;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(46, 31, 26, .18); }
.knopf:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(46, 31, 26, .18); }
.knopf.hell { background: #fff; color: #2e1f1a; }
.knopf.klein { font-size: .85rem; padding: .3rem .8rem; box-shadow: none; font-weight: 600; }
.wie-link { background: none; border: 0; padding: 0; font: inherit; color: var(--akzent-text); text-decoration: underline; cursor: pointer; }

/* Plakate + runde Marke */
.buehne { position: relative; min-height: 22rem; }
.plakat { width: min(100%, 21rem); height: auto; border-radius: 1.2rem; display: block; box-shadow: 0 18px 40px rgba(46, 31, 26, .22); border: 6px solid #fff; }
.plakat.papaya { transform: rotate(-4deg); }
.plakat.donut { transform: rotate(4deg); }
[data-farbwelt="gelb"] .plakat.donut, [data-farbwelt="lila"] .plakat.papaya { display: none; }
[data-farbwelt="gelb"] .plakat, [data-farbwelt="lila"] .plakat { margin: 0 auto; }
[data-farbwelt="misch"] .plakat { width: min(72%, 16.5rem); }
[data-farbwelt="misch"] .plakat.donut { position: absolute; right: 0; top: 4.5rem; }
[data-farbwelt="misch"] .buehne { min-height: 27rem; }
.marke {
  position: absolute; left: -1.2rem; bottom: -1.2rem; width: 9.2rem; height: 9.2rem; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: .8rem; transform: rotate(-9deg);
  background: var(--kreis); color: #fff; font-family: "Rammetto One", sans-serif; font-size: .82rem; line-height: 1.25;
  text-shadow: 0 1px 2px rgba(46, 31, 26, .35); box-shadow: 0 8px 20px rgba(46, 31, 26, .18);
}

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { background: var(--flaeche); border-radius: 2rem; padding: clamp(1.4rem, 4vw, 2.6rem); margin: 0 0 1.6rem; position: relative; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.kasten { border: 2px solid var(--linie); border-radius: 1.3rem; padding: 1.1rem 1.2rem; }
.kasten p:last-child { margin-bottom: 0; }
.klein-titel { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--akzent-text); margin-bottom: .4rem; }
.leise { color: #5b4a44; font-size: .92rem; }

/* Ablauf */
.teil { margin-top: 1.6rem; }
.teil > h3 { margin-bottom: .6rem; }
.ablauf { list-style: none; margin: 0; padding: 0; }
.ablauf li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 2px solid var(--linie); align-items: baseline; }
.ablauf li:last-child { border-bottom: 2px solid var(--linie); }
.minuten { font-family: "Rammetto One", sans-serif; color: var(--zweit); font-size: .95rem; white-space: nowrap; }
.ablauf strong { display: block; font-weight: 700; }
.ablauf span.text { color: #5b4a44; }
.pause { text-align: center; margin: 1.6rem 0 0; padding: .8rem; border-radius: 999px; background: #fff; font-weight: 700; }

.vorgeschmack { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: schritt; }
.vorgeschmack li { background: #fff; border-radius: 1.3rem; padding: 1.1rem 1.2rem 1.1rem 3.6rem; position: relative; counter-increment: schritt; }
.vorgeschmack li::before { content: counter(schritt); position: absolute; left: 1.1rem; top: 1rem; font-family: "Rammetto One", sans-serif; font-size: 1.5rem; color: var(--zweit); }
.vorgeschmack strong { display: block; font-weight: 700; color: var(--akzent-text); }
.vorgeschmack span { color: #5b4a44; }

/* Beiträge */
.tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tarif { background: #fff; border-radius: 1.3rem; padding: 1.2rem; text-align: center; border: 2px solid transparent; }
.tarif .preis { font-family: "Rammetto One", sans-serif; font-size: 2.2rem; color: var(--titel-farbe); line-height: 1; display: block; margin: .35rem 0 .5rem; }
.tarif p { margin: 0; font-size: .95rem; color: #5b4a44; }

/* ------------------------------------------------------------ Formular */
form .feld { margin-bottom: 1rem; }
label, legend { font-weight: 700; display: block; margin-bottom: .3rem; }
label .frei { font-weight: 400; color: #5b4a44; }
input[type=text], input[type=email], textarea {
  width: 100%; font: inherit; padding: .7rem .9rem; border-radius: .9rem; border: 2px solid var(--linie); background: #fff; color: inherit;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--akzent-text); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 6rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.wahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.wahl label { background: #fff; border: 2px solid var(--linie); border-radius: 1.1rem; padding: .9rem 1rem; cursor: pointer; font-weight: 400; margin: 0; }
.wahl label:has(input:checked) { border-color: var(--knopf); box-shadow: inset 0 0 0 2px var(--knopf); }
.wahl input { accent-color: var(--knopf); margin-right: .4rem; }
.wahl strong { font-weight: 700; }
.wahl .betrag { font-family: "Rammetto One", sans-serif; color: var(--akzent-text); display: block; font-size: 1.3rem; margin-top: .2rem; }
.haken { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-weight: 400; }
.haken input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--knopf); }
details { margin-bottom: 1rem; }
summary { cursor: pointer; font-weight: 700; color: var(--akzent-text); margin-bottom: .7rem; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: 1.1rem; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; background: #fff; border: 2px solid var(--linie); }
.meldung.fehler { border-color: #b3261e; color: #8c1d18; }
.stand { display: inline-block; background: #fff; border-radius: 999px; padding: .3rem 1rem; font-weight: 700; margin-bottom: 1rem; }

/* ------------------------------------------------------------ Einstiegsfrage */
dialog.frage {
  border: 0; border-radius: 2rem; padding: clamp(1.5rem, 5vw, 2.6rem); width: min(34rem, calc(100vw - 2rem)); text-align: center;
  color: #2e1f1a; background: linear-gradient(150deg, #fbead3, #fff 45%, #e6d6e6); box-shadow: 0 30px 80px rgba(46, 31, 26, .35);
}
dialog.frage::backdrop { background: linear-gradient(135deg, rgba(217, 154, 62, .92), rgba(122, 91, 171, .92)); }
dialog.frage h2 { text-transform: none; font-size: clamp(1.35rem, 4.5vw, 1.8rem); color: #2e1f1a; line-height: 1.2; margin-bottom: 1.4rem; }
dialog.frage .klein-titel { color: #5a3d8c; }
.frage-wahl { display: grid; gap: .7rem; margin-bottom: 1.1rem; }
.frage-wahl button {
  font: inherit; font-weight: 700; font-size: 1.15rem; cursor: pointer; background: #fff; color: #2e1f1a; border: 2px solid rgba(46, 31, 26, .15);
  border-radius: 999px; padding: .8rem 1.2rem; display: flex; align-items: center; justify-content: center; gap: .7rem;
}
.frage-wahl button:hover { border-color: #2e1f1a; }
.tupfer { width: 1.1rem; height: 1.1rem; border-radius: 50%; display: inline-block; }
.t-gelb { background: #f0a94a; } .t-lila { background: #7a5bab; } .t-misch { background: linear-gradient(135deg, #f0a94a 48%, #7a5bab 52%); }
dialog.frage .wie-link { color: #5a3d8c; }
.frage-hinweis { font-size: .85rem; color: #5b4a44; margin: 1.2rem 0 0; }

/* ------------------------------------------------------------ Fuß, schmale Seiten */
.fuss { position: relative; text-align: center; padding: 1rem 1.25rem 2.5rem; font-size: .92rem; }
.fuss p { margin: 0 0 .3rem; }
.schmal { max-width: 40rem; margin: 0 auto; padding-top: 2.5rem; }
.schmal h1 { font-size: clamp(2rem, 7vw, 3.2rem); text-transform: uppercase; color: var(--akzent-text); margin-bottom: 1.2rem; }
.schmal h2 { font-size: 1.15rem; margin-top: 1.4rem; margin-bottom: .5rem; }
.daten { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; margin: 0 0 1.2rem; }
.daten dt { font-weight: 700; } .daten dd { margin: 0; }

@media (max-width: 760px) {
  .kopf { grid-template-columns: 1fr; padding-top: 1.6rem; }
  .buehne { order: -1; min-height: 0; max-width: 17rem; margin: 0 auto 1.5rem; }
  [data-farbwelt="misch"] .buehne { min-height: 21rem; max-width: 19rem; }
  .marke { width: 7.4rem; height: 7.4rem; font-size: .66rem; left: -1.6rem; }
  .zwei, .tarife, .wahl, .vorgeschmack { grid-template-columns: 1fr; }
  .ablauf li { grid-template-columns: 4.4rem 1fr; gap: .7rem; }
}

/* ------------------------------------------------------------ Verwaltung (nüchtern) */
.verwaltung main { max-width: 78rem; }
.verwaltung h1 { font-size: 1.8rem; color: var(--akzent-text); margin: 1.5rem 0 1rem; }
.kacheln { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.kachel { background: #fff; border-radius: 1rem; padding: .7rem 1.1rem; min-width: 8rem; }
.kachel b { display: block; font-size: 1.5rem; }
.tabelle-huelle { overflow-x: auto; background: #fff; border-radius: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; }
th, td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid #eadfd8; vertical-align: top; }
th { font-weight: 700; white-space: nowrap; }
tr.storniert td { color: #9a8c86; text-decoration: line-through; }
tr.storniert td.aktionen { text-decoration: none; }
tr.warteliste td { background: #fbf4e8; }
.aktionen form { display: inline; }
.aktionen .knopf { margin: 0 .2rem .2rem 0; }
.rot { color: #b3261e; font-weight: 700; } .gruen { color: #1d6b3a; font-weight: 700; }
