/* ---------------------------------------------------------------------------
   DVS Shop - Gestaltung
   Farben, Schriften und Formensprache sind vom Auftritt auf www.dvs.ch
   uebernommen: Ink/Gelb/Cyan/Magenta, Archivo fuer Titel, Inter fuer Text,
   Pillenknoepfe, 14px-Radien. Ohne Fremdbibliothek, Schriften liegen lokal.
   --------------------------------------------------------------------------- */

/* ---------- Schriften (lokal, keine Fremdanfragen) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/Inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/Inter-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/Inter-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/Inter-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/Inter-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/Inter-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/Inter-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/Inter-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/Archivo-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/Archivo-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('../fonts/Archivo-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('../fonts/Archivo-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 900; font-display: swap;
    src: url('../fonts/Archivo-900-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 900; font-display: swap;
    src: url('../fonts/Archivo-900-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }

@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/IBMPlexMono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/IBMPlexMono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB; }

/* ---------- Grundwerte ---------- */
:root {
    --ink: #14161a;
    --ink-soft: #4a4f57;
    --ink-mute: #6e737c;
    --paper: #ffffff;
    --paper-tint: #f6f7f5;
    --line: #e3e5e1;
    --line-soft: #eef0ec;
    --cyan: #009fd4;
    --cyan-dark: #007ea8;
    --magenta: #e5007d;
    --yellow: #ffc400;
    --yellow-dark: #e0a800;
    --gruen: #128a4e;
    --rot: #cc2a1f;
    --radius: 14px;
    --radius-s: 10px;
    --maxw: 1240px;
    --font-display: "Archivo", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --schatten: 0 1px 2px rgba(20, 22, 26, .06);
    --schatten-hoch: 0 10px 28px rgba(20, 22, 26, .13);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--cyan-dark); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -.015em;
    margin: 0 0 .55em;
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }

.inhalt { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .inhalt { padding: 0 16px; } }

/* Kleiner Vorspann in Schreibmaschinenschrift mit Farbquadrat */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: .6em;
    margin-bottom: .8rem;
}
.eyebrow::before {
    content: "";
    width: .8em; height: .8em;
    border-radius: 2px;
    background: var(--chip, var(--cyan));
    flex: none;
}
.chip-c { --chip: var(--cyan); }
.chip-m { --chip: var(--magenta); }
.chip-y { --chip: var(--yellow); }
.chip-k { --chip: var(--ink); }

.mono { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; }

/* ---------- Kopfbereich ---------- */
/* CMYK-Signaturbalken, uebernommen von www.dvs.ch */
.cmyk-bar { display: flex; height: 6px; width: 100%; }
.cmyk-bar span { flex: 1; }
.cmyk-bar .c { background: var(--cyan); }
.cmyk-bar .m { background: var(--magenta); }
.cmyk-bar .y { background: var(--yellow); }
.cmyk-bar .k { background: var(--ink); }

.kopf-oben {
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .06em;
}
.kopf-oben .inhalt { display: flex; justify-content: flex-end; align-items: center; min-height: 30px; }
.kopf-oben a { color: var(--ink-mute); }
.kopf-oben a:hover { color: var(--ink); }

.kopf {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.kopf .inhalt { display: flex; align-items: center; gap: 26px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }

.logo {
    display: inline-flex; align-items: center; gap: 10px;
    white-space: nowrap; line-height: 1; text-decoration: none;
}
.logo img { height: 40px; width: auto; display: block; }
.logo em {
    font-style: normal; font-family: var(--font-mono); font-weight: 500;
    font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-mute); padding-left: 10px; border-left: 1px solid var(--line);
}
.logo:hover em { color: var(--ink); }
@media (max-width: 520px) { .logo img { height: 32px; } .logo em { display: none; } }

