/* Webinar-Anmeldung im Stil des Selbstchecks (SelbstCheckInteractive).
   Farben, Schriften, Radien und Schatten sind von dort uebernommen. */

@font-face { font-family: 'Urbanist'; src: url("assets/Urbanist.ttf") format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url("assets/Manrope.ttf") format('truetype'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --cyan: #0AB9E5;
  --teal: #0E7090;
  --teal-dark: #0F6683;
  --mint: #37EDC2;
  --yellow: #FEC84B;
  --amber: #F2B51D;
  --orange: #FDB022;
  --text-display: #4F5773;
  --text-subhead: #3A415A;
  --text-strong: #24344D;
  --text-body: #376676;
  --text-muted: #667085;
  --text-note: #333333;
  --text-link: #1C7FA3;
  --surface-tag: #E9F5FB;
  --surface-soft: #F7FAFE;
  --border-soft: #E7EDF4;
  --shadow-media: 0 14px 40px rgba(36,52,77,0.07);
  --font-display: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #FFFFFF; font-family: var(--font-body); color: var(--text-body); -webkit-font-smoothing: antialiased; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.seite { position: relative; min-height: 100vh; overflow: hidden; }
.hintergrund { position: absolute; top: 0; left: 0; width: 100%; height: 640px; object-fit: cover; opacity: 0.5; pointer-events: none; }
.rahmen { position: relative; display: flex; flex-direction: column; min-height: 100vh; }
main { width: 100%; max-width: 860px; margin: 0 auto; padding: 72px 24px 64px; flex: 1; }

/* --- Seitenkopf --- */
.kopf { margin-bottom: 40px; }
.kopf-zeile { display: flex; align-items: flex-start; gap: 22px; }
.kopf-logo { width: 86px; height: auto; flex: none; }
.kopf-text { flex: 1 1 auto; min-width: 0; margin-top: 4px; }
.eyebrow { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--teal); }
.kopf-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 5.6vw, 40px); line-height: 1.16; color: var(--text-display); margin: 12px 0 0; max-width: 760px; text-wrap: pretty; overflow-wrap: break-word; }
.cyan { color: var(--cyan); }
/* Bis feststeht, ob ein Webinar ansteht (siehe app.js). */
.laedt .kopf-text, .laedt .kopf-einleitung { visibility: hidden; }
.kopf-einleitung { font-size: 18px; line-height: 26px; font-weight: 400; color: var(--text-subhead); margin: 16px 0 0; max-width: 700px; text-wrap: pretty; }

