/* ==========================================================================
   Blankit Festival – Look vom Flyer: Pink, Gelb, Petrol, Rasterpunkte,
   schräge Bänder und Aufkleber-Labels.
   ========================================================================== */

:root {
    --coral: #ee5065;      /* blankit Korallrot */
    --coral-dark: #c23a4e; /* abgeleitet: dunkler Korallrot für kleine Schrift */
    --pink: #f48295;       /* Comic-Rosa */
    --yellow: #fff19b;     /* Sonnengelb */
    --sun: #ffe27a;        /* abgeleitet: Sonne etwas kräftiger als Sonnengelb */
    --teal: #63b9b0;       /* Festival-Türkis */
    --teal-dark: #2b7f79;  /* abgeleitet: dunkles Türkis für Labels und Schrift */
    --cream: #fff19b;      /* Sonnengelb als helle Schrift auf Türkis/Korallrot */
    --paper: #fffdf5;      /* Cremeweiß */
    --ink: #171817;        /* Fast-Schwarz */

    --f-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
    --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

    --dots: radial-gradient(rgb(29 29 27 / .13) 1.3px, transparent 1.7px);
    --dots-size: 9px 9px;
    --shadow: 6px 6px 0 var(--ink);
    --gutter: 16px;
}

@media (min-width: 768px) {
    :root { --gutter: 28px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    background: var(--teal);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.55;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Schräge Bänder sind breiter als der Bildschirm. Mobile Browser ignorieren
   overflow auf body für die Seitenbreite, daher zusätzlich hier abschneiden. */
#main { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 14px;
    font-weight: 800;
    border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.icon { width: 1.1em; height: 1.1em; flex: none; }
.icon--heart { color: var(--coral); vertical-align: -.12em; }

/* --------------------------------------------------------------------------
   Plektrum-Logo
   -------------------------------------------------------------------------- */

/* Offizielle Logodatei, der weiße Rahmen ist Teil der Datei. */
.logo { display: block; height: auto; }
.logo--hero { width: clamp(240px, 36vw, 380px); }
.logo--mini { width: 62px; }

/* --------------------------------------------------------------------------
   Labels, Aufkleber, Buttons
   -------------------------------------------------------------------------- */

.label {
    display: inline-block;
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.1;
    padding: .18em .55em .14em;
    text-decoration: none;
}
.label--paper-coral { background: var(--paper); color: var(--coral); }
.label--paper-teal  { background: var(--paper); color: var(--teal-dark); }
.label--ink-coral   { background: var(--ink); color: var(--coral); }
.label--ink-yellow  { background: var(--ink); color: var(--yellow); }
.label--coral-cream { background: var(--coral); color: var(--cream); }
.label--teal-paper  { background: var(--teal-dark); color: var(--paper); }
.label--yellow-coral { background: var(--yellow); color: var(--coral-dark); }
.label__white { color: #fff; }
a.label:hover { background: var(--ink); color: var(--yellow); }

.sticker {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1;
    padding: .5em .8em .45em;
    border: 3px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    white-space: nowrap;
}
.sticker strong { font-weight: 400; }
.sticker--yellow { background: var(--yellow); }
.sticker--paper  { background: var(--paper); }
.sticker--coral  { background: var(--coral); color: #fff; }
.sticker--coral .icon--heart { color: var(--paper); }
.sticker--ink    { background: var(--ink); color: var(--yellow); }
.sticker--tilt-l { rotate: -6deg; }
.sticker--tilt-r { rotate: 5deg; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--f-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1;
    text-decoration: none;
    padding: .75em 1.25em .7em;
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn.is-static { cursor: default; }
.btn.is-static:hover { transform: none; box-shadow: 5px 5px 0 var(--ink); }

.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); }
.btn--teal  { background: var(--teal-dark); color: #fff; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--yellow); }
.btn--ink   { background: var(--ink); color: var(--yellow); }
.btn--sm { font-size: 1rem; padding: .5em .85em .45em; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn--xl { font-size: clamp(1.25rem, 3.4vw, 1.7rem); padding: .8em 1.2em .75em; max-width: 100%; }
.btn--xl span { white-space: nowrap; }

.display {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.08; /* Platz für Ü-Punkte und Kommas */
    letter-spacing: .01em;
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
}
.display--cream { color: var(--cream); text-shadow: 3px 3px 0 var(--ink); }
.display--ink { color: var(--ink); }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; max-width: 36em; }

.eyebrow {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .85rem;
    color: var(--coral-dark);
    margin-bottom: .4rem;
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: clamp(1.6rem, 4.4vw, 2.6rem);
    margin-bottom: 28px;
    rotate: -1.5deg;
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */

.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px var(--gutter);
    min-height: 64px;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.topbar.is-scrolled,
body:not(.has-hero) .topbar {
    background: var(--paper);
    box-shadow: 0 3px 0 var(--ink);
}
.topbar__logo { display: block; transition: opacity .2s ease; }
.has-hero .topbar:not(.is-scrolled) .topbar__logo { opacity: 0; pointer-events: none; }
/* Solange die Leiste oben auf dem rosa Band liegt, ist der Ticket-Button gelb;
   mit der weißen Leiste nach dem Scrollen wieder Korallrot. */
.has-hero .topbar:not(.is-scrolled) .btn--coral { background: var(--yellow); color: var(--ink); }
.has-hero .topbar:not(.is-scrolled) .btn--coral:hover { background: var(--sun); }
.topbar__nav { display: none; gap: 26px; margin-left: auto; }
.topbar__nav a {
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
    font-size: 1.05rem;
}
.topbar__nav a:hover { color: var(--coral-dark); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (min-width: 768px) {
    .topbar__nav { display: flex; }
}

/* --------------------------------------------------------------------------
   Hero (Flyer-Vorderseite)
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 78px 0 90px;
    background: var(--teal);
}
/* Pinkes Band oben und gelbes Band darunter */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    border-bottom: 3px solid var(--ink);
}
.hero::after {
    height: 260px;
    background: var(--pink);
    clip-path: polygon(0 0, 100% 0, 100% 38%, 0 72%);
}
.hero::before {
    height: 420px;
    background: var(--yellow);
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
}

.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.sun {
    position: absolute;
    top: -34px; left: -34px;
    width: clamp(130px, 18vw, 230px);
    animation: spin 60s linear infinite;
}
.sun circle { fill: var(--sun); stroke: var(--ink); stroke-width: 3; }
.sun path { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cloud { position: absolute; fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.cloud--1 { top: 88px; left: 22%; width: clamp(70px, 9vw, 120px); animation: drift 14s ease-in-out infinite alternate; }
.cloud--2 { top: 56px; right: 8%; width: clamp(80px, 11vw, 150px); animation: drift 18s ease-in-out infinite alternate-reverse; }

/* „Präsentiert von FluxFM“: zwischen Logo und Ticket-Button, parallel zum roten Band darunter */
.hero__presenter {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    margin: 2px auto 22px;
    padding: 9px 16px 8px;
    background: var(--ink);
    color: var(--yellow);
    font-family: var(--f-display);
    font-size: clamp(.95rem, 2vw, 1.25rem);
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    rotate: -4deg;
}
.hero__presenter img { width: clamp(92px, 13vw, 132px); height: auto; }

.hero__logo { position: relative; margin-bottom: 18px; }
.sticker--logo {
    position: absolute;
    right: -16px; bottom: 10%;
    rotate: 8deg;
    font-size: clamp(.8rem, 1.8vw, 1.05rem);
}

.hero__band {
    position: relative;
    width: 100%;
    background: var(--coral);
    border-block: 3px solid var(--ink);
    transform: skewY(-4deg);
    padding: 44px var(--gutter) 52px;
}
.hero__band-inner {
    transform: skewY(4deg);
    max-width: 900px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .92;
}
.hero__date {
    font-size: clamp(3.4rem, 13vw, 8.6rem);
    color: var(--ink);
    letter-spacing: -.005em;
}
.hero__place-small {
    font-size: clamp(1.2rem, 3.4vw, 2.1rem);
    color: #fff;
    letter-spacing: .04em;
    margin-top: .35em;
}
.hero__place {
    font-size: clamp(2.8rem, 10.5vw, 6.8rem);
    color: var(--cream);
    text-shadow: 3px 3px 0 var(--ink);
}

.hero__llama {
    position: relative;
    width: clamp(180px, 46vw, 260px);
    margin-top: 26px;
    rotate: -4deg;
    filter: drop-shadow(5px 5px 0 rgb(29 29 27 / .25));
    animation: bop 2.4s ease-in-out infinite;
}
.hero__year {
    position: absolute;
    right: var(--gutter);
    bottom: 22px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-display);
    font-size: 1.4rem;
    padding: .2em .55em .15em;
    letter-spacing: .04em;
}

@media (min-width: 1000px) {
    .hero { padding-bottom: 110px; }
    .hero__llama {
        position: absolute;
        left: max(2vw, calc(50% - 640px));
        bottom: 40px;
        width: clamp(220px, 22vw, 320px);
        margin: 0;
        z-index: 2;
    }
    .hero__year { font-size: 1.8rem; bottom: 32px; }
}

/* --------------------------------------------------------------------------
   Countdown
   -------------------------------------------------------------------------- */

.countdown-wrap {
    background: var(--ink);
    color: var(--paper);
    padding: 44px var(--gutter) 52px;
    text-align: center;
}
.countdown__title {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--yellow);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin-bottom: 22px;
}
.countdown__units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 20px);
    max-width: 720px;
    margin-inline: auto;
}
.countdown__units[hidden] { display: none; }
.countdown__unit {
    background: var(--paper);
    color: var(--ink);
    border: 3px solid var(--paper);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--coral);
    padding: 12px 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.countdown__unit:nth-child(odd) { rotate: -2deg; }
.countdown__unit:nth-child(even) { rotate: 2deg; background: var(--yellow); }
.countdown__num {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 9vw, 4.4rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.countdown__label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: clamp(.7rem, 1.8vw, .9rem);
    color: var(--coral-dark);
}
.countdown__live,
.countdown__done {
    font-family: var(--f-display);
    text-transform: uppercase;
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    color: var(--cream);
}

/* --------------------------------------------------------------------------
   Laufband
   -------------------------------------------------------------------------- */

.ticker {
    position: relative;
    z-index: 3;
    overflow: hidden;
    background: var(--yellow);
    border-block: 3px solid var(--ink);
    rotate: -1.5deg;
    margin: -14px -20px 0;
    padding: 12px 0 10px;
}
.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker 38s linear infinite;
}
.ticker__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ticker__list li {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    white-space: nowrap;
    padding-inline: .9em;
}
.ticker__list li::after {
    content: "★";
    color: var(--coral);
    margin-left: 1.8em;
}

/* --------------------------------------------------------------------------
   Festival / Über uns (Flyer-Rückseite)
   -------------------------------------------------------------------------- */

.about {
    position: relative;
    background: var(--teal);
    padding: 64px 0 80px;
    overflow: hidden;
}
.about__banner {
    background: var(--paper);
    border-block: 3px solid var(--ink);
    rotate: -3deg;
    margin: 0 -20px 44px;
    padding: 14px var(--gutter) 10px;
    text-align: center;
}
.about__kicker {
    font-family: var(--f-display);
    text-transform: uppercase;
    color: var(--coral);
    font-size: clamp(2.4rem, 8vw, 5.4rem);
    line-height: 1;
    letter-spacing: .01em;
}
.about__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}
.about__text .lead { margin-top: 22px; }
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    font-size: clamp(1.4rem, 3.4vw, 2rem);
}
.tags li:nth-child(odd) { rotate: -2deg; }
.tags li:nth-child(even) { rotate: 1.5deg; }
.about__lineup {
    text-align: center;
    margin-top: 48px;
    padding-inline: var(--gutter);
    font-size: clamp(1.8rem, 6vw, 3.2rem);
}
.about__lineup .label { rotate: -2deg; box-shadow: 6px 6px 0 var(--coral); }

