/* ==========================================================================
   Eco Performance Award – Stylesheet
   Eine Datei für alle Seiten. Aufbau "mobile first":
   Grundregeln gelten für Smartphones, Media Queries erweitern ab
   600 px (Tablet), 900 px (kleiner Desktop) und 1200 px (Desktop).

   Inhalt
   1.  Schriften (lokal)
   2.  Farben und Maße (CSS-Variablen)
   3.  Grundlagen
   4.  Hilfsklassen
   5.  Header und Navigation
   6.  Seitenkopf (Unterseiten) und Hero (Startseite)
   7.  Abschnitte und Raster
   8.  Komponenten: Karten, Zeitplan, Akkordeon, Jury, Timeline, Gewinner
   9.  Formulare
   10. Footer
   11. Nach-oben-Schaltfläche
   12. Bewegung reduzieren / Druck
   ========================================================================== */

/* 1. Schriften ------------------------------------------------------------ */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-700.woff2") format("woff2"); }

/* 2. Farben und Maße -------------------------------------------------------
   Farben exakt von der bisherigen Seite (getComputedStyle) übernommen.
   Ausnahme: --c-muted ist dunkler als im Original (dort 49 % Deckkraft
   von --c-text), damit der Kontrast WCAG AA erfüllt. */
:root {
  --c-text: #262335;          /* Schrift, Überschriften (rgb 38,35,53) */
  --c-green: #98c225;         /* Markengrün: Flächen, Buttons, Unterstreichung */
  --c-green-dark: #7fa31d;    /* Grün für Hover */
  --c-white: #ffffff;
  --c-card: #efeff2;          /* Kategorie-Karten Startseite */
  --c-icon-bg: #cfcfd8;       /* Kreis hinter Kategorie-Icons */
  --c-winner-card: #f2f2f2;   /* Gewinner-Karten */
  --c-muted: #5f5d6b;         /* Nebentexte (Original: rgba(38,35,53,.49)) */
  --c-line: rgba(38, 35, 53, 0.1);    /* Trennlinien, Formularränder */
  --c-line-strong: rgba(38, 35, 53, 0.25);
  --c-linkedin: #0076b6;
  --c-error: #b3261e;
  --c-success-bg: #f1f7e3;
  --c-focus: #262335;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1250px;        /* Inhaltsbreite wie im Original */
  --gutter: 16px;             /* Seitenrand mobil */
  --radius: 4px;
  --radius-card: 8px;
  --header-h: 88px;

  --fs-body: 1rem;                                   /* 16 px */
  --fs-lead: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); /* 16–18 px */
  --fs-h1: clamp(2.125rem, 1.6rem + 2.4vw, 3rem);    /* 34–48 px */
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 3rem);      /* 30–48 px */
  --fs-h2-s: clamp(1.625rem, 1.3rem + 1.2vw, 2rem);  /* 26–32 px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);   /* 20–24 px */

  --space-section: clamp(3rem, 2rem + 4vw, 5rem);
}

/* 3. Grundlagen ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
/* Linien-Icons (Lucide, ISC-Lizenz – siehe assets/LICENSE-Lucide.txt) */
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.25; hyphens: manual; overflow-wrap: break-word; }
/* sehr schmale Bildschirme: lange Wörter in Überschriften trennen (z. B. „Datenschutzhinweis“) */
@media (max-width: 599.98px) { h1, h2, h3 { hyphens: auto; } }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, ul, ol { margin: 0 0 1em; }
p, li, dd { hyphens: auto; }
@media (min-width: 900px) { p, li, dd { hyphens: manual; } }

a { color: inherit; text-decoration-color: var(--c-green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--c-text); text-decoration-color: var(--c-text); }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
.bg-green :focus-visible, .site-footer :focus-visible { outline-color: var(--c-text); }
.page-hero :focus-visible { outline-color: var(--c-white); }

button { font: inherit; color: inherit; }

