/* ===========================================================
   DER GOLDENE HUMPHREY — Shared Stylesheet
   TEDEXA KI-Award · Stil der Spreewind-2026-Folien
   =========================================================== */

:root {
  --band: #1F3350;          /* Kopfband der Folien */
  --bg: #0D1A2C;            /* Nachthimmel */
  --bg-deep: #08111E;
  --surface: #13243C;
  --surface-2: #1A2E4A;
  --frame: #4A86C5;         /* Rahmen der Kandidatenboxen */
  --frame-soft: rgba(74, 134, 197, 0.35);
  --orange: #F7941D;        /* „Der Goldene Humphrey“ */
  --blue: #1BA9E1;          /* „Volume 3“ */
  --blue-muted: #6E9CD3;    /* Datum, Untertitel */
  --gold: #F5B800;          /* Hervorhebung im Fließtext */
  --text: #FFFFFF;
  --text-dim: #B9C7DA;
  --text-faint: #7F93AE;

  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", Consolas, monospace;

  --max-width: 1140px;
  --radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg) url("img/bg-night.jpg") center top / cover fixed no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,26,44,0.55) 0%, rgba(8,17,30,0.85) 100%);
  pointer-events: none;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
img { max-width: 100%; display: block; }
strong, b { font-weight: 700; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--orange); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--orange); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* ---------- Top-Navigation ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 51, 80, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame-soft);
}
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.topnav-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.topnav-brand:hover { text-decoration: none; }
.topnav-brand img { height: 24px; width: auto; }
.topnav-brand .mark { width: 18px; height: 21px; color: var(--orange); }
.topnav-brand .claim { font-size: 13px; font-weight: 300; font-style: italic; color: var(--text-dim); }
.topnav-links { display: flex; gap: 26px; font-size: 15px; }
.topnav-links a { color: var(--text-dim); }
.topnav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 860px) { .topnav-links { display: none; } }
.topnav-cta {
  font-size: 14px; font-weight: 700; color: var(--bg-deep); background: var(--orange);
  padding: 9px 18px; border-radius: 100px; white-space: nowrap;
}
.topnav-cta:hover { text-decoration: none; background: #FFAA3D; }
.topnav-back { color: var(--text-dim); font-size: 14px; }
.topnav-back:hover { color: var(--text); }
@media (max-width: 480px) { .topnav-brand .claim { display: none; } }

/* ---------- Kopfband wie auf den Folien ---------- */
.slide-band { background: var(--band); padding: 44px 0 36px; }
.slide-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.slide-band h1 { margin-bottom: 2px; }
.slide-band .volume { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; color: var(--blue); line-height: 1.1; }
.slide-band .when { margin-top: 26px; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; color: var(--blue-muted); line-height: 1.25; }
.slide-band .side { text-align: right; }
.slide-band .side img { height: 38px; margin-left: auto; }
.slide-band .side .claim { display: block; font-style: italic; font-weight: 300; color: var(--text); margin-top: 2px; }
.slide-band .side .where { margin-top: 36px; color: var(--blue-muted); font-size: 1.15rem; line-height: 1.45; }
@media (max-width: 720px) {
  .slide-band .wrap { grid-template-columns: 1fr; }
  .slide-band .side { text-align: left; order: -1; }
  .slide-band .side img, .slide-band .side .claim { display: none; }
  .slide-band .side .where { margin-top: 10px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; }
.hero h1 { margin: 10px 0 18px; }
.hero .lede { max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-trophy { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); }
.hero-count { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.25; margin: 0 0 24px; }
.hero-count span { color: var(--orange); }
.hero-question { font-size: 1.35rem; font-weight: 300; margin: 0 0 18px; }
.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.lede { font-size: 1.15rem; color: var(--text-dim); line-height: 1.65; }
.review-meta { color: var(--blue-muted); font-weight: 500; }
.back-link { display: block; width: max-content; color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.back-link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--bg-deep); }
.btn-primary:hover { background: #FFAA3D; }
.btn-ghost { border-color: var(--frame); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Sektionen ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section.band { background: rgba(31, 51, 80, 0.72); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-dim); }
.text-narrow { max-width: 640px; color: var(--text-dim); }
.cols-2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Personen (Folienstil) ---------- */
.person-photo {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--frame); background: var(--surface); margin: 0 auto 18px;
}
.candidates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.candidate {
  border: 2px solid var(--frame); background: rgba(13, 26, 44, 0.75);
  padding: 26px 18px 24px; text-align: center; display: flex; flex-direction: column;
}
.candidate h3 { font-size: 1.1rem; }
.candidate .org { color: var(--text-dim); margin-top: 4px; }
.candidate .solution { font-weight: 700; margin-top: 10px; color: var(--text); }
.candidate .solution-label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 500; margin-bottom: 2px; }
@media (max-width: 960px) { .candidates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .candidates { grid-template-columns: 1fr; } }