.about__stickers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 16px;
    font-size: clamp(1.3rem, 4vw, 1.9rem);
}
.about__stickers .sticker { border-width: 4px; box-shadow: 5px 5px 0 var(--ink); }

@media (min-width: 900px) {
    .about__grid { grid-template-columns: 1.35fr 1fr; }
    .about__stickers { flex-direction: column; align-items: center; gap: 30px; font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
    .about__stickers .sticker:nth-child(2) { margin-left: 110px; }
    .about__stickers .sticker:nth-child(3) { margin-right: 90px; }
}

/* --------------------------------------------------------------------------
   Tickets
   -------------------------------------------------------------------------- */

.tickets {
    background: var(--coral);
    border-block: 3px solid var(--ink);
    padding: 72px 0;
}
.tickets__grid {
    display: grid;
    gap: 32px;
    align-items: center;
    justify-items: center;
}
.ticket-card {
    background: var(--paper);
    border: 4px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
    padding: clamp(24px, 5vw, 48px);
    rotate: -1.5deg;
    text-align: center;
    max-width: 560px;
    width: 100%;
}
.ticket-card__title {
    display: flex;
    flex-direction: column;
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.8rem, 10vw, 5rem);
    line-height: .95;
}
.c-teal { color: var(--teal-dark); }
.c-coral { color: var(--coral); }
.ticket-card__meta {
    font-weight: 800;
    margin: 16px 0 24px;
}
.ticket-card__note {
    margin-top: 18px;
    font-weight: 600;
    font-size: .95rem;
}
.ticket-card__note a { color: var(--coral-dark); font-weight: 800; }
.tickets__llama {
    display: none;
    width: 300px;
    rotate: 6deg;
}
@media (min-width: 900px) {
    .tickets__grid { grid-template-columns: 1.4fr 1fr; }
    .tickets__llama { display: block; }
}