/* 4. Hilfsklassen ---------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(720px + 2 * var(--gutter)); }
.container--text { max-width: calc(1000px + 2 * var(--gutter)); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 20px; background: var(--c-text); color: var(--c-white);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; color: var(--c-white); }

.text-center { text-align: center; }
.lead { font-size: var(--fs-lead); }
.muted { color: var(--c-muted); }

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  background: var(--c-green); color: var(--c-text);
  border: 0; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s;
}
.btn:hover { background: var(--c-green-dark); color: var(--c-text); }
.btn--block { width: 100%; }

/* 5. Header und Navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 2px 12px rgba(38, 35, 53, 0.06); }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 22px; flex-shrink: 0; text-decoration: none; }
.brand__signet { width: 50px; height: auto; }
.brand__wordmark { display: none; width: 188px; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-left: auto;
  background: var(--c-card); border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 1px; content: "";
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { position: absolute; top: -7px; }
.nav-toggle__bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobil: Menü klappt unter dem Header auf */
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--c-white); border-top: 1px solid var(--c-line); box-shadow: 0 12px 24px rgba(38, 35, 53, 0.12); }
.main-nav.is-open { display: block; }
/* Ohne JavaScript ist das Menü immer sichtbar (der Schalter wird ausgeblendet) */
.no-js .nav-toggle { display: none; }
.no-js .site-header { position: relative; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .main-nav { flex-basis: 100%; }
.no-js .main-nav { display: block; position: static; box-shadow: none; border: 0; }

.main-nav__list { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.main-nav__item { border-bottom: 1px solid var(--c-line); }
.main-nav__item:last-child { border-bottom: 0; }

.main-nav__link {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 52px; padding: 10px 4px;
  background: none; border: 0; font-size: 1.0625rem; text-align: left; text-decoration: none; cursor: pointer;
}
.main-nav__link:hover { color: var(--c-text); }
.main-nav__label { position: relative; padding-block: 4px; white-space: nowrap; }
.main-nav__link[aria-current="page"] .main-nav__label,
.main-nav__link.is-active .main-nav__label { box-shadow: inset 0 -2px 0 var(--c-green); }
.main-nav__link:hover .main-nav__label { box-shadow: inset 0 -2px 0 var(--c-green); }
.main-nav__home-icon { width: 24px; height: 24px; flex-shrink: 0; }
.main-nav__chevron { width: 18px; height: 18px; margin-left: auto; transition: transform 0.2s; }
.main-nav__link[aria-expanded="true"] .main-nav__chevron { transform: rotate(180deg); }

/* Aufklappmenü "Historie" */
.submenu { display: none; list-style: none; margin: 0; padding: 0 0 12px; hyphens: manual; }
.submenu.is-open, .no-js .submenu { display: block; }
.submenu__link { display: flex; align-items: flex-start; gap: 16px; padding: 10px 4px; min-height: 48px; text-decoration: none; }
.submenu__img { width: 64px; height: 64px; flex-shrink: 0; object-fit: cover; border-radius: var(--radius-card); }
.submenu__title { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.submenu__text { display: block; margin-top: 4px; color: var(--c-muted); font-size: 0.9375rem; line-height: 1.5; }
.submenu__link:hover .submenu__title, .submenu__link[aria-current="page"] .submenu__title { text-decoration: underline; text-decoration-color: var(--c-green); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Header-Button "Jetzt Kurzbewerbung einreichen" (nur sichtbar, wenn im HTML aktiviert) */
.header-cta { margin: 8px var(--gutter) 16px; }

@media (min-width: 600px) {
  .brand__wordmark { display: block; }
}

@media (min-width: 1024px) {
  :root { --header-h: 143px; }
  .site-header__inner { gap: 40px; padding-block: 24px; }
  .brand__signet { width: 75px; }
  .nav-toggle { display: none; }
  .no-js .site-header__inner { flex-wrap: nowrap; }
  .main-nav, .no-js .main-nav { flex-basis: auto; display: flex; align-items: center; flex: 1; position: static; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; }
  .main-nav__list { display: flex; align-items: center; gap: 4px; padding: 0; }
  .main-nav__item { position: relative; border: 0; }
  .main-nav__link { min-height: 48px; padding: 8px 12px; font-size: 1rem; }
  .main-nav__chevron { width: 14px; height: 14px; margin-left: -4px; }
  .submenu, .no-js .submenu {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 10;
    width: 423px; padding: 16px 24px 24px;
    background: var(--c-white); border-radius: 16px; box-shadow: 0 16px 48px rgba(38, 35, 53, 0.16);
  }
  .submenu.is-open { display: block; }
  /* Ohne JavaScript: Untermenü bei Hover und Tastaturfokus */
  .no-js .main-nav__item--sub:hover .submenu, .no-js .main-nav__item--sub:focus-within .submenu { display: block; }
  .header-cta { margin: 0 0 0 auto; }
}

/* 6. Seitenkopf und Hero ---------------------------------------------------- */
/* Unterseiten: Kopfbild mit Titel; Unterkante als flaches "V" (wie Original). */
.page-hero {
  position: relative; display: grid; place-items: center;
  min-height: clamp(240px, 22vw + 140px, 400px);
  padding: 48px var(--gutter) clamp(64px, 6vw, 96px);
  background: #000; color: var(--c-white); text-align: center; isolation: isolate;
  clip-path: polygon(0 0, 100% 0, 100% 87%, 50% 100%, 0 87%);
}
.page-hero--small { min-height: clamp(220px, 12vw + 140px, 270px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.page-hero__title { max-width: 900px; margin: 0; font-size: var(--fs-h1); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.page-hero__sub { margin: 16px 0 0; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }

/* Startseite: Hero mit Titel links und Verbandslogos rechts */
.home-hero {
  position: relative; isolation: isolate; color: var(--c-white); background: #000;
  padding: 40px 0 clamp(80px, 16vw, 130px); /* Platz für die V-Form unter der Logofläche */
  clip-path: polygon(0 0, 100% 0, 100% 87%, 50% 100%, 0 87%);
}
.home-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.home-hero__inner { display: grid; gap: 40px; align-items: center; max-width: 1408px; margin-inline: auto; padding-inline: var(--gutter); }
.home-hero__title { margin: 0; font-size: var(--fs-h1); line-height: 1.28; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.home-hero__sub { margin: 24px 0 0; font-size: var(--fs-lead); font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
/* Verbandslogos: Milchglas-Fläche mit weißen Kacheln (Entwurf B, 30.11.2026).
   Die Logo-Dateien sind ohne weißen Rand zugeschnitten; die feste Bildbox
   (Höhe + max. Breite) sorgt dafür, dass alle Logos optisch gleich groß wirken. */
.home-hero__logos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  width: 100%; max-width: 520px; /* Tablet: Kacheln nicht übergroß werden lassen */
  margin: 0; padding: 16px; list-style: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .home-hero__logos { background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.home-hero__logos li {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1;
  padding: 10px; background: var(--c-white); border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.home-hero__logos img { width: 100%; max-width: 132px; height: auto; max-height: 56%; object-fit: contain; }

@media (min-width: 900px) {
  .home-hero { padding: 76px 0 100px; }
  .home-hero__inner { grid-template-columns: 1fr minmax(0, 600px); padding-inline: 32px; }
  .home-hero__logos { max-width: none; gap: 18px; padding: 28px; }
  .home-hero__logos li { padding: 16px; }
}

/* 7. Abschnitte und Raster -------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section--tight-top { padding-top: calc(var(--space-section) * 0.6); }
.bg-green { background: var(--c-green); }

.section__title { margin-bottom: 0.6em; font-size: var(--fs-h2); text-align: center; }
.section__title--s { font-size: var(--fs-h2-s); }
.section__intro { max-width: 1100px; margin: 0 auto 1.5em; font-size: var(--fs-lead); text-align: center; }

/* Zwei Spalten Text/Bild (mobil untereinander) */
.split { display: grid; gap: 32px; align-items: center; }
.split__media img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--media-wide { grid-template-columns: 1fr 1.25fr; }
}

/* Drei Spalten (Vorteile, Aspekte, Kategorien) */
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* "Der Award" (Startseite) */
.award__title { text-align: center; }
.award__text { font-size: var(--fs-lead); }

/* 8. Komponenten ------------------------------------------------------------ */

/* Kategorie-Karte (Startseite "Was wir suchen") */
.category-card { display: flex; gap: 24px; padding: 32px 24px; background: var(--c-card); border-radius: var(--radius-card); }
.category-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 72px; background: var(--c-icon-bg); border-radius: 50%; }
.category-card__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--c-text); }
.category-card__title { margin-bottom: 8px; font-size: var(--fs-h3); }
.category-card__text { margin: 0; color: var(--c-muted); }
@media (min-width: 1200px) {
  .category-card { padding: 40px; }
  .category-card__icon { width: 96px; height: 96px; }
}

/* Zeitplan (01 bis 04) */
.timeline-steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.step__num { display: flex; flex-direction: column; align-items: center; font-size: 1.5rem; font-weight: 600; line-height: 1; padding-top: 14px; }
.step__num::after { content: ""; flex: 1; width: 2px; min-height: 24px; margin: 18px 0 10px; background: var(--c-line-strong); }
.step:last-child .step__num::after { display: none; }
.step__title { margin: 0 0 8px; font-size: var(--fs-h3); }
.step__text { margin: 0 0 20px; color: var(--c-muted); }
@media (min-width: 900px) { .step { grid-template-columns: 64px 1fr; } }
.zeitplan__img { border-radius: var(--radius-card); width: 100%; height: 100%; object-fit: cover; }

/* Akkordeon (Partner, Gewinner-Lösungen) – auf Basis von <details>, ohne JS */
.accordion { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.bg-green .accordion, .bg-green .accordion__item { border-color: rgba(38, 35, 53, 0.18); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__summary {
  display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0;
  list-style: none; cursor: pointer; font-weight: 500;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-left: auto;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.2s;
}
.accordion__item[open] > .accordion__summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.accordion__name { font-size: 1rem; }
.accordion__body { padding: 0 0 20px; }
.accordion__body p:last-child { margin-bottom: 0; }

/* Partner (Logo + Name im Akkordeon). Logos als weiße Kachel wie die Verbandslogos
   im Kopfbild, nur kleiner; die Logo-Dateien sind ohne weißen Rand zugeschnitten. */
.partner__logo {
  flex-shrink: 0; width: 96px; height: 64px; padding: 10px 12px;
  object-fit: contain; background: var(--c-white); border-radius: 12px;
  box-shadow: 0 4px 14px rgba(38, 35, 53, 0.16);
}
.partner__name { font-size: 1rem; font-weight: 500; }
.partner .accordion__body { padding-left: 112px; }
@media (min-width: 600px) {
  .partner__logo { width: 120px; height: 80px; padding: 12px 16px; }
  .partner__name { font-size: 1.125rem; }
  .partner .accordion__body { padding-left: 136px; }
}
@media (max-width: 599px) { .partner .accordion__body { padding-left: 0; } }

/* Über den Award: weiße Karte auf grünem Grund */
.white-card { padding: clamp(24px, 3vw, 40px); background: var(--c-white); border-radius: var(--radius-card); }
.white-card h2 { font-size: var(--fs-h2-s); }
.white-card--media { display: grid; place-items: center; }

/* Vorteile / Aspekte: Icon über Spalte */
.feature { text-align: center; }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 16px; background: var(--c-card); border-radius: var(--radius); }
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font-size: 1.125rem; }
.feature__text { color: var(--c-muted); text-align: left; }
.feature--center .feature__text { text-align: center; }
.feature__list { margin: 0; padding-left: 1.25em; color: var(--c-muted); text-align: left; }
.feature__list li { margin-bottom: 0.75em; }
.feature__list li::marker { color: var(--c-text); }

/* Drei Dimensionen: Begriff mit grüner Unterstreichung */
.dimensions { margin: 0; }
.dimensions dt { display: inline; font-weight: 500; box-shadow: inset 0 -2px 0 var(--c-green); }
.dimensions dd { margin: 4px 0 20px; }

/* "Kombinieren, um zu gewinnen": Bild bis an den rechten Rand */
.combine { display: grid; gap: 32px; align-items: center; padding-top: var(--space-section); }
.combine__text { padding-inline: var(--gutter); }
.combine__subtitle { font-weight: 500; }
.combine__media img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .combine { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 0; }
  .combine__text { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: 0; }
}

/* Jury-Raster */
.jury-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 32px 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.jury-card__img { width: 100%; aspect-ratio: 289 / 338; object-fit: cover; object-position: center top; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--c-card); }
.jury-card__name { margin: 16px 0 6px; font-size: 1.125rem; }
.jury-card__role { margin: 0 0 8px; font-size: 0.9375rem; line-height: 1.45; }
.jury-card__org { margin: 0; color: var(--c-muted); font-size: 0.875rem; line-height: 1.45; }
@media (min-width: 600px) { .jury-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 900px) { .jury-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .jury-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; } .jury-card__name { font-size: 1.25rem; } }

/* Historie: vertikale Timeline (mobil links, ab 900 px mittig abwechselnd) */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 0 0 0 32px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--c-text); }
.timeline__item { position: relative; padding: 0 0 32px; }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; background: var(--c-text); border-radius: 50%; }
.timeline__year { margin: 0 0 8px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; }
.timeline__text { margin: 0; color: var(--c-muted); }
@media (min-width: 900px) {
  .timeline { padding: 0; }
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .timeline__item { width: 50%; padding: 0 0 40px 48px; margin-left: 50%; }
  .timeline__item::before { left: -6px; }
  .timeline__item:nth-child(even) { margin-left: 0; padding: 0 48px 40px 0; text-align: right; }
  .timeline__item:nth-child(even)::before { left: auto; right: -6px; }
  .timeline__text { max-width: 400px; }
  .timeline__item:nth-child(even) .timeline__text { margin-left: auto; }
}

/* Gewinner-Seite */
.winner-year { padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--c-line); }
.winner-year__title { margin-bottom: 24px; font-size: var(--fs-h2-s); text-align: center; }
.winner-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.winner-cards--1 { max-width: 400px; margin-inline: auto; }
.winner-cards--2 { max-width: 830px; margin-inline: auto; }
.winner-card { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 16px; background: var(--c-winner-card); border-radius: var(--radius); text-align: center; }
.winner-card__label { margin: 0; font-size: var(--fs-h3); }
.winner-card__logo { width: 150px; height: 150px; margin-top: auto; object-fit: contain; background: var(--c-white); } /* margin-top:auto: Logos stehen auf einer Linie, auch bei zweizeiligem Etikett */
.winner-year__solutions { margin-bottom: 16px; font-size: 1.25rem; text-align: center; }
@media (min-width: 900px) { .winner-cards { gap: 36px; } }

