/* Gestaltung 1:1 nach baufinanz-dueren.de (WordPress/Elementor-Kit):
   Farben, Schrift (Raleway, lokal gehostet), Kopf, Fuß, Buttons und Umbruchpunkte
   1600 / 1300 / 1024 / 880 / 767 px wie auf der Hauptseite. */

@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/raleway-400.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/raleway-500.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/raleway-600.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/raleway-700.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/raleway-800.woff2') format('woff2'); }

:root {
  /* globale Farben der Hauptseite */
  --primary: #1A3569;     /* Dunkelblau: Buttons, Überschriften */
  --secondary: #3C59AD;   /* Blau: Icons, Kopf beim Scrollen, Menü */
  --text: #191919;
  --muted: #7C829A;       /* Grau-Blau: Linien, Kleingedrucktes */
  --light: #F0F2F9;       /* Hellblau-Grau: Kästen */
  --orange: #f0a63a;      /* Gelb-Orange wie AskMeSomething: „Jetzt Platz sichern“ */
  --orange-text: #1a1206; /* dunkle Schrift auf Orange (gut lesbar) */
  /* Farben des Infoabend-Plakats (oberer Abschnitt) */
  --poster-blue: #323D8D; /* Logo-Blau */
  --navy: #1C2350;
  --gold: #D9B56C;
  --navy-label: #C9CEEA;
  --white: #FFFFFF;
  --font: 'Raleway', Sans-serif;
  --pad-x: 80px;          /* seitlicher Rand wie Hauptseite */
  --radius: 10px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); font-size: 18px; font-weight: 400; line-height: 1.5em; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { margin: 0 0 .5em; }
h1 { color: var(--white); font-size: 60px; font-weight: 600; line-height: 1em; letter-spacing: -.04em; }
h2 { color: var(--primary); font-size: 52px; font-weight: 400; line-height: 1.3em; letter-spacing: -.04em; }
h2 strong { font-weight: 600; }
h3 { color: var(--primary); font-size: 24px; font-weight: 700; line-height: 1.4em; letter-spacing: -.04em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.narrow { max-width: 900px; }

/* Überschrift mit Farbverlauf (wie „.h2-alt-text“ der Hauptseite) */
.h2-alt-text { background: linear-gradient(90deg, #1a3569 0, #6c82c1 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }

/* Glas-Pille (wie „.gradient-box“ der Hauptseite) */
.gradient-box { display: inline-block; margin: 0 0 20px; padding: 10px 15px; border-radius: 120px; background: linear-gradient(180deg, rgba(255,255,255,.1) 0, rgba(178,202,239,.1) 100%); color: var(--white); font-size: 18px; font-weight: 700; line-height: 1.5em; }

/* Abschnitts-Etikett auf Weiß */
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 120px; background: var(--light); color: var(--secondary); font-size: 16px; font-weight: 700; }

/* ---------- Buttons (Elementor-Kit der Hauptseite) ---------- */
.button-main { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 12px 27px; border: 0; border-radius: 120px; background: var(--primary); color: var(--white); font-family: var(--font); font-size: 18px; font-weight: 700; line-height: 1.5em; text-decoration: none; cursor: pointer; transition: .3s; }
.button-main .button-icon { display: inline-flex; line-height: 0; padding: 12px; border-radius: 50px; background: var(--secondary); transition: .3s; }
.button-main .button-icon svg { width: 14px; height: 14px; }
.button-main:hover, .button-main:focus-visible { box-shadow: 0 0 10px #fff; transform: scale(1.05); outline: none; }
.button-main:hover .button-icon { transform: rotate(45deg); }
.button-main .icon-down svg { transform: rotate(135deg); }
.button-main:hover .icon-down { transform: none; }
.button-main:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--secondary); }
.button-main:disabled { opacity: .6; cursor: wait; transform: none; }
.button-secondary { background: var(--secondary); }
.button-secondary .button-icon { background: var(--primary); }

/* „Jetzt Platz sichern“: Orange mit Puls, damit man ihn auf jeden Fall sieht */
.button-orange { background: var(--orange); color: var(--orange-text); animation: pulse 2s ease-in-out infinite; }
.button-orange .button-icon { background: var(--primary); }
.button-orange:hover, .button-orange:focus-visible { animation: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,166,58,.8); transform: scale(1); }
  40%  { transform: scale(1.04); }
  70%  { box-shadow: 0 0 0 18px rgba(240,166,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,166,58,0); transform: scale(1); }
}
/* Wer im Betriebssystem „Bewegung reduzieren“ eingestellt hat, bekommt keinen Puls */
@media (prefers-reduced-motion: reduce) {
  .button-orange { animation: none; }
}
.button-block { width: 100%; padding-top: 18px; padding-bottom: 18px; }