/* --------------------------------------------------------------------------
   Anfahrt
   -------------------------------------------------------------------------- */

.location {
    background: var(--yellow);
    padding: 72px 0;
}
.location__grid {
    display: grid;
    gap: 28px;
    align-items: center;
}
.location__pin {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--paper);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow);
    font-size: 48px;
    rotate: -8deg;
}
.location__address {
    font-style: normal;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 12px 0 8px;
}
.location__directions { max-width: 34em; margin-bottom: 8px; }
.location .btn { margin-top: 16px; }
.location__when {
    background: var(--ink);
    color: var(--paper);
    padding: 22px 26px;
    rotate: 2deg;
    box-shadow: 6px 6px 0 var(--coral);
    justify-self: start;
}
.location__when .eyebrow { color: var(--yellow); }
.location__date {
    font-family: var(--f-display);
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1;
    color: var(--cream);
}
.location__days { margin-top: 8px; font-weight: 700; }
@media (min-width: 900px) {
    .location__grid { grid-template-columns: auto 1fr auto; gap: 40px; }
}

/* --------------------------------------------------------------------------
   Infos: Kacheln zu den Unterseiten (FAQ, Camping, U18, History, Über uns)
   -------------------------------------------------------------------------- */

.infos {
    background: var(--teal);
    border-top: 3px solid var(--ink);
    padding: 72px 0 80px;
}
.infos .eyebrow,
.blankit-infos .is-style-blankit-eyebrow { color: var(--ink); }
.infos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}
/* Zwei Reihen: bis sechs Kacheln 2 × 3, ab der siebten 2 × 4 */
@media (min-width: 560px) {
    .infos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .infos__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .infos__grid:has(> li:nth-child(7)) { grid-template-columns: repeat(4, 1fr); }
}
.infos__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 20px 20px 54px;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.infos__grid li:nth-child(odd) .infos__card { rotate: -1deg; }
.infos__grid li:nth-child(even) .infos__card { rotate: 1deg; background: var(--yellow); }
.infos__card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.infos__title {
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: 2rem;
    line-height: 1.05;
    color: var(--coral-dark);
}
.infos__text { font-weight: 600; font-size: .98rem; line-height: 1.4; }
.infos__card .icon {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 28px;
    height: 28px;
}

