/* =========================================================
   FomAIra – fomaira.info  Landingpage
   Branding: Gold #D8A93B · Navy #0F1A30 · Cyan #25BFE3
   Links/Buttons #1591B4 · Text #2C2C2C · Infobox #E4F1F6 · BG #F5F5F5
   Zielgruppe 40+: große, gut lesbare Schrift, ruhiges Layout.
   ========================================================= */

:root {
  --gold:    #D8A93B;
  --gold-dk: #b88f2c;
  --navy:    #0F1A30;
  --cyan:    #25BFE3;
  --link:    #1591B4;
  --link-dk: #0f7691;
  --text:    #2C2C2C;
  --infobox: #E4F1F6;
  --bg:      #E7EBEF;   /* Seiten-Hintergrund: sanftes Grau statt grellem Weiß */
  --surface: #EEF1F4;   /* helle Abschnitte: leicht heller als --bg (dezenter Wechsel) */
  --card:    #FBFCFD;   /* Karten/Formular: fast weiß, hebt sich ab, ohne zu blenden */
  --white:   #ffffff;
  --muted:   #5c6470;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(15, 26, 48, 0.08);
  --shadow-lg: 0 10px 40px rgba(15, 26, 48, 0.14);
  --maxw:    1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;          /* großzügig für 40+ */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-dk); text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Accessibility helper */
.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: 8px; top: -48px; background: var(--gold); color: var(--navy);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; z-index: 200;
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 1.05rem; font-weight: 800; line-height: 1.2;
  padding: 16px 30px; text-align: center; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(216,169,59,.35); }
.btn--gold:hover, .btn--gold:focus { background: var(--gold-dk); color: var(--navy); }
.btn--primary { background: var(--link); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--link-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn--ghost:hover, .btn--ghost:focus { background: rgba(216,169,59,.14); color: var(--gold); }
.btn--lg { font-size: 1.15rem; padding: 18px 38px; }
.btn--block { display: block; width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #e9edf4; font-weight: 600; font-size: 1rem; }
.nav__links a:hover { color: var(--cyan); text-decoration: none; }
.nav__cta { padding: 11px 22px; font-size: .98rem; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0F1A30 0%, #16263f 55%, #1c3150 100%);
  color: #fff; padding: 80px 0 88px; position: relative; overflow: hidden;
}
.hero::after { /* dezenter goldener Akzentbogen */
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,191,227,.18), transparent 70%); border-radius: 50%;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero .accent { color: var(--gold); }
.hero p.lead { color: #cdd6e4; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 18px; font-size: .95rem; color: #aeb9cc; }
.hero__note strong { color: var(--cyan); }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__art picture { display: block; }
.hero__art img { width: 100%; max-width: 380px; margin-left: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.35)); }

