/* ============================================================
   neuDENKEN Media Shop
   Warme Papiertöne, Petrol als Akzent, kompakte Karten,
   rechte Sidebar mit Warenkorb.
   ============================================================ */

:root {
    --petrol: #1f6f74;
    --petrol-dunkel: #17565a;
    --petrol-tief: #123f43;
    --text: #26282a;
    --text-hell: #75726c;
    --linie: #e9e4dc;
    --papier: #faf8f4;          /* Seitengrund: warmes Papier */
    --creme: #f3eee6;           /* Hero-Fläche */
    --cover-grund: #f6f3ed;     /* Fläche hinter den Covern */
    --weiss: #fff;
    --gruen: #2e7d32;
    --schatten: 0 1px 2px rgba(40, 36, 28, .04), 0 3px 10px rgba(40, 36, 28, .04);
    --schatten-hover: 0 10px 24px rgba(40, 36, 28, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
    font-family: 'Segoe UI', system-ui, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--papier);
    line-height: 1.55;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; }
h1 { font-size: 1.6rem; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 1rem; }
h3 { font-size: .95rem; }

a { color: var(--petrol); }

/* ---------- Kopf: Logo · Telefon · Links ---------- */

.kopf {
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    position: sticky; top: 0; z-index: 50;
}

.kopf-innen {
    max-width: 1240px; margin: 0 auto; padding: .45rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    flex-wrap: wrap;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 102px; width: auto; display: block; }
.logo-text { display: none; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.logo-text b { color: var(--petrol); }

.nav-toggle {
    display: none; background: none; cursor: pointer;
    border: 1px solid var(--linie); border-radius: 2px;
    padding: .45rem .55rem; color: var(--petrol);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* Seiten-Navigation unterhalb des Logos */
.hauptnav { border-top: 1px solid var(--linie); background: var(--weiss); }
.hauptnav-innen {
    max-width: 1240px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; gap: .4rem; flex-wrap: wrap;
}
.hauptnav a {
    color: var(--text); text-decoration: none;
    padding: .35rem .9rem; font-size: .95rem; font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.hauptnav a:hover { color: var(--petrol); }
.hauptnav a.aktiv { color: var(--petrol); border-bottom-color: var(--petrol); }

.kopf-service {
    display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap;
    font-size: .9rem;
}

.kopf-ssl, .kopf-tel { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); }
.kopf-ssl .mini-icon, .kopf-tel .mini-icon { width: 19px; height: 19px; color: var(--petrol); flex-shrink: 0; }
.kopf-ssl strong, .kopf-tel strong { font-size: .92rem; display: block; }
.kopf-ssl small, .kopf-tel small { display: block; color: var(--text-hell); font-size: .74rem; line-height: 1.2; }
.kopf-ssl > span, .kopf-tel > span { display: inline-block; line-height: 1.25; }
.kopf-tel:hover strong { color: var(--petrol); }
.kopf-ssl { cursor: default; }

.kopf-link {
    color: var(--petrol); text-decoration: underline;
    text-underline-offset: 2px; font-size: .88rem;
}
.kopf-link:hover { color: var(--petrol-dunkel); background: var(--cover-grund); }

/* ---------- Grundraster: Inhalt + Sidebar ---------- */

.seiten-layout {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 290px; gap: 2rem;
    padding: 2rem 1.5rem 3.5rem;
    align-items: start;
}

.inhalt { min-width: 0; }

.seiten-layout.ohne-sidebar { grid-template-columns: 1fr; }

.hinweis-balken {
    background: #edf5ee; border-left: 3px solid var(--gruen); color: #1d4d20;
    padding: .65rem 1rem; margin-bottom: 1.2rem;
    font-size: .92rem;
}
.hinweis-balken.mit-aktion {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: .8rem 1rem;
}
.hinweis-aktionen { display: flex; gap: .6rem; flex-wrap: wrap; }
.hinweis-aktionen .btn { padding: .5rem 1rem; font-size: .9rem; }

/* ---------- Sidebar ---------- */

.sidebar { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 76px; }

.seiten-box {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 1.1rem 1.2rem;
}
.seiten-box h4 {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--text-hell); margin-bottom: .7rem;
}

.sb-leer { font-size: .9rem; color: var(--text-hell); }

.sb-liste { list-style: none; }
.sb-liste li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .88rem; padding: .35rem 0;
    border-bottom: 1px dashed var(--linie);
}
.sb-name { min-width: 0; flex: 1; }
.sb-preis { white-space: nowrap; color: var(--text-hell); }
.sb-liste form { display: flex; }
.sb-x {
    width: 22px; height: 22px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--linie); border-radius: 2px;
    color: var(--text-hell); font-size: .75rem; line-height: 1;
    cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.sb-x:hover { color: #b3261e; border-color: #b3261e; }

.sb-summe {
    display: flex; justify-content: space-between;
    font-size: .95rem; margin: .7rem 0 .9rem;
}
.sb-btn { display: block; width: 100%; }

.sb-nav { list-style: none; }
.sb-nav li { border-bottom: 1px dashed var(--linie); }
.sb-nav li:last-child { border-bottom: none; }
.sb-nav a {
    display: block; padding: .45rem 0; font-size: .92rem;
    color: var(--text); text-decoration: none;
}
.sb-nav a:hover { color: var(--petrol); padding-left: .2rem; }

.sb-text { font-size: .88rem; color: var(--text-hell); }

/* ---------- Hero: Abo + aktuelle Ausgabe ---------- */

.hero-abo {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem;
    background: var(--creme);
    border-radius: 2px;
    padding: 2.2rem 2.4rem;
    margin-bottom: 2.2rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: .76rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--petrol); margin-bottom: .6rem;
}
.hero-abo h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.1rem; font-weight: 500; margin-bottom: .7rem;
}
.hero-sub { font-size: .95rem; color: var(--text-hell); margin-bottom: 1rem; max-width: 40ch; }