/* --------------------------------------------------------------------------
   Partner & Sponsoren
   -------------------------------------------------------------------------- */

.partners {
    background: var(--paper);
    border-top: 3px solid var(--ink);
    padding: 72px 0;
}
/* Zwei durchlaufende Logo-Zeilen: oben Gold (groß, 3 nebeneinander),
   darunter Silber und Gönner (bis zu 5 nebeneinander). Logos stehen immer auf Weiß. */
.partners__row {
    --gap: 16px;
    overflow: hidden;
    /* Platz für Schatten und Hover-Versatz der Kacheln */
    margin: 0 calc(var(--gap) / -2) 12px;
    padding: 6px 0 10px;
}
.partners__row:last-of-type { margin-bottom: 26px; }
/* --w: Breite einer Kachel (33.3333% = drei nebeneinander). --n (Kacheln je Liste), --share (100 % / n)
   und --dur (Umlaufzeit) setzt das Theme am Element. */
.partners__row--gold  { --w: 33.3333%; --tile-h: 150px; }
.partners__row--klein { --w: 20%; --tile-h: 96px; --gap: 14px; }
/* Zwei gleiche Listen hintereinander, jede n Kacheln breit;
   der Lauf verschiebt um genau eine Liste (-50 %). Bewusst nur Prozentwerte,
   ohne Container-Einheiten und ohne Division durch Variablen: Safari rechnet sonst falsch. */
