/* Straßenfest Kürnbach — Design nach brauereivonberg.de
   Farben + Typografie = Elementor-Kit der Brauerei von Berg:
   Dunkelblau #012B4D, Gold #F5D27F, Amber #CF6814, Creme #FFFBF8,
   Text #585858 / #1C1B1F. Fonts: Vollkorn (Headlines), Heebo (Body),
   Montserrat (Buttons/Labels), Mrs Saint Delafield (Schmuckschrift). */

@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/vollkorn-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/vollkorn-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}
@font-face {
  font-family: 'Mrs Saint Delafield';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/mrssaintdelafield-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}

:root {
  --blau: #012B4D;
  --blau-tief: #001d35;
  --gold: #F5D27F;
  --amber: #CF6814;
  --creme: #FFFBF8;
  --grau-hell: #EAEAEA;
  --text: #585858;
  --ink: #1C1B1F;
  --weiss: #FFFFFF;
  --font-head: 'Vollkorn', Georgia, serif;
  --font-body: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-label: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-script: 'Mrs Saint Delafield', cursive;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--creme);
}
img { max-width: 100%; height: auto; }
a { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* --- Sponsor-Banner ------------------------------------------------------ */
.sponsor-banner {
  background: var(--blau-tief);
  color: var(--gold);
  text-align: center;
  padding: .55rem 1rem;
}
.sponsor-banner a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.sponsor-banner img { height: 2rem; width: auto; }
.sponsor-banner .script { font-family: var(--font-script); font-size: 1.5rem; line-height: 1; }
.sponsor-banner strong { font-family: var(--font-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }

/* --- Ankündigungs-Banner (Fassbieranstich) -------------------------------- */
.announce {
  background: var(--gold);
  color: var(--blau);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .98rem;
  line-height: 1.45;
}
.announce a { color: inherit; text-decoration: none; }
.announce strong { font-family: var(--font-label); font-weight: 700; }

/* --- Header / Nav -------------------------------------------------------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--blau);
  color: var(--weiss);
  box-shadow: 0 2px 10px rgba(1,43,77,.35);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--weiss); text-decoration: none; }
.brand img { height: 2.6rem; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
nav.main { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
nav.main a {
  color: var(--weiss); text-decoration: none;
  font-family: var(--font-label); font-size: .82rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.lang-switch {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: .15rem .75rem !important; color: var(--gold) !important;
}
.lang-switch:hover { background: var(--gold); color: var(--blau) !important; border-bottom-color: transparent !important; }
#nav-toggle { display: none; }
label.nav-toggle { display: none; color: var(--weiss); font-size: 1.6rem; cursor: pointer; line-height: 1; }

@media (max-width: 820px) {
  label.nav-toggle { display: block; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blau); flex-direction: column; align-items: flex-start;
    padding: .8rem 1.25rem 1.1rem; gap: .8rem; box-shadow: 0 8px 16px rgba(0,0,0,.25);
  }
  #nav-toggle:checked ~ nav.main { display: flex; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--blau) 0%, var(--blau-tief) 100%);
  color: var(--weiss);
  text-align: center;
  padding: 4.5rem 1.25rem 4rem;
  border-bottom: 6px solid var(--gold);
}
.hero .script { font-family: var(--font-script); color: var(--gold); font-size: clamp(2.2rem, 5vw, 3.4rem); display: block; margin-bottom: .4rem; }
.hero h1 { color: var(--weiss); font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; }
.hero .sub { font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-size: clamp(.85rem, 2vw, 1.05rem); margin-top: 1rem; }
.hero .facts { display: flex; justify-content: center; gap: 2.2rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero .facts div { min-width: 9rem; }
.hero .facts dt { font-family: var(--font-label); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.hero .facts dd { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.hero .note { font-size: 1.12rem; max-width: 42rem; margin: 1.5rem auto 0; color: var(--weiss); }
.hero .note-small {
  font-family: var(--font-label); font-size: .8rem; letter-spacing: .05em;
  color: var(--gold); margin-top: .7rem;
}
.hero .cta { margin-top: 2.4rem; }

.btn {
  display: inline-block; background: var(--amber); color: var(--weiss);
  font-family: var(--font-label); font-weight: 600; font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.9rem; border-radius: 4px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #b25a11; transform: translateY(-2px); }
.btn.ghost { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--blau); }

/* --- Sections -------------------------------------------------------------- */
section { padding: 3.8rem 0; }
section.alt { background: var(--weiss); }
section.dark { background: var(--blau); color: #d7e3ee; }
section.dark h2, section.dark h3 { color: var(--weiss); }
.kicker { font-family: var(--font-script); color: var(--amber); font-size: 2rem; line-height: 1; display: block; }
section.dark .kicker { color: var(--gold); }
h2.title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin: .2rem 0 1.6rem; }
.divider { width: 72px; height: 3px; background: var(--gold); border: 0; margin: 0 0 2rem; }

.lead { font-size: 1.15rem; max-width: 46rem; }
blockquote.motto {
  font-family: var(--font-head); font-style: italic; font-size: 1.3rem;
  color: var(--ink); border-left: 4px solid var(--gold);
  padding-left: 1.2rem; margin: 2rem 0 0; max-width: 40rem;
}
section.dark blockquote.motto { color: var(--gold); border-color: var(--gold); }
blockquote.motto cite {
  display: block; margin-top: .5rem; font-style: normal;
  font-family: var(--font-label); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--amber);
}
.section-note { margin-top: 2.2rem; font-size: .95rem; color: #8a8a8a; }

/* --- Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--weiss); border: 1px solid var(--grau-hell); border-radius: 8px;
  padding: 1.5rem 1.4rem; box-shadow: 0 2px 8px rgba(1,43,77,.06);
}
.card .emoji { font-size: 1.9rem; line-height: 1; display: block; margin-bottom: .6rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .45rem; }
.card p { font-size: .97rem; }
section.dark .card { background: rgba(255,255,255,.06); border-color: rgba(245,210,127,.35); color: #d7e3ee; box-shadow: none; }
section.dark .card h3 { color: var(--gold); }

/* --- Programm / Timeline ----------------------------------------------------- */
.day { margin-bottom: 2.4rem; }
.day h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--blau);
  border-bottom: 2px solid var(--gold); padding-bottom: .4rem; margin-bottom: 1rem;
}
.timeline { list-style: none; }
.timeline li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--grau-hell);
}
.timeline li:last-child { border-bottom: 0; }
.timeline time { font-family: var(--font-label); font-weight: 600; font-size: .88rem; color: var(--amber); white-space: nowrap; }
.timeline .what strong { color: var(--ink); font-weight: 600; }
.timeline .where { display: block; font-size: .85rem; color: #8a8a8a; }
@media (max-width: 540px) {
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
}

/* --- Sponsor-Sektion ----------------------------------------------------------- */
.presenter {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 2.2rem; align-items: center;
  background: var(--weiss); border: 2px solid var(--gold); border-radius: 12px;
  padding: 2.2rem;
}
.presenter img { width: 100%; height: auto; }
.presenter .claim { font-family: var(--font-script); font-size: 2rem; color: var(--amber); }
.presenter h3 { font-size: 1.6rem; font-weight: 800; margin: .2rem 0 .7rem; }
@media (max-width: 640px) { .presenter { grid-template-columns: 1fr; text-align: center; } .presenter img { max-width: 180px; margin: 0 auto; } }

.thanks { columns: 3; column-gap: 2rem; list-style: none; font-size: .97rem; }
.thanks li { padding: .18rem 0; break-inside: avoid; }
@media (max-width: 760px) { .thanks { columns: 2; } }
@media (max-width: 480px) { .thanks { columns: 1; } }

/* --- FAQ ------------------------------------------------------------------------ */
details {
  background: var(--weiss); border: 1px solid var(--grau-hell); border-radius: 8px;
  margin-bottom: .8rem; padding: 0 1.2rem;
}
details summary {
  cursor: pointer; list-style: none; padding: 1rem 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details summary::after { content: "+"; color: var(--amber); font-size: 1.4rem; font-family: var(--font-label); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 1.1rem; }

/* --- Footer -------------------------------------------------------------------- */
footer.site { background: var(--blau-tief); color: #b8c8d6; padding: 3rem 0 2rem; border-top: 6px solid var(--gold); }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
footer.site h4 { color: var(--gold); font-family: var(--font-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
footer.site a { color: #e8eef4; text-decoration: none; }
footer.site a:hover { color: var(--gold); }
footer.site ul { list-style: none; }
footer.site li { padding: .15rem 0; }
footer.site .disclaimer { margin-top: 2.2rem; font-size: .95rem; max-width: 46rem; }
footer.site .disclaimer a { color: var(--gold); text-decoration: underline; }
footer.site .legal { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(245,210,127,.25); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; }

/* --- Legal-Seiten ----------------------------------------------------------------- */
main.legal { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
main.legal h1 { font-size: 2rem; margin-bottom: 1.4rem; }
main.legal h2 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
main.legal p { margin-bottom: .8rem; }
