/* Die Seite, die jemand sieht, der Plattenwunsch noch nicht kennt. Sie liegt
   neben stil.css und benutzt dessen Farben — die Gäste-App und die Website
   sollen erkennbar dasselbe sein.

   Wer über einen QR-Code kommt, sieht diese Seite nie: Der Weg /p/CODE führt
   direkt ins Beitrittsformular. Werbung für etwas, das man gerade benutzt,
   wäre nur im Weg. */

.startseite { padding: 0; }

/* Die Wege in der Leiste führen zu Abschnitten auf derselben Seite. Ohne das
   springt die Seite hin, statt zu gleiten. Die Regel darf hier ohne weitere
   Bedingung stehen: Dieses Stylesheet lädt nur die Startseite.
   scroll-margin sorgt dafür, dass der Abschnitt nicht unter der klebenden
   Leiste landet — die ist rund 60 Pixel hoch, der Rest ist Luft. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#inhalt, #koennen, #testen { scroll-margin-top: 84px; }

.ueberspringen {
    position: absolute; left: -9999px; top: 8px;
    background: var(--karte); color: var(--schrift);
    padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.ueberspringen:focus { left: 12px; }

/* ------------------------------------------------------------ Kopfleiste */

.leiste {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px max(16px, env(safe-area-inset-left)) 12px max(16px, env(safe-area-inset-right));
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid #ffffff0f;
}
.leisteMarke {
    display: flex; align-items: center; gap: 10px;
    color: var(--schrift); text-decoration: none;
    font-weight: 700; font-size: 17px; letter-spacing: -0.3px;
}
.leisteMarke img { border-radius: 22.37%; }
.leisteWege { display: flex; align-items: center; gap: 6px; }
.leisteStill {
    color: var(--leise); text-decoration: none; font-size: 14.5px;
    padding: 8px 12px; border-radius: 10px;
}
.leisteStill:hover { color: var(--schrift); background: #ffffff0d; }
.leisteKnopf {
    color: var(--schrift); text-decoration: none;
    font-size: 14.5px; font-weight: 600;
    padding: 9px 15px; border-radius: 11px;
    background: var(--karte-2); border: 1px solid var(--rand);
    white-space: nowrap;
}
.leisteKnopf:hover { border-color: var(--akzent); }
/* Auf schmalen Geräten zählt nur der eine Weg, der weiterführt. */
@media (max-width: 620px) { .leisteStill { display: none; } }

/* --------------------------------------------------- Kopf der Startseite */
/* Heißt startkopf und nicht kopf: .kopf ist in stil.css die Kopfzeile der
   Party und eine Flex-Zeile. Beide zusammen legten Überschrift, Text und
   Knöpfe nebeneinander in vier schmale Spalten. */

main { display: block; }
.startkopf {
    max-width: 940px; margin: 0 auto;
    padding: 72px 20px 0; text-align: center;
}
.augenmerk {
    display: inline-block; margin: 0 0 20px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--akzent);
    padding: 7px 14px; border-radius: 999px;
    background: #ff3d8b14; border: 1px solid #ff3d8b33;
}
.startkopf h1 {
    font-size: clamp(32px, 6.4vw, 62px); line-height: 1.08;
    letter-spacing: -1.4px; margin: 0 0 20px; font-weight: 700;
}
.startkopf h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--akzent), var(--akzent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fuehrung {
    max-width: 620px; margin: 0 auto; color: var(--leise);
    font-size: clamp(16px, 2vw, 18.5px); line-height: 1.6;
}
.startkopfKnoepfe {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
    margin: 32px 0 0;
}

.knopfHaupt, .knopfStill {
    text-decoration: none; font-weight: 600; font-size: 16px;
    padding: 15px 26px; border-radius: 13px; display: inline-block;
}
.knopfHaupt {
    color: #fff;
    background: linear-gradient(100deg, var(--akzent), var(--akzent-2));
    box-shadow: 0 14px 34px -14px var(--akzent);
}
.knopfHaupt.gross { padding: 17px 34px; font-size: 17px; }
.knopfHaupt:hover { filter: brightness(1.08); }
.knopfStill {
    color: var(--schrift); background: var(--karte);
    border: 1px solid var(--rand);
}
.knopfStill:hover { border-color: var(--akzent); }

/* Drei Bildschirme, der mittlere vorn. Auf schmalen Geräten bleibt nur er
   übrig — nebeneinander wären alle drei zu klein zum Erkennen. */
.faecher {
    display: flex; justify-content: center; align-items: flex-end;
    gap: clamp(-40px, -3vw, 0px);
    margin: 56px auto 0; max-width: 900px;
    padding-bottom: 8px;
}
.faecherBild {
    width: clamp(190px, 26vw, 268px); height: auto;
    border-radius: 26px;
    border: 1px solid #ffffff1a;
    box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #00000066;
}
.faecher .links  { transform: rotate(-7deg) translateY(26px); z-index: 1; }
.faecher .rechts { transform: rotate(7deg)  translateY(26px); z-index: 1; }
.faecher .mitte  { z-index: 2; margin: 0 -18px; }
@media (max-width: 700px) {
    .faecher .links, .faecher .rechts { display: none; }
    .faecher .mitte { margin: 0; width: 254px; }
}

/* ------------------------------------------------------------- Abschnitte */

.abschnitt { max-width: 1040px; margin: 0 auto; padding: 96px 20px 0; }
.abschnitt.schmal { max-width: 720px; }
.ueber {
    font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.8px;
    margin: 0 0 12px; text-align: center; font-weight: 700;
}
.unter {
    color: var(--leise); text-align: center; max-width: 620px;
    margin: 0 auto 40px; font-size: 16.5px; line-height: 1.6;
}

.gitter {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.gitter li {
    background: linear-gradient(180deg, var(--karte) 0%, #190f24 100%);
    border: 1px solid var(--rand); border-radius: 18px;
    padding: 24px 22px;
}
.sinnbild {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 13px; margin-bottom: 16px;
    background: linear-gradient(135deg, #ff3d8b26, #9d5cff26);
    border: 1px solid #ffffff14;
    font-size: 19px; color: var(--akzent);
}
.gitter h3 {
    font-size: 17px; text-transform: none; letter-spacing: -0.2px;
    color: var(--schrift); margin: 0 0 8px; font-weight: 650;
}
.gitter p { margin: 0; color: var(--leise); font-size: 14.8px; line-height: 1.6; }

/* --------------------------------------------------------------- Das Regal */

.regal {
    display: flex; gap: 18px; overflow-x: auto;
    padding: 4px 20px 24px; margin: 0 -20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.regal figure { margin: 0; flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
.regal img {
    width: 100%; height: auto; display: block;
    border-radius: 22px; border: 1px solid #ffffff1a;
    box-shadow: 0 26px 50px -26px #000;
}
.regal figcaption {
    color: var(--leise); font-size: 13.5px; line-height: 1.5;
    margin-top: 14px; padding: 0 2px;
}
.regal figcaption b { color: var(--schrift); font-weight: 600; }

/* ------------------------------------------------------------ Der Fernseher */

.streifen .zweispalt {
    display: grid; gap: 36px; align-items: center;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    background: linear-gradient(180deg, var(--karte) 0%, #190f24 100%);
    border: 1px solid var(--rand); border-radius: 26px;
    padding: 40px;
}
.streifen .ueber, .streifen .unter { text-align: left; margin-left: 0; }
.streifen .unter { margin-bottom: 16px; }
.tafel {
    width: 100%; height: auto; display: block;
    border-radius: 14px; border: 1px solid #ffffff1a;
    box-shadow: 0 30px 60px -28px #000;
}
@media (max-width: 900px) {
    .streifen .zweispalt { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ----------------------------------------------------------- Zum Testen */

.einladungskarte {
    text-align: center; max-width: 640px; margin: 0 auto;
    background: linear-gradient(180deg, #2a1140 0%, #190f24 100%);
    border: 1px solid var(--rand); border-radius: 26px;
    padding: 46px 30px 38px;
}
.einladungskarte img { border-radius: 22.37%; margin-bottom: 18px; }
.einladungskarte h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.6px; margin: 0 0 12px; }
.einladungskarte p { color: var(--leise); margin: 0 auto 26px; max-width: 460px; line-height: 1.6; }
.einladungskarte .fussnote { font-size: 13px; margin: 18px auto 0; opacity: .8; }

/* --------------------------------------------------------------- Fragen */

details {
    border-bottom: 1px solid var(--rand);
    padding: 18px 2px;
}
summary {
    cursor: pointer; font-weight: 600; font-size: 16.5px;
    list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--akzent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--leise); margin: 12px 0 0; line-height: 1.6; font-size: 15px; }
details a { color: var(--akzent); }

/* ----------------------------------------------------------------- Fuß */

.fuss {
    max-width: 1040px; margin: 96px auto 0;
    padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rand); text-align: center;
}
.fuss img { border-radius: 22.37%; opacity: .85; }
.fussWege { margin: 16px 0 20px; font-size: 15px; }
.fussWege a { color: var(--leise); text-decoration: none; }
.fussWege a:hover { color: var(--schrift); text-decoration: underline; }
/* .rechtezeile bringt aus stil.css ein `margin: 0 0 14px !important` mit.
   Das schlägt jedes `auto` — der Kasten klebte deshalb links, obwohl der
   Text darin mittig stand. */
.fuss .rechtezeile { max-width: 560px; margin: 0 auto !important; }

/* Wer das nicht möchte, bekommt es nicht. */
@media (prefers-reduced-motion: no-preference) {
    .aufblende { opacity: 0; transform: translateY(18px); }
    .aufblende.da { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
}