.partners__track {
    display: flex;
    width: calc(var(--n) * var(--w) * 2);
    will-change: transform;
    animation: ticker 20s linear infinite;
    animation-duration: var(--dur, 20s);
}
.partners__list {
    display: flex;
    flex: 0 0 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}
.partners__item {
    flex: 0 0 var(--share);
    min-width: 0;
    padding-inline: calc(var(--gap) / 2);
}
@media (max-width: 899px) {
    .partners__row--klein { --w: 25%; }
}
@media (max-width: 699px) {
    .partners__row--gold  { --w: 50%; --tile-h: 120px; }
    .partners__row--klein { --w: 33.3333%; --tile-h: 84px; --gap: 10px; }
}
@media (max-width: 459px) {
    .partners__row--klein { --w: 50%; }
}
.partners__item > a,
.partners__item > img,
.partners__item > .partners__name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--tile-h, 130px);
    padding: 16px 18px;
    background: #fff;
    border: 3px solid var(--ink);
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--ink);
    text-decoration: none;
    transition: transform .15s ease;
}
.partners__row--klein .partners__item > * { padding: 12px 14px; }
.partners__item > a:hover { transform: translate(-2px, -2px) rotate(-1deg); }
.partners__item img { width: 100%; height: 100%; flex: 1 1 0; min-height: 0; object-fit: contain; }
.partners__name {
    font-family: var(--f-display);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.1;
}
.partners__intro { max-width: 46em; font-size: 1.1rem; margin-bottom: 28px; }
.partners__thanks {
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.partners__item > a { flex-direction: column; gap: 6px; }
.partners__caption {
    font-family: var(--f-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .95rem;
    line-height: 1;
}

.support {
    display: grid;
    gap: 24px;
    margin-top: 8px;
}
@media (min-width: 800px) {
    .support { grid-template-columns: 1fr 1fr; }
}
.support__card {
    border: 3px solid var(--ink);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.support__card--collab { background: var(--yellow); rotate: -.8deg; }
.support__card--donate { background: var(--teal); rotate: .8deg; }
.support__title {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.9rem;
    line-height: 1;
}
.support__account {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    margin: 0;
    font-weight: 600;
}
.support__account dt {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    align-self: center;
}
.support__account dd {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.support__iban { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.1rem; }
.support__copy {
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 8px;
    padding: 3px 9px;
    cursor: pointer;
}
.support__copy:hover { background: var(--yellow); }

/* --------------------------------------------------------------------------
   Kontakt & Social
   -------------------------------------------------------------------------- */

.contact {
    background: var(--teal);
    border-top: 3px solid var(--ink);
    padding: 72px 0 80px;
}
.contact__grid { display: grid; gap: 32px; align-items: center; }
.contact .lead { margin-top: 18px; }
.contact__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    font-weight: 800;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    text-decoration: none;
    padding: .6em 1.1em;
    border: 3px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
    overflow-wrap: anywhere;
}
.pill:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.pill .icon { width: 1.3em; height: 1.3em; }
.pill--coral { background: var(--coral); color: #fff; }
.pill--paper { background: var(--paper); }
.pill--ink { background: var(--ink); color: var(--paper); }
.contact__links li:nth-child(odd) .pill { rotate: -2deg; }
.contact__links li:nth-child(even) .pill { rotate: 1.5deg; }
@media (min-width: 900px) {
    .contact__grid { grid-template-columns: 1.3fr 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 32px var(--gutter);
}
.footer__inner {
    max-width: 1120px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    font-weight: 600;
    font-size: .95rem;
}
.footer__claim { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--yellow); text-underline-offset: 4px; }
.footer__links a:hover { color: #fff; }
.footer__copy { opacity: .75; }

/* --------------------------------------------------------------------------
   „Nach oben“-Button (nur am Handy, dort gibt es keine Menüpunkte)
   -------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    opacity: 0;
    visibility: hidden;
    translate: 0 12px;
    transition: opacity .2s ease, translate .2s ease, visibility .2s;
}
.to-top .icon { width: 26px; height: 26px; rotate: -90deg; }
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--ink); }
@media (min-width: 768px) {
    .to-top { display: none; }
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.subpage {
    background: var(--teal);
    padding: 112px 0 72px;
    min-height: 70vh;
}
.subpage__card {
    background: var(--paper);
    border: 4px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
    padding: clamp(22px, 5vw, 48px);
}
.subpage__title {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 7vw, 3.6rem);
    line-height: 1;
    color: var(--coral);
    margin-bottom: 24px;
}
.subpage__back { margin-top: 32px; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1.1; margin-top: 1.6em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.3rem; }
.prose a { color: var(--coral-dark); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* --------------------------------------------------------------------------
   Sprüche aus dem Entwurf („Raus aus dem Alltag“, Lineup, Awareness …)
   -------------------------------------------------------------------------- */

/* Datum als Grafik (schwarzer Balken, weiße Schrift) statt Text */
.hero__date--img { --date-w: clamp(270px, 62vw, 640px); display: block; line-height: 0; }
.hero__date--img img {
    width: var(--date-w);
    height: auto;
    margin-inline: auto;
    /* Die Grafik liegt waagerecht; das Band ist um 4° geneigt. Gleich weit kippen,
       damit die Balkenkanten parallel zu den Bandlinien laufen. */
    rotate: -4deg;
    margin-block: calc(var(--date-w) * 0.035);
}

/* Zentraler Ticket-Button unter dem Logo */
.hero__cta {
    position: relative;
    z-index: 2;
    margin: 4px 0 30px;
    text-align: center;
}
.hero__cta .btn { rotate: -1.5deg; }
.hero__cta .btn:hover { rotate: 0deg; }

/* Dachzeile über dem Datum im Kopfbereich */
.hero__kicker {
    margin-bottom: 16px;
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    rotate: -2deg;
}

/* Countdown mit Claim */
.countdown__claim {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--cream);
    font-size: clamp(2.2rem, 7vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: .01em;
}
.countdown__claim span { color: var(--coral); }
.countdown__sub {
    max-width: 34em;
    margin: 16px auto 34px;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--paper);
}

/* Eigener Lineup-Abschnitt */
.lineup {
    background: var(--paper);
    border-top: 3px solid var(--ink);
    padding: 72px 0 84px;
    text-align: center;
}
.lineup .lead { margin: 20px auto 0; }
.lineup .about__lineup { margin-top: 40px; }

/* Anfahrt: Fließtext zum Ort */
.location__text { max-width: 36em; margin-top: 14px; font-size: clamp(1rem, 1.8vw, 1.15rem); }
.location__text + .location__address { margin-top: 14px; }

/* Awareness */
.awareness {
    background: var(--ink);
    color: var(--paper);
    padding: 72px 0;
    text-align: center;
}
.awareness .eyebrow { color: var(--yellow); }
.awareness__title {
    font-family: var(--f-display);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--cream);
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    line-height: 1.3; /* Ü-Punkte der 2. Zeile brauchen Luft */
    letter-spacing: .01em;
    margin-top: 10px;
}
.awareness__title span { color: var(--yellow); }
.awareness .lead { margin: 20px auto 0; }
.awareness .btn { margin-top: 30px; }

/* --------------------------------------------------------------------------
   Comic-Druckraster (gezeichnet von assets/js/halftone.js, Werte per data-halftone-*)
   -------------------------------------------------------------------------- */

.has-halftone { position: relative; isolation: isolate; }
.halftone {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.halftone[hidden] { display: none; }
/* Im Kopfbereich liegt das Raster unter den gelben/pinken Bändern */
.hero > .halftone { z-index: -2; }

/* --------------------------------------------------------------------------
   Animationen
   -------------------------------------------------------------------------- */

@keyframes spin { to { rotate: 360deg; } }
@keyframes drift { to { translate: 24px 0; } }
@keyframes bop { 50% { translate: 0 -8px; } }

/* Tanzendes Lama: Hüftschwung, Hüpfer und Stauchen beim Landen (bei Mouseover bzw. Antippen) */
@keyframes dance {
    0%   { transform: translateY(0) rotate(0) scale(1, 1); }
    12%  { transform: translateY(-16px) rotate(-9deg) scale(.97, 1.04); }
    25%  { transform: translateY(0) rotate(-2deg) scale(1.05, .94); }
    37%  { transform: translateY(-16px) rotate(9deg) scale(.97, 1.04); }
    50%  { transform: translateY(0) rotate(2deg) scale(1.05, .94); }
    62%  { transform: translateX(-10px) rotate(-7deg); }
    75%  { transform: translateX(10px) rotate(7deg); }
    87%  { transform: translateY(-22px) rotate(0) scale(.96, 1.06); }
    100% { transform: translateY(0) rotate(0) scale(1, 1); }
}
.hero__llama,
.tickets__llama {
    transform-origin: 50% 92%; /* dreht sich um die Füße */
    cursor: pointer;
}
@media (hover: hover) {
    .hero__llama:hover,
    .tickets__llama:hover { animation: dance 1.1s ease-in-out infinite; }
}
.hero__llama.is-dancing,
.tickets__llama.is-dancing { animation: dance 1.1s ease-in-out infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .ticker__track { width: auto; }
    .ticker__list { flex-wrap: wrap; justify-content: center; }
    .ticker__list[aria-hidden="true"] { display: none; }
    /* Logo-Zeilen stehen still und brechen um */
    .partners__track { width: auto; }
    .partners__list { flex: 1 1 auto; flex-wrap: wrap; row-gap: var(--gap); }
    .partners__item { flex-basis: var(--w); }
    .partners__list[aria-hidden="true"],
    .partners__item--repeat { display: none; }
}