.btn { display: inline-block; padding: 10px 24px; border-radius: 120px; font-family: var(--font); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: .3s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-outline { border-color: var(--secondary); color: var(--secondary); background: var(--white); }
.btn:hover { transform: scale(1.03); }

/* ---------- Kopf (1:1 Hauptseite) ---------- */
/* Kopf liegt über dem blauen oberen Abschnitt und scrollt mit der Seite nach oben weg */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 555; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 10px var(--pad-x) 0; }
.header-logo img { width: 241px; height: auto; }
.header-nav { display: flex; gap: 57px; }
.header-nav a { position: relative; color: var(--white); font-size: 18px; font-weight: 500; line-height: 1.5em; letter-spacing: -.02em; text-decoration: none; }
/* Unterstrich schiebt sich ein (Elementor „underline / slide“) */
.header-nav a::after { content: ''; position: absolute; bottom: 0; left: 100%; width: 10px; height: 3px; background: var(--white); opacity: 0; transition: .3s; }
.header-nav a:hover::after, .header-nav a:focus-visible::after { left: 0; width: 100%; opacity: 1; }
/* Menü-Knopf: bleibt beim Scrollen oben rechts stehen (nur Tablet/Handy); blauer Grund, damit er auch über weißen Abschnitten sichtbar ist */
.menu-toggle { display: none; position: fixed; top: 26px; right: var(--pad-x); z-index: 600; align-items: center; justify-content: center; padding: .25em; border: 1px solid var(--white); border-radius: 50px; background: var(--secondary); color: var(--white); font-size: 22px; cursor: pointer; box-shadow: 0 4px 14px rgba(28,35,80,.3); }
.menu-toggle svg { width: 1em; height: 1em; fill: currentColor; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
/* Klappmenü: blaues Panel von oben – egal, wie weit gescrollt wurde */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; z-index: 590; max-height: 100vh; overflow-y: auto; background: var(--secondary); border-bottom: 2px solid var(--primary); }
.mobile-menu a { display: block; padding: 15px; border-bottom: 1px solid var(--white); color: var(--white); font-size: 16px; font-weight: 500; text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--primary); }
.mobile-menu .mobile-menu-logo { padding: 0 var(--pad-x); }
.mobile-menu .mobile-menu-logo:hover { background: none; }
.mobile-menu-logo img { width: 230px; }
@media (min-width: 1025px) { .mobile-menu { display: none !important; } }