/* Bewerbung: Flyer-Vorschau */
.flyer-link { display: inline-block; margin-top: 8px; }
.flyer-link img { width: auto; max-height: 425px; margin-inline: auto; box-shadow: 0 2px 12px rgba(38, 35, 53, 0.12); }

/* Rechtstexte */
.legal h2 { font-size: var(--fs-h2-s); margin-top: 1.5em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.5em 0 0.4em; font-size: 1rem; font-weight: 700; }
.legal p, .legal address { font-style: normal; font-size: var(--fs-lead); }
.legal__big { font-size: var(--fs-h2) !important; }

/* 9. Formulare --------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: 6px; }
.form__label { font-size: 0.875rem; font-weight: 600; }
.form__label .req { color: var(--c-error); }
.form__group { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.form__group legend { margin-bottom: 8px; padding: 0; font-size: 0.875rem; font-weight: 600; }

.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--c-text); /* mind. 16 px: kein Zoom auf iOS */
  background: var(--c-white); border: 1px solid var(--c-line-strong); border-radius: var(--radius);
  transition: border-color 0.15s;
}
.form textarea { min-height: 96px; resize: vertical; }
.form select { appearance: none; padding-right: 44px; background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23262335' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.form ::placeholder { color: #6b6976; opacity: 1; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--c-text); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--c-green); outline-offset: 0; border-color: var(--c-text); }
.form [aria-invalid="true"] { border-color: var(--c-error); }

.phone { display: grid; grid-template-columns: minmax(0, 230px) 1fr; gap: 8px; }
@media (max-width: 380px) { .phone { grid-template-columns: 1fr; } }

.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-green); }