/* --- Karten --- */
.karte { background: #FFFFFF; border: 1px solid var(--border-soft); border-radius: 20px; box-shadow: var(--shadow-media); }
.hinweis-karte { padding: 28px; }
.karten-titel { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 34px; color: var(--text-display); margin: 0 0 12px; }
.fliesstext { font-size: 16px; line-height: 24px; color: var(--text-body); text-wrap: pretty; }
.notiz { font-size: 11px; line-height: 17px; font-weight: 300; color: var(--text-note); margin: 16px 0 0; }

.chip-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.chip { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--surface-tag); color: var(--text-link); font-size: 12px; line-height: 17px; font-weight: 700; letter-spacing: 0.96px; text-transform: uppercase; white-space: nowrap; flex: none; }
.chip-live { background: #ECFDF3; color: #067647; }
.chip-neben { font-size: 14px; line-height: 20px; color: var(--text-muted); text-align: right; }

/* --- Termin --- */
.termin-karte { padding: 36px; display: flex; gap: 32px; align-items: flex-start; }
.datum { flex: none; width: 92px; background: var(--text-strong); border-radius: 20px; padding: 16px 8px 14px; display: flex; flex-direction: column; align-items: center; color: #FFFFFF; }
.datum-monat { font-size: 12px; line-height: 17px; font-weight: 700; letter-spacing: 0.96px; text-transform: uppercase; color: var(--yellow); }
.datum-tag { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 50px; font-variant-numeric: tabular-nums; }
.datum-wochentag { font-size: 13px; line-height: 18px; font-weight: 500; color: rgba(255,255,255,0.72); }
.termin-inhalt { flex: 1 1 auto; min-width: 0; }
.termin-titel { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 35px; color: var(--text-display); margin: 0; text-wrap: pretty; overflow-wrap: break-word; }
.fakten { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 20px 0 0; padding: 18px 20px; background: var(--surface-soft); border-radius: 12px; }
.fakten dt { font-size: 12px; line-height: 17px; font-weight: 700; letter-spacing: 0.96px; text-transform: uppercase; color: var(--text-link); margin-bottom: 4px; }
.fakten dd { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.beschreibung { margin-top: 20px; }
.beschreibung p { margin: 0 0 12px; white-space: pre-line; }
.beschreibung p:last-child { margin-bottom: 0; }
.beschreibung:empty { display: none; }

/* --- Anmeldeformular --- */
.form-karte { padding: 40px; margin-top: 24px; scroll-margin-top: 24px; }
.form-kopf { margin-bottom: 28px; }
.form-titel { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 38px; color: var(--text-link); margin: 0; text-wrap: pretty; }
.form-unter { font-size: 16px; line-height: 24px; color: var(--text-body); margin: 10px 0 0; text-wrap: pretty; }
.form-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.feld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.feld-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-subhead); }
.eingabe { width: 100%; font-family: inherit; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--text-strong); background: #FFFFFF; border: 1px solid #D0D5DD; border-radius: 8px; padding: 10px 14px; outline: none; }
.eingabe::placeholder { color: #98A2B3; }
.eingabe:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(10,185,229,0.15); }
.eingabe[aria-invalid="true"] { border-color: #F04438; }
.eingabe[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(240,68,56,0.15); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { font-size: 12px; line-height: 18px; color: var(--text-link); margin: 22px 0 0; }
.form-hinweis a { text-decoration: underline; }
.knopf { display: block; width: 100%; margin-top: 20px; padding: 14px 24px; border: none; border-radius: 8px; background: var(--yellow); color: var(--teal-dark); font-family: inherit; font-size: 16px; line-height: 20px; font-weight: 600; text-align: center; cursor: pointer; }
.knopf:hover { background: var(--orange); color: var(--teal-dark); }
.knopf[disabled] { cursor: default; opacity: 0.6; }
#link-anmeldung .knopf { margin-top: 0; }
.form-fehler { margin-top: 20px; background: #FEF3F2; border: 1px solid #FDA29B; border-radius: 8px; padding: 12px 16px; font-size: 14px; line-height: 20px; color: #B42318; }

/* --- Meldungen (Erfolg, kein Termin, Stoerung) --- */
.meldung { display: flex; gap: 16px; }
.meldung-ok { background: var(--surface-soft); border-radius: 12px; padding: 20px 22px; outline: none; }
.meldung-balken { width: 4px; border-radius: 999px; background: #12B76A; flex: none; }
.meldung-balken-gelb { background: var(--orange); }
.meldung-balken-rot { background: #F04438; }
.meldung-titel { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--text-strong); margin-bottom: 4px; }
.meldung-text { font-size: 14px; line-height: 22px; color: var(--text-body); margin: 0; text-wrap: pretty; overflow-wrap: anywhere; }
.knopf-neben { margin-top: 12px; padding: 10px 18px; border: 1px solid var(--border-soft); border-radius: 8px; background: #FFFFFF; color: var(--text-strong); font-family: inherit; font-size: 15px; line-height: 20px; font-weight: 600; cursor: pointer; }
.knopf-neben:hover { border-color: var(--orange); color: var(--teal-dark); }

/* --- Weitere Termine --- */
.weitere { margin-top: 48px; }
.weitere-titel { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--teal); margin: 0 0 12px; }
.weitere-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-soft); }
.weitere-liste li { display: flex; gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); font-size: 16px; line-height: 22px; }
.weitere-datum { flex: none; width: 236px; white-space: nowrap; font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.weitere-thema { color: var(--text-body); min-width: 0; overflow-wrap: break-word; }

/* --- Seitenfuss (Nachbau interactive-tax.de, wie im Selbstcheck) --- */
.fuss { border-top: 1px solid rgba(0,0,0,0.07); padding: 40px 24px; }
.fuss-innen { display: flex; justify-content: center; align-items: center; gap: 41px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 15px; }
.fuss-links a { font-size: 14px; line-height: 20px; color: var(--text-body); white-space: nowrap; }
.fuss-marke { display: flex; align-items: center; gap: 23px; }
.fuss-marke img { width: 174px; max-width: 60%; height: auto; }
.fuss-marke p { font-size: 14px; line-height: 20px; color: var(--text-body); margin: 0; }

@media (max-width: 767px) {
  .fuss-innen { flex-direction: column; gap: 34px; }
  .fuss-links { justify-content: center; }
}
@media (max-width: 599px) {
  main { padding: 40px 16px 48px; }
  .kopf-zeile { gap: 16px; }
  .kopf-logo { width: 58px; }
  .termin-karte { padding: 24px 20px; flex-direction: column; gap: 20px; }
  .datum { flex-direction: row; width: auto; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 12px; }
  .datum-tag { font-size: 26px; line-height: 32px; order: -1; }
  .termin-titel { font-size: 24px; line-height: 31px; }
  .fakten { gap: 14px 28px; }
  .form-karte { padding: 28px 20px; }
  .form-titel { font-size: 26px; line-height: 32px; }
  .form-raster { grid-template-columns: 1fr; }
  .hinweis-karte { padding: 22px 20px; }
  .weitere-liste li { flex-direction: column; gap: 2px; }
  .weitere-datum { width: auto; }
}
@media (max-width: 479px) {
  .fuss-innen { gap: 23px; }
  .fuss-marke { flex-direction: column; gap: 10px; }
  .fuss-marke p { text-align: center; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