/* ---------- Oberer Abschnitt im Stil des Infoabend-Plakats (Variante A2) ---------- */
.hero { position: relative; overflow: hidden; background: var(--poster-blue); color: var(--white); padding: 175px 0 200px; font-variant-numeric: lining-nums; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background: url('/assets/hero-haus.webp') right bottom / cover no-repeat; }
/* Logo-Blau ins Foto überblenden – Verlauf wie auf dem Plakat */
.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(50,61,141,1) 0%, rgba(50,61,141,.92) 20%, rgba(50,61,141,.8) 38%, rgba(50,61,141,.42) 65%, rgba(50,61,141,.14) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 920px; margin: 0 0 24px; font-size: 78px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hero-lead { max-width: 720px; margin: 0 0 32px; font-size: 24px; line-height: 1.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.button-navy { background: var(--navy); }
.button-navy .button-icon { background: var(--secondary); }
.pill-gold { display: inline-block; margin: 24px 0 0; padding: 6px 18px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 16px; font-weight: 700; }

/* Datumsfeld + Siegel: überlappen den blauen Bereich wie auf dem Plakat, beide gleich hoch */
.eckdaten { background: var(--light); padding-bottom: 36px; font-variant-numeric: lining-nums; }
/* --eck-h = gemeinsame Höhe von Datumsfeld und Siegel (natürliche Höhe des Datumsfelds, gemessen je Umbruchpunkt) */
.eckdaten-row { --eck-h: 300px; position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 32px; margin-top: -140px; margin-bottom: 36px; }
.date-box { flex: 1; min-height: var(--eck-h); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 36px 48px; border-radius: 28px; background: var(--navy); box-shadow: 0 24px 60px rgba(28,35,80,.28); color: var(--white); }
.date-top { display: flex; flex-direction: column; gap: 8px; }
.weekday { color: var(--navy-label); font-size: 20px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.date { color: var(--gold); font-size: 84px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.date-line { height: 2px; background: rgba(255,255,255,.16); }
.date-details { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.date-item { display: flex; align-items: flex-start; gap: 14px; }
.date-item svg { width: 32px; height: 32px; flex: none; }
.date-strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.3; }
.date-sub { display: block; margin-top: 2px; color: var(--navy-label); font-size: 18px; }
/* Siegel: genau so hoch wie das Datumsfeld, Breite folgt dem Seitenverhältnis */
.seal { flex: none; display: block; }
.seal img { display: block; height: var(--eck-h); width: auto; box-shadow: 0 20px 50px rgba(28,35,80,.3); }

/* ---------- Zahlen ---------- */
.stats-inner { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; text-align: center; }
.num { display: block; color: var(--primary); font-size: 52px; font-weight: 600; line-height: 1.2em; letter-spacing: -.04em; }
.lbl { color: var(--muted); font-size: 16px; }

/* ---------- Inhalt ---------- */
.block { padding-top: 90px; padding-bottom: 90px; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.two-col.reverse > img { order: 2; }
.photo { border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(26,53,105,.12); }
.portrait { max-height: 640px; width: 100%; object-fit: cover; object-position: top; }
.magazine { max-width: 320px; justify-self: center; }

.venue { background: linear-gradient(118deg, var(--secondary) 19.71%, var(--primary) 77.03%); color: var(--white); padding: 90px 0; }
.venue h2 { color: var(--white); }
.venue-logo { max-width: 420px; justify-self: center; }
.link-arrow { color: var(--white); font-weight: 700; text-underline-offset: 4px; }
.link-arrow::after { content: ' ↗'; }

/* ---------- Anmeldung ---------- */
.signup { background: var(--light); padding: 90px 0; }
.signup h2 { margin-bottom: .3em; }
.limited { font-size: 20px; font-weight: 600; }
.seat-hint { color: var(--secondary); font-weight: 700; }
form { margin-top: 24px; padding: 36px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 10px 30px rgba(26,53,105,.08); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.span2 { grid-column: span 2; }
label { display: block; font-size: 16px; font-weight: 600; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid #d5daea; border-radius: var(--radius); background: var(--white); color: var(--text); font: inherit; font-size: 16px; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(60,89,173,.2); }
input[type=checkbox] { accent-color: var(--secondary); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 600; }
.check input { width: 18px; height: 18px; margin-top: .2em; flex: none; }
.check.small { font-size: 14px; font-weight: 400; line-height: 1.5em; }
fieldset { margin: 20px 0; padding: 16px 18px; border: 1px solid #d5daea; border-radius: var(--radius); }
legend { padding: 0 6px; font-size: 16px; font-weight: 700; color: var(--primary); }
.note { color: var(--muted); font-size: 15px; }
.center { text-align: center; }
.error { min-height: 1em; color: #b42318; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.result { margin-top: 24px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border-left: 6px solid var(--secondary); }
.result-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.result-cta { margin-top: 48px; text-align: center; }

/* ---------- Fuß (1:1 Hauptseite) ---------- */
.site-footer { background: var(--white); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 45px var(--pad-x); }
.footer-top { display: flex; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; flex: 1 1 410px; }
.footer-brand img { width: 198px; }
.footer-brand p { margin: 0; font-size: 16px; line-height: 1.5em; }
.footer-links { display: flex; justify-content: space-between; gap: 40px; flex: 0 0 auto; padding-right: 20px; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; align-self: flex-end; padding-bottom: 10px; }
.footer-menu a, .footer-social a { color: var(--text); font-size: 16px; line-height: 1.5em; text-decoration: none; transition: color .3s; }
.footer-menu a:hover, .footer-social a:hover { color: var(--primary); }
.footer-social { list-style: none; margin: 0; padding: 0 0 10px; align-self: flex-end; }
.footer-social li { display: flex; }
.footer-social li + li { margin-top: 10px; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; }
.footer-social svg { width: 20px; height: 20px; fill: var(--secondary); transition: fill .3s; }
.footer-social a:hover svg { fill: var(--text); }
.footer-contact { display: flex; flex-direction: column; justify-content: space-between; flex: 0 0 auto; padding: 27px 20px 10px; border-radius: var(--radius); background: var(--light); }
.footer-contact h3 { margin: 0; color: var(--text); }
.footer-contact ul { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact svg { width: 22px; height: 22px; flex: none; fill: var(--secondary); }
.footer-contact a { color: var(--text); text-decoration: none; transition: color .3s; }
.footer-contact a:hover { color: var(--secondary); }
.footer-divider { margin: 30px 0; border: 0; border-top: 1px solid var(--muted); }
.footer-bottom { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; }
.footer-bottom, .footer-bottom a { color: var(--muted); font-size: 16px; text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 40px; }

/* ---------- Umbruchpunkte wie Hauptseite ---------- */
@media (min-width: 1601px) {
  .footer-brand { flex-basis: 473px; }
  .footer-brand img { width: 331px; }
  .footer-brand p, .footer-menu a, .footer-social a, .footer-contact li { font-size: 18px; }
  .footer-bottom, .footer-legal { gap: 50px; }
  .footer-bottom, .footer-bottom a { font-size: 20px; }
}
@media (max-width: 1300px) {
  :root { --pad-x: 32px; }
  .header-inner { padding-top: 0; }
  .header-logo img { width: 230px; }
  .header-nav { gap: 32px; }
  .header-nav a { font-size: 16px; }
  .hero { padding-top: 125px; }
  .hero h1 { font-size: 66px; }
  .gradient-box { font-size: 16px; }
  .footer-inner { padding: 50px var(--pad-x) 35px; }
  .footer-top { gap: 30px; }
  .footer-brand { flex: 0 0 250px; }
  .footer-links { flex: 1 1 auto; gap: 20px; padding-right: 0; }
  .footer-menu { width: 160px; }
}
@media (max-width: 1024px) {
  body { font-size: 16px; }
  h1 { font-size: 42px; }
  h2 { font-size: 36px; }
  .button-main { font-size: 16px; }
  .button-main .button-icon { padding: 15px; }
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 20px; }
  .hero-photo { width: 75%; }
  .eckdaten-row { --eck-h: 244px; }
  .date-box { padding: 28px 32px; gap: 18px; }
  .date { font-size: 64px; }
  .date-strong { font-size: 20px; }
  .date-sub { font-size: 16px; }
  .num { font-size: 40px; }
  .block, .venue, .signup { padding-top: 70px; padding-bottom: 70px; }
  .two-col { gap: 40px; }
  .footer-top { gap: 20px; }
  .footer-brand { flex-basis: 200px; }
  .footer-links { gap: 15px; }
  .footer-menu { width: 145px; }
  .footer-contact { width: 230px; }
}
@media (max-width: 880px) {
  :root { --pad-x: 22px; }
  .header-logo img, .mobile-menu-logo img { width: 191px; }
  .menu-toggle { top: 18px; }
  .hero { padding-top: 135px; }
  .eckdaten-row { gap: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse > img { order: 0; }
  .footer-inner { padding: 20px var(--pad-x) 15px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; }
  .footer-brand img { width: 235px; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
  .footer-menu, .footer-social { width: 40%; flex-grow: 1; }
  .footer-contact { width: 100%; padding: 20px; gap: 40px; justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 15px; }
  .footer-legal { gap: 20px; }
}
@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .hero { padding-bottom: 170px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 18px; }
  .pill-gold { font-size: 14px; padding: 6px 14px; }
  /* Foto auf dem Handy unten, Verlauf von oben, damit der Text lesbar bleibt */
  .hero-photo { width: 100%; background-position: 70% bottom; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(50,61,141,1) 0%, rgba(50,61,141,.92) 40%, rgba(50,61,141,.6) 75%, rgba(50,61,141,.3) 100%); }
  .eckdaten-row { --eck-h: 220px; flex-direction: column; align-items: center; margin-top: -120px; }
  .date-box { align-self: stretch; min-height: 0; padding: 24px 22px; }
  .date { font-size: 52px; }
  .date-details { flex-direction: column; gap: 14px; }
  .gradient-box { margin-bottom: 16px; font-size: 14px; }
  .stats-inner { gap: 28px; }
  .footer-links { flex-direction: column; align-items: center; gap: 30px; }
  .footer-menu, .footer-social { width: 100%; align-self: center; align-items: center; text-align: center; }
  .footer-social li { display: flex; justify-content: center; }
  form { padding: 22px; }
  .grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .button-main { padding: 12px 22px; }
}
