/* =============================================
   Trikotaktion RheinMain
   Design tokens from stiftung-flughafen-frankfurt.de
   Font:    Mulish (200–900) via Google Fonts
   Primary: #34495e  (nav, buttons, widget borders)
   Blue:    #396c9e  (h1, accent, "WIR")
   Link:    #3277d2
   Footer:  #092f81
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Mulish, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #444;
  background: #fff;
}

a {
  color: #3277d2;
  text-decoration: none;
}

a:hover {
  color: #396c9e;
  text-decoration: underline;
}

address {
  font-style: normal;
  line-height: 1.85;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e8ed;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: #34495e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: #396c9e;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  color: #34495e;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}

.main-nav a:hover {
  background: #34495e;
  color: #fff;
  text-decoration: none;
}

.main-nav a.nav-cta {
  background: #34495e;
  color: #fff;
  padding: 8px 16px;
}

.main-nav a.nav-cta:hover {
  background: #2c3e50;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 340px;
  background:
    linear-gradient(to bottom, rgba(7,25,62,0.55) 0%, rgba(9,47,129,0.72) 100%),
    url('img/header.jpg') center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: #396c9e;
  box-shadow: -8px 0 40px rgba(57,108,158,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 20px 44px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #8cb4d2;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: #aac4db;
  margin-bottom: 28px;
  font-style: italic;
}

.btn-hero {
  display: inline-block;
  background: #34495e;
  color: #fff;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px 10px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.18s;
}

.btn-hero:hover {
  background: #2c3e50;
  color: #fff;
  text-decoration: none;
}

/* =============================================
   TWO-COLUMN LAYOUT
   ============================================= */
.site-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  align-items: start;
}

.content-main {
  padding: 36px 36px 48px 0;
  border-right: 1px solid #e4e8ed;
}

.content-sidebar {
  padding: 30px 0 48px 28px;
}

/* =============================================
   SECTIONS
   ============================================= */
.intro-card {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e4e8ed;
}

.intro-card p {
  color: #444;
  margin-bottom: 12px;
}

.section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e4e8ed;
}

.section-alt {
  background: #f4f7fb;
  padding: 24px 28px;
  border-left: 3px solid #34495e;
  border-bottom: none;
}

.section-headline {
  font-size: 1.35rem;
  font-weight: 300;
  color: #396c9e;
  margin-bottom: 14px;
}

.section h2 {
  font-size: 1.45rem;
  font-weight: 300;
  color: #396c9e;
  margin-bottom: 20px;
}

/* "WIR / SO / WER / DAS" Akzent */
.wir {
  color: #396c9e;
  font-weight: 800;
}

/* =============================================
   STEPS GRID
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: #f4f7fb;
  border-top: 3px solid #34495e;
  padding: 20px 16px;
}

.step-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  filter: grayscale(1);
}

.step h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #34495e;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

/* =============================================
   CRITERIA LIST
   ============================================= */
.criteria-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.criteria-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.criteria-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
  filter: grayscale(1);
}

.criteria-list strong {
  display: block;
  color: #34495e;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.criteria-list p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* =============================================
   PRIZE BOX
   ============================================= */
.prize-box {
  display: flex;
  gap: 32px;
  align-items: center;
  background: #092f81;
  color: #fff;
  padding: 28px 32px;
  border-radius: 3px;
}

.prize-main {
  flex-shrink: 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  padding-right: 32px;
}

.prize-number {
  font-size: 5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.prize-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #aac4db;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-top: 4px;
}

.prize-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prize-list li {
  font-size: 0.93rem;
  color: #d0e4f0;
  padding-left: 18px;
  position: relative;
}

.prize-list li::before {
  content: '▸';
  color: #396c9e;
  position: absolute;
  left: 0;
  font-size: 0.78rem;
  top: 3px;
}

/* =============================================
   QUOTE
   ============================================= */
.quote-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e4e8ed;
}

blockquote {
  border-left: 3px solid #34495e;
  padding: 18px 22px;
  background: #f8f9fb;
}

blockquote p {
  font-size: 1rem;
  font-weight: 300;
  color: #444;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 10px;
}

blockquote footer {
  font-size: 0.85rem;
  color: #666;
}

/* =============================================
   BEWERBUNGSFORMULAR
   ============================================= */
.form-section {
  padding-bottom: 0;
}

.form-section h2 {
  font-size: 1.45rem;
  font-weight: 300;
  color: #396c9e;
  margin-bottom: 8px;
}

.form-intro {
  color: #666;
  margin-bottom: 24px;
  font-size: 0.93rem;
}

/* Status-Meldung */
.form-status {
  padding: 13px 16px;
  border-radius: 3px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-status--success {
  background: #eafaf1;
  border-left: 3px solid #27ae60;
  color: #1e8449;
}

.form-status--error {
  background: #fdf2f2;
  border-left: 3px solid #c0392b;
  color: #922b21;
}

.form-status--warning {
  background: #fef9e7;
  border-left: 3px solid #f39c12;
  color: #9a6f0a;
}

.application-form {
  background: #f4f7fb;
  border-top: 3px solid #34495e;
  padding: 24px 28px;
}

/* Groups & rows */
.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group--plz {
  max-width: 130px;
}

/* Fieldset */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.form-fieldset legend {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #34495e;
  margin-bottom: 10px;
  width: 100%;
}

/* Labels */
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #34495e;
  margin-bottom: 5px;
}

.required {
  color: #396c9e;
}

/* Inputs */
.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"] {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #c8d4de;
  border-radius: 3px;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.9rem;
  color: #444;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.application-form input[type="text"]:focus,