/* Dunkles Zwischenband (trennt die beiden hellblauen Boxen) */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0F1A30 0%, #16263f 60%, #1c3150 100%);
  color: #fff; padding: 58px 0;
}
.band .container { position: relative; z-index: 1; }
.band h2 { color: #fff; margin-bottom: .4em; }
.band p { color: #cdd6e4; max-width: 660px; margin: 0 auto; font-size: 1.15rem; }

/* Webinar-Bild in der Box etwas größer als das Schild-Bild */
.infobox--media .infobox__art img { max-width: 300px; }
.has-beams { position: relative; overflow: hidden; }
.has-beams .container { position: relative; z-index: 1; }
.hero__beams { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__beams span {
  position: absolute; top: 0; left: var(--x);
  width: 2px; height: 26%;
  background: linear-gradient(to bottom, transparent, var(--c), transparent);
  opacity: .30; filter: blur(.4px);
  animation: beamfall var(--d) linear var(--delay) infinite;
}
@keyframes beamfall {
  0%   { transform: translateY(-120%); }
  100% { transform: translateY(520%); }
}

/* Illustration in Infobox (Deine Rechte) */
.infobox--media { display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: center; }
.infobox--media h2 { margin-top: 0; }
.infobox__art img { width: 100%; max-width: 260px; margin: 0 auto; }

/* Webinar-Illustration */
.webinar-art { max-width: 320px; margin: 26px auto 0; }
.infobox__art picture { display: block; }

/* Bild-Icon in Karten */
.card__icon img { width: 30px; height: 30px; display: block; }

/* ---------- Sections / cards ---------- */
.section--light { background: var(--surface); }
.section--bg { background: var(--bg); }

/* ===== Dunkles Theme der Landingpage (Boxen "schweben" auf Navy) ===== */
.landing { background: #0F1A30; }
.landing .section--bg   { background: #0F1A30; }
.landing .section--light{ background: linear-gradient(180deg, #13223c 0%, #0F1A30 100%); }
/* Text direkt auf dem dunklen Grund hell stellen */
.landing .section--light, .landing .section--bg { color: #cdd6e4; }
.landing .section--light h1, .landing .section--light h2, .landing .section--light h3,
.landing .section--bg h1,   .landing .section--bg h2,   .landing .section--bg h3 { color: #fff; }
.landing .section--light .lead, .landing .section--bg .lead { color: #aeb9cc; }
.landing .section--light .badge, .landing .section--bg .badge { color: var(--navy); }

/* Boxen/Karten bleiben in sich hell und gut lesbar */
.infobox, .card, .form-card, .faq details { color: var(--text); }
.infobox h2, .infobox h3, .card h2, .card h3 { color: var(--navy); }
/* in hellen Boxen Überschriften dunkel halten (auch im dunklen Theme) */
.landing .infobox h2, .landing .infobox h3,
.landing .card h2, .landing .card h3 { color: var(--navy); }
.infobox .lead, .card .lead { color: var(--muted); }

.infobox {
  background:
    radial-gradient(120% 120% at 88% 12%, rgba(216,169,59,.26), transparent 55%),
    radial-gradient(110% 110% at 8% 92%, rgba(216,169,59,.16), transparent 52%),
    var(--infobox);
  border-left: 6px solid var(--cyan);
  border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow);
}
.infobox h2 { margin-top: 0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #ececec; height: 100%;
}
.card h3 { color: var(--navy); }
/* Karten im Hellblau-/Goldschimmer-Look (z. B. Kurse) */
.card--box {
  background:
    radial-gradient(120% 120% at 90% 10%, rgba(216,169,59,.20), transparent 55%),
    var(--infobox);
  border: 1px solid #cfe4ee;
  border-left: 5px solid var(--cyan);
}
.card__tag {
  display: inline-block; background: var(--infobox); color: var(--link-dk);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; font-weight: 800;
}

/* "Für wen" Liste */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 38px; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; background: var(--cyan); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem;
}

/* ---------- Termine ---------- */
.dates { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 4px; }
.date-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 16px 22px; text-align: center; min-width: 120px; flex: 1 1 120px;
}
.date-card .m { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.date-card .d { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.date-card .t { display: block; font-size: .9rem; color: var(--cyan); }
.badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: .85rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Formular ---------- */
.form-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 32px; max-width: 520px; margin: 0 auto;
}
.form-card .form-logo { height: 54px; margin: 0 auto 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%; padding: 14px 16px; font-size: 1.05rem; font-family: inherit;
  border: 2px solid #d6dbe2; border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(21,145,180,.15); }
.field--check { display: flex; align-items: flex-start; gap: 12px; }
.field--check input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 auto; }
.field--check label { font-weight: 400; font-size: .95rem; color: var(--text); }
.form-hint { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-hint::before { content: "🔒 "; }
/* Honeypot */
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: .98rem; }
.alert--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert--ok { background: #e7f6ec; color: #1b6b34; border: 1px solid #b6e2c4; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid #e6e6e6; border-radius: 10px;
  padding: 0; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: var(--navy);
  font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; font-weight: 800; margin-left: 16px; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 22px; }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.about__photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about__badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--infobox);
  color: var(--link-dk); font-weight: 700; padding: 8px 16px; border-radius: 999px; margin-top: 14px; font-size: .92rem;
}
/* TÜV-Zertifikat als Vertrauens-Siegel */
.cert {
  display: block; background: #fff; border-radius: 12px; padding: 16px 18px;
  margin-top: 18px; max-width: 320px; box-shadow: var(--shadow);
}
.about--center .cert, .about__text.center .cert { margin-left: auto; margin-right: auto; }
.cert img { max-width: 230px; margin: 0 auto; }
.cert p { font-size: .85rem; color: var(--muted); margin: .7em 0 0; }

/* Danke-/Bestätigt-Seiten: Bild links, Text rechts */
.confirm { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; max-width: 860px; margin: 0 auto; }
.confirm__art img { width: 100%; max-width: 240px; margin: 0 auto; height: auto; }
.confirm__text { text-align: left; }
.confirm__text .infobox { text-align: left; margin-top: 22px; }
@media (max-width: 760px) {
  .confirm { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .confirm__art { order: -1; }
  .confirm__art img { max-width: 200px; }
  .confirm__text { text-align: center; }
}

/* ---------- B2B-Brücke ---------- */
.bridge {
  background: linear-gradient(135deg, #16263f 0%, #1c3150 100%);
  border: 1px solid rgba(216,169,59,.45);
  color: #fff; border-radius: var(--radius);
  padding: 32px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.bridge h3 { color: #fff; margin: 0 0 6px; }
.bridge p { color: #c4cee0; margin: 0; }

/* ---------- Countdown (Angebots-Seite) ---------- */
.countdown { display: flex; gap: 14px; justify-content: center; margin: 22px 0 6px; }
.countdown div {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 18px; min-width: 78px; text-align: center;
}
.countdown .n { font-size: 2.1rem; font-weight: 800; display: block; line-height: 1; color: var(--gold); }
.countdown .l { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #c4cee0; }
.price { font-size: 1.1rem; }
.price .old { text-decoration: line-through; color: var(--muted); margin-right: 10px; }
.price .new { color: var(--link-dk); font-weight: 800; font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4cee0; padding: 48px 0 28px; }
.site-footer a { color: #c4cee0; }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-logo img { height: 50px; margin-bottom: 12px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 20px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-claim { color: var(--gold); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal { background: var(--surface); }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal { word-wrap: break-word; }
.legal .container { max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__photo { max-width: 220px; margin: 0 auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 360px; margin: 0 auto; }
  .infobox--media { grid-template-columns: 1fr; }
  .infobox__art { display: none; } /* auf kleinen Schirmen Text zuerst, Bild sparen */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    display: none; box-shadow: 0 12px 20px rgba(0,0,0,.25);
  }
  .nav__links.open { display: flex; }
  .nav__links li { border-top: 1px solid rgba(255,255,255,.08); }
  .nav__links a { display: block; padding: 14px 4px; }
  .nav__links .nav__cta { margin-top: 12px; text-align: center; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .bridge { flex-direction: column; text-align: center; }
  .form-card { padding: 24px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .hero__beams { display: none; } /* keine Bewegung für empfindliche Nutzer */
}