.suchfeld { flex: 1 1 320px; display: flex; max-width: 640px; }
.suchfeld input {
    flex: 1; min-width: 0;
    padding: 12px 18px;
    border: 1.5px solid var(--line);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    font-family: inherit; font-size: .95rem; color: var(--ink);
    background: var(--paper-tint);
}
.suchfeld input::placeholder { color: var(--ink-mute); }
.suchfeld input:focus { outline: none; border-color: var(--ink); background: #fff; }
.suchfeld button {
    padding: 12px 24px; border: 0; cursor: pointer;
    background: var(--ink); color: #fff;
    border-radius: 0 999px 999px 0;
    font-family: var(--font-display); font-weight: 700; font-size: .92rem;
}
.suchfeld button:hover { background: #000; }

.kopf-aktionen { display: flex; gap: 18px; align-items: center; margin-left: auto; }
.kopf-aktionen > a { font-size: .88rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.kopf-aktionen > a:hover { color: var(--ink); }
.warenkorb-knopf {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--yellow); color: var(--ink) !important;
    padding: 10px 20px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 700; font-size: .92rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
.warenkorb-knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 196, 0, .4); }
.warenkorb-zahl {
    background: var(--ink); color: #fff; border-radius: 999px;
    padding: 1px 9px; font-size: .76rem; font-family: var(--font-mono);
}

/* ---------- Hauptnavigation ---------- */
.hauptnav { border-bottom: 1px solid var(--line); background: #fff; }
.hauptnav .inhalt { display: flex; flex-wrap: wrap; gap: 2px; }
.hauptnav a {
    padding: 14px 16px;
    font-family: var(--font-display); font-weight: 700; font-size: .9rem;
    color: var(--ink-soft);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}
.hauptnav a:hover { color: var(--ink); border-bottom-color: var(--yellow); }
.hauptnav a.aktiv { color: var(--ink); border-bottom-color: var(--cyan); }

/* ---------- Meldungen ---------- */
.meldung {
    padding: 13px 18px; border-radius: var(--radius-s); margin: 16px 0;
    font-size: .92rem; border-left: 4px solid;
    background: var(--paper-tint);
}
.meldung-erfolg { border-color: var(--gruen); color: #0d6b3c; background: #eef8f2; }
.meldung-fehler { border-color: var(--rot); color: #a52218; background: #fdeeec; }
.meldung-hinweis { border-color: var(--yellow); color: #7a5c00; background: #fff9e6; }

/* ---------- Grundraster ---------- */
main { padding: 26px 0 70px; min-height: 60vh; }
.spalten { display: grid; grid-template-columns: 262px 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .spalten { grid-template-columns: 1fr; } }

.brotkrume { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 16px; text-transform: uppercase; }
.brotkrume a { color: var(--ink-mute); }
.brotkrume a:hover { color: var(--ink); }
.brotkrume span { margin: 0 7px; color: var(--line); }

/* ---------- Filterspalte ---------- */
.seitenspalte { font-size: .92rem; }
.filterblock {
    border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 18px; overflow: hidden; background: #fff;
}
.filterblock h3 {
    font-size: .8rem; margin: 0; padding: 13px 18px;
    font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-soft); background: var(--paper-tint); border-bottom: 1px solid var(--line);
}
.filterblock .inhalt-block { padding: 14px 18px; }
.filterblock ul { list-style: none; margin: 0; padding: 0; }
.filterblock li { padding: 4px 0; }
.filterblock label { display: flex; gap: 9px; align-items: baseline; cursor: pointer; }
.filterblock input[type=checkbox] { accent-color: var(--cyan); }
.filterblock .anzahl { color: var(--ink-mute); font-family: var(--font-mono); font-size: .74rem; margin-left: auto; }
.kategorieliste a { display: flex; color: var(--ink-soft); }
.kategorieliste a:hover { color: var(--cyan-dark); }
.kategorieliste .aktiv { font-weight: 600; color: var(--ink); }

/* ---------- Artikelkarten ---------- */
.artikelraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 20px; }

.karte {
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    padding: 16px; display: flex; flex-direction: column; position: relative;
    transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.karte:hover { box-shadow: var(--schatten-hoch); transform: translateY(-3px); border-color: var(--line); }
.karte .bild { height: 168px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; }
.karte .bild img { max-height: 168px; object-fit: contain; mix-blend-mode: multiply; }
.karte .marke { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.karte .bezeichnung {
    font-size: .9rem; font-weight: 500; color: var(--ink); margin: 5px 0 10px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.karte .bezeichnung:hover { color: var(--cyan-dark); }
.karte-fuss { margin-top: auto; }
.karte-abzeichen { min-height: 22px; margin-bottom: 4px; }
.karte-fuss form { margin-top: 12px; }

/* ---------- Preisdarstellung ---------- */
.preis { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.preis-klein { font-size: .76rem; color: var(--ink-mute); line-height: 1.45; }
.preis-uvp { font-size: .78rem; color: var(--ink-mute); text-decoration: line-through; margin-left: 7px; font-weight: 500; font-family: var(--font-body); }
/* Netto und Brutto nebeneinander, beide in derselben Groesse */
.preis-paar { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: flex-end; }
.preis-label { font-size: .72rem; color: var(--ink-mute); line-height: 1.4; white-space: nowrap; }
.preis-rabatt { color: var(--magenta); }

.abzeichen {
    display: inline-block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
    padding: 3px 9px; border-radius: 999px; background: var(--paper-tint); color: var(--ink-soft);
    margin-right: 5px; margin-bottom: 4px; border: 1px solid var(--line);
}
.abzeichen-lager { background: #eaf7f1; color: #0d6b3c; border-color: #c6e8d7; }
.abzeichen-frist { background: #fff8e3; color: #7a5c00; border-color: #f2e0a8; }
.abzeichen-neu { background: var(--magenta); color: #fff; border-color: var(--magenta); }

/* ---------- Knoepfe ---------- */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font-display); font-weight: 700; font-size: .92rem;
    padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--ink); color: #fff !important; cursor: pointer;
    text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 22, 26, .22); }
.knopf-gelb { background: var(--yellow); color: var(--ink) !important; }
.knopf-gelb:hover { box-shadow: 0 8px 20px rgba(255, 196, 0, .42); }
.knopf-cyan { background: var(--cyan); color: #fff !important; }
.knopf-cyan:hover { box-shadow: 0 8px 20px rgba(0, 159, 212, .35); }
.knopf-hell { background: #fff; color: var(--ink) !important; border-color: var(--ink); }
.knopf-hell:hover { background: var(--paper-tint); box-shadow: none; }
.knopf-klein { padding: 8px 16px; font-size: .84rem; }
.knopf-breit { width: 100%; }
.knopf-gefahr { background: var(--rot); }
.knopf:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Formulare ---------- */
.feld { margin-bottom: 16px; }
.feld label {
    display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.feld input, .feld select, .feld textarea {
    width: 100%; padding: 11px 15px;
    border: 1.5px solid var(--line); border-radius: var(--radius-s);
    font-size: .95rem; font-family: inherit; color: var(--ink); background: #fff;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--cyan); }
.feld .fehler { color: var(--rot); font-size: .82rem; margin-top: 4px; }
.feld input.falsch, .feld select.falsch { border-color: var(--rot); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld-reihe-3 { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .feld-reihe, .feld-reihe-3 { grid-template-columns: 1fr; } }
.hinweistext { font-size: .86rem; color: var(--ink-mute); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 22px; }
legend { font-family: var(--font-display); font-weight: 800; padding: 0 10px; font-size: 1rem; }

/* ---------- Tabellen ---------- */
table.liste { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.liste th, table.liste td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
table.liste th {
    background: var(--paper-tint); font-family: var(--font-mono); font-size: .72rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}
table.liste tfoot td { border-bottom: 0; padding-top: 8px; padding-bottom: 8px; }
table.liste tbody tr:hover td { background: #fcfcfb; }
table.liste td.zahl, table.liste th.zahl { text-align: right; white-space: nowrap; }
.tabellen-umbruch { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Warenkorb und Kasse ---------- */
.kasse-raster { display: grid; grid-template-columns: 1fr 350px; gap: 34px; align-items: start; }
@media (max-width: 900px) { .kasse-raster { grid-template-columns: 1fr; } }
.summenkasten {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    background: var(--paper-tint); position: sticky; top: 96px;
}
.summenkasten h3 { font-family: var(--font-display); font-weight: 800; }
.summenzeile { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .92rem; }
.summenzeile > span:last-child { white-space: nowrap; }
.summenzeile.gross {
    font-family: var(--font-display); font-size: 1.24rem; font-weight: 800;
    border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 14px;
}
.mengenfeld {
    width: 82px; text-align: center; padding: 9px;
    border: 1.5px solid var(--line); border-radius: var(--radius-s); font-family: var(--font-mono);
}

/* ---------- Artikelseite ---------- */
.artikel-oben { display: grid; grid-template-columns: 440px 1fr; gap: 44px; }
@media (max-width: 860px) { .artikel-oben { grid-template-columns: 1fr; } }
.galerie-haupt {
    border: 1px solid var(--line); border-radius: var(--radius); height: 400px;
    display: flex; align-items: center; justify-content: center; padding: 22px; background: #fff;
}
.galerie-haupt img { max-height: 356px; object-fit: contain; mix-blend-mode: multiply; }
.galerie-klein { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.galerie-klein img {
    width: 66px; height: 66px; object-fit: contain; border: 1px solid var(--line);
    border-radius: var(--radius-s); padding: 5px; cursor: pointer; background: #fff;
}
.galerie-klein img.aktiv { border-color: var(--cyan); border-width: 2px; }
.artikel-daten { list-style: none; padding: 0; margin: 18px 0; font-size: .9rem; }
.artikel-daten li { display: flex; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.artikel-daten li span:first-child { width: 200px; color: var(--ink-mute); flex-shrink: 0; }
.artikel-daten li span:last-child { font-weight: 500; }
.beschreibung { font-size: .97rem; line-height: 1.7; color: var(--ink-soft); }
.beschreibung strong { color: var(--ink); }
.beschreibung ul { padding-left: 22px; }
.beschreibung li { margin-bottom: .3em; }
.kaufkasten {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    background: var(--paper-tint); margin: 20px 0;
}

/* ---------- Seitenzahlen ---------- */
.seitenzahlen { display: flex; gap: 6px; justify-content: center; margin: 34px 0 0; flex-wrap: wrap; }
.seitenzahlen a, .seitenzahlen span {
    padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
    color: var(--ink-soft); font-size: .88rem; font-weight: 500;
}
.seitenzahlen a:hover { border-color: var(--ink); color: var(--ink); }
.seitenzahlen .aktiv { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Werkzeugleiste ---------- */
.werkzeugleiste {
    display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.werkzeugleiste .trefferzahl { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--ink-mute); text-transform: uppercase; }
.werkzeugleiste select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: .86rem; background: #fff; }
.werkzeugleiste form { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.werkzeugleiste form label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Startseite ---------- */
.buehne {
    background: var(--ink); color: #fff; border-radius: var(--radius);
    padding: 60px 44px; margin-bottom: 44px; position: relative; overflow: hidden;
}
.buehne::after {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 196, 0, .32), transparent 62%);
}
.buehne h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; max-width: 19ch; margin-bottom: .35em; }
/* Farbfolge wie auf www.dvs.ch: Cyan, Magenta, Gelb */
.buehne h1 .hl-c { color: var(--cyan); }
.buehne h1 .hl-m { color: var(--magenta); }
.buehne h1 .hl-y { color: var(--yellow); }
.buehne p { font-size: 1.05rem; color: #b9bdc4; max-width: 62ch; margin: 0 0 26px; }
.buehne .eyebrow { color: #8d929b; }
.buehne-zahlen { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 34px; position: relative; }
.buehne-zahlen div strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.buehne-zahlen div span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8d929b; }
@media (max-width: 640px) { .buehne { padding: 38px 24px; } }

.kachelraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 20px; margin-bottom: 44px; }
.kachel {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px;
    color: var(--ink); background: #fff; position: relative;
    transition: transform .16s ease, box-shadow .16s ease;
}
.kachel::before {
    content: ""; position: absolute; top: 0; left: 24px;
    width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--chip, var(--cyan));
}
.kachel:hover { transform: translateY(-3px); box-shadow: var(--schatten-hoch); color: var(--ink); }
.kachel strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; margin-bottom: 5px; }
.kachel span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--ink-mute); }

.infokarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 48px; }
.infokarte {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff; position: relative;
}
.infokarte::before {
    content: ""; position: absolute; top: 0; left: 24px;
    width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--chip, var(--cyan));
}
.infokarte h3 { margin-bottom: .45rem; }
.infokarte p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Rechtliche Seiten ---------- */
.rechtstext { font-size: .96rem; line-height: 1.75; color: var(--ink-soft); }
.rechtstext h2 {
    font-size: 1.05rem; font-weight: 800; color: var(--ink);
    margin: 1.9rem 0 .5rem; padding-left: 14px; border-left: 4px solid var(--yellow);
}
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p { margin: 0 0 1rem; }

.leer { text-align: center; padding: 70px 20px; color: var(--ink-mute); }
.leer h1, .leer h2 { color: var(--ink); }

/* ---------- Fusszeile ---------- */
.fuss { background: var(--ink); color: #8d929b; padding: 54px 0 30px; font-size: .89rem; margin-top: 60px; }
.fuss a { color: #b9bdc4; }
.fuss a:hover { color: #fff; }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px; }
.fuss h4 { color: #fff; font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { padding: 4px 0; }
.fuss-unten {
    border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 20px;
    font-size: .8rem; color: #6e737c; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- Adminbereich ---------- */
.admin-kopf { background: var(--ink); color: #fff; padding: 0; position: sticky; top: 0; z-index: 60; }
.admin-kopf .inhalt { display: flex; align-items: center; gap: 6px; min-height: 60px; flex-wrap: wrap; }
.admin-kopf .marke { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: #fff; margin-right: 24px; }
.admin-kopf a { color: #b9bdc4; padding: 9px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.admin-kopf a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-kopf a.aktiv { background: var(--yellow); color: var(--ink); font-weight: 700; }
.admin-kopf .rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 30px; }
.kennzahl { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; position: relative; }
.kennzahl::before {
    content: ""; position: absolute; top: 0; left: 22px; width: 40px; height: 4px;
    border-radius: 0 0 4px 4px; background: var(--chip, var(--cyan));
}
.kennzahl strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.kennzahl span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

.fortschritt { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 12px 0; }
.fortschritt div { height: 100%; background: var(--cyan); width: 0; transition: width .3s ease; }

.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.status-neu { background: var(--yellow); color: var(--ink); }
.status-in_bearbeitung { background: var(--cyan); color: #fff; }
.status-versendet { background: #eaf7f1; color: #0d6b3c; border: 1px solid #c6e8d7; }
.status-abgeschlossen { background: var(--paper-tint); color: var(--ink-soft); border: 1px solid var(--line); }
.status-storniert { background: #fdeeec; color: #a52218; border: 1px solid #f5c9c5; }

.hinweiskasten {
    background: var(--paper-tint); border: 1px solid var(--line); border-left: 4px solid var(--cyan);
    border-radius: var(--radius-s); padding: 16px 20px; margin: 18px 0; font-size: .9rem;
}

/* Kleines i mit Erklärung beim Überfahren (auch per Tastatur erreichbar) */
.info-zeichen {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border: 1.5px solid var(--ink-mute); border-radius: 50%;
    font-family: var(--font-mono); font-size: .68rem; font-weight: 700; font-style: normal;
    color: var(--ink-mute); cursor: help; user-select: none; flex: 0 0 auto;
}
.info-zeichen .info-box {
    display: none; position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%);
    width: 250px; padding: 10px 12px; background: var(--ink); color: #fff;
    border-radius: var(--radius-s); font-family: var(--font-body, inherit); font-size: .8rem;
    font-weight: 400; line-height: 1.45; text-align: left; z-index: 40; pointer-events: none;
}
.info-zeichen .info-box::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
    border: 6px solid transparent; border-top-color: var(--ink);
}
.info-zeichen:hover .info-box,
.info-zeichen:focus .info-box,
.info-zeichen:focus-visible .info-box { display: block; }

@media print {
    .kopf, .kopf-oben, .cmyk-bar, .hauptnav, .fuss, .knopf, .werkzeugleiste { display: none !important; }
    body { font-size: 12px; }
}