.application-form input[type="email"]:focus,
.application-form input[type="tel"]:focus {
  outline: none;
  border-color: #396c9e;
  box-shadow: 0 0 0 3px rgba(57,108,158,0.12);
}

.input-readonly {
  background: #e8eef5 !important;
  color: #34495e !important;
  font-weight: 700 !important;
  cursor: default;
}

/* File upload */
.upload-area {
  position: relative;
  border: 2px dashed #b0c4d4;
  border-radius: 3px;
  background: #fff;
  transition: border-color 0.18s, background 0.18s;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #34495e;
  background: #f0f5fa;
}

.upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-placeholder {
  padding: 26px 20px;
  text-align: center;
  pointer-events: none;
}

.upload-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
  filter: grayscale(1);
}

.upload-placeholder p {
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 0.76rem !important;
  color: #888 !important;
}

/* Checkbox */
.form-group--checkbox {
  margin-top: 4px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #555 !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: #34495e;
  cursor: pointer;
}

.checkbox-label a {
  color: #3277d2;
  text-decoration: underline;
}

/* Actions */
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d0dce8;
}

.btn-submit {
  background: #34495e;
  color: #fff;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 32px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s;
}

.btn-submit:hover {
  background: #2c3e50;
}

.form-note {
  font-size: 0.78rem;
  color: #888;
}

/* =============================================
   BUTTONS (allgemein)
   ============================================= */
.btn-primary {
  display: inline-block;
  background: #34495e;
  color: #fff;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 20px 7px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.18s;
}

.btn-primary:hover {
  background: #2c3e50;
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #34495e;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px 6px;
  border-radius: 3px;
  border: 2px solid #34495e;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.btn-secondary:hover {
  background: #34495e;
  color: #fff;
  text-decoration: none;
}

.btn-block {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

/* =============================================
   SIDEBAR WIDGETS
   ============================================= */
.sidebar-widget {
  border-top: 3px solid #34495e;
  padding: 16px 0 18px;
  margin-bottom: 22px;
}

.sidebar-widget h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #34495e;
  margin-bottom: 14px;
}

/* Highlight widget */
.widget-highlight {
  background: #eef3f9;
  padding: 16px 16px 14px;
  border-top: 3px solid #396c9e;
}

.widget-highlight h3 {
  color: #396c9e;
}

.widget-highlight p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 14px;
}

/* Facts list */
.facts-list {
  list-style: none;
}

.facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #dce6ee;
  font-size: 0.875rem;
  color: #444;
}

.facts-list li:last-child {
  border-bottom: none;
}

.fact-label {
  font-weight: 700;
  color: #34495e;
  flex-shrink: 0;
}

/* Partner list */
.partner-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #555;
}

.partner-logo-box {
  width: 40px;
  height: 40px;
  background: #34495e;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.partner-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Stats widget */
.widget-stats {
  background: #092f81;
  color: #fff;
  padding: 16px 16px 14px;
  border-top: 3px solid #396c9e;
}

.widget-stats h3 {
  color: #aac4db;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  min-width: 50px;
}

.stat-label {
  font-size: 0.8rem;
  color: #aac4db;
  line-height: 1.3;
}

/* Contact */
.sidebar-widget address {
  font-size: 0.875rem;
  color: #555;
}

/* Tag list */
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-list li {
  background: #e4ecf4;
  color: #34495e;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* =============================================
   FOOTER
   ============================================= */

/* --- Widget-Bereich (hellgrau wie Referenz: #d1d1d1) --- */
.site-footer {
  margin-top: 48px;
}

.footer-widgets {
  background: #d1d1d1;
  padding: 15px 0 30px;
}

.footer-widgets-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Spaltenüberschriften: wie .widgettitle der Referenz */
.footer-heading {
  font-family: Mulish, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #34495e;
  margin-bottom: 20px;
}

.footer-col address {
  font-size: 0.875rem;
  color: #34495e;
  line-height: 1.85;
}

.footer-col address a,
.footer-col > a,
.footer-col p a {
  color: #1561c4;
}

.footer-col address a:hover,
.footer-col > a:hover {
  color: #34495e;
  text-decoration: underline;
}

.footer-col p {
  font-size: 0.875rem;
  color: #34495e;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Tag-Cloud wie Referenz */
.footer-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.footer-tagcloud a {
  display: inline-block;
  color: #1561c4;
  font-size: 0.8rem;
  padding: 2px 6px;
  border: 1px solid #bbb;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.footer-tagcloud a:hover {
  background: #34495e;
  color: #fff;
  border-color: #34495e;
  text-decoration: none;
}

/* Button im Footer */
.btn-footer {
  display: inline-block;
  background: #34495e;
  color: #fff;
  font-family: Mulish, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 20px 7px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.18s;
}

.btn-footer:hover {
  background: #2c3e50;
  color: #fff;
  text-decoration: none;
}

/* --- Socket-Leiste (dunkelblau wie Referenz: #092f81) --- */
.footer-socket {
  background: #092f81;
  padding: 12px 20px;
}

.footer-socket-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.72rem;
  color: #fff;
}

.footer-socket-nav {
  display: flex;
  gap: 18px;
}

.footer-socket-nav a {
  font-size: 0.72rem;
  color: #fff;
  text-decoration: none;
}

.footer-socket-nav a:hover {
  text-decoration: underline;
  color: #aac4db;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .site-content {
    grid-template-columns: 1fr;
  }

  .content-main {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #e4e8ed;
  }

  .content-sidebar {
    padding-left: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-widgets-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-socket-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .prize-box {
    flex-direction: column;
    text-align: center;
  }

  .prize-main {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-right: 0;
    padding-bottom: 20px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 20px;
    gap: 10px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group--plz {
    max-width: 100%;
  }
}