.jury-title { color: var(--blue); font-size: 1.5rem; font-weight: 400; margin: 0 0 26px; }
.jury { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.jury .person-photo { width: 116px; height: 116px; }
.jury h3 { font-size: 1.05rem; }
.jury .org { color: var(--text-dim); margin-top: 2px; }
@media (max-width: 860px) { .jury { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { border-top: 3px solid var(--frame); padding-top: 18px; }
.step-num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--orange); margin-bottom: 10px; }
.step-time { display: block; font-size: 1.6rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-dim); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bewertung ---------- */
.criteria { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.criterion { background: var(--surface); border: 1px solid var(--frame-soft); padding: 20px 18px; border-radius: var(--radius); }
.criterion b { display: block; color: var(--orange); font-size: 1.05rem; margin-bottom: 6px; }
.criterion span { font-size: 14.5px; color: var(--text-dim); line-height: 1.5; display: block; }
@media (max-width: 960px) { .criteria { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .criteria { grid-template-columns: 1fr; } }
.fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.fields li { font-size: 14px; padding: 6px 13px; border: 1px solid var(--frame); border-radius: 100px; color: var(--text-dim); }
.motto { margin-top: 34px; text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; }
.motto span { color: var(--blue); }

/* ---------- Infopanels (Bestand) ---------- */
.fact-panel { border: 2px solid var(--frame); background: rgba(13,26,44,0.75); }
.fact-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--frame-soft); }
.fact-row:last-child { border-bottom: none; }
.fact-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-muted); padding-top: 3px; }
.fact-value { font-weight: 500; }
.fact-value.gold { color: var(--orange); font-weight: 700; }
@media (max-width: 640px) { .fact-row { grid-template-columns: 1fr; gap: 4px; } }
.callout { border-left: 4px solid var(--orange); background: var(--surface); padding: 22px 26px; margin-bottom: 26px; }
.callout p { margin: 0; color: var(--text-dim); }
.condition-list { list-style: none; padding: 0; margin: 0; }
.condition-list li { padding: 12px 0 12px 28px; border-top: 1px solid var(--frame-soft); position: relative; color: var(--text-dim); }
.condition-list li:first-child { border-top: none; }
.condition-list li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- Rückblick ---------- */
.year-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .year-cards { grid-template-columns: 1fr; } }
.year-card { border: 2px solid var(--frame); background: rgba(13,26,44,0.75); padding: 28px; transition: border-color .15s ease, transform .15s ease; }
.year-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.year-card .year-num { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.year-card h3 { color: var(--orange); font-size: 1.4rem; margin-bottom: 6px; }
.year-card .meta { color: var(--blue-muted); font-size: 14.5px; margin-bottom: 14px; }
.year-card p { color: var(--text-dim); font-size: 15.5px; }
.year-card .winner-tag { color: var(--gold); font-weight: 700; }
.year-card .year-link { font-weight: 700; }
.year-card .year-link:hover { text-decoration: underline; }

/* ---------- Rückblick-Seiten (Bestand) ---------- */
.participant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .participant-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .participant-grid { grid-template-columns: 1fr; } }
.participant-card { border: 2px solid var(--frame); background: rgba(13,26,44,0.75); padding: 22px; }
.participant-card h4 { font-size: 1.05rem; margin: 14px 0 6px; }
.participant-card p { font-size: 14.5px; color: var(--text-dim); margin: 0; }
.logo-slot { height: 70px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.logo-placeholder, .placeholder-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.winner-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; border: 2px solid var(--orange); background: rgba(13,26,44,0.8); padding: 30px; }
@media (max-width: 760px) { .winner-panel { grid-template-columns: 1fr; } }
.winner-trophy-slot { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--surface-2); color: var(--text-faint); font-family: var(--font-mono); font-size: 13px; }
.winner-eyebrow { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.winner-panel h3 { font-size: 1.6rem; margin-bottom: 12px; }
.winner-panel .company-placeholder { color: var(--text-faint); }
.winner-panel p { color: var(--text-dim); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--frame); background: var(--bg-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { border: 2px solid var(--frame); background: rgba(13,26,44,0.75); padding: 28px; max-width: 760px; }
.video-link p { color: var(--text-dim); }

/* ---------- Abschlussband ---------- */
.cta-band { background: var(--band); padding: 76px 0; text-align: center; }
.cta-band h2 { color: var(--text); font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-band .lede { max-width: 640px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .tagline { margin-top: 28px; color: var(--blue-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: 30px 0; font-size: 14px; color: var(--text-faint); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--text-dim); }

/* ---------- Bewerbung & Kontakt ---------- */
.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; gap: 28px; } }
.callout strong { color: var(--text); }
.form-panel { border: 2px solid var(--frame); background: rgba(13, 26, 44, 0.75); padding: 30px; }
@media (max-width: 480px) { .form-panel { padding: 22px 18px; } }
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field[hidden] { display: none; }
.form-field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-muted); }
.form-field label span { text-transform: none; letter-spacing: 0; color: var(--text-faint); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg-deep); border: 1px solid var(--frame-soft); border-radius: var(--radius);
  padding: 11px 13px; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.form-field ::placeholder { color: var(--text-faint); }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dim); line-height: 1.5; cursor: pointer; }
.form-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--orange); flex-shrink: 0; }
.apply-form .btn { border: none; cursor: pointer; }
.apply-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-success h3 { color: var(--orange); font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--text-dim); margin: 0; }
.form-success:focus { outline: none; }
