/* WedeMarken Award 2026 – Landingpage. Farben und Schrift nach zw-brand.json (Stand 2026-08-31). */
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --gruen: #71B40F;
  --gruen-dunkel: #2E6B0C;
  --forest: #1C3A0D;
  --forest-deep: #122707;
  --gruen-hell: #C8E8A3;
  --beere: #990088;
  --gold: #FFCC00;
  --rot: #CC3300;
  --grau: #EFEDEF;
  --weiss: #FFFFFF;
  --schrift: "Open Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  --radius: 14px;
  --schatten: 0 8px 28px rgba(18, 39, 7, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--forest);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); }
a:hover { color: var(--forest); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; color: var(--forest-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin: 0 auto; }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--grau); position: sticky; top: 0; z-index: 10; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.kopf-logo img { width: 150px; height: auto; }
.kopf-nav { display: flex; align-items: center; gap: 1.2rem; font-weight: 600; }
.kopf-nav a { text-decoration: none; }
@media (max-width: 640px) { .kopf-nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gruen-dunkel);
  color: var(--weiss);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 200ms ease, transform 200ms ease;
}
.btn:hover { background: var(--forest); color: var(--weiss); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-klein { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-gross { padding: 1rem 2rem; font-size: 1.1rem; width: 100%; }
.btn-sekundaer { background: var(--weiss); color: var(--gruen-dunkel); border: 2px solid var(--gruen-dunkel); }
.btn-sekundaer:hover { background: var(--gruen-hell); color: var(--forest-deep); }
@media (min-width: 640px) { .btn-gross { width: auto; } }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE066 45%, var(--grau) 100%);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero-innen { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-innen { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  margin-bottom: 0.6rem;
}
.hero h1 { color: var(--forest-deep); }
.hero-sub { font-size: 1.15rem; color: var(--forest-deep); max-width: 34rem; }
.hero-fakten { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.5rem; color: var(--forest-deep); }
.hero-fakten li { padding-left: 1.4rem; position: relative; }
.hero-fakten li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.7rem; height: 0.7rem; background: var(--gruen-dunkel); border-radius: 50%; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.plaetze {
  background: var(--forest);
  color: var(--weiss);
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.plaetze.voll { background: var(--beere); }
.hero-bild { margin: 0; }
.hero-bild img { border-radius: var(--radius); box-shadow: var(--schatten); }

/* Abschnitte */
.abschnitt { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.abschnitt-hell { background: var(--gruen-hell); color: var(--forest-deep); }
.abschnitt-hell h2, .abschnitt-hell p { color: var(--forest-deep); }
.spalten { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .spalten { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.einleitung { font-size: 1.1rem; max-width: 46rem; }
.hinweis-klein { font-size: 0.92rem; color: var(--gruen-dunkel); }
.abschnitt-hell .hinweis-klein { color: var(--forest-deep); }

.karte { background: var(--weiss); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--schatten); }
.karte-gold { background: var(--gold); color: var(--forest-deep); box-shadow: none; }
.karte-gold h3 { color: var(--forest-deep); }
.schirmherr-logo { width: 200px; margin: 0.4rem 0 1rem; }
blockquote { margin: 0; font-size: 1rem; }
blockquote footer { font-weight: 700; margin-top: 0.5rem; }

.jury-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.jury-karte { background: var(--weiss); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: grid; gap: 0.3rem; box-shadow: var(--schatten); }
.jury-kat { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--gruen-dunkel); }
.jury-karte strong { font-size: 1.15rem; color: var(--forest-deep); }

/* Galerie */
.galerie-jahr { margin: 0 0 2.2rem; }
.galerie-jahr h3 { display: flex; align-items: baseline; gap: 0.8rem; }
.galerie-jahr h3 a { font-size: 0.9rem; font-weight: 600; }
.galerie-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.galerie-grid button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; overflow: hidden; display: block; width: 100%; aspect-ratio: 4 / 3; box-shadow: var(--schatten); transition: transform 200ms ease; }
.galerie-grid button:hover, .galerie-grid button:focus-visible { transform: scale(1.03); outline: 3px solid var(--gold); outline-offset: 2px; }
.galerie-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; }
.lightbox::backdrop { background: rgba(18, 39, 7, 0.9); }
.lightbox img { max-width: 96vw; max-height: 88vh; display: block; border-radius: 12px; margin: 0 auto; }
.lightbox-leiste { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 0 0; }
.lightbox-leiste button { background: var(--weiss); color: var(--forest-deep); border: 0; border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.lightbox-leiste .zaehler { color: var(--weiss); align-self: center; font-size: 0.9rem; }

/* Formular */
.anmeldung-wrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .anmeldung-wrap { grid-template-columns: 1fr 1.4fr; gap: 3rem; } }
.formular { background: var(--weiss); border: 1px solid var(--grau); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--schatten); display: grid; gap: 1.1rem; }
.feld { display: grid; gap: 0.35rem; }
.feld label { font-weight: 700; font-size: 0.98rem; }
.optional { font-weight: 400; color: var(--gruen-dunkel); }
.feld input[type="text"], .feld input[type="email"], .feld select, .feld textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 2px solid #CFD8C4;
  border-radius: 10px;
  color: var(--forest-deep);
  background: var(--weiss);
  width: 100%;
  min-height: 48px;
  transition: border-color 150ms ease;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gruen-dunkel); box-shadow: 0 0 0 3px rgba(113, 180, 15, 0.25); }
.feld.ungueltig input, .feld.ungueltig select, .feld.ungueltig textarea { border-color: var(--rot); }
.feld-kurz { max-width: 220px; }
.feld-begleitung { border: 0; padding: 0; margin: 0; }
.feld-begleitung legend { font-weight: 700; font-size: 0.98rem; padding: 0; margin-bottom: 0.4rem; }
.begleitung-felder { display: grid; gap: 0.6rem; }
.begleitung-felder label { display: grid; gap: 0.25rem; font-weight: 600; font-size: 0.9rem; color: var(--gruen-dunkel); }
.feld-check label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; }
.feld-check input { width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; flex: none; accent-color: var(--gruen-dunkel); }
.feld-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hilfe { font-size: 0.88rem; color: var(--gruen-dunkel); margin: 0; }
.fehler { color: var(--rot); font-size: 0.9rem; font-weight: 600; margin: 0; min-height: 0; }
.fehler:empty { display: none; }
.fehler-global { background: #FBE9E4; border-radius: 10px; padding: 0.7rem 0.9rem; }

.erfolg { background: var(--gruen-hell); color: var(--forest-deep); border-radius: var(--radius); padding: 2rem; }
.erfolg h3 { color: var(--forest-deep); font-size: 1.5rem; }
.erfolg.warteliste { background: var(--gold); }

/* Fuß */
.fuss { background: var(--forest); color: var(--weiss); padding: 2.5rem 0; margin-top: 2rem; }
.fuss a { color: var(--weiss); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.fuss-logo { width: 140px; margin-bottom: 0.8rem; background: var(--weiss); padding: 0.5rem 0.7rem; border-radius: 10px; }
.fuss p { margin: 0; font-size: 0.95rem; }
.fuss-nav { display: grid; gap: 0.5rem; font-weight: 600; }

/* Schlichte Seiten (Storno) */
.seite-schlicht { background: var(--grau); }
.schlicht { max-width: 620px; margin: 3rem auto; background: var(--weiss); border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten); }
.schlicht-logo img { width: 180px; margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
