/* Anmeldung Klettertreffen - Gestaltung "Sandstein" (Variante A aus dem Entwurf, 2026).
   Farben als Variablen; Schriften selbst gehostet (fonts/, SIL OFL), nicht von Google geladen. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400 700; font-display: swap; src: url(../fonts/source-sans-3-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --grund: #f5efe6;
    --flaeche: #fffdf9;
    --tinte: #22201c;
    --leise: #5e574d;
    --text2: #4a443b;
    --linie: #e2d8c9;
    --feld: #b9ad9c;
    --verweis: #9a4a12;
    --verweis-hover: #6e340b;
    --akzent: #c2611b;
    --gruen: #2f4a3a;
    --gruen-hell: #f5efe6;
    --warn-grund: #fbe3d1;
    --warn-tinte: #7a3410;
    --ruhe-grund: #ebe3d6;
    --gefahr: #9a3412;
    --anzeige: "Barlow Condensed", "Arial Narrow", sans-serif;
    --text: "Source Sans 3", system-ui, sans-serif;
    --rund: 10px;
    --rund-feld: 6px;
    --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--grund);
    color: var(--tinte);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: var(--verweis); }
a:hover { color: var(--verweis-hover); }
h1, h2, h3 { line-height: 1.15; }
p { margin: 0 0 0.75em; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

.sprungmarke { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: var(--flaeche); padding: 8px 14px; border-radius: var(--rund-feld); z-index: 10; }
.sprungmarke:focus { left: 8px; }

/* Kopf */
.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.logo img { display: block; width: 280px; max-width: 100%; height: auto; }
.schritte { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.schritt { display: flex; align-items: center; gap: 8px; color: var(--leise); }
.schritt-nr { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; font-size: 13px; border: 2px solid var(--feld); }
.schritt.aktuell { color: var(--tinte); font-weight: 700; }
.schritt.aktuell .schritt-nr, .schritt.erledigt .schritt-nr { background: var(--tinte); border-color: var(--tinte); color: var(--flaeche); }
.schritt.erledigt { color: var(--tinte); }
.fortschritt { display: none; height: 4px; background: var(--linie); }
.fortschritt-balken { height: 4px; background: var(--akzent); }
.fortschritt-balken.schritt-1 { width: 33%; }
.fortschritt-balken.schritt-2 { width: 66%; }
.fortschritt-balken.schritt-3 { width: 100%; }

/* Fuß */
.fuss { background: var(--tinte); color: #d8d1c6; margin-top: 48px; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
.fuss a { color: var(--grund); }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Schrift und Bausteine */
.titel-gross { margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: clamp(52px, 9vw, 88px); line-height: 0.95; letter-spacing: -0.01em; }
.titel { margin: 12px 0 0; font-family: var(--anzeige); font-weight: 700; font-size: clamp(36px, 6vw, 48px); line-height: 1.05; }
.titel-mittel { margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: 28px; }
h2 { font-family: var(--anzeige); font-weight: 700; font-size: 34px; margin: 0 0 16px; }
.liste h2, .kontakt-kasten h2 { font-family: var(--text); font-size: 22px; margin: 0; }
h3 { font-size: 19px; margin: 0 0 6px; }
.akzent { color: var(--akzent); }
.leise { color: var(--leise); font-size: 15px; }
.breit { max-width: 760px; }
.zahl { font-weight: 400; color: var(--leise); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px 24px; }
.karte-klein { margin: 0; font-size: 14px; color: var(--leise); }
.karte-gross { margin: 2px 0; font-family: var(--anzeige); font-size: 32px; font-weight: 700; line-height: 1.1; }
.karte-dunkel { background: var(--gruen); border-color: var(--gruen); color: var(--grund); }
.karte-dunkel .karte-klein { color: #cfd9d1; }
.karte-hinweis { background: #fbf3e8; border-color: #d9c2a6; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 28px; line-height: 1.25; text-align: center; border-radius: var(--rund-feld); font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; border: 0; }
.knopf-haupt { background: var(--tinte); color: var(--flaeche); }
.knopf-haupt:hover { background: #3a3630; color: var(--flaeche); }
.knopf-haupt[disabled] { opacity: 0.6; cursor: wait; }
.knopf.breit { width: 100%; }
.knopf-leise { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; font-weight: 600; }

/* Startseite */
.held { max-width: var(--breite); margin: 0 auto; padding: 64px 24px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.held-text { flex: 999 1 540px; min-width: 0; }
.held-karten { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.dachzeile { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gruen); }
.einleitung { margin: 20px 0 0; font-size: 21px; max-width: 620px; color: var(--text2); }
.aktionen { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; align-items: center; font-weight: 600; }
.hinweis-start { margin: 0; padding: 16px 20px; border-radius: var(--rund); background: var(--warn-grund); color: var(--warn-tinte); font-weight: 400; max-width: 620px; }
.band { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.band-innen, .abschnitt { max-width: var(--breite); margin: 0 auto; padding: 48px 24px 8px; }
.band-innen { padding-bottom: 40px; }
.dreier { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.dreier p { color: var(--text2); margin: 0; }
.ziffer { display: block; font-family: var(--anzeige); font-size: 48px; font-weight: 700; color: var(--akzent); line-height: 1; margin-bottom: 8px; }
.text { max-width: 820px; color: var(--text2); }
.zeile-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.ak-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.ak-raster .karte { padding: 16px 20px; }
.ak-raster p { margin: 0; color: var(--text2); font-size: 15px; }
.ak-raster .karte-gross { color: var(--tinte); font-size: 28px; }
.ak-hinweis { margin-top: 6px !important; color: var(--gruen) !important; font-weight: 600; }
.preise { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 24px; }
.preise-haupt { flex: 999 1 520px; min-width: 0; padding: 28px 32px; }
.preise .karte-hinweis { flex: 1 1 300px; padding: 28px 32px; }
.preis-zeile { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 16px; }
.preis { margin: 0; font-family: var(--anzeige); font-size: 44px; font-weight: 700; line-height: 1.1; }

/* Seiten der Anmeldung */
.seite { max-width: var(--breite); margin: 0 auto; padding: 32px 24px 24px; }
.seite-mit-rand { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hauptspalte { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hauptspalte .titel { margin-top: 0; }
.schmal-text { max-width: 760px; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; }
.formular { margin-top: 20px; padding: 24px; }
.formular.schmal { max-width: 760px; }
.zwei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; margin-top: 20px; }
.feldgruppe { display: grid; gap: 14px; }
.feldgruppe.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input:not([type]), select {
    height: 48px; padding: 0 12px; font: inherit; font-weight: 400; font-size: 17px; color: #1b1b1b;
    border: 1px solid var(--feld); border-radius: var(--rund-feld); background: #fff; width: 100%; min-width: 0;
}
select { padding: 0 10px; }
select:disabled { background: var(--ruhe-grund); color: var(--leise); }
input::placeholder { color: #7a7266; }
.haken { flex-direction: row; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; font-size: 16px; }
.haken.oben { align-items: flex-start; font-size: 15px; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--gruen); }
.starter { margin: 0; min-width: 0; padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.starter legend { padding: 0 8px; margin-left: -8px; font-family: var(--anzeige); font-weight: 700; font-size: 26px; }
.ak-einzeln { margin: -6px 0 0; font-size: 14px; font-weight: 600; color: var(--leise); }
.ak-einzeln.gut { color: var(--gruen); }
.ak-einzeln.schlecht { color: var(--gefahr); }
.ak-plakette { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--rund); background: var(--ruhe-grund); color: var(--text2); font-weight: 700; font-size: 16px; }
.ak-plakette.gut { background: var(--gruen); color: var(--gruen-hell); }
.ak-plakette.schlecht { background: var(--warn-grund); color: var(--warn-tinte); }
.leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linie); }

.meldungen { margin: 20px 0 0; padding: 16px 20px; border-radius: var(--rund); background: var(--warn-grund); color: var(--warn-tinte); border: 1px solid #e9b894; }
.meldungen ul { margin: 0; padding-left: 20px; }
.meldungen-titel { font-weight: 700; margin-bottom: 4px; }
.hauptspalte .meldungen { margin: 0; }

.liste { display: flex; flex-direction: column; gap: 12px; }
.eintrag { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 14px 14px 20px; }
.eintrag-text { flex: 1 1 240px; min-width: 0; }
.eintrag-text p { margin: 0; }
.eintrag-name { font-weight: 700; overflow-wrap: anywhere; }
.eintrag-knoepfe { display: flex; gap: 4px; }
.eintrag-knoepfe form { margin: 0; }
.ak-marke { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 36px; border-radius: var(--rund-feld); background: var(--gruen); color: var(--gruen-hell); font-weight: 800; font-size: 15px; }
.symbol { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: var(--rund-feld); color: var(--tinte); cursor: pointer; }
.symbol:hover { background: var(--ruhe-grund); color: var(--tinte); }
.symbol.gefahr { color: var(--gefahr); }
.hinzufuegen { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 2px dashed var(--feld); border-radius: var(--rund); font-weight: 700; text-decoration: none; }
.hinzufuegen:hover { background: var(--flaeche); }
.kontakt-kasten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.kontakt-kasten p { margin: 4px 0 0; overflow-wrap: anywhere; }
.kontakt-kasten a { font-weight: 600; }

.kosten { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; padding: 24px; position: sticky; top: 16px; }
.kosten dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.kosten dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.kosten .summe { font-weight: 800; border-top: 1px solid var(--linie); padding-top: 10px; }
.kosten dd.summe { font-size: 22px; padding-top: 6px; }
.kosten p { margin: 0; }
.abschicken { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.quittung { margin: 20px 0 24px; }

@media (max-width: 700px) {
    body { font-size: 16px; }
    .kopf-innen { padding: 12px 16px; }
    .logo img { width: 200px; }
    .schritte .schritt:not(.aktuell) .schritt-text { display: none; }
    .fortschritt { display: block; }
    .held { padding: 40px 16px 32px; }
    .band-innen, .abschnitt, .seite { padding-left: 16px; padding-right: 16px; }
    .feldgruppe.zwei { grid-template-columns: minmax(0, 1fr); }
    .starter, .formular, .kosten { padding: 18px 16px; }
    .preise-haupt, .preise .karte-hinweis { padding: 22px 20px; }
    .kosten { position: static; }
    .leiste { flex-direction: column-reverse; align-items: stretch; }
    .leiste .knopf { width: 100%; }
    .fuss-innen { padding: 24px 16px; }
}