.form__hint { margin: 0; color: var(--c-muted); font-size: 0.875rem; }
.form__error { margin: 0; color: var(--c-error); font-size: 0.875rem; font-weight: 600; }
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--radius); border-left: 4px solid; }
.notice--success { background: var(--c-success-bg); border-color: var(--c-green); }
.notice--error { background: #fdecea; border-color: var(--c-error); }
.notice h2, .notice h3 { margin: 0 0 4px; font-size: 1.125rem; }
.notice p { margin: 0; }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }

/* 10. Footer ------------------------------------------------------------------ */
.site-footer { padding: 48px 0 56px; background: var(--c-green); text-align: center; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 250px; height: auto; }
.site-footer__social { display: flex; justify-content: center; margin: 20px 0 24px; }
.site-footer__linkedin { display: grid; place-items: center; width: 56px; height: 56px; color: var(--c-white); background: var(--c-linkedin); border-radius: 50%; }
.site-footer__linkedin:hover { background: #005f92; color: var(--c-white); }
.site-footer__linkedin svg { width: 22px; height: 22px; }
.site-footer__copy { margin: 0 0 8px; font-size: var(--fs-lead); font-weight: 600; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-text); text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* 11. Nach oben ---------------------------------------------------------------- */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--c-text); color: var(--c-white); border-radius: 50%;
  text-decoration: none; box-shadow: 0 4px 16px rgba(38, 35, 53, 0.25);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.to-top.is-visible, .no-js .to-top { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--c-white); background: #000; }
.to-top svg { width: 24px; height: 24px; transform: rotate(180deg); }

/* 12. Bewegung reduzieren / Druck ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer__social, .to-top, .form { display: none !important; }
  .page-hero, .home-hero { clip-path: none; color: var(--c-text); background: none; min-height: 0; }
  .page-hero__bg, .home-hero__bg { display: none; }
  .accordion__body { display: block !important; }
}
