/* Netzwerktagung 2027 - Corporate Design Bamberger Akademien */
:root {
    --rot: #C8102E;
    --navy: #1E405C;
    --dunkelblau: #0C3851;
    --text: #333333;
    --grau: #595959;
    --grau-hell: #f4f4f4;
    --linie: #D9D9D9;
    --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Calibri, Carlito, 'Segoe UI', Arial, sans-serif; color: var(--text); line-height: 1.65; font-size: 18px; background: #fff; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: 2.6rem; color: var(--rot); }
h2 { font-size: 2rem; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--linie); }
h3 { font-size: 1.4rem; color: var(--dunkelblau); }
a { color: var(--rot); }
.breit { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Kopf */
.kopf { background: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 3px solid var(--rot); }
.kopf .breit { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.kopf img { height: 58px; width: auto; display: block; }
.menue { display: flex; flex-wrap: wrap; gap: 4px; }
.menue a { font-size: 14px; color: var(--navy); font-weight: 700; text-decoration: none; padding: 8px 12px; border-radius: 100px; }
.menue a:hover, .menue a.aktiv { background: var(--grau-hell); color: var(--rot); }
.menue a.knopf-klein { background: var(--rot); color: #fff; }
.menue a.knopf-klein:hover { background: var(--navy); color: #fff; }
.menue-schalter, .menue-knopf { display: none; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--rot); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: var(--radius); font-size: 15px; letter-spacing: 1px; margin: 0 10px 10px 0; border: 0; cursor: pointer; }
.knopf:hover { background: var(--navy); }
.knopf.hell { background: #fff; color: var(--navy); }
.knopf.hell:hover { background: var(--rot); color: #fff; }
.knopf.grau { background: var(--navy); }
.knopf.grau:hover { background: var(--rot); }

/* Held */
.held { background: linear-gradient(135deg, #fff 55%, var(--grau-hell)); padding: 80px 0 70px; border-bottom: 1px solid var(--linie); }
.held .vormerken { display: inline-block; background: var(--rot); color: #fff; padding: 4px 14px; border-radius: 100px; font-size: 13px; letter-spacing: 2px; margin-bottom: 20px; }
.held .kleinzeile { color: var(--navy); font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; }
.held .untertitel { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 0 0 18px; }
.held .termin { font-size: 1.15rem; color: var(--dunkelblau); font-weight: bold; margin-bottom: 26px; }
.seitenkopf { background: var(--navy); color: #fff; padding: 56px 0; border-bottom: 4px solid var(--rot); }
.seitenkopf h1 { color: #fff; margin: 0; }
.seitenkopf p { margin: 10px 0 0; font-size: 1.15rem; }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt.grau { background: var(--navy); color: #fff; }
.abschnitt.grau h2, .abschnitt.grau h3 { color: #fff; border-color: rgba(255,255,255,.25); }
.abschnitt.hell { background: var(--grau-hell); }
.abschnitt.rot { background: var(--navy); color: #fff; }
.abschnitt.rot h2 { color: #fff; border-color: rgba(255,255,255,.25); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.karte { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-top: 4px solid var(--rot); color: var(--text); }
.karte h3 { font-size: 1.35rem; color: var(--navy); }
.karte .nummer { display: block; font-size: 2.4rem; font-weight: 700; color: var(--rot); line-height: 1; margin-bottom: 8px; }
.liste { padding-left: 1.2em; margin: 0 0 16px; }
.liste li { margin-bottom: 6px; }
.liste li::marker { color: var(--rot); }
.abschnitt.grau .liste li::marker, .abschnitt.rot .liste li::marker { color: #fff; }

/* Tabellen */
.tabelle { width: 100%; border-collapse: collapse; margin: 8px 0 24px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.tabelle th { background: #ececec; color: var(--navy); text-align: left; padding: 12px 16px; font-weight: normal; font-weight: 700; font-size: 15px; }
.tabelle tbody tr:nth-child(even) td { background: #fafafa; }
.tabelle td { padding: 14px 16px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td:first-child { color: var(--navy); font-weight: bold; white-space: nowrap; }

/* Termine */
.termine { list-style: none; padding: 0; margin: 0; border-left: 3px solid rgba(255,255,255,.35); }
.termine li { padding: 4px 0 20px 24px; position: relative; }
.termine li::before { content: ""; position: absolute; left: -11px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--rot); border: 3px solid var(--navy); }
.termine .datum { display: block; font-size: 1.3rem; font-weight: 700; color: #fff; }
.termine .was { color: #e3e8ee; }

/* Platzhalter */
.offen { background: #fff3b0; color: #4a4a4a; padding: 0 5px; border-radius: 3px; }

/* Fuss */
.fuss { background: var(--navy); color: #dfe5ec; border-top: 4px solid var(--rot); padding: 36px 0; font-size: 14px; }
.fuss .breit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.fuss a { color: #fff; margin-right: 18px; }

@media (max-width: 820px) {
    h1 { font-size: 2rem; } h2 { font-size: 1.7rem; }
    .zwei, .drei { grid-template-columns: 1fr; }
    .menue-knopf { display: block; font-size: 1.6rem; color: var(--navy); cursor: pointer; padding: 4px 10px; }
    .menue { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 10px 24px 20px; box-shadow: 0 6px 10px rgba(0,0,0,.1); }
    .menue-schalter:checked ~ .menue { display: flex; }
    .kopf .breit { position: relative; }
    .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; }
    .tabelle thead { display: none; }
    .tabelle td { border: 0; padding: 4px 16px; }
    .tabelle tr { border-bottom: 1px solid var(--linie); padding: 10px 0; }
}

/* Formular */
.formular label { display: block; margin-bottom: 18px; font-size: 15px; color: var(--navy); font-weight: 700; }
.formular small { color: var(--grau); font-weight: 400; }
.formular input:not([type=checkbox]):not([type=file]), .formular select, .formular textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--linie); border-radius: var(--radius); font: inherit; color: var(--text); font-weight: 400; background: #fff; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--rot); border-color: var(--rot); }
.formular .zwei { gap: 20px; }
.formular .haken { font-weight: 400; display: block; line-height: 1.5; }
.formular .haken input { display: inline-block; width: auto; margin: 0 8px 0 0; vertical-align: middle; }
.formular h3 { margin-top: 24px; }
.falle { position: absolute; left: -9999px; }
.fehlerbox { background: #fbe9ec; border-left: 5px solid var(--rot); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; color: var(--rot); }

/* Datei-Upload */
.formular .hinweis { display: block; margin: 4px 0 10px; line-height: 1.5; }
.formular .upload { display: block; border: 2px dashed var(--navy); border-radius: var(--radius); background: var(--grau-hell); padding: 22px; text-align: center; }
.formular .upload input[type=file] { font: inherit; font-weight: 400; color: var(--text); max-width: 100%; }
.formular .upload input[type=file]::file-selector-button { background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); padding: 14px 28px; margin-right: 14px; font-size: 16px; font: inherit; font-weight: 700; letter-spacing: 1px; cursor: pointer; }
.formular .upload input[type=file]::file-selector-button:hover { background: var(--rot); }