.hero-haken { list-style: none; margin-bottom: 1.1rem; }
.hero-haken li {
    font-size: .92rem; padding: .15rem 0 .15rem 1.5rem; position: relative;
}
.hero-haken li::before {
    content: '✓'; position: absolute; left: 0; color: var(--petrol); font-weight: 700;
}

.hero-preis { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.1rem; }
.hero-preis span { font-size: .82rem; font-weight: 400; color: var(--text-hell); }

.hero-knoepfe { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero-cover { display: block; text-align: center; }
.hero-cover .hero-bild {
    max-width: 100%; max-height: 340px; width: auto; height: auto;
    display: inline-block;
    transition: transform .2s ease;
}
.hero-cover:hover .hero-bild { transform: scale(1.02) rotate(.5deg); }

/* ---------- Produktraster ---------- */

.raster {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.karte {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: 2px;
    box-shadow: var(--schatten);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.karte:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }

.karte-cover {
    display: block; position: relative;
    background: var(--cover-grund);
    padding: 1.1rem 1.1rem .9rem;
}
.karte-cover .produkt-bild {
    width: 100%; height: 210px; object-fit: contain; display: block;
    transition: transform .2s ease;
}
.karte:hover .karte-cover .produkt-bild { transform: scale(1.02); }
.cover-badge {
    position: absolute; top: .7rem; left: .7rem;
    background: var(--petrol-tief); color: var(--weiss);
    font-size: .72rem; font-weight: 600; letter-spacing: .03em;
    padding: .18rem .55rem; border-radius: 2px;
}

.karte-info { padding: .8rem 1rem .9rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.karte-info h3 a { color: var(--text); text-decoration: none; font-weight: 600; }
.karte-info h3 a:hover { color: var(--petrol); }

.karte-zeile {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    margin-top: auto;
}
.karte-preis { font-size: 1rem; font-weight: 700; }
.karte-status { font-size: .8rem; color: var(--text-hell); }

.wk-mini {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex-shrink: 0;
    background: var(--petrol); color: var(--weiss);
    border: none; border-radius: 2px; cursor: pointer;
    text-decoration: none;
    transition: background .15s ease;
}
.wk-mini:hover { background: var(--petrol-dunkel); }
.wk-mini svg { width: 18px; height: 18px; }

.karte-vergriffen .produkt-bild { filter: grayscale(65%); opacity: .75; }

.archiv-verweis { margin-top: 2.2rem; }

/* ---------- Knöpfe & Formulare ---------- */

.btn {
    display: inline-block; border: none; cursor: pointer;
    font-family: inherit; font-weight: 600;
    font-size: .92rem; padding: .6rem 1.2rem;
    border-radius: 2px;
    text-decoration: none; text-align: center;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-haupt { background: var(--petrol); color: var(--weiss); }
.btn-haupt:hover { background: var(--petrol-dunkel); }
.btn-neben { background: transparent; color: var(--petrol); border: 1px solid var(--petrol); }
.btn-neben:hover { background: var(--petrol); color: var(--weiss); }
.btn-gross { font-size: 1rem; padding: .75rem 1.6rem; }

select, input[type=number], input[type=text], input[type=email] {
    font-size: .95rem; padding: .5rem .7rem;
    border: 1px solid #cfc8bc; border-radius: 2px;
    font-family: inherit; background: var(--weiss);
}
select:focus, input:focus { border-color: var(--petrol); outline: none; }

label { font-size: .92rem; }

/* ---------- Produktseite ---------- */

.produkt-detail {
    display: grid; grid-template-columns: 410px 1fr; gap: 2.2rem;
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 1.8rem;
    align-items: start;
}
.produkt-detail .produkt-bild { width: 100%; height: auto; }
.produkt-detail .platzhalter-cover { height: 410px; background: var(--cover-grund); }
.produkt-detail .preis { font-size: 1.35rem; font-weight: 700; margin: .8rem 0 1.2rem; }
.mwst-hinweis { font-size: .78rem; color: var(--text-hell); font-weight: 400; }

.pd-vorteile { list-style: none; margin-top: 1.4rem; }
.pd-vorteile li {
    font-size: .88rem; color: var(--text-hell);
    padding: .12rem 0 .12rem 1.4rem; position: relative;
}
.pd-vorteile li::before {
    content: '✓'; position: absolute; left: 0; color: var(--petrol); font-weight: 700;
}

.produkt-beschreibung {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 1.8rem; margin-top: 1.5rem;
}
.produkt-beschreibung h2 { margin: 0 0 1rem; }
.produkt-beschreibung .beschreibung { font-size: .95rem; }
.produkt-beschreibung .beschreibung p { margin-bottom: .7rem; }
.produkt-beschreibung .beschreibung ul,
.produkt-beschreibung .beschreibung ol { margin: 0 0 .7rem 1.3rem; }

.options-feld { margin-bottom: 1rem; }
.options-feld label { display: block; margin-bottom: .35rem; font-weight: 600; }
.options-feld select { width: 100%; max-width: 380px; }

.kauf-zeile { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-top: .8rem; }
.kauf-zeile input[type=number] { width: 80px; }

/* Platzhalter, solange kein Cover vorliegt */
.platzhalter-cover {
    width: 100%; height: 210px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .7rem;
}
.platzhalter-cover img { max-width: 74%; height: auto; mix-blend-mode: multiply; }
.platzhalter-cover .cover-nr {
    font-size: .88rem; font-weight: 700; color: var(--petrol);
    border: 1px solid var(--petrol); border-radius: 2px; padding: .02rem .7rem;
}
.hero-cover .platzhalter-cover { height: 300px; }

/* ---------- Warenkorb-Seite ---------- */

.wk-tabelle {
    width: 100%; border-collapse: collapse; background: var(--weiss);
    border: 1px solid var(--linie);
    box-shadow: var(--schatten);
}
.wk-tabelle th, .wk-tabelle td {
    padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--linie);
    font-size: .92rem;
}
.wk-tabelle th { background: var(--cover-grund); color: var(--petrol-tief); }
.wk-tabelle tr:last-child td { border-bottom: none; }
.wk-tabelle td.zahl, .wk-tabelle th.zahl { text-align: right; }
.wk-option { color: var(--text-hell); font-size: .82rem; }

/* Warenkorb: Tabelle links, Kassen-Kasten rechts daneben */
.wk-layout {
    display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem;
    align-items: start;
}
.wk-links { min-width: 0; }

.wk-summen {
    background: var(--weiss); border: 1px solid var(--linie);
    box-shadow: var(--schatten);
    padding: 1.3rem;
}

@media (max-width: 900px) {
    .wk-layout { grid-template-columns: 1fr; }
}
.wk-summen .zeile { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; font-size: .95rem; }
.wk-summen .steuerfrei-hinweis { color: var(--gruen); font-size: .85rem; }
.wk-summen .mwst-zeile { color: var(--text-hell); font-size: .85rem; margin-top: .3rem; }
.land-wahl { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
             padding-bottom: .9rem; border-bottom: 1px solid var(--linie); }
.land-wahl label { font-weight: 600; }
.land-wahl select { flex: 1; }
.wk-summen .gesamt { font-size: 1.15rem; font-weight: 700; border-top: 1px solid var(--linie); padding-top: .7rem; margin-top: .7rem; }

.leer-hinweis {
    background: var(--weiss); border: 1px solid var(--linie);
    box-shadow: var(--schatten);
    padding: 2.5rem; text-align: center; font-size: 1rem;
}

/* ---------- Fuß ---------- */

.fuss { background: var(--creme); color: var(--text); border-top: 1px solid var(--linie); margin-top: 2rem; }
.fuss-innen {
    max-width: 1240px; margin: 0 auto; padding: 2.4rem 1.5rem 1rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
}
.fuss h4 {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--petrol); margin-bottom: .6rem;
    border-bottom: 2px solid var(--petrol); display: inline-block; padding-bottom: .2rem;
}
.fuss p { font-size: .9rem; line-height: 1.8; }
.fuss a { color: var(--text); text-decoration: none; }
.fuss a:hover { color: var(--petrol); text-decoration: underline; }
.fuss-zeile {
    text-align: center; padding: 1.4rem 1rem; font-size: .82rem; color: var(--text-hell);
    border-top: 1px solid var(--linie); margin-top: 1.5rem;
}

/* ---------- Kasse ---------- */

.fehler-balken {
    background: #fdeceb; border-left: 3px solid #b3261e; color: #7a1a14;
    padding: .8rem 1rem; margin-bottom: 1.2rem; font-size: .92rem;
}
.fehler-balken ul { margin: .4rem 0 0 1.2rem; }

.kasse-spalten { display: grid; grid-template-columns: 1fr 420px; gap: 1.5rem; align-items: start; }

.kasse-block {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 1.5rem; margin-bottom: 1.5rem;
}
.kasse-block h2 { margin: 0 0 1rem; }

.feld { margin-bottom: .9rem; }
.feld label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .25rem; }
.feld input, .feld select { width: 100%; }
.feld-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.feld-zeile.plz-ort { grid-template-columns: 130px 1fr; }

.zahlart-box {
    display: flex; align-items: flex-start; gap: .7rem;
    border: 1px solid var(--linie); border-radius: 2px;
    padding: .8rem 1rem; margin-bottom: .6rem; cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.zahlart-box:hover { border-color: var(--petrol); }
.zahlart-box.gewaehlt,
.zahlart-box:has(input:checked) { border-color: var(--petrol); background: var(--cover-grund); }
.zahlart-box input { margin-top: .3rem; accent-color: var(--petrol); }
.zahlart-box strong { display: block; font-size: .95rem; }
.zahlart-box small { color: var(--text-hell); font-size: .82rem; }

.kasse-uebersicht {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 1.5rem;
}
.kasse-uebersicht h2 { margin: 0 0 1rem; }
.kasse-uebersicht .zeile { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; margin-bottom: .35rem; }
.kasse-uebersicht .gesamt { font-size: 1.1rem; font-weight: 700; border-top: 1px solid var(--linie); padding-top: .6rem; margin-top: .6rem; }

.agb-feld {
    display: flex; align-items: flex-start; gap: .6rem;
    font-size: .85rem; margin: 1.1rem 0;
}
.agb-feld input { margin-top: .2rem; accent-color: var(--petrol); }

.kauf-btn { width: 100%; }

@media (max-width: 1000px) {
    .kasse-spalten { grid-template-columns: 1fr; }
    .kasse-uebersicht { position: static; }
}

/* ---------- Rechtstexte ---------- */

.rechtstext {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    box-shadow: var(--schatten);
    padding: 2rem; max-width: 820px;
}
.rechtstext h1 { margin-bottom: 1.2rem; }
.rechtstext h2 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.rechtstext p, .rechtstext li { font-size: .92rem; }
.rechtstext ul { margin: .4rem 0 .8rem 1.3rem; }
.widerruf-formular {
    border: 1px dashed var(--text-hell); border-radius: 2px;
    padding: 1.2rem; margin-top: .8rem;
}

/* ---------- Cookie-Hinweis ---------- */

.cookie-bar[hidden] { display: none; }
.cookie-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--petrol-tief); color: #e6efef;
    display: flex; align-items: center; justify-content: center; gap: 1.5rem;
    flex-wrap: wrap;
    padding: .9rem 1.5rem;
    box-shadow: 0 -4px 16px rgba(18, 63, 67, .25);
}
.cookie-bar p { font-size: .88rem; max-width: 720px; }
.cookie-bar a { color: #9fd6d8; }
.cookie-ok { background: var(--weiss); color: var(--petrol-tief); }
.cookie-ok:hover { background: var(--cover-grund); }

/* ---------- Admin ---------- */

.admin-body { background: var(--flaeche); }
.admin-kopf { background: var(--petrol-tief); }
.admin-kopf-innen {
    max-width: 1240px; margin: 0 auto; padding: .8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.admin-titel { color: var(--weiss); font-weight: 700; }
.admin-nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-nav a {
    color: #c3d6d7; text-decoration: none; font-size: .92rem; font-weight: 600;
    padding: .4rem .8rem; border-radius: 2px;
}
.admin-nav a:hover, .admin-nav a.aktiv { background: var(--petrol); color: var(--weiss); }

.admin-inhalt { max-width: 1240px; margin: 0 auto; padding: 2rem 1.5rem 3.5rem; }

.admin-login { max-width: 380px; margin: 3rem auto; background: var(--weiss);
    border: 1px solid var(--linie); border-radius: 2px; box-shadow: var(--schatten); padding: 2rem; }
.admin-login h1 { margin-bottom: 1.2rem; }
.admin-login .btn { width: 100%; margin-top: .5rem; }

.admin-kennzahlen { display: flex; gap: 1rem; margin: .8rem 0 1.2rem; flex-wrap: wrap; }
.kennzahl { background: var(--weiss); border: 1px solid var(--linie); border-radius: 2px;
    padding: .5rem 1rem; font-size: .92rem; }
.kennzahl strong { color: var(--petrol); font-size: 1.1rem; }

.admin-filter { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.admin-filter .btn { padding: .45rem .9rem; font-size: .88rem; }

.admin-tabelle td, .admin-tabelle th { font-size: .9rem; }
.admin-thumb { width: 64px; }
.admin-bild { width: 52px; height: 68px; object-fit: contain; background: var(--cover-grund); }
.admin-thumb .platzhalter-cover { width: 52px; height: 68px; padding: .2rem; gap: .2rem; }
.admin-thumb .platzhalter-cover .cover-nr { font-size: .6rem; padding: 0 .3rem; border-width: 1px; }
.admin-vorschau { max-width: 100%; }

.status { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.status-offen { background: #fdecdc; color: #8a4b0f; }
.status-bezahlt { background: #e2f2e3; color: #1d5c22; }
.status-versteckt { background: #eceff1; color: #546e7a; }

.admin-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.admin-details { width: 100%; border-collapse: collapse; }
.admin-details th, .admin-details td { text-align: left; padding: .45rem 0; font-size: .92rem;
    border-bottom: 1px dashed var(--linie); vertical-align: top; }
.admin-details th { font-weight: 600; padding-right: 1rem; }
.admin-details td.zahl { text-align: right; }
.admin-aktionen { display: flex; gap: .8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.btn-klein { padding: .35rem .7rem; font-size: .8rem; }

.admin-body textarea { width: 100%; font-family: inherit; font-size: .92rem;
    border: 1px solid #cfc8bc; border-radius: 2px; padding: .6rem .8rem; }
.admin-body textarea:focus { border-color: var(--petrol); outline: none; }

@media (max-width: 900px) {
    .admin-spalten { grid-template-columns: 1fr; }
}

/* ---------- Mobil ---------- */

@media (max-width: 1000px) {
    .seiten-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .raster { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .raster { grid-template-columns: repeat(2, 1fr); }
    .hero-abo { grid-template-columns: 1fr; padding: 1.6rem; }
    .hero-cover .hero-bild { max-height: 260px; }
    .produkt-detail { grid-template-columns: 1fr; }
    .karte-cover .produkt-bild, .platzhalter-cover { height: 200px; }

    /* --- schlanker Mobil-Header --- */
    .kopf-innen { padding: .4rem .8rem; gap: .8rem; flex-wrap: nowrap; }
    .nav-toggle { display: inline-flex; flex-shrink: 0; }

    .logo img { display: none; }                /* großes Logo raus */
    .logo-text { display: inline; white-space: nowrap; }

    .kopf-ssl, .kopf-link { display: none; }    /* SSL-Hinweis + Website-Link raus */
    .kopf-service { gap: .6rem; }
    .kopf-tel > span { display: none; }         /* Telefon nur als Hörer-Symbol */
    .kopf-tel .mini-icon { width: 22px; height: 22px; }
    .kopf-tel {
        border: 1px solid var(--linie); border-radius: 2px;
        padding: .42rem .55rem;
    }

    /* Menü eingeklappt, öffnet über den ☰-Knopf */
    .hauptnav { display: none; border-top: 1px solid var(--linie); }
    .hauptnav.offen { display: block; }
    .hauptnav-innen { flex-direction: column; gap: 0; padding: 0; }
    .hauptnav a {
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--linie);
        border-left: 4px solid transparent;
    }
    .hauptnav a:last-child { border-bottom: none; }
    .hauptnav a.aktiv {
        border-bottom: 1px solid var(--linie);
        border-left-color: var(--petrol);
        background: var(--flaeche);
    }
}
@media (max-width: 540px) {
    .raster { grid-template-columns: 1fr; }
    .kopf-innen { justify-content: center; }
}
