@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #11100e;
    --text: #2f2b26;
    --muted: #756d62;
    --paper: #f6f1e8;
    --surface: #fffaf2;
    --mist: #ece4d7;
    --line: #ded4c4;
    --forest: #173d35;
    --forest-2: #0e2824;
    --gold: #bd8d49;
    --wine: #6b2530;
    --shadow: 0 24px 80px rgba(17, 16, 14, .09);
    --container: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
    padding-bottom: 64px; /* clearance for fixed .sticky-info (64px desktop, 56*2 mobile) */
}
@media (max-width: 720px) { body { padding-bottom: 112px; } }
body:has(.admin-nav) { padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand, .btn, nav a, .eyebrow, th {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
}
h1, h2, h3 { color: var(--ink); line-height: .98; margin: 0 0 22px; font-weight: 900; }
h1 { font-size: clamp(42px, 7vw, 104px); max-width: 980px; }
h2 { font-size: clamp(30px, 4vw, 58px); }
h3 { font-size: 18px; line-height: 1.15; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(22px, 4vw, 42px); }
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 0 clamp(18px, 4vw, 54px);
    background: rgba(246, 241, 232, .9);
    border-bottom: 1px solid rgba(222, 212, 196, .78);
    backdrop-filter: blur(16px);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
}
.brand__mark {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, rgba(255,255,255,.08), transparent 60%),
        linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%);
    color: var(--gold);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow:
        0 6px 18px rgba(14, 40, 36, .35),
        inset 0 1px 0 rgba(255, 255, 255, .12),
        inset 0 -8px 24px rgba(0, 0, 0, .35);
    transition: transform .35s cubic-bezier(.22,.94,.32,1.04), box-shadow .35s ease;
}
.brand__mark::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(189, 141, 73, .35);
    opacity: 0;
    transform: scale(.94);
    transition: opacity .35s ease, transform .45s cubic-bezier(.22,.94,.32,1.04);
}
.brand__mark::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(189, 141, 73, .18), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); box-shadow: 0 10px 26px rgba(14, 40, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -8px 24px rgba(0, 0, 0, .35); }
.brand:hover .brand__mark::before { opacity: 1; transform: scale(1); }
.brand:hover .brand__mark::after { opacity: 1; }
.brand__mark svg {
    width: 28px;
    height: 28px;
    display: block;
    color: inherit;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25));
    transition: transform .4s cubic-bezier(.22,.94,.32,1.04);
}
.brand:hover .brand__mark svg { transform: scale(1.05); }
.brand__word {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}
.brand__word strong {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .2s ease;
}
.brand__word em {
    font-style: normal;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
}
.brand:hover .brand__word strong { color: var(--forest); }
@media (max-width: 720px) {
    .brand__word { display: flex; }
}
/* Kompakt-Gold: Gold-CTA-Chip — nur im mobilen Sticky-Header sichtbar */
.topbar__cta {
    display: none;
    align-items: center;
    white-space: nowrap;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 10.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1c150c;
    background: linear-gradient(180deg, #d9ac62, var(--gold, #bd8d49));
    padding: 8px 13px;
    border-radius: 999px;
    box-shadow: 0 4px 12px -4px rgba(189, 141, 73, .7);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.topbar__cta:hover { transform: translateY(-1px); box-shadow: 0 7px 16px -5px rgba(189, 141, 73, .85); filter: brightness(1.04); }
.topbar__cta:active { transform: translateY(0); }
.topbar__cta:focus-visible { outline: 2px solid var(--forest, #14403a); outline-offset: 2px; }
@media (max-width: 380px) {
    .topbar__cta { font-size: 9.5px; padding: 7px 10px; letter-spacing: .02em; }
}
nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
nav a { font-size: 12px; font-weight: 800; color: #3a342d; }
nav a:hover { color: var(--gold); }
.topbar--with-icons {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
}
.main-nav {
    justify-content: center;
}
.main-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 6px;
}
.main-nav a.is-active {
    color: var(--ink);
    font-weight: 600;
}
.quick-actions {
    display: inline-flex;
    align-items: stretch;
    min-height: 76px;
    margin-right: calc(clamp(18px, 4vw, 54px) * -1);
    border-left: 1px solid rgba(17, 61, 53, .12);
}
.quick-actions a {
    width: 64px;
    display: grid;
    place-items: center;
    color: var(--forest);
    border-right: 1px solid rgba(17, 61, 53, .12);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.quick-actions a:hover {
    background: var(--forest);
    color: #fffaf2;
}
.quick-actions svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero {
    min-height: calc(100vh - 76px - 64px);
    display: grid;
    align-items: end;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(9, 13, 11, .82) 0%, rgba(9, 13, 11, .58) 42%, rgba(9, 13, 11, .12) 78%),
        url('../uploads/bg/home-hero.jpg') center / cover;
}
.hero .container { width: 100%; padding-top: 96px; padding-bottom: clamp(64px, 8vw, 110px); }
.hero-copy { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero p { max-width: 660px; font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,.86); }
.hero-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.16);
    background: rgba(13, 16, 14, .58);
    backdrop-filter: blur(10px);
}
.hero-strip a, .hero-strip div { padding: 22px clamp(18px, 3vw, 34px); border-right: 1px solid rgba(255,255,255,.12); color: #fff; }
.hero-strip span, .kicker { display: block; color: rgba(255,255,255,.58); font-size: 12px; margin-bottom: 4px; }
.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
}
.section { padding: clamp(76px, 10vw, 138px) 0; }
.section--mist { background: var(--mist); }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.section-head p { max-width: 540px; color: var(--muted); }
.two-col {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
}
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(17,16,14,.16); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: #15110c; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.62); color: #fff; }
.btn.subtle { background: rgba(16,63,58,.08); border-color: rgba(16,63,58,.22); color: var(--forest); }
.btn.small { min-height: 40px; padding: 10px 16px; }
/* Globales Button-Design-System: Tastatur-Fokus + Disabled (BTN-01/02) */
.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(189,141,73,.22);
}
.btn.primary:focus-visible { outline-color: var(--ink); }
.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    filter: grayscale(.2);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.feature-list { display: grid; gap: 16px; }
.feature-list article, .event-card, .panel, .auth-card, .meta-grid div, .stat-grid div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: clamp(22px, 3vw, 32px);
    box-shadow: var(--shadow);
}
.feature-list article { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
.feature-list span {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 900;
    color: var(--gold);
    font-size: 13px;
}
.feature-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.feature-card-actions .btn.small {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 11px;
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.event-card { min-height: 310px; display: flex; flex-direction: column; }
.event-card > span, .meta-grid span, .stat-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.event-card p { color: var(--muted); }
.event-card .btn { margin-top: auto; align-self: flex-start; }
.page-hero {
    /* Hintergrund/Container: full-width über die ganze Bildschirm-Breite.
       Der innere .container bringt den Text auf die boxed Position (gleicher
       max-width wie .v2-section .container darunter → Inhalt links pixel-genau aligned). */
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 6vw, 72px);
    color: #fff;
    background: linear-gradient(135deg, var(--forest-2), var(--forest));
    position: relative;
    overflow: hidden;
}
.page-hero > .container {
    width: 100%;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4.2vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 820px;
    text-transform: none;
}
.page-hero p { max-width: 680px; font-size: clamp(15px, 1.4vw, 18px); color: rgba(255,255,255,.78); }
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__code {
    position: absolute;
    top: clamp(28px, 4vw, 48px);
    right: clamp(22px, 4vw, 56px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(189, 141, 73, .35);
    border-radius: 999px;
    background: rgba(20, 14, 8, .55);
    backdrop-filter: blur(10px);
    color: var(--gold);
    font: 700 11px/1 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.page-hero__code::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(189, 141, 73, .22);
}
.page-hero__watermark {
    position: absolute;
    right: clamp(-10px, 2vw, 60px);
    bottom: clamp(-30px, -2vw, 0px);
    z-index: 1;
    font: 800 clamp(180px, 28vw, 360px)/.85 'Montserrat', Arial, sans-serif;
    color: rgba(189, 141, 73, .08);
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
@media (max-width: 720px) {
    .page-hero__watermark { font-size: clamp(140px, 40vw, 220px); right: -20px; bottom: -10px; }
    .page-hero__code { top: 18px; right: 18px; padding: 6px 10px; font-size: 10px; }
}
.page-hero--club {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/club-hero.jpg') center / cover;
}
.page-hero--shop {
    background:
        linear-gradient(90deg, rgba(16, 17, 14, .62), rgba(16, 17, 14, .18)),
        url('../uploads/bg/shop-hero.jpg') center 62% / cover;
}
/* Seitenspezifische Hero-Hintergründe — jede Seite eine eigene Variation der Lounge-Welt */
.page-hero--events {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/events-hero.jpg') center / cover;
}
.page-hero--about {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/about-hero.jpg') center / cover;
}
.page-hero--news {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/news-hero.jpg') center / cover;
}
.page-hero--gallery {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/gallery-hero.jpg') center / cover;
}
.page-hero--join {
    background:
        linear-gradient(90deg, rgba(14, 20, 18, .86), rgba(14, 20, 18, .36)),
        url('../uploads/bg/join-hero.jpg') center / cover;
}
.shop-stage {
    max-width: 1280px;
    margin: -58px auto 0;
    padding: 0 clamp(18px, 4vw, 42px) clamp(80px, 9vw, 130px);
    position: relative;
    z-index: 2;
}
.shop-panel {
    background: rgba(255,250,242,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(17,16,14,.12);
    padding: clamp(20px, 3vw, 34px);
}
.shop-panel-head {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}
.shop-panel-head h2 { font-size: clamp(30px, 5vw, 66px); margin: 0; }
.shop-search {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
}
.shop-search input { border: 0; min-height: 38px; background: transparent; }
.shop-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
}
.shop-filter {
    border-right: 1px solid var(--line);
    padding-right: 22px;
}
.shop-filter h3 { font-size: 16px; margin-bottom: 20px; }
.shop-filter a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(222,212,196,.65);
    font-weight: 700;
}
.shop-filter a:first-of-type { color: var(--ink); }
.shop-hero-word {
    position: absolute;
    top: -145px;
    left: clamp(18px, 5vw, 72px);
    right: clamp(18px, 5vw, 72px);
    pointer-events: none;
    color: rgba(255,255,255,.9);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(92px, 17vw, 230px);
    font-weight: 900;
    line-height: .8;
    text-transform: uppercase;
    letter-spacing: -.04em;
    text-align: center;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.product-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}
.product-card > :not(.product-media) { margin-left: 0; margin-right: 0; }
.product-card span {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: -30px;
    position: relative;
    z-index: 2;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}
.product-card h3 { margin-top: 16px; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 15px; }
.product-note {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 5px 9px;
    border: 1px solid rgba(23,61,53,.18);
    border-radius: 999px;
    color: var(--forest);
    background: rgba(23,61,53,.06);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-card strong { margin-top: auto; margin-bottom: 18px; font-size: 22px; color: var(--ink); }
.product-card .btn { margin-bottom: 24px; align-self: flex-start; }
.product-media {
    height: 230px;
    border-radius: 14px;
    border: 1px solid #ece7df;
    background:
        radial-gradient(circle at 68% 42%, rgba(255,255,255,.28), transparent 24%),
        linear-gradient(135deg, #f2f2f0, #d4c6b7 48%, #f8f8f6);
}
.product-media--gold { background: linear-gradient(135deg, #f7f1e5, #bd8d49 52%, #faf7ef); }
.product-media--green { background: linear-gradient(135deg, #eef3ef, #6c8a79 54%, #fbfaf7); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.product-actions form { margin: 0; }
.product-actions .btn { width: 100%; }
.supplier-cart {
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 20px;
}
.cart-line {
    display: grid;
    grid-template-columns: 1fr 90px 130px;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line span { display: block; color: var(--muted); margin-top: 4px; }
.cart-line input { min-height: 42px; text-align: center; }
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-weight: 700;
}
.shop-reco {
    padding: clamp(60px, 8vw, 110px) 0;
    overflow: hidden;
}
.shop-reco-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 22px;
}
.shop-cta {
    margin: 0 auto clamp(60px, 8vw, 100px);
    max-width: 1180px;
    background: linear-gradient(135deg, #12110f, #30302d);
    color: #fff;
    border-radius: 18px;
    padding: clamp(28px, 5vw, 58px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: end;
}
.shop-cta h2 { color: #fff; margin: 0; }
.shop-cta p { color: rgba(255,255,255,.72); }
.order-dialog {
    border: 0;
    border-radius: 18px;
    padding: 0;
    width: min(620px, calc(100vw - 32px));
    background: transparent;
}
.order-dialog::backdrop { background: rgba(12,10,9,.62); backdrop-filter: blur(8px); }
.order-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 42px);
    box-shadow: 0 28px 90px rgba(0,0,0,.26);
}
.dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 24px;
    line-height: 1;
}
.meta-grid, .stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 34px 0; }
.form { display: grid; gap: 18px; margin-top: 26px; }
label { display: grid; gap: 8px; font-weight: 700; color: var(--ink); }
input, textarea, select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cabfaa;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 12px 14px;
    font: inherit;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.notice, .flash {
    background: #f0dfc2;
    border-left: 4px solid var(--gold);
    padding: 16px 18px;
    border-radius: 8px;
}
.flash { max-width: var(--container); margin: 18px auto 0; }
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(12,10,9,.78);
}
.age-gate[hidden] { display: none; }
.age-gate > div { max-width: 460px; background: var(--surface); border-radius: 12px; padding: 32px; text-align: center; }
.age-gate strong { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wine); color: white; }
/* ── Modern Cookie Consent ──────────────────────────────────────── */
.cc-consent { position: fixed; inset: 0 0 0 0; z-index: 60; pointer-events: none; }
.cc-consent[hidden] { display: none; }
.cc-consent__bar {
    pointer-events: auto;
    position: fixed;
    left: 50%;
    bottom: clamp(12px, 2.4vw, 28px);
    transform: translate(-50%, 0);
    width: min(960px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(14px, 2vw, 22px);
    align-items: center;
    padding: 16px 20px;
    background: rgba(20, 18, 14, .82);
    color: #f4eadb;
    border: 1px solid rgba(189, 141, 73, .28);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.04) inset;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    animation: ccSlideUp .42s cubic-bezier(.22,.94,.32,1.04);
}
@keyframes ccSlideUp {
    from { transform: translate(-50%, 24px); opacity: 0; }
    to   { transform: translate(-50%, 0);    opacity: 1; }
}
.cc-consent__icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(189,141,73,.28), rgba(189,141,73,.08));
    color: var(--gold);
    flex: 0 0 auto;
}
.cc-consent__icon svg { width: 22px; height: 22px; }
.cc-consent__copy strong {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2px;
}
.cc-consent__copy p {
    margin: 0;
    color: rgba(244, 234, 219, .78);
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 60ch;
}
.cc-consent__actions {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center;
}

/* Buttons */
.cc-btn {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    padding: 10px 18px;
    border-radius: 999px;
    font: 600 13px/1 'Montserrat', Arial, sans-serif;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
    white-space: nowrap;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cc-btn--ghost {
    border-color: rgba(244, 234, 219, .22);
    color: rgba(244, 234, 219, .92);
}
.cc-btn--ghost:hover { background: rgba(244, 234, 219, .08); border-color: rgba(244, 234, 219, .4); }
.cc-btn--dark {
    background: rgba(244, 234, 219, .08);
    color: #fff;
    border-color: rgba(244, 234, 219, .18);
}
.cc-btn--dark:hover { background: rgba(244, 234, 219, .14); }
.cc-btn--gold {
    background: var(--gold);
    color: #15110c;
    border-color: var(--gold);
}
.cc-btn--gold:hover { background: #cf9b56; border-color: #cf9b56; }

/* Modal */
.cc-consent__modal {
    pointer-events: auto;
    position: fixed; inset: 0;
    background: rgba(8, 7, 5, .58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: grid; place-items: center;
    padding: clamp(14px, 3vw, 28px);
    animation: ccFade .22s ease;
}
.cc-consent__modal[hidden] { display: none; }
@keyframes ccFade { from { opacity: 0; } to { opacity: 1; } }
.cc-consent__panel {
    width: min(640px, 100%);
    max-height: min(86vh, 760px);
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #1a1612 0%, #14110d 100%);
    color: #f4eadb;
    border: 1px solid rgba(189, 141, 73, .25);
    border-radius: 18px;
    box-shadow: 0 50px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
    overflow: hidden;
    animation: ccPanelIn .32s cubic-bezier(.22,.94,.32,1.04);
}
@keyframes ccPanelIn {
    from { transform: translateY(18px) scale(.985); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}
.cc-consent__head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    padding: 24px 26px 14px;
    border-bottom: 1px solid rgba(244, 234, 219, .08);
}
.cc-consent__head small {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 6px;
}
.cc-consent__head h2 {
    margin: 0;
    font: 700 22px/1.25 'Montserrat', Arial, sans-serif;
    letter-spacing: -.01em;
    color: #fff;
}
.cc-consent__close {
    border: 1px solid rgba(244, 234, 219, .14);
    background: transparent;
    color: #f4eadb;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.cc-consent__close:hover { background: rgba(244, 234, 219, .08); border-color: rgba(244, 234, 219, .3); }
.cc-consent__list {
    overflow-y: auto;
    padding: 8px 26px 18px;
    display: flex; flex-direction: column; gap: 6px;
}
.cc-consent__list::-webkit-scrollbar { width: 8px; }
.cc-consent__list::-webkit-scrollbar-thumb { background: rgba(244,234,219,.12); border-radius: 8px; }

.cc-cat {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    background: rgba(244, 234, 219, .03);
    border: 1px solid rgba(244, 234, 219, .08);
    border-radius: 12px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.cc-cat:hover { background: rgba(244, 234, 219, .06); border-color: rgba(244, 234, 219, .14); }
.cc-cat--locked { cursor: default; opacity: .9; }
.cc-cat--locked:hover { background: rgba(244, 234, 219, .03); border-color: rgba(244, 234, 219, .08); }
.cc-cat__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cc-cat__title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    display: inline-flex; align-items: center; gap: 10px;
}
.cc-cat__pill {
    font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold);
    background: rgba(189, 141, 73, .14);
    padding: 3px 9px; border-radius: 999px;
}
.cc-cat__desc { color: rgba(244, 234, 219, .7); font-size: 13px; line-height: 1.55; }

/* Toggle switch */
.cc-switch { position: relative; display: inline-block; flex: 0 0 auto; }
.cc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cc-switch__track {
    display: block;
    width: 46px; height: 26px;
    background: rgba(244, 234, 219, .14);
    border-radius: 999px;
    position: relative;
    transition: background .22s ease;
    cursor: pointer;
}
.cc-switch__dot {
    position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    transition: transform .22s cubic-bezier(.4,.05,.3,1.1), background .22s ease;
}
.cc-switch input:checked ~ .cc-switch__track { background: var(--gold); }
.cc-switch input:checked ~ .cc-switch__track .cc-switch__dot { transform: translateX(20px); }
.cc-switch--locked {
    width: 46px; height: 26px;
    background: rgba(189, 141, 73, .35);
    border-radius: 999px;
    position: relative;
    display: inline-block;
}
.cc-switch--locked .cc-switch__dot {
    position: absolute; top: 3px; left: 23px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.cc-consent__foot {
    padding: 16px 26px 22px;
    border-top: 1px solid rgba(244, 234, 219, .08);
    display: flex; flex-direction: column; gap: 14px;
}
.cc-consent__foot small { color: rgba(244, 234, 219, .6); font-size: 12px; line-height: 1.55; }
.cc-consent__foot small a { color: var(--gold); }
.cc-consent__foot-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 720px) {
    .cc-consent__bar { grid-template-columns: auto 1fr; padding: 14px 16px; }
    .cc-consent__actions { grid-column: 1 / -1; justify-content: stretch; }
    .cc-consent__actions .cc-btn { flex: 1; text-align: center; padding: 11px 14px; }
    .cc-consent__head { padding: 20px 20px 12px; }
    .cc-consent__head h2 { font-size: 19px; }
    .cc-consent__list { padding: 8px 20px 14px; }
    .cc-cat { padding: 14px; }
    .cc-consent__foot { padding: 14px 20px 18px; }
    .cc-consent__foot-actions .cc-btn { flex: 1; text-align: center; }
}

/* Hide modern banner inside the admin shell, just like the legacy one */
body:has(.admin-nav) > .cc-consent { display: none !important; }
footer {
    padding: clamp(44px, 5vw, 68px) 0;
    background: #11100e;
    color: #eee2d2;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-brand { font-size: 14.5px; line-height: 1.65; color: #cfc3b2; max-width: 44ch; }
.footer-brand strong { font-size: 17px; color: #f4ead9; font-weight: 600; letter-spacing: .01em; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.05);
    color: #eee2d2;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.footer-btn:hover { background: var(--gold, #bd8d49); border-color: var(--gold, #bd8d49); color: #15110c; transform: translateY(-1px); }
/* Alt-Klasse weiterhin neutralisieren, falls irgendwo verwendet */
.footer-link { border: 0; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.auth-page { min-height: 76vh; display: grid; place-items: center; padding: 34px; }
.auth-card { width: min(460px, 100%); display: grid; gap: 16px; }
.cms-login-page {
    background: #11100e;
}
.cms-login-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #f7f1e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(0,0,0,.3);
}
.cms-login-brand {
    min-height: 520px;
    padding: clamp(34px, 5vw, 68px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17,16,14,.88), rgba(17,16,14,.48)),
        url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=1200&q=80") center/cover;
}
.cms-login-brand h1 {
    color: #fff;
    text-transform: uppercase;
}
.cms-login-brand p {
    max-width: 520px;
    color: rgba(255,255,255,.78);
}
.cms-login-shell .auth-card {
    width: auto;
    padding: clamp(30px, 5vw, 58px);
    align-self: center;
}
.secret { overflow-wrap: anywhere; background: #eee5d8; padding: 10px; border-radius: 6px; font-family: ui-monospace, Consolas, monospace; }
.small-text { font-size: 12px; }
.totp-card {
    width: min(860px, 100%);
}
.security-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.security-method {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf2;
}
.security-method.is-active {
    border-color: rgba(189,141,73,.62);
    box-shadow: 0 16px 42px rgba(17,16,14,.08);
}
.security-method.is-soon {
    opacity: .74;
}
.security-method span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eadcc4;
    color: #4c3820;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.security-method h2 {
    font-size: 20px;
    margin-bottom: 8px;
}
.security-method p {
    color: var(--muted);
    font-size: 14px;
}
.security-method button:disabled {
    cursor: not-allowed;
    opacity: .62;
}
.passkey-login-box {
    display: grid;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.passkey-login-box span,
.passkey-status,
.passkey-list small {
    color: var(--muted);
    font-size: 13px;
}
.passkey-status {
    margin: 0;
}
.passkey-status.is-ok {
    color: #2f6d48;
}
.passkey-status.is-error {
    color: #9b2f2f;
}
.totp-setup {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.totp-qr {
    width: 244px;
    min-height: 244px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
}
.totp-qr canvas {
    width: 220px;
    height: 220px;
}
.setup-step {
    margin-bottom: 12px;
    color: var(--muted);
}
.copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.copy-row .secret {
    margin: 0;
}
details {
    margin-top: 12px;
}
summary {
    cursor: pointer;
    font-weight: 800;
}
.admin-nav {
    position: fixed;
    left: 0;
    top: 76px;
    bottom: 0;
    width: 238px;
    padding: 20px;
    background: #181512;
    color: #f4eadc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-nav a, .admin-nav button { color: inherit; background: transparent; border: 0; text-align: left; padding: 10px; text-decoration: none; font: inherit; cursor: pointer; }
.admin-page { margin-left: 238px; padding: 44px; }
.narrow-admin { max-width: 920px; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eee5d8; font-size: 12px; }
.inline-form { display: flex; align-items: end; gap: 12px; margin-bottom: 22px; }
code { white-space: normal; overflow-wrap: anywhere; }
.prose p { font-size: 18px; }
.cms-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: calc(100vh - 76px);
    background: #f4eee4;
}
.cms-side {
    background: #14120f;
    color: #f8eedf;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cms-side strong {
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
}
.cms-side a {
    padding: 12px 14px;
    border-radius: 10px;
    color: rgba(248,238,223,.78);
    font-weight: 700;
}
.cms-side a.is-active, .cms-side a:hover { background: rgba(189,141,73,.16); color: #fff; }
.cms-main { padding: clamp(28px, 4vw, 58px); }
.cms-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}
.cms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.cms-card, .workflow-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.cms-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}
.cms-card strong { display: block; font-size: 34px; color: var(--ink); }
.workflow-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.workflow-card h3 { margin-bottom: 12px; }
.workflow-card p { color: var(--muted); font-size: 15px; }
.status-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eadcc4;
    color: #4c3820;
    font-size: 11px;
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}
.status-pill.ok { background: #d7ead9; color: #174f25; }
.status-pill.warn { background: #f2dfb6; color: #6a4214; }
.status-pill.info { background: #dce7ef; color: #24475e; }
.compliance-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.compliance-summary article {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
}
.compliance-summary span {
    display: block;
    margin-bottom: 8px;
    color: rgba(47,43,38,.58);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.compliance-summary strong {
    display: block;
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
}
.compliance-summary p {
    margin: 8px 0 0;
    color: rgba(47,43,38,.68);
    font-size: 13px;
    line-height: 1.35;
}
.pay-flow {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    align-items: stretch;
}
.phone-pay {
    background: #11100e;
    color: #fff;
    border-radius: 28px;
    padding: 24px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 28px 80px rgba(0,0,0,.22);
}
.qr-box {
    width: 180px;
    aspect-ratio: 1;
    margin: 28px auto;
    border-radius: 16px;
    background:
        linear-gradient(90deg, #fff 12px, transparent 12px) 0 0 / 30px 30px,
        linear-gradient(#fff 12px, transparent 12px) 0 0 / 30px 30px,
        #111;
    border: 14px solid #fff;
}
.table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; }
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.calendar-card strong {
    font-size: 48px;
    line-height: 1;
}
.warning-panel {
    border-color: rgba(189, 141, 73, .5);
    background: #fff7e8;
    margin-bottom: 22px;
}
.clean-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}
.clean-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.compact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.compact-form input,
.compact-form select {
    min-width: 130px;
}
.compact-head {
    margin-top: 36px;
}
.text-link {
    color: var(--accent);
    font-weight: 800;
}
/* ─── Mobile-Header (≤900px): Burger-Drawer Pattern ─────────────
   Desktop bleibt unverändert (Grid mit Brand / Nav / Quick-Actions).
   Mobile: Brand links, Burger rechts, Drawer slidet von oben ein. */
.topbar__drawer { display: contents; }
.topbar__burger { display: none; }
.topbar__backdrop { display: none; }

@media (max-width: 900px) {
    /* WICHTIG: kein backdrop-filter auf Mobile — sonst wird .topbar zum Containing-Block
       und das position:fixed Bottom-Sheet „schwebt" relativ zum Header statt zum Viewport. */
    .topbar { height: 64px; padding: 0 18px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 241, 232, .96); }
    .topbar--with-icons { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    /* Kompakt-Gold: Wortmarke sichtbar, aber kleiner (Sticky-Header) */
    .brand__word { display: flex; gap: 2px; }
    .brand__word strong { font-size: 12px; letter-spacing: .03em; }
    .brand__word em { font-size: 8px; letter-spacing: .22em; }
    .brand__mark { width: 42px; height: 42px; }
    .brand__mark svg { width: 23px; height: 23px; }
    .brand { gap: 10px; }
    /* Gold-Chip rechts, direkt vor dem Burger */
    .topbar__cta { display: inline-flex; margin-left: auto; }

    /* Burger sichtbar */
    .topbar__burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px; height: 44px;
        border: 1px solid var(--line, #ded4c4);
        background: rgba(255,255,255,.6);
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
        transition: background .15s, border-color .15s;
        flex-shrink: 0;
    }
    .topbar__burger:hover,
    .topbar__burger[aria-expanded="true"] {
        background: var(--gold, #bd8d49);
        border-color: var(--gold, #bd8d49);
    }
    .topbar__burger span {
        display: block;
        width: 22px; height: 2px;
        background: var(--ink, #11100e);
        border-radius: 2px;
        transition: transform .22s, opacity .22s, background .15s;
    }
    .topbar__burger:hover span,
    .topbar__burger[aria-expanded="true"] span { background: #fff; }
    /* Burger → X wenn offen */
    .topbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .topbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .topbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Drawer: fixed Panel unter der Topbar.
       Sichtbarkeit per JS gesetzt (inline-styles), KEINE CSS-Transition —
       eine aktive Transition blockierte sonst die Property-Übernahme. */
    /* App-Style Bottom-Sheet: slidet von unten hoch (Swipe-Geste) */
    .topbar__drawer {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        left: 0; right: 0; bottom: 0; top: auto;
        max-height: 84vh;
        overflow-y: auto;
        background: var(--paper, #f6f1e8);
        border-top: 1px solid var(--line, #ded4c4);
        border-radius: 22px 22px 0 0;
        padding: 4px 22px calc(26px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -18px 44px rgba(17,16,14,.30);
        transform: translateY(105%);
        transition: transform .36s cubic-bezier(.32, .72, .42, 1);
        z-index: 60;
        touch-action: pan-y;
        will-change: transform;
    }
    /* Grab-Handle („G-Stick") oben am Sheet */
    .topbar__drawer::before {
        content: '';
        flex: 0 0 auto;
        width: 46px; height: 5px; border-radius: 999px;
        background: rgba(17,16,14,.22);
        margin: 8px auto 16px;
    }
    html.topbar-open .topbar__drawer { transform: translateY(0); }
    /* Z-Index-Fix: das Drawer liegt IM Header (eigener Stacking-Context). Der Header muss
       DAUERHAFT über dem Backdrop (z 59) liegen — nicht nur bei .topbar-open. Sonst springt
       der z-index beim Schliessen sofort zurück, während das Sheet noch nach unten gleitet,
       und das Sheet fällt mitten in der Animation hinter das Backdrop (sichtbarer Ruck). */
    .topbar { z-index: 61; }

    /* Nav-Links im Drawer: gross, klickbar, gestapelt */
    .topbar__drawer .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0 0 14px;
    }
    .topbar__drawer .main-nav a {
        min-height: 50px;
        padding: 13px 16px;
        border-radius: 10px;
        font-size: 14px;
        letter-spacing: .06em;
    }
    .topbar__drawer .main-nav a::after { display: none; }
    .topbar__drawer .main-nav a.is-active {
        background: var(--gold, #bd8d49);
        color: #fff;
        border-radius: 10px;
        border-bottom-color: transparent;
        text-decoration: none;
    }

    /* Quick-Actions als horizontale Icon-Reihe unten im Drawer */
    .topbar__drawer .quick-actions {
        display: flex;
        width: 100%;
        min-height: 52px;
        margin: 0;
        border: 1px solid var(--line, #ded4c4);
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }
    .topbar__drawer .quick-actions a {
        width: auto;
        flex: 1;
        min-height: 52px;
    }

    /* Backdrop hinter dem Drawer — auch ohne CSS-Transition (per JS) */
    .topbar__backdrop {
        display: block;
        position: fixed;
        inset: 64px 0 0;
        background: rgba(15,12,8,.55);
        opacity: 0;
        pointer-events: none;
        z-index: 59;
        transition: opacity .3s ease;
    }
    html.topbar-open .topbar__backdrop { opacity: 1; pointer-events: auto; }

    nav { flex-wrap: wrap; }
    .hero { min-height: 74vh; }
    .hero-strip, .two-col, .cards, .grid-2, .meta-grid, .stat-grid { grid-template-columns: 1fr; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .feature-list article { grid-template-columns: 1fr; }
    .admin-nav { position: static; width: auto; }
    .admin-page { margin-left: 0; padding: 24px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cookie-banner { grid-template-columns: 1fr; }
    .cms-shell, .cms-grid, .workflow-board, .pay-flow, .cms-login-shell { grid-template-columns: 1fr; }
    .cms-login-brand { min-height: 300px; }
    .security-methods, .totp-setup, .copy-row { grid-template-columns: 1fr; }
    .compliance-summary { grid-template-columns: 1fr; }
    .totp-qr { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .shop-panel-head, .shop-layout, .shop-cta, .shop-reco-row { grid-template-columns: 1fr; }
    .shop-filter { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
    .shop-hero-word { display: none; }
    .product-actions, .cart-line { grid-template-columns: 1fr; }
    .cart-line input { text-align: left; }
    .cms-side { position: static; }
    .cms-main { padding: 28px; overflow: hidden; }
    .cms-main .section[style] { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* V2: ruhiger, echter Shop- und CMS-Look */
body { padding-bottom: 65px; }
@media (max-width: 720px) { body { padding-bottom: 112px; } }
h1, h2, h3, .brand, .btn, nav a, .eyebrow, th {
    letter-spacing: 0;
}
h1, h2, h3 {
    line-height: 1.08;
    overflow-wrap: anywhere;
}
h1 { font-size: clamp(38px, 5.4vw, 78px); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
.page-hero {
    min-height: 46vh;
    padding: clamp(78px, 9vw, 118px) 0 52px;
}
.page-hero p { font-size: clamp(17px, 1.6vw, 20px); }
.shop-stage {
    margin: 0 auto;
    padding-top: clamp(32px, 5vw, 64px);
}
.shop-hero-word { display: none !important; }
.page-hero--shop + main .shop-stage { margin-top: 0 !important; }
.shop-panel {
    border-radius: 8px;
    box-shadow: 0 18px 58px rgba(17,16,14,.08);
}
.shop-panel-head h2 { font-size: clamp(28px, 4vw, 48px); }
.product-grid { gap: 22px; }
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 42px rgba(17,16,14,.07);
}
.product-card > :not(.product-media) { margin-left: 18px; margin-right: 18px; }
.product-card span {
    align-self: flex-start;
    margin: 16px 18px 0;
    border-radius: 999px;
    font-size: 10px;
}
.product-media {
    height: 210px;
    border-radius: 0;
    border: 0;
}
.product-card h3 { min-height: 44px; }
.product-card .btn { margin-bottom: 18px; }
.product-actions { grid-template-columns: 1fr; }
.shop-trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}
.shop-trustbar div {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    padding: 12px 14px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.06);
    font-weight: 700;
}
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 26px;
    align-items: start;
}
.cart-line {
    grid-template-columns: 72px minmax(0,1fr) 84px 110px 40px;
    gap: 12px;
}
.cart-thumb {
    width: 72px;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-thumb__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line); }
.cart-thumb__ph svg { width: 28px; height: 28px; }
.cart-line__info { min-width: 0; }
.cart-line__info strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.cart-line__qty { min-height: 42px; text-align: center; }
.cart-line__total { text-align: right; white-space: nowrap; }
.cart-line__remove {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px; padding: 0;
    border: 1px solid var(--line); border-radius: 8px;
    background: var(--surface); color: var(--muted); cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cart-line__remove:hover { color: #c0392b; border-color: #c0392b; background: #fdf0ee; }
.cart-line__remove svg { width: 17px; height: 17px; }
.summary-row--vat { color: var(--muted); font-size: 13px; border-bottom: 0; padding-top: 4px; }

/* Warenkorb mit Produkten: kein grosser Hero, schlanke moderne Kopfzeile */
.cart-page { padding-top: calc(76px + 28px); padding-bottom: clamp(40px, 6vw, 72px); }
.cart-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.cart-head__title h1 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 40px); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cart-head__count { font-size: 14px; font-weight: 600; color: var(--muted); font-family: Inter, Arial, sans-serif; letter-spacing: 0; }
.cart-head__back {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--ink); font-weight: 700; font-size: 13.5px; text-decoration: none;
    padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
    transition: border-color .15s ease, background .15s ease;
}
.cart-head__back:hover { border-color: var(--gold); background: var(--paper); color: var(--gold); }
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cart-foot__sub { font-size: 14px; color: var(--muted); }
.cart-foot__sub strong { color: var(--ink); font-size: 16px; }
.cart-page .supplier-cart .eyebrow { margin-bottom: 10px; }

/* Checkout: Gast/Login-Wahl + 18+-Upload + Registrieren */
.checkout-as { display: flex; gap: 8px; margin: 14px 0 6px; }
.checkout-as__opt {
    flex: 1; text-align: center; padding: 11px 12px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    font: 700 13px Inter, Arial, sans-serif; cursor: pointer; text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.checkout-as__opt.is-active { border-color: var(--gold); background: rgba(189,141,73,.12); color: var(--gold); }
.checkout-as__opt--link:hover { border-color: var(--ink); background: var(--paper); }
.checkout-as__hint { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.checkout-as--member {
    display: flex; align-items: center; gap: 10px; margin: 12px 0 6px;
    padding: 11px 14px; border-radius: 10px;
    background: rgba(46,125,82,.10); border: 1px solid rgba(46,125,82,.30); color: #1f5b3c;
    font-size: 13.5px;
}
.checkout-as--member svg { flex: 0 0 auto; color: #2e7d52; }
.age-upload {
    margin: 14px 0 6px; padding: 14px 16px; border-radius: 12px;
    background: #fff8e6; border: 1px solid #f0c878; border-left: 4px solid #e6911e;
}
.age-upload__head { margin: 0 0 6px; font: 800 13px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #7a4f06; }
.age-upload__hint { margin: 0 0 12px; font-size: 12.5px; color: #6b5114; line-height: 1.5; }
.age-upload label { display: block; margin-top: 10px; }
.checkout-register {
    display: flex; gap: 11px; align-items: flex-start; margin: 14px 0 4px;
    padding: 13px 15px; border-radius: 10px; border: 1px dashed var(--line); background: var(--paper);
    cursor: pointer;
}
.checkout-register input { width: auto; margin-top: 3px; flex: 0 0 auto; }
.checkout-register small { color: var(--muted); font-size: 12px; line-height: 1.45; }
@media (max-width: 720px) {
    .cart-page { padding-top: calc(64px + 18px); }
    .cart-head { gap: 12px; }
    .cart-head__back { order: -1; }
    .cart-foot { flex-direction: column-reverse; align-items: stretch; }
    .cart-foot .btn { width: 100%; }
}
.order-summary {
    position: sticky;
    top: 96px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}
.summary-row.total {
    border-bottom: 0;
    font-size: 22px;
    color: var(--ink);
    font-weight: 900;
}
.payment-methods {
    display: grid;
    gap: 10px;
}
.payment-methods label {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}
.sticky-info {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    color: #f4eadc;
    background:
        linear-gradient(180deg, rgba(189, 141, 73, .14), rgba(189, 141, 73, .06)),
        rgba(36, 25, 14, .92);
    border-top: 1px solid rgba(189, 141, 73, .22);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 -20px 50px rgba(0, 0, 0, .35);
}
.sticky-info__item {
    appearance: none;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 16px clamp(14px, 2.4vw, 28px);
    font: 700 13px/1.2 'Montserrat', Arial, sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    position: relative;
    min-height: 64px;
}
.sticky-info__item:last-child { border-right: 0; }
.sticky-info__item:hover { background: rgba(189, 141, 73, .12); color: var(--gold); }
.sticky-info__item:hover .sticky-info__num { color: var(--gold); }
.sticky-info__item:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.sticky-info__num {
    display: block;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .42);
    transition: color .18s ease;
}
.sticky-info__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
/* Desktop: Icon versteckt — nur Num + Label sichtbar (Originalstil) */
.sticky-info__icon { display: none; }
.sticky-info__badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--gold);
    color: #15110c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}
@media (max-width: 720px) {
    /* Mobile: Sticky-Footer auf EINE Reihe mit Icons (kein Text) */
    .sticky-info { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sticky-info__item {
        min-height: 56px;
        padding: 8px 4px;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 2px;
        border-right: 1px solid rgba(255, 255, 255, .08);
        border-bottom: 0;
    }
    .sticky-info__item:last-child { border-right: 0; }
    .sticky-info__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }
    .sticky-info__icon svg { width: 22px; height: 22px; }
    /* Num + Label im Mobile versteckt — nur Icon sichtbar */
    .sticky-info__num,
    .sticky-info__label { display: none; }
    .sticky-info__item:hover .sticky-info__icon { color: var(--gold); }
    .sticky-info--admin .sticky-info__item--logout .sticky-info__icon { color: var(--wine, #b43c3c); }
}

/* ── Floating Cart FAB ────────────────────────────────────────── */
.cart-fab {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    top: 70%;
    transform: translateY(-50%);
    z-index: 45;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: #15110c;
    border: 0;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(189, 141, 73, .35), 0 0 0 1px rgba(0, 0, 0, .08) inset;
    display: grid; place-items: center;
    transition: transform .22s cubic-bezier(.22,.94,.32,1.04), box-shadow .22s ease, background .18s ease;
    animation: cccFabIn .42s cubic-bezier(.22,.94,.32,1.04);
}
@keyframes cccFabIn {
    from { transform: translate(20px, -50%); opacity: 0; }
    to   { transform: translateY(-50%);      opacity: 1; }
}
.cart-fab:hover {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 22px 50px rgba(189, 141, 73, .5);
    background: #cf9b56;
}
.cart-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cart-fab__badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 24px; height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #11100e;
    color: #fff;
    font: 800 12px/1 'Montserrat', Arial, sans-serif;
    display: grid; place-items: center;
    border: 2px solid var(--gold);
}

/* ── Cart Drawer ─────────────────────────────────────────────── */
.cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 7, 5, .55);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: auto;
}
.cart-drawer--open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: linear-gradient(180deg, #1a1612 0%, #14110d 100%);
    color: #f4eadb;
    border-left: 1px solid rgba(189, 141, 73, .25);
    box-shadow: -30px 0 80px rgba(0, 0, 0, .55);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22,.94,.32,1.04);
    pointer-events: auto;
}
.cart-drawer--open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
    padding: 22px 24px 16px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
    border-bottom: 1px solid rgba(244, 234, 219, .08);
}
.cart-drawer__head small {
    display: block;
    font: 700 10.5px/1 'Montserrat', Arial, sans-serif;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.cart-drawer__head h3 {
    margin: 0;
    font: 700 22px/1.2 'Montserrat', Arial, sans-serif;
    color: #fff;
}
.cart-drawer__close {
    border: 1px solid rgba(244, 234, 219, .14);
    background: transparent;
    color: #f4eadb;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.cart-drawer__close:hover { background: rgba(244, 234, 219, .08); border-color: rgba(244, 234, 219, .3); }
.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 24px;
    display: flex; flex-direction: column; gap: 10px;
}
.cart-drawer__empty {
    color: rgba(244, 234, 219, .65);
    font-size: 13.5px;
    line-height: 1.55;
    padding: 24px 0;
}
.cart-drawer__line {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 14px;
    background: rgba(244, 234, 219, .04);
    border: 1px solid rgba(244, 234, 219, .08);
    border-radius: 10px;
}
.cart-drawer__line-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-drawer__line-main strong { font: 700 14px 'Montserrat', Arial, sans-serif; color: #fff; }
.cart-drawer__line-main small { color: rgba(244, 234, 219, .6); font-size: 12px; }
.cart-drawer__line-qty {
    flex: 0 0 auto;
    background: rgba(189, 141, 73, .14);
    color: var(--gold);
    padding: 6px 10px;
    border-radius: 999px;
    font: 700 12px/1 'JetBrains Mono', monospace;
}
.cart-drawer__foot {
    border-top: 1px solid rgba(244, 234, 219, .08);
    padding: 18px 24px 22px;
    display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
}
.cart-drawer__link {
    color: rgba(244, 234, 219, .8);
    font: 600 13px 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cart-drawer__link:hover { color: var(--gold); }
.cart-drawer__cta {
    background: var(--gold);
    color: #15110c;
    padding: 12px 22px;
    border-radius: 999px;
    font: 700 13px 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: background .15s ease;
}
.cart-drawer__cta:hover { background: #cf9b56; }
@media (max-width: 720px) {
    .cart-fab { width: 54px; height: 54px; right: 14px; top: 65%; }
}
body:has(.admin-nav) > .cart-fab,
body:has(.admin-nav) > .cart-drawer { display: none !important; }
.cms-login-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 8px;
    background: #11100e;
    color: #fff;
    margin-bottom: 24px;
}
.cms-login-strip h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 38px); }
.cms-login-strip p { margin: 0; color: rgba(255,255,255,.72); }
.cms-workspace {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
}
.cms-preview-nav {
    background: #171410;
    color: #f7ead8;
    border-radius: 8px;
    padding: 18px;
    display: grid;
    gap: 8px;
    align-self: start;
    position: sticky;
    top: 96px;
}
.cms-preview-nav a {
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(247,234,216,.76);
    font-weight: 800;
}
.cms-preview-nav a.is-active { background: rgba(189,141,73,.18); color: #fff; }
.cms-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.cms-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}
.portal-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.portal-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}
.portal-action {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #171410;
    color: #fffaf2;
    box-shadow: 0 8px 22px rgba(17,16,14,.1);
    transition: background .15s ease, transform .12s ease;
}
.portal-action:hover { background: #1f1a14; transform: translateY(-1px); }
.portal-action span {
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--gold);
}
.portal-action p {
    margin: 0;
    color: rgba(255,250,242,.7);
    font-size: 12.5px;
    line-height: 1.45;
}
.portal-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.portal-list li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.portal-list strong,
.portal-list span {
    display: block;
}
.portal-list span {
    color: var(--muted);
    font-size: 14px;
}
@media (max-width: 900px) {
    body { padding-bottom: 86px; }
    .shop-trustbar, .checkout-layout, .cms-workspace, .cms-dashboard-grid, .cms-data-grid, .portal-stats { grid-template-columns: minmax(0, 1fr); }
    .cms-workspace > * { min-width: 0; }
    .table-wrap { width: 100%; max-width: 100%; }
    .table-wrap table { min-width: 0; width: 100%; font-size: 12px; }
    .table-wrap th, .table-wrap td { padding: 10px 8px; overflow-wrap: anywhere; }
    .cms-workspace .section[style] { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
    .cart-line { grid-template-columns: 64px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 6px 12px; }
    .cart-thumb { grid-area: thumb; align-self: start; }
    .cart-line__info { grid-area: info; }
    .cart-line__qty { grid-area: qty; width: 84px; justify-self: start; }
    .cart-line__total { grid-area: total; align-self: center; }
    .cart-line__remove { grid-area: remove; justify-self: end; }
    .order-summary, .cms-preview-nav { position: static; }
    .cms-preview-nav { width: 100%; max-width: 100%; overflow: hidden; }
    .cms-preview-nav a { min-width: 0; overflow-wrap: anywhere; }
    .sticky-info { flex-wrap: wrap; justify-content: flex-start; }
}

/* Admin portal shell */
html:has(.admin-nav) {
    background: #11100e;
}
body:has(.admin-nav) {
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.18) 1px, transparent 0) 0 0 / 18px 18px,
        #11100e;
}
body:has(.admin-nav) > .topbar,
body:has(.admin-nav) > footer,
body:has(.admin-nav) > .sticky-info,
body:has(.admin-nav) > .cookie-banner,
body:has(.admin-nav) > .age-gate {
    display: none !important;
}

/* Admin- und Mein-Konto-Bereich (alle Seiten mit .acc Wrapper): Public-Footer +
   Powered-by ausblenden — der Auth-Bereich hat seine eigene Sticky-Info-Bar
   unten, der Marketing-Footer ("Genusskultur, Begegnung…") gehört nur auf
   Public-Seiten. .acc existiert ausschliesslich auf Admin/Konto-Seiten,
   sowohl als <div class="acc"> (auto-wrap via layout.php) als auch als
   <main class="acc"> (embedded Layouts wie wishlists/profile). */
body:has(.acc) > footer,
body:has(.acc) > .powered-by {
    display: none !important;
}

/* Hinweis: das Sidebar-Padding bleibt symmetrisch (top = bottom = clamp(28..36px)).
   Vorher gab es ein extra padding-bottom von 80px gegen die Sticky-Info-Bar —
   das ist nicht nötig, weil .acc-sidebar bereits per min-height: calc(100vh - 76px
   - 64px) genau vor der Bar endet, kein Überdecken möglich. */

/* Admin- UND Konto-Layout nutzen die volle Bildschirmbreite, damit die Sidebar
   bündig am linken Rand sitzt. Der eigentliche Content wird intern auf eine
   sinnvolle Lesebreite begrenzt und zentriert (siehe Rules weiter unten). */
.acc__layout {
    max-width: none;
}

/* Mein-Konto-Seiten (.acc-main ohne .admin-page Inhalt): die direkten Children
   in eine boxed, zentrierte Spalte einrahmen — wie auf Admin-Seiten. */
.acc-main:not(.acc-main--admin):not(:has(.admin-page)) > * {
    max-width: 1080px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    box-sizing: border-box;
}

/* Legacy-Reset: das alte .admin-page hatte margin-left: 238px / padding: 44px aus
   einer früheren fixed-Sidebar-Architektur. Innerhalb des heutigen .acc-main
   Wrappers muss das neutralisiert werden, sonst rutscht der Content nach rechts
   und die rechte Hälfte bleibt leer. Zusätzlich wird overflow + height entfernt:
   - overflow-x: hidden würde .admin-page zum Scroll-Container machen (Browser-
     Quirk: overflow-x hidden zwingt overflow-y auto). Wheel-Events würden
     verschluckt.
   - height: 100vh + display: flex column drückt die Children-Tabellen zusammen
     und zwingt .table-wrap zum internen Scrollen. Auto-Höhe lässt die Page
     natürlich wachsen, das Document scrollt sauber durch. */
.acc-main .admin-page,
.acc-main--admin .admin-page {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    max-width: none !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
}
.acc-main { padding-top: clamp(28px, 3vw, 44px); }

/* Tabellen-Wrap: nur horizontal scrollen, vertikal nie. Vermeidet, dass eine
   lange Tabelle einen vertikalen Scroll-Container erzeugt, der das Wheel-Event
   abfängt. CSS-Quirk: overflow-y: visible mit overflow-x: auto wird vom Browser
   trotzdem zu auto/auto. Mit overflow-y: clip bleibt es bei x-only. */
.acc-main .admin-page .table-wrap,
.acc-main--admin .admin-page .table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none !important;
    height: auto !important;
}

/* =========================================================
   ADMIN PAGE — UNIFIED LAYOUT (Single Source of Truth)
   =========================================================
   Ziel: jede Admin-Seite hat dasselbe optische Raster wie /admin/account:
     - Content-Spalte: max-width 1080px, mittig zentriert, full available width
     - Sektionen (alles ausser .section-head): white card, 14px radius,
       sanfter Shadow, einheitliches Padding
     - .section-head: transparenter Page-Header (kein Card-Look), gleiche
       1080px-Breite damit die Headline mit dem Content-Raster fluchtet
   Mit !important, weil zahlreiche Legacy-Rules (Zeile 2700ff., 2900ff.) noch
   eigene Widths/Padding/margin-left auf Sub-Selektoren setzen. */
.acc-main .admin-page > *,
.acc-main--admin .admin-page > * {
    max-width: 1080px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Alle Sektionen ausser dem Page-Header bekommen den Card-Look. */
.acc-main .admin-page > :not(.section-head),
.acc-main--admin .admin-page > :not(.section-head) {
    background: #fff !important;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(17,16,14,.05) !important;
    padding: clamp(22px, 2.4vw, 28px) clamp(24px, 3vw, 36px) !important;
}

/* Page-Header bleibt transparent (Eyebrow + H1 + Lead + Actions). */
.acc-main .admin-page > .section-head,
.acc-main--admin .admin-page > .section-head {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 4px 24px !important;
    border-bottom: 1px solid var(--line) !important;
}

/* Tabelle innerhalb einer Card: keine doppelte Card-Optik. Die Tabelle füllt
   die Card aus, ohne weiteren Hintergrund/Border. */
.acc-main .admin-page > .table-wrap,
.acc-main--admin .admin-page > .table-wrap {
    padding: 0 !important;
    overflow: hidden !important; /* Card-Edges sauber rund */
}
.acc-main .admin-page > .table-wrap > table,
.acc-main--admin .admin-page > .table-wrap > table {
    width: 100%;
    border-collapse: collapse;
}
/* Tabellen-Header IMMER einzeilig — egal ob die Table in einem direkten
   .table-wrap Child der admin-page liegt oder tiefer verschachtelt (z.B.
   .prod-list-view .table-wrap). Das verhindert, dass Wörter wie "BESTELLUNG"
   oder "KATEGORIE" mitten im Wort umgebrochen werden. */
.acc-main .admin-page th,
.acc-main--admin .admin-page th {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}
/* TD-Inhalt darf normal umbrechen, aber NIE mitten im Wort. Vorher hatte td
   "overflow-wrap: anywhere" das z.B. "Zubehör" in "Zubeh ör" zerlegt hat. */
.acc-main .admin-page td,
.acc-main--admin .admin-page td {
    overflow-wrap: normal !important;
    word-break: normal !important;
}
/* Buttons in Admin-Tabellen + Section-Head Actions bleiben einzeilig. Vermeidet
   "EDI T"-Wraps in der Action-Spalte. */
.acc-main .admin-page .btn,
.acc-main--admin .admin-page .btn,
.acc-main .admin-page .btn-link,
.acc-main--admin .admin-page .btn-link,
.acc-main .admin-page button,
.acc-main--admin .admin-page button {
    white-space: nowrap;
}
.acc-main .admin-page > .table-wrap th,
.acc-main--admin .admin-page > .table-wrap th {
    padding: 14px 16px !important;
    background: var(--paper, #f6f1e8);
    text-align: left;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}
.acc-main .admin-page > .table-wrap td,
.acc-main--admin .admin-page > .table-wrap td {
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    vertical-align: middle;
}
.acc-main .admin-page > .table-wrap tr:last-child td,
.acc-main--admin .admin-page > .table-wrap tr:last-child td {
    border-bottom: 0;
}

/* Stat-Grid: Items als Sub-Cards innerhalb der Parent-Card */
.acc-main .admin-page > .stat-grid,
.acc-main--admin .admin-page > .stat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 12px !important;
}

/* Portal-Quickbar / Filter-Bars: Buttons in einer Reihe */
.acc-main .admin-page > .portal-quickbar,
.acc-main--admin .admin-page > .portal-quickbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
body:has(.admin-nav) .flash {
    position: fixed;
    right: 258px;
    top: 74px;
    z-index: 80;
    max-width: 420px;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.admin-nav,
.admin-context,
.admin-quick {
    --admin-panel: #181512;
    --admin-panel-2: #14120f;
    --admin-soft: rgba(255,250,242,.72);
    --admin-line: rgba(255,250,242,.1);
    --admin-active: rgba(189,141,73,.18);
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    color: #fffaf2;
    border-right: 1px solid var(--admin-line);
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, rgba(23,61,53,.16), rgba(17,16,14,0) 38%),
        var(--admin-panel);
    transition: width .18s ease, left .18s ease, right .18s ease, transform .18s ease;
}
.admin-nav {
    left: 0;
    width: 248px;
}
.admin-context {
    left: 248px;
    width: 238px;
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.14) 1px, transparent 0) 0 0 / 18px 18px,
        var(--admin-panel-2);
}
.admin-quick {
    right: 0;
    width: 244px;
    border-right: 0;
    border-left: 1px solid var(--admin-line);
}
.admin-col-head,
.admin-col-foot {
    flex: 0 0 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid var(--admin-line);
    background: rgba(11,10,8,.32);
}
.admin-col-foot {
    border-top: 1px solid var(--admin-line);
    border-bottom: 0;
}
.admin-col-head small,
.admin-col-foot small {
    display: block;
    color: rgba(255,250,242,.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}
.admin-col-head strong,
.admin-col-foot strong {
    display: block;
    margin-top: 5px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}
.admin-logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fffaf2;
    padding-right: 0;
}
.admin-logo span,
.admin-profile > span,
.admin-main-nav a span {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: #fffaf2;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.admin-logo strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-collapse {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0 !important;
    border-radius: 0;
    color: rgba(47,43,38,.62) !important;
    background: transparent !important;
    font-size: 13px !important;
    line-height: 1 !important;
    transition: background .16s ease, transform .16s ease;
}
.admin-collapse:hover {
    color: #2f2b26 !important;
    background: rgba(74,52,39,.06) !important;
}
.admin-collapse strong {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.admin-main-nav,
.admin-sub-nav,
.admin-quick-nav {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    overflow: auto;
}
.admin-collapse-zone {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-top: 1px solid rgba(74,52,39,.12);
}
.admin-main-nav a,
.admin-sub-nav a,
.admin-quick-nav a,
.admin-col-foot a,
.admin-col-foot button,
.admin-nav a,
.admin-nav button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255,250,242,.78);
    background: transparent;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.25;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.admin-main-nav a:hover,
.admin-sub-nav a:hover,
.admin-quick-nav a:hover,
.admin-col-foot a:hover,
.admin-col-foot button:hover,
.admin-main-nav a.is-active,
.admin-sub-nav a.is-active {
    color: #fffaf2;
    background: var(--admin-active);
    border-color: rgba(189,141,73,.28);
    transform: translateX(2px);
}
.admin-main-nav a strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-main-nav a div,
.admin-nav-text {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 3px;
}
.admin-main-nav a small,
.admin-nav-text small {
    display: block;
    overflow: hidden;
    color: rgba(255,250,242,.55);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}
.admin-sub-nav a,
.admin-quick-nav a {
    min-height: 44px;
    justify-content: space-between;
}
.admin-sub-nav a {
    align-items: center;
    min-height: 58px;
    gap: 10px;
}
.admin-sub-nav a::after,
.admin-quick-nav a::after {
    content: "›";
    color: rgba(255,250,242,.34);
    font-size: 18px;
}
.admin-sub-nav a.is-active {
    box-shadow: inset 3px 0 0 #d4a35e;
}
.admin-sub-nav a.is-active .admin-nav-text small {
    color: rgba(255,250,242,.66);
}
.admin-context .admin-sub-nav a:not(.is-active) {
    color: rgba(255,250,242,.56);
    background: transparent;
    border-color: transparent;
}
.admin-context .admin-sub-nav a:not(.is-active) .admin-nav-icon {
    opacity: .62;
}
.admin-context .admin-sub-nav a:not(.is-active)::after {
    opacity: .28;
}
.admin-context .admin-sub-nav a.is-active {
    color: #fffaf2;
    background: rgba(189,141,73,.18);
    border-color: rgba(189,141,73,.32);
}
.admin-context .admin-sub-nav a.is-active::after {
    color: #d4a35e;
    opacity: 1;
}
.admin-profile {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-profile div {
    min-width: 0;
}
.admin-profile small {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    color: rgba(255,250,242,.46);
    font-size: 10px;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.admin-col-foot form {
    margin-left: auto;
}
.admin-nav .admin-col-foot {
    justify-content: space-between;
}
.admin-nav .admin-col-foot button {
    width: auto;
    min-height: 34px;
    padding: 8px 10px;
}
.admin-context .admin-col-foot,
.admin-quick .admin-col-foot {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    min-height: 84px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.admin-context .admin-col-foot a {
    min-height: 30px;
    padding: 6px 10px;
}
.admin-page {
    min-height: 100vh;
    height: 100vh;
    margin: 0 244px 0 486px;
    padding: 0;
    overflow: auto;
    background:
        radial-gradient(circle at 1px 1px, rgba(23,61,53,.08) 1px, transparent 0) 0 0 / 20px 20px,
        #f6f1e8;
    transition: margin .18s ease;
}
.admin-page > .section-head:first-child {
    min-height: auto;
    margin: 0;
    padding: 24px 0 22px;
    display: block;
    position: sticky;
    top: 0;
    z-index: 8;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.18) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(180deg, #2a1d12 0%, #1d130a 100%);
    color: #f4eadb;
}
.admin-page > .section-head:first-child > div {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.admin-page > .section-head:first-child h1 {
    margin: 0 0 4px;
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fffaf2;
    font-weight: 800;
}
.admin-page > .section-head:first-child .lead,
.admin-page > .section-head:first-child p {
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(244,234,219,.7);
    max-width: 640px;
}
.admin-page > .section-head:first-child .eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.admin-page > .section-head:first-child .admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-page > :not(.section-head) {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}
/* Header spans full admin-page width — inner content aligned with body content */
.admin-page > .section-head:first-child {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 12px 0;
}
.admin-page > .section-head:first-child > * {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    box-sizing: border-box;
}
.admin-page > .section-head:first-child + * {
    margin-top: 28px;
}
.admin-page .panel,
.admin-page .cms-card,
.admin-page .workflow-card,
.admin-page table {
    border-radius: 8px;
    box-shadow: none;
}
.admin-page table {
    display: table;
}
.admin-page .table-wrap {
    overflow: auto;
    border-radius: 8px;
}
html.admin-nav-collapsed .admin-nav {
    width: 82px;
}
html.admin-nav-collapsed .admin-context {
    left: 82px;
}
html.admin-nav-collapsed .admin-page {
    margin-left: 320px;
}
html.admin-nav-collapsed .admin-logo strong,
html.admin-nav-collapsed .admin-main-nav a strong,
html.admin-nav-collapsed .admin-main-nav a small,
html.admin-nav-collapsed .admin-profile div,
html.admin-nav-collapsed .admin-nav .admin-col-foot form {
    display: none;
}
html.admin-nav-collapsed .admin-collapse {
    transform: rotate(180deg);
}
html.admin-nav-collapsed .admin-main-nav a {
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
}
html.admin-nav-collapsed .admin-main-nav a div {
    display: none;
}
html.admin-nav-collapsed .admin-collapse-zone {
    justify-content: center;
    padding: 0;
}
html.admin-nav-collapsed .admin-collapse {
    width: 58px;
    justify-content: center;
}
html.admin-nav-collapsed .admin-collapse strong {
    display: none;
}
html.admin-nav-collapsed .admin-main-nav a span,
html.admin-nav-collapsed .admin-logo span,
html.admin-nav-collapsed .admin-profile > span {
    flex-basis: 34px;
}
@media (max-width: 1180px) {
    body:has(.admin-nav) {
        overflow: auto;
    }
    .admin-nav,
    .admin-context,
    .admin-quick {
        position: static;
        width: auto;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,250,242,.1);
    }
    .admin-nav {
        position: sticky;
        top: 0;
        z-index: 70;
    }
    .admin-context,
    .admin-quick {
        display: none;
    }
    .admin-main-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    .admin-main-nav a {
        width: auto;
        min-width: 120px;
        flex: 0 0 auto;
    }
    .admin-page,
    html.admin-nav-collapsed .admin-page {
        height: auto;
        min-height: 100vh;
        margin: 0;
    }
    html.admin-nav-collapsed .admin-nav {
        width: auto;
    }
    html.admin-nav-collapsed .admin-logo strong,
    html.admin-nav-collapsed .admin-main-nav a strong,
    html.admin-nav-collapsed .admin-main-nav a small,
    html.admin-nav-collapsed .admin-profile div,
    html.admin-nav-collapsed .admin-nav .admin-col-foot form {
        display: block;
    }
    html.admin-nav-collapsed .admin-main-nav a div {
        display: grid;
    }
}

/* Admin shell color refinement */
.admin-nav,
.admin-context,
.admin-quick {
    --admin-brown: #4a3427;
    --admin-brown-2: #38261c;
    --admin-paper: #f6f1e8;
    --admin-dot-dark: rgba(74,52,39,.13);
}
.admin-nav {
    color: #2f2b26;
    background:
        radial-gradient(circle at 1px 1px, var(--admin-dot-dark) 1px, transparent 0) 0 0 / 17px 17px,
        linear-gradient(180deg, rgba(255,250,242,.82), rgba(246,241,232,.96)),
        var(--admin-paper);
    border-right-color: rgba(74,52,39,.18);
}
.admin-nav .admin-col-head,
.admin-nav .admin-col-foot,
.admin-page > .section-head:first-child {
    color: #fffaf2;
    border-color: rgba(255,250,242,.13);
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, rgba(90,62,43,.96), rgba(60,40,28,.98));
}
.admin-context {
    color: #fffaf2;
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, #543b2c, #38261c);
    border-right-color: rgba(255,250,242,.12);
}
.admin-context .admin-col-head,
.admin-context .admin-col-foot {
    background: rgba(35,23,17,.36);
}
.admin-quick {
    width: 50px;
    color: #fffaf2;
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, #543b2c, #38261c);
    border-left-color: rgba(255,250,242,.12);
}
.admin-page {
    margin-right: 50px;
    background:
        radial-gradient(circle at 1px 1px, rgba(74,52,39,.1) 1px, transparent 0) 0 0 / 19px 19px,
        var(--admin-paper);
}
.admin-page > .section-head:first-child h1,
.admin-page > .section-head:first-child p,
.admin-page > .section-head:first-child .lead {
    color: #fffaf2;
}
.admin-page > .section-head:first-child .eyebrow {
    color: #d4a35e;
}
body:has(.admin-nav) .flash {
    right: 70px;
}
.admin-nav .admin-main-nav a,
.admin-nav .admin-col-foot a,
.admin-nav .admin-col-foot button {
    color: rgba(47,43,38,.78);
}
.admin-nav .admin-main-nav a:hover,
.admin-nav .admin-col-foot a:hover,
.admin-nav .admin-col-foot button:hover,
.admin-nav .admin-main-nav a.is-active {
    color: #2f2b26;
    background: rgba(74,52,39,.1);
    border-color: rgba(74,52,39,.18);
}
.admin-nav .admin-main-nav a span {
    background: rgba(74,52,39,.12);
    color: #4a3427;
}
.admin-nav .admin-main-nav a small {
    color: rgba(47,43,38,.48);
}
.admin-nav .admin-main-nav a.is-active span,
.admin-logo span,
.admin-profile > span {
    background: #173d35;
    color: #fffaf2;
}
.admin-nav .admin-main-nav a.is-active {
    box-shadow: inset 3px 0 0 #173d35;
}
.admin-nav .admin-col-head .admin-logo,
.admin-nav .admin-col-head .admin-collapse,
.admin-nav .admin-col-foot,
.admin-nav .admin-col-foot button,
.admin-nav .admin-profile small {
    color: #fffaf2 !important;
}
.admin-quick-nav {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    overflow: visible;
}
.admin-quick-nav a {
    position: relative;
    width: 38px;
    min-height: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    overflow: visible;
}
.admin-quick-nav a.admin-view-action {
    color: #fffaf2;
    background: rgba(23,61,53,.72);
    border-color: rgba(255,250,242,.16);
}
.admin-quick-nav a.admin-preview-exit {
    background: rgba(189,141,73,.72);
    color: #1f1711;
}
.admin-quick-divider {
    width: 28px;
    height: 1px;
    margin: 4px 0;
    background: rgba(255,250,242,.18);
}
.admin-quick-nav a::after {
    content: none;
}
.admin-quick-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
}
.admin-quick-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-quick-label {
    position: absolute;
    right: 48px;
    top: 50%;
    z-index: 90;
    min-width: max-content;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #fffaf2;
    background: #24170f;
    box-shadow: 0 16px 40px rgba(17,16,14,.22);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity .14s ease, transform .14s ease;
}
.admin-quick-nav a:hover .admin-quick-label,
.admin-quick-nav a:focus-visible .admin-quick-label {
    opacity: 1;
    transform: translate(0, -50%);
}
html.admin-nav-collapsed .admin-page {
    margin-right: 50px;
}
@media (max-width: 1180px) {
    .admin-quick {
        width: auto;
    }
}

/* Admin shell cleanup pass */
body:has(.admin-nav) {
    --admin-brown: #4a3427;
    --admin-brown-2: #38261c;
    --admin-paper: #f6f1e8;
    --admin-dot-dark: rgba(74,52,39,.11);
    background:
        radial-gradient(circle at 1px 1px, var(--admin-dot-dark) 1px, transparent 0) 0 0 / 18px 18px,
        var(--admin-paper) !important;
}
.admin-col-head,
.admin-col-foot,
.admin-page > .section-head:first-child {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    flex-basis: 60px !important;
    overflow: hidden !important;
}
.admin-col-head {
    padding: 0 14px;
}
.admin-col-foot {
    padding: 0 12px;
}
.admin-col-head small,
.admin-col-foot small {
    font-size: 8px;
    letter-spacing: .11em;
}
.admin-col-head strong,
.admin-col-foot strong {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.05;
}
.admin-logo {
    gap: 8px;
}
.admin-logo span,
.admin-profile > span {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
}
.admin-logo strong {
    max-width: 120px;
    font-size: 10px;
}
.admin-collapse-zone {
    min-height: 56px;
}
.admin-profile {
    gap: 8px;
}
.admin-profile strong {
    font-size: 10px;
    line-height: 1.05;
}
.admin-profile small {
    max-width: 76px;
    font-size: 8px;
}
.admin-nav .admin-col-foot button {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 9px;
}
.admin-context .admin-col-foot {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.admin-context .admin-col-foot a {
    width: auto;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 8px;
    line-height: 1.05;
    white-space: nowrap;
}
.admin-page {
    background:
        radial-gradient(circle at 1px 1px, rgba(74,52,39,.09) 1px, transparent 0) 0 0 / 20px 20px,
        #f6f1e8 !important;
    animation: adminPageIn .14s ease-out both;
    transition: margin .18s ease, opacity .14s ease;
}
html.admin-is-leaving .admin-page {
    opacity: .72;
}
.admin-page > .section-head:first-child {
    padding: 0 28px !important;
    align-items: center;
    color: #fffaf2;
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, rgba(90,62,43,.96), rgba(60,40,28,.98)) !important;
}
.admin-page > .section-head:first-child > div {
    min-width: 0;
}
.admin-page > .section-head:first-child h1 {
    max-width: 100%;
    margin: 0 !important;
    font-size: clamp(18px, 1.25vw, 24px) !important;
    line-height: 1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-page > .section-head:first-child .lead,
.admin-page > .section-head:first-child p {
    max-width: 100%;
    margin: 2px 0 0 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-page > .section-head:first-child .eyebrow {
    margin: 0 0 3px !important;
    font-size: 8px !important;
    line-height: 1 !important;
}
.admin-page .panel,
.admin-page .cms-card,
.admin-page .workflow-card {
    background: transparent !important;
    border-color: rgba(74,52,39,.16);
}
.admin-page table {
    background: transparent !important;
}
.admin-page th {
    background: rgba(74,52,39,.08);
}
.admin-page input,
.admin-page select,
.admin-page textarea {
    background: transparent !important;
}
@keyframes adminPageIn {
    from { opacity: .86; }
    to { opacity: 1; }
}

/* Admin detail footer */
.admin-page {
    padding-bottom: 88px;
}
.admin-page::after {
    content: "";
    position: fixed;
    display: block;
    left: 486px;
    right: 50px;
    bottom: 0;
    z-index: 22;
    height: 60px;
    margin-top: 0;
    pointer-events: none;
    border-top: 1px solid rgba(255,250,242,.13);
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.08) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, rgba(90,62,43,.96), rgba(60,40,28,.98));
    transition: left .18s ease, right .18s ease;
}
html.admin-nav-collapsed .admin-page::after {
    left: 320px;
}
.admin-page > :last-child {
    margin-bottom: 28px;
}
@media (max-width: 1180px) {
    .admin-page {
        padding-bottom: 0;
    }
    .admin-page::after {
        display: none;
    }
}

/* Admin density and overflow polish */
body:has(.admin-nav),
html:has(.admin-nav) {
    max-width: 100vw;
    overflow: hidden !important;
}
.admin-page {
    overflow-x: hidden !important;
    scrollbar-width: none;
}
.admin-page::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.admin-page > :not(.section-head) {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.admin-page > .form.panel,
.admin-page > .inline-form.panel {
    max-width: 1080px;
    padding: 18px 22px;
    margin-top: 22px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}
.admin-page .form {
    gap: 12px;
}
.admin-page .grid-2 {
    gap: 12px;
}
.admin-page label {
    gap: 6px;
    font-size: 13px;
    line-height: 1.2;
}
.admin-page input,
.admin-page textarea,
.admin-page select {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.25;
}
.admin-page textarea {
    min-height: 118px;
    resize: vertical;
}
.admin-page input[type="checkbox"] {
    width: 22px;
    min-height: 22px;
    height: 22px;
    padding: 0;
    accent-color: var(--forest);
}
.admin-page label:has(input[type="checkbox"]) {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.admin-page .btn,
.admin-page button {
    min-height: 40px;
    border-radius: 999px;
    font-size: 11px;
}
.admin-page .form .btn.primary,
.admin-page .form button.btn.primary {
    margin-top: 4px;
}
.admin-page .table-wrap {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(74,52,39,.42) rgba(74,52,39,.08);
}
.admin-page .table-wrap::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.admin-page .table-wrap::-webkit-scrollbar-track {
    background: rgba(74,52,39,.08);
    border-radius: 999px;
}
.admin-page .table-wrap::-webkit-scrollbar-thumb {
    background: rgba(74,52,39,.42);
    border-radius: 999px;
}
.admin-page .table-wrap table {
    min-width: 760px;
    border: 0;
    border-radius: 0;
}
.admin-page > table {
    display: block !important;
    max-width: calc(100% - 56px);
    overflow: auto;
    border: 1px solid rgba(74,52,39,.14);
    scrollbar-width: thin;
    scrollbar-color: rgba(74,52,39,.42) rgba(74,52,39,.08);
}
.admin-page table {
    font-size: 14px;
}
.admin-page th,
.admin-page td {
    padding: 10px 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.admin-page th {
    font-size: 10px;
}
@media (min-width: 1500px) {
    .admin-page > .form.panel,
    .admin-page > .inline-form.panel {
        max-width: 1040px;
    }
}

/* Admin content rhythm */
.admin-page {
    --admin-content-width: min(1040px, calc(100% - 56px));
}
.admin-page > .form.panel,
.admin-page > .inline-form.panel,
.admin-page > .table-wrap,
.admin-page > .cms-data-grid,
.admin-page > .portal-actions,
.admin-page > .stat-grid,
.admin-page > .account-strip,
.admin-page > .account-grid,
.admin-page > .admin-grid,
.admin-page > .workflow-board {
    width: var(--admin-content-width);
    max-width: var(--admin-content-width);
    margin-left: 28px;
    margin-right: auto;
}
.admin-page > .section-head:first-child + .account-strip,
.admin-page > .section-head:first-child + .account-grid,
.admin-page > .section-head:first-child + .form.panel,
.admin-page > .section-head:first-child + .inline-form.panel,
.admin-page > .section-head:first-child + .table-wrap {
    margin-top: 22px;
}
.admin-page .btn.ghost {
    color: #2f2b26;
    border-color: rgba(74,52,39,.26);
    background: rgba(255,250,242,.26);
}
.admin-page .btn.ghost:hover {
    background: rgba(74,52,39,.08);
}
.admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.admin-add-panel[hidden] {
    display: none !important;
}
.admin-add-panel {
    scroll-margin-top: 82px;
}
.admin-empty {
    padding: 22px;
    color: var(--muted);
}
.admin-page > .admin-actions {
    width: var(--admin-content-width);
    max-width: calc(100% - 56px);
    margin-left: 28px;
    margin-right: 28px;
}
.admin-page > .section-head:first-child .admin-actions {
    margin-left: auto;
}
.admin-page > .section-head:first-child .admin-actions .btn {
    white-space: nowrap;
}
.segmented-control {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 4px;
    border: 1px solid rgba(255,250,242,.18);
    border-radius: 999px;
    background: rgba(255,250,242,.08);
}
.segmented-control a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255,250,242,.74);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}
.segmented-control a.is-active {
    background: var(--gold);
    color: #15110c;
}
.event-summary {
    margin-bottom: 18px;
}
.admin-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.admin-event-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(74,52,39,.16);
    border-radius: 8px;
    background: rgba(255,250,242,.32);
}
.admin-event-card > div:first-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-event-card h2 {
    margin: 0;
    font-size: 22px;
}
.admin-event-card dl {
    display: grid;
    gap: 8px;
    margin: 0;
}
.admin-event-card dl div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
}
.admin-event-card dt {
    color: rgba(47,43,38,.58);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.admin-event-card dd {
    margin: 0;
}
.admin-event-card p {
    color: rgba(47,43,38,.72);
    font-size: 14px;
    line-height: 1.45;
}
.admin-event-card .btn {
    margin-top: auto;
    align-self: flex-start;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.recurrence-panel {
    display: grid;
    gap: 14px;
    margin: 6px 0;
}
.recurrence-panel h2 {
    margin: 0 0 6px;
}
.recurrence-panel p {
    margin: 0;
}
.pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 18px;
    align-items: start;
}
.pos-ticket,
.pos-history {
    min-width: 0;
}
.pos-ticket-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.pos-ticket-head h2,
.pos-history h2 {
    margin: 0;
}
.pos-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.pos-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.34);
}
.pos-product span {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.pos-product small {
    color: rgba(47,43,38,.62);
}
.pos-product input[type="number"] {
    min-height: 46px;
    text-align: center;
}
.pos-manual {
    margin: 18px 0;
    padding-top: 16px;
    border-top: 1px solid rgba(74,52,39,.14);
}
.pos-sale-list {
    display: grid;
    gap: 12px;
}
.pos-sale-list article {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.32);
}
.pos-sale-list article.is-void {
    opacity: .58;
}
.pos-sale-list article > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.pos-sale-list span,
.pos-sale-list li span {
    color: rgba(47,43,38,.62);
    font-size: 12px;
}
.pos-sale-list ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pos-sale-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
@media (max-width: 1100px) {
    .pos-layout,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
.account-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.account-strip article,
.account-card {
    border: 1px solid rgba(74,52,39,.16);
    border-radius: 8px;
    background: rgba(255,250,242,.2);
}
.account-strip article {
    min-height: 74px;
    padding: 14px 16px;
}
.account-strip span,
.account-list dt {
    display: block;
    margin-bottom: 5px;
    color: rgba(47,43,38,.58);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.account-strip strong {
    display: block;
    overflow: hidden;
    color: #2f2b26;
    font-size: 15px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.account-card {
    min-width: 0;
    padding: 18px 20px;
}
.account-card h2 {
    margin-bottom: 12px;
    font-size: 20px;
}
.account-card p {
    max-width: 620px;
    color: rgba(47,43,38,.72);
    font-size: 14px;
    line-height: 1.45;
}
.passkey-register {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}
.passkey-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.passkey-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.36);
}
.passkey-row div {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.passkey-row strong,
.passkey-row small {
    overflow-wrap: anywhere;
}
.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.account-list {
    display: grid;
    gap: 10px;
    margin: 0;
}
.account-list div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(74,52,39,.1);
}
.account-list dd {
    margin: 0;
}
.compact-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
}
.admin-page .compact-table table {
    min-width: 540px;
}
.admin-profile {
    border-radius: 999px;
}
@media (max-width: 1280px) {
    .account-strip,
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar account center */
.admin-account-drawer {
    position: absolute;
    left: 18px;
    width: 212px;
    right: auto;
    bottom: 74px;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255,250,242,.11);
    border-radius: 14px;
    color: #fffaf2;
    background:
        radial-gradient(circle at 1px 1px, rgba(255,250,242,.07) 1px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(180deg, #171b1f, #101316);
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease;
}
html.admin-account-open .admin-account-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
html.admin-account-open .admin-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    height: 310px;
    z-index: 70;
    background: linear-gradient(180deg, rgba(246,241,232,0), rgba(17,16,14,.52) 30%, rgba(17,16,14,.72));
    pointer-events: none;
}
.admin-account-drawer a,
.admin-account-drawer button {
    min-width: 0;
    min-height: 86px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 0;
    border-radius: 8px;
    color: rgba(255,250,242,.72);
    background: transparent;
    font: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.admin-account-drawer a:hover,
.admin-account-drawer button:hover {
    color: #fffaf2;
    background: rgba(255,250,242,.07);
    transform: translateY(-1px);
}
.admin-account-drawer form {
    margin: 0;
}
.admin-account-drawer span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(255,250,242,.05);
}
.admin-account-drawer svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-account-drawer strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.admin-account-drawer small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: rgba(255,250,242,.44);
    font-size: 9px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-nav .admin-col-foot {
    padding: 0;
}
.admin-profile,
.admin-nav .admin-col-foot .admin-profile {
    width: 100%;
    min-height: 60px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 0;
    color: #fffaf2 !important;
    background: transparent !important;
    text-align: left;
    cursor: pointer;
}

.admin-profile:hover {
    background: rgba(255,250,242,.06) !important;
}
.admin-profile i {
    color: rgba(255,250,242,.62);
    font-style: normal;
    transition: transform .16s ease;
}
html.admin-account-open .admin-profile i {
    transform: rotate(180deg);
}
html.admin-nav-collapsed .admin-account-drawer {
    left: 8px;
    width: 66px;
    right: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 18px;
}
html.admin-nav-collapsed .admin-account-drawer a,
html.admin-nav-collapsed .admin-account-drawer button {
    min-height: 52px;
    padding: 7px;
}
html.admin-nav-collapsed .admin-account-drawer strong,
html.admin-nav-collapsed .admin-account-drawer small {
    display: none;
}
html.admin-nav-collapsed .admin-profile,
html.admin-nav-collapsed .admin-nav .admin-col-foot .admin-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
}
html.admin-nav-collapsed .admin-profile i {
    display: none;
}

/* Admin grouped navigation */
.admin-main-nav {
    gap: 3px;
    padding: 12px 10px 10px;
}
.admin-nav-group-label {
    margin: 14px 8px 5px;
    color: #bd8d49;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .22em;
    line-height: 1;
    text-transform: uppercase;
}
.admin-nav-group-label:first-child {
    margin-top: 4px;
}
.admin-main-nav a {
    min-height: 34px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 7px 9px;
    border-radius: 6px;
    letter-spacing: 0;
    text-transform: none;
}
.admin-nav .admin-main-nav a:hover,
.admin-nav .admin-main-nav a.is-active {
    transform: none;
}
.admin-nav .admin-main-nav a .admin-nav-icon,
.admin-main-nav a .admin-nav-icon,
html.admin-nav-collapsed .admin-main-nav a .admin-nav-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 0;
    color: rgba(74,52,39,.64);
    background: transparent !important;
}
.admin-nav .admin-main-nav a.is-active .admin-nav-icon,
.admin-nav .admin-main-nav a:hover .admin-nav-icon {
    color: #173d35;
    background: transparent !important;
}
.admin-main-nav a .admin-nav-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-main-nav a strong {
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: none;
}
html.admin-nav-collapsed .admin-main-nav {
    align-items: center;
    padding: 12px 8px 10px;
}
html.admin-nav-collapsed .admin-nav-group-label {
    display: none;
}
html.admin-nav-collapsed .admin-main-nav a {
    width: 46px;
    min-height: 44px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px;
}
html.admin-nav-collapsed .admin-main-nav a strong {
    display: none;
}
html.admin-nav-collapsed .admin-main-nav a .admin-nav-icon {
    justify-self: center;
}

/* Admin area navigation: column 1 = areas, column 2 = tools */
.admin-main-nav {
    gap: 10px;
    padding: 16px 12px 10px;
}
.admin-main-nav .admin-area-link {
    min-height: 42px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 2px solid rgba(23,61,53,.2);
    border-radius: 6px;
    background: rgba(23,61,53,.035);
    color: rgba(47,43,38,.74);
}
.admin-main-nav .admin-area-link:hover,
.admin-main-nav .admin-area-link.is-active {
    border-color: rgba(24,176,106,.76);
    background: rgba(24,176,106,.075);
    color: #173d35;
}
.admin-main-nav .admin-area-link span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #fffaf2;
    background: #173d35 !important;
    font-size: 9px;
}
.admin-main-nav .admin-area-link strong {
    color: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    line-height: 1;
    text-transform: uppercase;
}
.admin-context .admin-sub-nav {
    gap: 8px;
    padding: 16px 12px;
}
.admin-context .admin-sub-nav a {
    min-height: 40px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}
.admin-context .admin-sub-nav a::after {
    content: "›";
    color: rgba(255,250,242,.36);
    font-size: 17px;
    line-height: 1;
}
.admin-context .admin-sub-nav .admin-nav-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: rgba(255,250,242,.64);
}
.admin-context .admin-sub-nav .admin-nav-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-context .admin-sub-nav strong {
    overflow: hidden;
    color: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
html.admin-nav-collapsed .admin-main-nav .admin-area-link {
    width: 46px;
    min-height: 46px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px;
}
html.admin-nav-collapsed .admin-main-nav .admin-area-link strong {
    display: none;
}

/* Compact module navigation in the second admin column */
.admin-context .admin-sub-nav {
    gap: 6px;
    padding: 14px 10px;
}
.admin-context .admin-sub-nav a {
    min-height: 36px;
    grid-template-columns: 20px minmax(0, 1fr) 10px;
    gap: 8px;
    padding: 7px 8px;
}
.admin-context .admin-sub-nav a::after,
.admin-context .admin-quick-nav a::after {
    content: "\203a";
    font-size: 14px;
    line-height: 1;
}
.admin-context .admin-sub-nav .admin-nav-icon {
    width: 18px;
    height: 18px;
}
.admin-context .admin-sub-nav .admin-nav-icon svg {
    width: 13px;
    height: 13px;
}
.admin-context .admin-sub-nav .admin-nav-text {
    min-width: 0;
    gap: 2px;
}
.admin-context .admin-sub-nav strong {
    font-size: 8.8px;
    letter-spacing: .07em;
    line-height: 1.05;
}
.admin-context .admin-sub-nav small {
    max-width: 100%;
    font-size: 7.2px;
    letter-spacing: .075em;
    line-height: 1.05;
    opacity: .78;
}

/* CMS content hub */
.admin-cms-page .cms-editor-panel,
.admin-cms-page .cms-list-table {
    width: var(--admin-content-width);
    max-width: var(--admin-content-width);
    margin-left: 28px;
    margin-right: auto;
}
.cms-editor-panel {
    display: grid;
    gap: 18px;
}
.cms-editor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(74,52,39,.12);
}
.cms-editor-header h2 {
    margin: 8px 0 4px;
    font-size: clamp(20px, 2vw, 30px);
}
.cms-editor-header p,
.cms-meta-note {
    margin: 0;
    color: rgba(47,43,38,.66);
    font-size: 13px;
}
.cms-page-settings {
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.26);
    overflow: hidden;
}
.cms-page-settings summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    cursor: pointer;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.cms-page-settings summary small {
    color: rgba(47,43,38,.56);
    font-size: 10px;
    letter-spacing: .08em;
}
.cms-page-settings-body {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-top: 1px solid rgba(74,52,39,.1);
}
.cms-edit-grid,
.cms-section-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.cms-edit-grid .span-2,
.cms-section-fields .span-2,
.cms-drawer-panel .span-2 {
    grid-column: 1 / -1;
}
.cms-image-preview,
.cms-thumb {
    min-height: 82px;
    border: 1px dashed rgba(74,52,39,.24);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,250,242,.44);
}
.cms-image-preview {
    min-height: 150px;
    display: grid;
    place-items: center;
}
.cms-image-preview img,
.cms-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cms-image-preview div,
.cms-thumb span {
    display: grid;
    gap: 4px;
    place-items: center;
    color: rgba(47,43,38,.55);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}
.cms-section-stack {
    display: grid;
    gap: 14px;
}
.cms-section-builder {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255,250,242,.78), rgba(255,250,242,.38)),
        radial-gradient(circle at 1px 1px, rgba(74,52,39,.08) 1px, transparent 0) 0 0 / 18px 18px;
}
.cms-builder-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.cms-builder-head h3 {
    margin: 3px 0 4px;
    font-size: 22px;
}
.cms-builder-head p {
    margin: 0;
    max-width: 680px;
    color: rgba(47,43,38,.64);
    font-size: 13px;
}
.cms-template-library {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(74,52,39,.12);
    border-radius: 8px;
    background: rgba(74,52,39,.04);
}
.cms-template-library::before {
    content: "Vorlage auswählen";
    grid-column: 1 / -1;
    color: #bd8d49;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.cms-template-library[hidden] {
    display: none !important;
}
.cms-template-card {
    min-height: 170px !important;
    display: grid !important;
    grid-template-rows: 86px auto auto;
    gap: 8px;
    align-content: start;
    padding: 10px !important;
    border: 1px solid rgba(74,52,39,.14) !important;
    border-radius: 8px !important;
    background: rgba(255,250,242,.58) !important;
    color: #2f2b26 !important;
    text-align: left !important;
}
.cms-template-card:hover {
    border-color: rgba(189,141,73,.54) !important;
    transform: translateY(-1px);
}
.cms-template-card strong {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}
.cms-template-card small {
    color: rgba(47,43,38,.62);
    font-size: 12px;
    line-height: 1.35;
    text-transform: none;
}
.cms-template-shot,
.cms-template-preview {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid rgba(74,52,39,.14);
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.16) 1px, transparent 0) 0 0 / 12px 12px,
        #f6f1e8;
}
.cms-template-card .cms-template-shot {
    width: 100%;
    min-height: 86px;
}
.cms-template-preview {
    min-height: 116px;
    margin-bottom: 4px;
}
.cms-template-shot i,
.cms-template-shot b,
.cms-template-shot em,
.cms-template-preview i,
.cms-template-preview b,
.cms-template-preview em {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: #4a3427;
    opacity: .9;
}
.cms-template-shot i,
.cms-template-preview i {
    left: 13%;
    top: 22%;
    width: 42%;
    height: 10px;
}
.cms-template-shot b,
.cms-template-preview b {
    left: 13%;
    top: 42%;
    width: 62%;
    height: 7px;
    opacity: .45;
}
.cms-template-shot em,
.cms-template-preview em {
    right: 12%;
    bottom: 14%;
    width: 28%;
    height: 18px;
    background: #bd8d49;
}
.cms-template-shot--hero_split,
.cms-template-shot--hero_lounge,
.cms-template-preview.cms-template-shot--hero_split,
.cms-template-preview.cms-template-shot--hero_lounge {
    background:
        linear-gradient(90deg, rgba(23,18,15,.92), rgba(23,18,15,.38)),
        radial-gradient(circle at 75% 35%, rgba(189,141,73,.42), transparent 34%),
        #173d35;
}
.cms-template-shot--hero_center i,
.cms-template-preview.cms-template-shot--hero_center i {
    left: 24%;
    width: 52%;
}
.cms-template-shot--hero_center b,
.cms-template-preview.cms-template-shot--hero_center b {
    left: 29%;
    width: 42%;
}
.cms-template-shot--cta_gold,
.cms-template-preview.cms-template-shot--cta_gold {
    background: linear-gradient(135deg, #bd8d49, #e6c188);
}
.cms-template-shot--cta_dark,
.cms-template-preview.cms-template-shot--cta_dark {
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.28) 1px, transparent 0) 0 0 / 12px 12px,
        #17120f;
}
.cms-template-shot--cta_dark i,
.cms-template-shot--cta_dark b,
.cms-template-preview.cms-template-shot--cta_dark i,
.cms-template-preview.cms-template-shot--cta_dark b {
    background: #fffaf2;
}
.cms-template-shot--content_media em,
.cms-template-preview.cms-template-shot--content_media em {
    left: 12%;
    top: 18%;
    width: 32%;
    height: 64%;
    border-radius: 6px;
}
.cms-template-shot--content_media i,
.cms-template-shot--content_media b,
.cms-template-preview.cms-template-shot--content_media i,
.cms-template-preview.cms-template-shot--content_media b {
    left: 52%;
}
.cms-template-shot--content_statement i,
.cms-template-preview.cms-template-shot--content_statement i {
    left: 14%;
    top: 30%;
    width: 72%;
    height: 14px;
}
.cms-template-shot--content_statement b,
.cms-template-preview.cms-template-shot--content_statement b {
    left: 20%;
    top: 52%;
    width: 46%;
}
.cms-section-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 18px;
    align-items: start;
}
.cms-section-copy-fields,
.cms-section-box-fields {
    min-width: 0;
}
.cms-section-box-fields {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(74,52,39,.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,250,242,.86), rgba(255,250,242,.56)),
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.16) 1px, transparent 0) 0 0 / 14px 14px;
}
.cms-section-box-fields h3 {
    margin: -4px 0 2px;
    font-size: 22px;
}
.cms-box-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.cms-box-head h3 {
    margin-bottom: 0;
}
.cms-box-accordion-list {
    display: grid;
    gap: 10px;
}
.cms-box-accordion {
    overflow: hidden;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.68);
}
.cms-box-accordion summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}
.cms-box-accordion summary::-webkit-details-marker {
    display: none;
}
.cms-box-accordion summary span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cms-box-accordion summary b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(16,63,58,.1);
    color: var(--forest);
    font-size: 11px;
}
.cms-box-accordion summary strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}
.cms-box-delete {
    border: 0;
    background: transparent;
    color: rgba(107,37,48,.82);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}
.cms-box-fields {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}
.cms-section-box-fields .grid-2 {
    gap: 10px;
}
.cms-field-help {
    margin: 0;
    color: rgba(47,43,38,.58);
    font-size: 12px;
    line-height: 1.45;
}
.cms-builder-list {
    display: grid;
    gap: 10px;
}
.cms-section-bar {
    min-height: 74px;
    display: grid;
    grid-template-columns: 28px 40px 92px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    background: rgba(255,250,242,.62);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.cms-section-bar.is-dragging {
    opacity: .68;
    transform: scale(.995);
}
.cms-drag-handle {
    min-height: 34px !important;
    width: 28px;
    padding: 0 !important;
    border-radius: 7px !important;
    color: rgba(47,43,38,.55) !important;
    cursor: grab !important;
}
.cms-section-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #173d35;
    color: #fffaf2;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
}
.cms-section-bar .cms-template-shot {
    width: 92px;
    height: 54px;
}
.cms-section-bar-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}
.cms-section-bar-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}
.cms-section-bar-text small,
.cms-builder-empty {
    color: rgba(47,43,38,.62);
    font-size: 12px;
}
.cms-builder-empty {
    min-height: 88px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 18px;
    border: 1px dashed rgba(74,52,39,.2);
    border-radius: 8px;
    text-align: center;
    background: rgba(255,250,242,.36);
}
.cms-builder-empty[hidden] {
    display: none !important;
}
.cms-section-hidden-fields {
    display: none;
}
.cms-section-editor {
    border: 1px solid rgba(74,52,39,.14);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255,250,242,.3);
}
.cms-section-editor header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: "Montserrat", Arial, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
}
.cms-section-editor header span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fffaf2;
    background: #173d35;
}
.cms-tabs {
    width: var(--admin-content-width);
    max-width: var(--admin-content-width);
    margin: 22px auto 14px 28px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.cms-tabs a,
.cms-tabs button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(74,52,39,.16);
    border-radius: 999px;
    background: rgba(255,250,242,.5);
    color: #2f2b26;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}
.cms-tabs .is-active {
    border-color: rgba(189,141,73,.46);
    background: #bd8d49;
    color: #17120f;
}
.cms-tabs strong {
    font-size: 10px;
    opacity: .72;
}
.cms-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
}
.cms-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17,16,14,.22);
    opacity: 0;
    transition: opacity .18s ease;
}
.cms-drawer-panel {
    position: absolute;
    top: 0;
    right: 50px !important;
    width: 520px !important;
    max-width: calc(100vw - 50px) !important;
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0 20px 86px;
    border-radius: 0;
    border: 0;
    border-left: 1px solid rgba(74,52,39,.16);
    background:
        radial-gradient(circle at 1px 1px, rgba(74,52,39,.08) 1px, transparent 0) 0 0 / 18px 18px,
        #f6f1e8;
    box-shadow: -24px 0 80px rgba(17,16,14,.22);
    visibility: hidden;
    transform: translateX(calc(100% + 54px));
    transition: transform .2s ease;
}
.cms-drawer-panel .grid-2 {
    grid-template-columns: 1fr !important;
}
.cms-drawer-panel [data-section-field],
.cms-drawer-panel input,
.cms-drawer-panel textarea,
.cms-drawer-panel select {
    max-width: 100%;
}
.cms-drawer-panel * {
    box-sizing: border-box;
}
.cms-drawer-panel header {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 -20px 18px;
    padding: 12px 20px;
    background:
        radial-gradient(circle at 1px 1px, rgba(189,141,73,.2) 1px, transparent 0) 0 0 / 18px 18px,
        #4a3427;
    color: #fffaf2;
}
.cms-drawer-panel header h2 {
    margin: 0;
    color: #fffaf2;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1;
}
.cms-drawer-panel header .btn.ghost {
    flex: 0 0 auto;
    color: #fffaf2;
    border-color: rgba(255,250,242,.24);
}
.cms-drawer-panel > label,
.cms-drawer-panel > .cms-template-preview,
.cms-drawer-panel > .grid-2,
.cms-drawer-panel > .cms-section-editor-layout,
.cms-drawer-panel > .cms-tabs,
.cms-drawer-panel > .cms-recurring-fields,
.cms-drawer-panel > .cms-meta-note,
.cms-drawer-panel > .btn {
    width: 100%;
    max-width: 100%;
}
.cms-drawer-panel textarea {
    min-height: 92px;
}
.cms-drawer-panel > .btn.primary,
.cms-drawer-panel button[data-save-section] {
    width: 100%;
    min-height: 54px;
    border-radius: 999px !important;
    margin-top: 10px;
}
.cms-drawer-open {
    overflow-x: hidden;
}
.cms-drawer.is-open {
    pointer-events: auto;
}
.cms-drawer.is-open .cms-drawer-backdrop {
    opacity: 1;
}
.cms-drawer.is-open .cms-drawer-panel {
    visibility: visible;
    transform: translateX(0);
}
@media (min-width: 1181px) {
    .cms-drawer-panel {
        left: 486px !important;
        right: 50px !important;
        width: auto !important;
        max-width: none !important;
        padding-left: 28px;
        padding-right: 28px;
    }
    html.admin-nav-collapsed .cms-drawer-panel {
        left: 320px !important;
    }
    .cms-drawer-panel header {
        margin-left: -28px;
        margin-right: -28px;
        padding-left: 28px;
        padding-right: 28px;
    }
    .cms-drawer-panel .grid-2 {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }
    .cms-drawer-panel .cms-template-preview {
        min-height: 240px;
    }
    .cms-drawer-panel textarea[data-section-field="text"] {
        min-height: 170px;
    }
    .cms-drawer-panel .cms-section-editor-layout {
        grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    }
}
.cms-recurring-option[hidden],
.cms-recurring-fields[hidden] {
    display: none !important;
}
.cms-public-image {
    padding: 0 !important;
    overflow: hidden;
    min-height: 260px;
}
.cms-public-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1100px) {
    .cms-edit-grid,
    .cms-section-fields {
        grid-template-columns: 1fr;
    }
    .cms-template-library {
        grid-template-columns: 1fr;
    }
    .cms-section-bar {
        grid-template-columns: 28px 36px minmax(0, 1fr);
    }
    .cms-section-bar .cms-template-shot {
        display: none;
    }
    .cms-section-bar .btn {
        grid-column: span 1;
    }
    .cms-drawer-panel {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .cms-drawer-panel .grid-2 {
        grid-template-columns: 1fr;
    }
    .cms-section-editor-layout {
        grid-template-columns: 1fr;
    }
}

/* Membership dues workflow */
.membership-dues-panel {
    display: grid;
    gap: 14px;
}
.dues-toolbar {
    display: grid;
    grid-template-columns: 150px 150px 190px;
    gap: 12px;
}
.dues-workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.membership-dues-panel .compact-table {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
@media (max-width: 1180px) {
    .dues-toolbar,
    .dues-workflow {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════════════
   CMS TEMPLATES v2 — Glass-Morph Section Pack
   Each .v2-section is the wrapper. Variants set background + height.
   ════════════════════════════════════════════════════════════════════ */

.v2-section {
    --v2-h: auto;
    --v2-bg: #14110d;
    --v2-fg: #f4eadb;
    --v2-accent: var(--gold);
    position: relative;
    min-height: var(--v2-h);
    padding: clamp(72px, 9vw, 130px) 0;
    color: var(--v2-fg);
    background: var(--v2-bg);
    overflow: hidden;
}
.v2-section[data-h="100vh"] { --v2-h: 100vh; padding: 0; display: grid; align-items: center; }
.v2-section[data-h="80vh"]  { --v2-h: 80vh;  padding: 0; display: grid; align-items: center; }
.v2-section[data-h="60vh"]  { --v2-h: 60vh;  padding: 0; display: grid; align-items: center; }
.v2-section[data-h="40vh"]  { --v2-h: 40vh;  padding: 0; display: grid; align-items: center; }
.v2-section[data-h="auto"]  { min-height: auto; }
.v2-section[data-theme="light"] { --v2-bg: var(--paper); --v2-fg: var(--text); --v2-accent: var(--gold); }
.v2-section[data-theme="mist"]  { --v2-bg: var(--mist);  --v2-fg: var(--text); }
.v2-section[data-theme="dark"]  { --v2-bg: #14110d; --v2-fg: #f4eadb; }
.v2-section[data-theme="lounge"] {
    --v2-bg:
        radial-gradient(1200px 600px at 80% -10%, rgba(189,141,73,.22), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(23,61,53,.28), transparent 60%),
        linear-gradient(180deg, #1a1612 0%, #14110d 100%);
    --v2-fg: #f4eadb;
}
.v2-section[data-theme="forest"] {
    --v2-bg:
        radial-gradient(900px 500px at 90% 0%, rgba(189,141,73,.18), transparent 60%),
        linear-gradient(180deg, var(--forest-2), var(--forest));
    --v2-fg: #f4eadb;
}

.v2-section .container { position: relative; z-index: 3; width: 100%; }
/* All boxed content blocks share one max-width, left-aligned to container start */
.v2-section .container > .v2-pricing__grid,
.v2-section .container > .v2-features__grid,
.v2-section .container > .v2-stats__grid,
.v2-section .container > .v2-team__grid,
.v2-section .container > .v2-testimonials__grid,
.v2-section .container > .v2-list__grid,
.v2-section .container > .v2-faq__list,
.v2-section .container > .v2-timeline { max-width: 1100px; margin-left: 0; margin-right: 0; }

/* ── Spielerische versetzte Box-Anordnung (data-stagger="on" auf .v2-section) ─── */
.v2-section[data-stagger="on"] .v2-features__grid,
.v2-section[data-stagger="on"] .v2-team__grid,
.v2-section[data-stagger="on"] .v2-list__grid,
.v2-section[data-stagger="on"] .v2-stats__grid,
.v2-section[data-stagger="on"] .v2-testimonials__grid {
    align-items: stretch;
}
.v2-section[data-stagger="on"] .v2-glass:nth-child(2n) { transform: translateY(28px); }
.v2-section[data-stagger="on"] .v2-glass:nth-child(3n) { transform: translateY(-18px); }
.v2-section[data-stagger="on"] .v2-glass:nth-child(4n) { transform: translateY(14px); }
.v2-section[data-stagger="on"] .v2-glass:hover { transform: translateY(-3px); }
.v2-section[data-stagger="on"] .v2-glass:nth-child(2n):hover { transform: translateY(25px); }
.v2-section[data-stagger="on"] .v2-glass:nth-child(3n):hover { transform: translateY(-21px); }
.v2-section[data-stagger="on"] .v2-glass:nth-child(4n):hover { transform: translateY(11px); }
@media (max-width: 720px) {
    .v2-section[data-stagger="on"] .v2-glass { transform: none !important; }
}
.v2-section h1, .v2-section h2, .v2-section h3, .v2-section h4 { color: var(--v2-fg); }
.v2-section[data-theme="light"] h1,
.v2-section[data-theme="light"] h2,
.v2-section[data-theme="light"] h3,
.v2-section[data-theme="light"] h4,
.v2-section[data-theme="mist"] h1,
.v2-section[data-theme="mist"] h2,
.v2-section[data-theme="mist"] h3,
.v2-section[data-theme="mist"] h4 { color: var(--ink); }

/* Background media — image, video, gradient overlay */
.v2-section__media {
    position: absolute; inset: 0;
    z-index: 1;
    overflow: hidden;
}
.v2-section__media img,
.v2-section__media video,
.v2-section__media iframe {
    position: absolute;
    inset: -8%;
    width: 116%; height: 116%;
    object-fit: cover;
    border: 0;
    pointer-events: none;
    filter: blur(10px) saturate(1.05);
    transform: scale(1.04);
}
.v2-section[data-blur="none"] .v2-section__media img,
.v2-section[data-blur="none"] .v2-section__media video { filter: none; transform: none; inset: 0; width: 100%; height: 100%; }
.v2-section[data-blur="soft"] .v2-section__media img,
.v2-section[data-blur="soft"] .v2-section__media video { filter: blur(4px) saturate(1.1); }
.v2-section[data-blur="strong"] .v2-section__media img,
.v2-section[data-blur="strong"] .v2-section__media video { filter: blur(22px) saturate(1.1); }
.v2-section__media iframe {
    /* YouTube/Vimeo iframe — scale to fill, hide controls */
    transform: scale(1.5);
    transform-origin: center;
}
.v2-section__overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(180deg, rgba(8,7,5,.42) 0%, rgba(8,7,5,.78) 100%);
    pointer-events: none;
}
.v2-section[data-theme="lounge"] .v2-section__overlay,
.v2-section[data-theme="dark"] .v2-section__overlay { background: linear-gradient(180deg, rgba(8,7,5,.55) 0%, rgba(8,7,5,.85) 100%); }
.v2-section[data-theme="light"] .v2-section__overlay { background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.85) 100%); }

/* Section header (eyebrow + h2 + lead) used by most templates */
.v2-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.v2-head__eyebrow {
    font: 700 11px/1 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--v2-accent);
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0;
}
.v2-head__eyebrow::before {
    content: ''; width: 28px; height: 1px; background: var(--v2-accent);
}
.v2-head h2 {
    font: 700 clamp(34px, 4.4vw, 60px)/1.05 'Montserrat', sans-serif;
    letter-spacing: -0.015em;
    color: inherit;
    margin: 0;
}
.v2-head__lead { font-size: clamp(15px, 1.4vw, 18px); color: rgba(255,255,255,.72); max-width: 640px; line-height: 1.6; margin: 0; }
.v2-section[data-theme="light"] .v2-head__lead,
.v2-section[data-theme="mist"] .v2-head__lead { color: var(--muted); }

/* Glass card primitive — used everywhere */
.v2-glass {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 30px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .26s ease, border-color .2s ease, box-shadow .26s ease;
}
.v2-section[data-theme="light"] .v2-glass,
.v2-section[data-theme="mist"] .v2-glass {
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
    border-color: rgba(17,16,14,.08);
    box-shadow: 0 18px 56px rgba(17,16,14,.08);
}
.v2-glass {
    --v2-glass-lift: 0px;
    --v2-glass-hover-lift: -3px;
    transform: translateY(var(--v2-glass-lift));
}
.v2-glass:hover { border-color: rgba(189,141,73,.32); transform: translateY(calc(var(--v2-glass-lift) + var(--v2-glass-hover-lift))); }

/* Mouse-tracked spotlight inside glass cards */
.v2-glass {
    --cc-x: 50%;
    --cc-y: 50%;
    position: relative;
    isolation: isolate;
}
.v2-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(160px circle at var(--cc-x) var(--cc-y),
        rgba(189, 141, 73, .14),
        rgba(189, 141, 73, .04) 40%,
        transparent 70%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 0;
}
.v2-glass:hover::before { opacity: 1; }
.v2-glass > * { position: relative; z-index: 1; }
.v2-section[data-theme="light"] .v2-glass::before,
.v2-section[data-theme="mist"] .v2-glass::before {
    background: radial-gradient(260px circle at var(--cc-x) var(--cc-y),
        rgba(189, 141, 73, .28),
        rgba(189, 141, 73, .08) 32%,
        transparent 60%);
}

/* ── Hero Video ──────────────────────────────────────────────── */
.v2-hero-video { display: grid; align-items: end; padding: 0; }
.v2-hero-video[data-h="100vh"] { min-height: 100vh; }
.v2-hero-video .v2-hero-video__inner {
    position: relative; z-index: 3;
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
    width: 100%;
}
.v2-hero-video h1 {
    font: 800 clamp(44px, 7vw, 92px)/1 'Montserrat', sans-serif;
    margin: 0 0 18px;
    color: #fff;
    letter-spacing: -.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.v2-hero-video p { font-size: clamp(17px, 1.6vw, 22px); color: rgba(244,234,219,.92); max-width: 640px; }
.v2-hero-video .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Glass Lounge ────────────────────────────────────────────── */
.v2-glass-lounge {
    display: grid;
    align-items: center;
    padding: 0;
}
.v2-glass-lounge .v2-glass-lounge__inner {
    width: 100%;
    padding: clamp(80px, 8vw, 120px) 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
}
.v2-glass-lounge .v2-glass {
    padding: clamp(28px, 3vw, 44px);
    display: grid; gap: 18px;
}
.v2-glass-lounge h2 { font-size: clamp(34px, 4vw, 54px); }
.v2-glass-lounge p { color: rgba(244,234,219,.78); margin: 0; line-height: 1.7; }

/* ── FAQ Accordion ───────────────────────────────────────────── */
.v2-faq__list { display: grid; gap: 12px; max-width: 880px; }
.v2-faq__item { padding: 0; overflow: hidden; }
.v2-faq__q {
    width: 100%;
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    padding: 22px 26px;
    font: 700 17px/1.4 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    transition: color .15s ease;
}
.v2-faq__q:hover { color: var(--v2-accent); }
.v2-faq__q::after {
    content: '+';
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    display: grid; place-items: center;
    font: 600 18px/1 'Montserrat', sans-serif;
    transition: transform .42s cubic-bezier(.32,.72,.14,1),
                border-color .25s ease,
                background .25s ease,
                color .25s ease;
}
.v2-faq__item[open] .v2-faq__q::after {
    transform: rotate(45deg);
    background: var(--v2-accent);
    color: #15110c;
    border-color: var(--v2-accent);
}
.v2-faq__a {
    padding: 0 26px;
    color: rgba(244,234,219,.78);
    line-height: 1.7;
    margin: 0;
    max-width: 720px;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height .52s cubic-bezier(.32,.72,.14,1),
                opacity .42s cubic-bezier(.32,.72,.14,1) .04s,
                padding-bottom .52s cubic-bezier(.32,.72,.14,1);
    will-change: height, opacity;
}
.v2-faq__item[open] .v2-faq__a {
    opacity: 1;
    padding-bottom: 22px;
    height: auto;
}
/* Während die JS-Animation läuft, setzt sie inline height. Final entfernt sie inline + lässt auto greifen. */
.v2-section[data-theme="light"] .v2-faq__a,
.v2-section[data-theme="mist"] .v2-faq__a { color: var(--muted); }

/* ── Stats / Numbers ─────────────────────────────────────────── */
.v2-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(14px, 2vw, 22px);
}
.v2-stats__item {
    padding: clamp(22px, 2.5vw, 34px);
    display: grid; gap: 10px;
}
.v2-stats__num {
    font: 800 clamp(42px, 5vw, 72px)/1 'Montserrat', sans-serif;
    color: var(--v2-accent);
    letter-spacing: -.02em;
}
.v2-stats__label {
    font: 700 12px/1.3 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255,255,255,.62);
}
.v2-stats__desc { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.6; margin: 4px 0 0; }
.v2-section[data-theme="light"] .v2-stats__label,
.v2-section[data-theme="mist"] .v2-stats__label { color: var(--muted); }
.v2-section[data-theme="light"] .v2-stats__desc,
.v2-section[data-theme="mist"] .v2-stats__desc { color: var(--text); }

/* ── Testimonials ────────────────────────────────────────────── */
.v2-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.v2-testimonials__item { padding: 28px; display: grid; gap: 18px; }
.v2-testimonials__quote {
    font: 500 17px/1.55 'Montserrat', sans-serif;
    color: inherit;
    margin: 0;
    position: relative;
}
.v2-testimonials__quote::before {
    content: '"';
    position: absolute;
    top: -28px; left: -8px;
    font: 800 64px/1 'Montserrat', sans-serif;
    color: var(--v2-accent);
    opacity: .35;
}
.v2-testimonials__author {
    display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center;
}
.v2-testimonials__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--v2-accent), #6b2530);
    display: grid; place-items: center;
    color: #fff; font: 700 14px 'Montserrat', sans-serif;
}
.v2-testimonials__name { font: 700 14px 'Montserrat', sans-serif; }
.v2-testimonials__role { font-size: 12px; color: rgba(255,255,255,.55); }
.v2-section[data-theme="light"] .v2-testimonials__role,
.v2-section[data-theme="mist"] .v2-testimonials__role { color: var(--muted); }

/* ── Timeline ────────────────────────────────────────────────── */
.v2-timeline { position: relative; padding-left: 38px; max-width: 820px; }
.v2-timeline::before {
    content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--v2-accent), rgba(189,141,73,.1));
}
.v2-timeline__item { position: relative; padding-bottom: 32px; }
.v2-timeline__item::before {
    content: '';
    position: absolute;
    left: -32px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--v2-accent);
    box-shadow: 0 0 0 4px rgba(189,141,73,.22);
}
.v2-timeline__date {
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--v2-accent);
    margin-bottom: 6px;
}
.v2-timeline__title { font: 700 18px/1.3 'Montserrat', sans-serif; margin: 0 0 6px; }
.v2-timeline__desc { color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.65; margin: 0; }
.v2-section[data-theme="light"] .v2-timeline__desc,
.v2-section[data-theme="mist"] .v2-timeline__desc { color: var(--muted); }

/* ── Feature Grid ────────────────────────────────────────────── */
.v2-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.v2-features__item { padding: 26px; display: grid; gap: 14px; align-content: start; }
.v2-features__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(189,141,73,.16);
    color: var(--v2-accent);
}
.v2-features__icon svg { width: 22px; height: 22px; }
.v2-features__title { font: 700 17px/1.3 'Montserrat', sans-serif; margin: 0; }
.v2-features__desc { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.6; margin: 0; }
.v2-section[data-theme="light"] .v2-features__desc,
.v2-section[data-theme="mist"] .v2-features__desc { color: var(--muted); }

/* ── Pricing ─────────────────────────────────────────────────── */
.v2-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}
.v2-pricing__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-pricing__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-pricing__tier {
    padding: 32px 30px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 18px;
    position: relative;
    min-height: 360px;
}
.v2-pricing__tier--highlight {
    --v2-glass-lift: 0px;
    border-color: rgba(189, 141, 73, .55);
    background: linear-gradient(180deg, rgba(189, 141, 73, .12), rgba(189, 141, 73, .04));
    box-shadow: 0 26px 60px rgba(189, 141, 73, .18), inset 0 1px 0 rgba(255,255,255,.1);
}
.v2-pricing__tier--highlight::before { display: none; }
.v2-pricing__tier--highlight[data-badge]::before {
    display: block;
    content: attr(data-badge);
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--v2-accent);
    color: #15110c;
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.v2-pricing__name {
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--v2-accent);
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0;
}
.v2-pricing__name::before {
    content: ''; width: 22px; height: 1px; background: var(--v2-accent);
}
.v2-pricing__price {
    font: 800 clamp(28px, 3.4vw, 42px)/1.05 'Montserrat', sans-serif;
    color: inherit;
    letter-spacing: -.02em;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
}
.v2-pricing__price small {
    font-size: 12px;
    font-weight: 600;
    opacity: .55;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
}
.v2-pricing__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.v2-pricing__features li {
    padding-left: 24px;
    position: relative;
    font-size: 14.5px;
    color: rgba(255,255,255,.78);
    line-height: 1.5;
}
.v2-pricing__features li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--v2-accent);
    border-bottom: 2px solid var(--v2-accent);
    transform: rotate(-45deg);
}
.v2-section[data-theme="light"] .v2-pricing__features li,
.v2-section[data-theme="mist"] .v2-pricing__features li { color: var(--text); }
.v2-pricing__cta {
    align-self: end;
    margin-top: 4px;
    padding: 12px 18px;
    background: var(--v2-accent);
    border: 1px solid var(--v2-accent);
    color: #15110c;
    border-radius: 999px;
    font: 700 12px/1 'Montserrat', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.v2-pricing__cta:hover { background: #a9793a; color: #fff; border-color: #a9793a; }
.v2-pricing__tier--highlight .v2-pricing__cta { background: var(--v2-accent); color: #15110c; border-color: var(--v2-accent); }

/* ── List Embed (events / news) ──────────────────────────────── */
.v2-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.v2-list__item {
    padding: 24px;
    display: grid; gap: 12px;
    align-content: start;
    text-decoration: none;
    color: inherit;
}
.v2-list__date {
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--v2-accent);
}
.v2-list__title { font: 700 18px/1.3 'Montserrat', sans-serif; margin: 0; }
.v2-list__excerpt { font-size: 14.5px; color: rgba(255,255,255,.72); line-height: 1.6; margin: 0; }
.v2-list__cta {
    margin-top: 4px;
    font: 700 12px/1 'Montserrat', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--v2-accent);
    display: inline-flex; align-items: center; gap: 6px;
}
.v2-list__cta::after { content: '→'; transition: transform .2s ease; }
.v2-list__item:hover .v2-list__cta::after { transform: translateX(4px); }
.v2-section[data-theme="light"] .v2-list__excerpt,
.v2-section[data-theme="mist"] .v2-list__excerpt { color: var(--muted); }

/* ── Mix Layout (text + list embed split) ────────────────────── */
.v2-mix {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}
.v2-mix__intro { display: grid; gap: 18px; max-width: 480px; }
@media (max-width: 900px) {
    .v2-glass-lounge .v2-glass-lounge__inner,
    .v2-mix { grid-template-columns: 1fr; }
    .v2-pricing__tier--highlight { transform: none; }
}

/* CTA buttons used inside templates */
.v2-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    font: 700 13px/1 'Montserrat', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, transform .12s ease, border-color .15s ease;
}
.v2-btn:hover { transform: translateY(-1px); }
.v2-btn--gold { background: var(--gold); color: #15110c; border-color: var(--gold); }
.v2-btn--gold:hover { background: #cf9b56; border-color: #cf9b56; }
.v2-btn--ghost { color: inherit; border-color: rgba(255,255,255,.22); }
.v2-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.v2-section[data-theme="light"] .v2-btn--ghost,
.v2-section[data-theme="mist"] .v2-btn--ghost { border-color: rgba(17,16,14,.18); }

/* ════════════════════════════════════════════════════════════════════
   Powered by MKurti.ch — Premium Footer Strip
   ════════════════════════════════════════════════════════════════════ */
.powered-by {
    background: #08070a;
    padding: 0;
    border-top: 1px solid rgba(189, 141, 73, .14);
    position: relative;
    overflow: hidden;
}
.powered-by::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(189, 141, 73, .12) 20%,
        rgba(189, 141, 73, .8) 50%,
        rgba(189, 141, 73, .12) 80%,
        transparent 100%);
    animation: powerByShimmer 6s ease-in-out infinite;
}
@keyframes powerByShimmer {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}
.powered-by__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.5vw, 18px);
    padding: 22px clamp(18px, 4vw, 42px);
    color: rgba(244, 234, 219, .55);
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: color .25s ease, background .25s ease;
    position: relative;
}
.powered-by__link:hover {
    color: var(--gold);
    background: linear-gradient(180deg, rgba(189, 141, 73, .04), rgba(189, 141, 73, .01));
}
.powered-by__pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(189, 141, 73, .5);
    animation: powerByPulse 2.4s ease-in-out infinite;
    flex: 0 0 auto;
}
@keyframes powerByPulse {
    0% { box-shadow: 0 0 0 0 rgba(189, 141, 73, .55); }
    70% { box-shadow: 0 0 0 12px rgba(189, 141, 73, 0); }
    100% { box-shadow: 0 0 0 0 rgba(189, 141, 73, 0); }
}
.powered-by__label {
    font: 700 10px/1 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: .28em;
    text-transform: uppercase;
}
.powered-by__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f4eadb;
    transition: color .25s ease;
}
.powered-by__link:hover .powered-by__brand { color: var(--gold); }
.powered-by__brand svg {
    width: 18px; height: auto;
    color: var(--gold);
    transition: transform .35s cubic-bezier(.22,.94,.32,1.04);
}
.powered-by__link:hover .powered-by__brand svg { transform: translateY(-1px) rotate(-3deg); }
.powered-by__brand span {
    font: 800 13px/1 'Montserrat', Arial, sans-serif;
    letter-spacing: .04em;
}
.powered-by__brand em {
    font-style: normal;
    font-weight: 500;
    opacity: .55;
    letter-spacing: .12em;
    margin-left: 2px;
}
.powered-by__arrow {
    color: var(--gold);
    font: 700 16px/1 sans-serif;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s ease, transform .25s ease;
}
.powered-by__link:hover .powered-by__arrow {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 540px) {
    .powered-by__link { gap: 10px; padding: 18px 14px; flex-wrap: wrap; }
    .powered-by__label { font-size: 9px; letter-spacing: .2em; }
    .powered-by__brand span { font-size: 12px; }
}
body:has(.admin-nav) > .powered-by { display: none !important; }

/* (Section-head admin styling now lives near .admin-page > .section-head:first-child above) */

/* Panel typography normalization in admin shell */
body:has(.admin-nav) .admin-page .panel h1,
body:has(.admin-nav) .admin-page .panel h2 {
    font-size: clamp(15px, 1.4vw, 18px) !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 0 12px !important;
    color: var(--ink);
    font-weight: 800;
}
body:has(.admin-nav) .admin-page .panel h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
}
body:has(.admin-nav) .admin-page .panel .eyebrow {
    font: 700 10px/1 'JetBrains Mono', 'Courier New', monospace !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    margin: 0 0 10px !important;
}
body:has(.admin-nav) .admin-page .panel {
    padding: 22px 24px;
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(17,16,14,.04);
}
body:has(.admin-nav) .admin-page .portal-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
body:has(.admin-nav) .admin-page .portal-list li {
    padding: 10px 12px;
    background: rgba(17,16,14,.03);
    border-radius: 6px;
    display: grid;
    gap: 4px;
}
body:has(.admin-nav) .admin-page .portal-list li strong { font: 700 13px 'Montserrat', sans-serif; color: var(--ink); }
body:has(.admin-nav) .admin-page .portal-list li span { font-size: 11.5px; color: var(--muted); }

/* Quick-action: Zur Webseite (gold accent, sticks at top) */
.admin-quick-frontend {
    background: linear-gradient(135deg, var(--gold), #cf9b56) !important;
    color: #15110c !important;
    border-color: var(--gold) !important;
}
.admin-quick-frontend:hover { background: linear-gradient(135deg, #cf9b56, var(--gold)) !important; transform: translateX(0) scale(1.02) !important; }
.admin-quick-frontend .admin-quick-icon { color: #15110c; }

/* ── Portal: Quickbar (kleine Pill-Buttons statt Mega-Karten) ─── */
.portal-quickbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 22px;
}
.portal-quickbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 250, 242, .04);
    border: 1px solid rgba(255, 250, 242, .12);
    color: rgba(255, 250, 242, .85);
    border-radius: 999px;
    font: 600 12px/1 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.portal-quickbar__item svg { width: 14px; height: 14px; flex: 0 0 auto; }
.portal-quickbar__item:hover {
    background: rgba(189, 141, 73, .14);
    border-color: rgba(189, 141, 73, .4);
    color: var(--gold);
}

/* ── Portal: Heute-zu-tun ─────────────────────────────────────── */
.portal-todos { margin-bottom: 22px; }
.portal-todos .eyebrow {
    color: var(--gold);
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 10px;
}
.portal-todos__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}
.portal-todo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(255, 250, 242, .04), rgba(255, 250, 242, .02));
    border: 1px solid rgba(255, 250, 242, .1);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    color: rgba(255, 250, 242, .9);
    text-decoration: none;
    transition: background .15s ease, transform .12s ease;
}
.portal-todo:hover { background: rgba(189, 141, 73, .08); transform: translateX(2px); }
.portal-todo--warn { border-left-color: #d8b46a; }
.portal-todo--info { border-left-color: var(--forest); }
.portal-todo__num {
    font: 800 22px/1 'Montserrat', sans-serif;
    color: var(--gold);
    flex: 0 0 auto;
    min-width: 24px;
}
.portal-todo__label {
    flex: 1 1 auto;
    font: 600 13px/1.3 'Montserrat', sans-serif;
}
.portal-todo__arrow { color: rgba(255, 250, 242, .4); transition: color .15s ease, transform .12s ease; }
.portal-todo:hover .portal-todo__arrow { color: var(--gold); transform: translateX(3px); }

/* Hide old portal-actions if still present */
body:has(.admin-nav) .admin-page .portal-actions { display: none !important; }

/* ── Shop Dashboard Panels ────────────────────────────────────── */
.shop-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.shop-dashboard__panel {
    padding: 18px 20px;
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 38px rgba(17,16,14,.05);
}
.shop-dashboard__panel .eyebrow {
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 6px;
}
.shop-dashboard__panel h2 {
    font: 700 18px/1.2 'Montserrat', sans-serif;
    margin: 0 0 14px;
    color: var(--ink);
}
.health-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.health-list__item {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(17,16,14,.02);
    font-size: 13px;
}
.health-list__item:hover { background: rgba(189,141,73,.06); }
.health-list__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--muted);
}
.health-list__item--ok .health-list__dot { background: #5fa371; }
.health-list__item--warn .health-list__dot { background: #d8b46a; }
.health-list__item--off .health-list__dot { background: #b94c4c; }
.health-list__item--todo .health-list__dot { background: #888; }
.health-list__label { color: var(--text); font-weight: 600; }
.health-list__value {
    color: var(--ink);
    font: 700 12px/1 'JetBrains Mono', monospace;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(17,16,14,.04);
}
a.health-list__value:hover { background: var(--gold); color: #15110c; }

/* ════════════════════════════════════════════════════════════════════
   PRODUCT ADMIN — Tabs, Table, Pills, Drawer
   ════════════════════════════════════════════════════════════════════ */

/* Status Tabs */
.prod-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 4px 0 18px;
    padding: 4px;
    background: rgba(17,16,14,.04);
    border-radius: 10px;
    border: 1px solid var(--line);
    width: fit-content;
}
.prod-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--muted);
    font: 700 12px/1 'Montserrat', Arial, sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.prod-tab:hover { color: var(--ink); background: rgba(189,141,73,.08); }
.prod-tab.is-active {
    background: var(--ink);
    color: #fffaf2;
}
.prod-tab__count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(189,141,73,.18);
    color: var(--gold);
    font: 700 10px/1 'JetBrains Mono', monospace;
}
.prod-tab.is-active .prod-tab__count { background: var(--gold); color: #15110c; }

/* Pills */
.prod-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font: 700 10.5px/1 'JetBrains Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(17,16,14,.06);
    color: var(--ink);
    white-space: nowrap;
}
.prod-pill--ok { background: rgba(95,163,113,.16); color: #2e6a45; }
.prod-pill--warn { background: rgba(216,180,106,.22); color: #8a6520; }
.prod-pill--mute { background: rgba(117,109,98,.16); color: var(--muted); }
.prod-pill--fail { background: rgba(185,76,76,.16); color: #8b3535; }
.prod-pill--neutral { background: rgba(17,16,14,.06); color: var(--ink); }

/* Table */
.prod-table-wrap {
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(17,16,14,.05);
}
.prod-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.prod-table thead th {
    text-align: left;
    padding: 12px 14px;
    background: rgba(17,16,14,.04);
    color: var(--muted);
    font: 700 10.5px/1 'JetBrains Mono', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}
.prod-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(222,212,196,.5);
    vertical-align: middle;
}
.prod-table tbody tr.prod-row {
    cursor: pointer;
    transition: background .12s ease;
}
.prod-table tbody tr.prod-row:hover { background: rgba(189,141,73,.06); }
.prod-table tbody tr.prod-row:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.prod-table tbody tr:last-child td { border-bottom: 0; }
.prod-table strong { display: block; color: var(--ink); font: 700 13px 'Montserrat', sans-serif; }
.prod-table small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.prod-empty { padding: 28px; text-align: center; color: var(--muted); }

/* === Full-Width Editor (replaces drawer) === */
.prod-editor {
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(17,16,14,.05);
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}
.prod-editor.is-readonly input,
.prod-editor.is-readonly select,
.prod-editor.is-readonly textarea {
    background: rgba(17,16,14,.04);
    cursor: not-allowed;
    color: var(--muted);
}
.prod-editor__head {
    padding: 18px 24px;
    background: linear-gradient(180deg, #fffaf2 0%, #f6f1e8 100%);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}
.prod-editor__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(17,16,14,.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: 700 12px/1 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background .15s ease;
}
.prod-editor__back:hover { background: var(--ink); color: #fffaf2; border-color: var(--ink); }
.prod-editor__back svg { width: 16px; height: 16px; }
.prod-editor__head-text .eyebrow {
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 4px;
}
.prod-editor__head-text h2 {
    margin: 0;
    font: 700 22px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
}
.prod-editor__head-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.prod-editor__dirty {
    color: var(--gold);
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.prod-editor__notice {
    padding: 12px 24px;
    background: rgba(216,180,106,.18);
    border-bottom: 1px solid rgba(216,180,106,.3);
    color: #6e4f12;
    font-size: 13px;
}
.prod-editor__notice strong { color: var(--ink); }

.prod-editor__tabs {
    display: flex;
    gap: 2px;
    padding: 0 16px;
    background: #fffaf2;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: thin;
}
.prod-editor__tab {
    padding: 12px 14px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font: 700 12px/1 'Montserrat', sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
}
.prod-editor__tab:hover { color: var(--ink); }
.prod-editor__tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.prod-editor__body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}
.prod-editor__section { display: none; flex-direction: column; gap: 16px; }
.prod-editor__section.is-active { display: flex; }
.prod-editor__section .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prod-editor__section .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 720px) {
    .prod-editor__section .grid-2,
    .prod-editor__section .grid-3 { grid-template-columns: 1fr; }
}
.prod-editor__section label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.prod-editor__section input,
.prod-editor__section select,
.prod-editor__section textarea {
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font: 500 14px/1.4 'Montserrat', Arial, sans-serif;
    color: var(--ink);
}
.prod-editor__section input:focus,
.prod-editor__section select:focus,
.prod-editor__section textarea:focus { outline: none; border-color: var(--gold); }
.prod-editor__cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}
.prod-editor__cat {
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px 12px;
    background: rgba(17,16,14,.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.prod-editor__cat:hover { background: rgba(189,141,73,.08); }
.prod-editor.is-readonly .prod-editor__cat { cursor: not-allowed; opacity: .7; }

.prod-editor__review-state {
    padding: 18px;
    background: rgba(189,141,73,.08);
    border: 1px solid rgba(189,141,73,.22);
    border-radius: 10px;
}
.prod-editor__review-state .eyebrow {
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 8px;
}
.prod-editor__review-state strong { display: block; font: 700 18px 'Montserrat', sans-serif; color: var(--ink); margin-bottom: 4px; }
.prod-editor__review-state small { color: var(--muted); }
.prod-editor__rejection { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(189,141,73,.25); }
.prod-editor__rejection p { margin: 0; color: var(--text); font-size: 13px; }
.prod-editor__review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-editor__review-actions .btn { padding: 8px 14px; font-size: 12px; }

.prod-editor__meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prod-editor__meta-list li {
    padding: 10px 12px;
    background: rgba(17,16,14,.03);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text);
}
.prod-editor__meta-list strong { color: var(--ink); margin-right: 6px; }

.prod-editor__foot {
    padding: 18px 28px;
    border-top: 1px solid var(--line);
    background: #fffaf2;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
}

/* === Unsaved changes confirm dialog === */
.prod-confirm { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.prod-confirm[hidden] { display: none; }
.prod-confirm__backdrop {
    position: absolute; inset: 0;
    background: rgba(8,7,5,.6);
    backdrop-filter: blur(4px);
}
.prod-confirm__panel {
    position: relative;
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    width: min(440px, calc(100vw - 32px));
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.prod-confirm__panel h3 {
    margin: 0 0 8px;
    font: 700 20px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
}
.prod-confirm__panel p { margin: 0 0 18px; color: var(--text); font-size: 14px; line-height: 1.5; }
.prod-confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* === Public Product Page (no hero — product is the focus) === */
.product-page { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 90px); background: var(--paper); }
.product-page__breadcrumb {
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.product-page__breadcrumb a {
    color: var(--muted);
    font: 700 11px/1 'Montserrat', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .15s ease;
}
.product-page__breadcrumb a:hover { color: var(--ink); }
.product-page__breadcrumb span:not(.is-current) { color: var(--line); font-size: 11px; }
.product-page__breadcrumb .is-current {
    color: var(--ink);
    font: 700 11px/1 'Montserrat', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.product-page__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}
.product-page__badge { top: 18px; left: 18px; }
.product-page__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Modern flat overrides — no rounded chrome, smaller title, room for long names */
.product-page__title {
    font: 800 clamp(20px, 2.2vw, 30px)/1.2 'Montserrat', sans-serif !important;
    letter-spacing: -.005em !important;
    margin: 0 0 6px !important;
}
.product-page__eyebrow {
    color: var(--muted) !important;
    font: 700 11px/1 'Montserrat', sans-serif !important;
    letter-spacing: .16em !important;
}
.product-page__price {
    font: 700 clamp(20px, 1.8vw, 24px)/1 'Montserrat', sans-serif !important;
    font-variant-numeric: tabular-nums;
}
.product-page__stock {
    border-radius: 0 !important;
    padding: 6px 10px !important;
    font: 800 10px/1 'Montserrat', sans-serif !important;
    letter-spacing: .14em !important;
}
.product-page__supplier {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 14px 0 !important;
    margin: 8px 0 !important;
    font-size: 13px !important;
    color: var(--muted) !important;
}
.product-page__supplier strong, .product-page__supplier a strong { color: var(--ink); }
.product-page__supplier a { text-decoration: underline; text-underline-offset: 3px; }
.product-page__form {
    background: transparent !important;
    border: 0 !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    padding: 22px 0 0 !important;
    margin-top: 4px !important;
    gap: 18px !important;
}
.product-page__qty input {
    border-radius: 0 !important;
    background: transparent !important;
    border: 1px solid var(--line) !important;
}
.product-page__qty input:focus { border-color: var(--ink); outline: none; }
.product-page__cta .btn,
.product-page__cta .btn.primary,
.product-page__cta .btn.ghost {
    border-radius: 0 !important;
    min-height: 52px;
    padding: 14px 24px;
    font-size: 11px;
    letter-spacing: .14em;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.product-page__cta .btn:hover { transform: none; box-shadow: none; }
.product-page__cta .btn.primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.product-page__cta .btn.primary:hover {
    background: var(--forest);
    border-color: var(--forest);
}
.product-page__cta .btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.product-page__cta .btn.ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}
.product-page__notice {
    border-radius: 0 !important;
    background: transparent !important;
    border: 1px solid var(--line) !important;
    padding: 12px 14px !important;
    font-size: 12px !important;
}
.product-page__notice strong {
    background: var(--ink);
    color: var(--paper);
    padding: 3px 7px;
    margin-right: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    letter-spacing: .12em;
}
.product-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
@media (max-width: 760px) { .product-page__layout { grid-template-columns: 1fr; } }
.product-page__media {
    background: linear-gradient(135deg, #fffaf2 0%, #ece4d7 100%);
    border-radius: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    position: relative;
}
.product-page__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-page__media-placeholder { color: var(--muted); }
.product-page__content { display: flex; flex-direction: column; gap: 14px; }
.product-page__eyebrow {
    margin: 0;
    color: var(--gold);
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.product-page__title {
    margin: 0;
    font: 800 clamp(28px, 3.6vw, 44px)/1.1 'Montserrat', sans-serif;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.product-page__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 8px 0 4px;
}
.product-page__price {
    font: 800 clamp(24px, 2.6vw, 30px)/1 'Montserrat', sans-serif;
    color: var(--ink);
}
.product-page__stock {
    padding: 5px 12px;
    border-radius: 999px;
    font: 700 11px/1 'JetBrains Mono', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.product-page__stock--ok { background: rgba(95,163,113,.16); color: #2e6a45; }
.product-page__stock--warn { background: rgba(216,180,106,.22); color: #8a6520; }
.product-page__stock--fail { background: rgba(185,76,76,.16); color: #8b3535; }
.product-page__stock--mute { background: rgba(117,109,98,.14); color: var(--muted); }
.product-page__delivery { font-size: 13px; color: var(--muted); }
.product-page__description { color: var(--text); line-height: 1.7; font-size: 15px; }
.product-page__supplier {
    margin: 4px 0 0;
    padding: 12px 14px;
    background: rgba(17,16,14,.04);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text);
}
.product-page__form {
    margin-top: 8px;
    padding: 22px;
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.product-page__qty { display: flex; align-items: center; gap: 14px; }
.product-page__qty span { font: 700 12px/1 'Montserrat', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.product-page__qty input { width: 80px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font: 600 14px 'Montserrat', sans-serif; text-align: center; }
.product-page__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.product-page__notice {
    padding: 12px 14px;
    background: rgba(216,180,106,.18);
    border-radius: 6px;
    font-size: 12.5px;
    color: var(--text);
}
.product-page__notice strong { color: var(--ink); margin-right: 6px; }

/* === Legacy drawer styles (still supported if used elsewhere) === */
.prod-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.prod-drawer[aria-hidden="true"] { display: none; }
.prod-drawer.is-open { display: block; pointer-events: auto; }
.prod-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(8,7,5,.5);
    opacity: 0;
    transition: opacity .25s ease;
}
.prod-drawer.is-open .prod-drawer__backdrop { opacity: 1; }
.prod-drawer__panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(720px, 96vw);
    background: linear-gradient(180deg, #fffaf2 0%, #f6f1e8 100%);
    box-shadow: -30px 0 80px rgba(17,16,14,.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22,.94,.32,1.04);
}
.prod-drawer.is-open .prod-drawer__panel { transform: translateX(0); }
.prod-drawer__head {
    padding: 20px 26px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    background: #fffaf2;
}
.prod-drawer__head .eyebrow {
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 6px;
}
.prod-drawer__head h2 {
    margin: 0;
    font: 700 22px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
}
.prod-drawer__head-actions { display: flex; align-items: center; gap: 8px; }
.prod-drawer__close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.prod-drawer__close:hover { background: var(--ink); color: #fffaf2; }

.prod-drawer__tabs {
    display: flex;
    gap: 2px;
    padding: 0 16px;
    background: #fffaf2;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
}
.prod-drawer__tab {
    padding: 12px 14px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font: 700 11.5px/1 'Montserrat', sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
}
.prod-drawer__tab:hover { color: var(--ink); }
.prod-drawer__tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.prod-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.prod-drawer__section { display: none; flex-direction: column; gap: 14px; }
.prod-drawer__section.is-active { display: flex; }
.prod-drawer__section .grid-2 { grid-template-columns: 1fr 1fr; }
.prod-drawer__section label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.prod-drawer__section label strong { color: var(--ink); }
.prod-drawer__section input,
.prod-drawer__section select,
.prod-drawer__section textarea {
    background: #fffaf2;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font: 500 14px/1.4 'Montserrat', Arial, sans-serif;
    color: var(--ink);
}
.prod-drawer__section input:focus,
.prod-drawer__section select:focus,
.prod-drawer__section textarea:focus { outline: none; border-color: var(--gold); }
.prod-drawer__cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}
.prod-drawer__cat {
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    padding: 10px 12px;
    background: rgba(17,16,14,.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.prod-drawer__cat:hover { background: rgba(189,141,73,.08); }
.prod-drawer__cat input:checked ~ span { color: var(--gold); font-weight: 700; }

.prod-drawer__review-state {
    padding: 16px;
    background: rgba(189,141,73,.06);
    border: 1px solid rgba(189,141,73,.18);
    border-radius: 8px;
}
.prod-drawer__review-state .eyebrow {
    font: 700 10px/1 'JetBrains Mono', monospace;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 6px;
}
.prod-drawer__review-state strong { display: block; font: 700 18px 'Montserrat', sans-serif; color: var(--ink); }
.prod-drawer__review-state small { color: var(--muted); }
.prod-drawer__rejection { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(189,141,73,.2); }
.prod-drawer__rejection p { margin: 0; color: var(--text); font-size: 13px; }
.prod-drawer__review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0;
}
.prod-drawer__review-actions .btn { padding: 8px 14px; font-size: 12px; }

.prod-drawer__meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.prod-drawer__meta-list li {
    padding: 10px 12px;
    background: rgba(17,16,14,.03);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text);
}
.prod-drawer__meta-list strong { color: var(--ink); margin-right: 6px; }

.prod-drawer__foot {
    padding: 16px 26px;
    border-top: 1px solid var(--line);
    background: #fffaf2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 720px) {
    .prod-drawer__panel { width: 100vw; }
    .prod-drawer__head h2 { font-size: 18px; }
    .prod-drawer__tabs { padding: 0 8px; }
    .prod-drawer__tab { padding: 10px 10px; font-size: 11px; }
}

/* ── Vorstand / Team ─────────────────────────────────────────── */
.v2-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2vw, 22px);
}
.v2-team__card {
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    text-decoration: none;
    color: inherit;
    transition: transform .26s ease, border-color .2s ease, box-shadow .26s ease;
}
.v2-team__photo {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(189,141,73,.18), rgba(23,61,53,.32));
}
.v2-team__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s cubic-bezier(.22,.94,.32,1.04);
    display: block;
}
.v2-team__card:hover .v2-team__photo img { transform: scale(1.04); }
.v2-team__photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,7,5,.85) 100%);
    pointer-events: none;
}
.v2-team__photo--placeholder {
    display: grid; place-items: center;
    color: rgba(255,255,255,.18);
}
.v2-team__photo--placeholder::before {
    content: '';
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(189,141,73,.18);
}
.v2-team__body {
    padding: 22px 22px 24px;
    display: grid;
    gap: 6px;
    align-content: start;
}
.v2-team__role {
    font: 700 10px/1 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--v2-accent);
    margin: 0;
}
.v2-team__name {
    font: 700 19px/1.2 'Montserrat', Arial, sans-serif;
    color: inherit;
    margin: 0;
}
.v2-team__bio {
    margin: 8px 0 0;
    color: rgba(244, 234, 219, .68);
    font-size: 14px;
    line-height: 1.6;
}
.v2-section[data-theme="light"] .v2-team__bio,
.v2-section[data-theme="mist"] .v2-team__bio { color: var(--muted); }
.v2-team__contacts {
    margin-top: 12px;
    display: flex; gap: 12px;
}
.v2-team__contacts a {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(244, 234, 219, .06);
    border: 1px solid rgba(244, 234, 219, .12);
    color: rgba(244, 234, 219, .72);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.v2-team__contacts a:hover { background: var(--gold); color: #15110c; border-color: var(--gold); }
.v2-team__contacts svg { width: 14px; height: 14px; }
.v2-section[data-theme="light"] .v2-team__contacts a,
.v2-section[data-theme="mist"] .v2-team__contacts a {
    background: rgba(17,16,14,.04);
    border-color: rgba(17,16,14,.1);
    color: var(--muted);
}

/* =========================================================
   SHOP ARCHIVE — modern premium grid (Drexel-inspired,
   redesigned for CCC: dark accents, generous whitespace,
   minimal chrome, no 2010 sidebar-card-shadow vibe)
   ========================================================= */
.shop-archive {
    background: var(--paper);
    padding: clamp(48px, 6vw, 88px) 0 clamp(80px, 9vw, 120px);
}
.shop-archive--supplier,
.shop-archive--brand,
.shop-archive--category {
    padding-top: clamp(28px, 3vw, 44px);
}

/* Shop-Hero als Card in der rechten Content-Spalte (rechts neben Sidebar) */
.shop-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: clamp(28px, 3vw, 44px);
    min-height: clamp(280px, 36vw, 420px);
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(16,17,14,.78) 0%, rgba(16,17,14,.42) 55%, rgba(16,17,14,.18) 100%),
        url('cigar-lounge-hero.png') center 62% / cover;
    color: #fff;
    padding: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px);
}
.shop-hero__content { max-width: 720px; position: relative; z-index: 2; }
.shop-hero .eyebrow {
    color: rgba(255,255,255,.78);
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin: 0 0 18px;
}
.shop-hero h1 {
    color: #fff;
    margin: 0 0 18px;
    font: 800 clamp(34px, 5vw, 68px)/1 'Montserrat', sans-serif;
    letter-spacing: -.015em;
    text-transform: none;
}
.shop-hero p {
    color: rgba(255,255,255,.82);
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.55;
    max-width: 540px;
    margin: 0;
}
.shop-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.shop-hero__actions .btn { border-radius: 999px; }
.shop-hero__actions .btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
}
.shop-hero__actions .btn.ghost:hover { border-color: #fff; }
@media (max-width: 980px) {
    .shop-hero { min-height: 260px; padding: 36px 24px; }
}

/* Schmaler Sub-Header (kein riesiger Hero) für Lieferanten/Kategorie/Marken-Archive */
.shop-archive-head {
    margin-bottom: clamp(28px, 3vw, 44px);
    padding-bottom: clamp(20px, 2.4vw, 28px);
    border-bottom: 1px solid var(--line);
}
.shop-archive-head__breadcrumb {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.shop-archive-head__breadcrumb a {
    color: var(--muted);
    font: 700 11px/1 'Montserrat', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
}
.shop-archive-head__breadcrumb a:hover { color: var(--ink); }
.shop-archive-head__breadcrumb span:not(.is-current) { color: var(--line); font-size: 11px; }
.shop-archive-head__breadcrumb .is-current {
    color: var(--ink);
    font: 700 11px/1 'Montserrat', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.shop-archive-head .eyebrow {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 800;
    color: var(--gold);
    margin: 0 0 8px;
}
.shop-archive-head h1 {
    font: 800 clamp(28px, 4vw, 56px)/1.05 'Montserrat', sans-serif;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--ink);
    max-width: 800px;
}
.shop-archive-head__lead {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 640px;
    line-height: 1.6;
}
.shop-archive__inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

/* ---- Sidebar (flat, no card, premium) ---- */
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
.shop-sidebar__form { display: flex; flex-direction: column; gap: 36px; }
.shop-sidebar__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 10px;
}
.shop-sidebar__search input {
    border: 0; background: transparent;
    font-family: Arial, sans-serif; font-size: 14px;
    color: var(--ink); width: 100%; padding: 4px 0;
    outline: none; letter-spacing: .01em;
}
.shop-sidebar__search input::placeholder { color: var(--muted); }
.shop-sidebar__search button {
    border-radius: 0; padding: 6px 8px;
    background: transparent; color: var(--ink);
    border: 0; box-shadow: none; min-width: 0;
}
.shop-sidebar__search button:hover { color: var(--gold); }

.shop-sidebar__group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.shop-sidebar__group legend {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px; font-weight: 800;
    color: var(--ink);
    padding: 0 0 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    width: 100%;
}
.shop-sidebar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-sidebar__option {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px; padding: 7px 0;
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: 13.5px; font-weight: 500; letter-spacing: .005em;
    transition: color .12s ease, transform .12s ease;
}
.shop-sidebar__option:hover { color: var(--ink); transform: translateX(2px); }
.shop-sidebar__option.is-active { color: var(--ink); font-weight: 700; }
.shop-sidebar__option.is-active::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; background: var(--gold);
    border-radius: 50%; margin-right: 10px; transform: translateY(-2px);
}
.shop-sidebar__count { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.shop-sidebar__price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.shop-sidebar__price input {
    border: 0; border-bottom: 1px solid var(--line);
    background: transparent; padding: 8px 0;
    font-family: Arial, sans-serif; font-size: 13px;
    color: var(--ink); outline: none; width: 100%;
}
.shop-sidebar__price input:focus { border-bottom-color: var(--ink); }
.shop-sidebar__price span { color: var(--muted); font-size: 12px; }
.shop-sidebar__price .btn {
    grid-column: 1 / -1; margin-top: 8px;
    background: var(--ink); color: var(--paper);
    border: 0; border-radius: 0;
    padding: 12px 16px; font-size: 11px; letter-spacing: .14em;
    transition: background .15s ease;
}
.shop-sidebar__price .btn:hover { background: var(--forest); }

/* ---- Results column ---- */
.shop-results { min-width: 0; }
.shop-results__topbar {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; padding-bottom: 22px; margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.shop-results__count {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    font-size: 11px; font-weight: 700; color: var(--muted);
}
.shop-results__sort label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; font-size: 10.5px;
    letter-spacing: .14em; color: var(--muted); font-weight: 700;
}
.shop-results__sort select {
    border: 0; border-bottom: 1px solid var(--ink);
    background: transparent; padding: 8px 28px 8px 0;
    font-family: Arial, sans-serif; font-size: 13px;
    color: var(--ink); cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2311100e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat; background-position: right center;
}

/* ---- Active filter chips ---- */
.shop-results__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.shop-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 12px 7px 14px;
    border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; font-size: 10.5px;
    font-weight: 700; letter-spacing: .12em;
    border-radius: 0; transition: background .15s ease, color .15s ease;
}
.shop-chip:hover { background: var(--forest); border-color: var(--forest); }
.shop-chip svg { opacity: .7; }
.shop-chip--reset { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.shop-chip--reset:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ---- Product grid (override the legacy card chrome) ---- */
.product-grid--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
}
.product-grid--archive .product-card,
.shop-reco-row .product-card {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 8px 28px rgba(17,16,14,.08), 0 1px 2px rgba(17,16,14,.04);
    padding: 25px;
    overflow: visible;
    display: flex; flex-direction: column; gap: 0;
    transition: box-shadow .2s ease, transform .2s ease;
}
.product-grid--archive .product-card:hover,
.shop-reco-row .product-card:hover {
    box-shadow: 0 16px 44px rgba(17,16,14,.12), 0 2px 4px rgba(17,16,14,.06);
    transform: translateY(-2px);
}
.product-grid--archive .product-card > :not(.product-card__link):not(.product-actions):not(.product-note) { margin: 0; }
.product-grid--archive .product-card > *,
.shop-reco-row .product-card > * { margin-left: 0; margin-right: 0; }
.product-grid--archive .product-card .product-card__link,
.shop-reco-row .product-card .product-card__link { margin: 0 !important; }
.product-card__link { display: block; color: inherit; }
.product-grid--archive .product-media {
    position: relative; aspect-ratio: 4 / 5; height: auto;
    border-radius: 0; border: 0; background: #f0ebe1;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.product-grid--archive .product-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.product-card__link:hover .product-media img { transform: scale(1.04); }
.product-grid--archive .product-media--gold { background: linear-gradient(150deg, #f4ecdb 0%, #d8b078 50%, #f8f3e4 100%); }
.product-grid--archive .product-media--green { background: linear-gradient(150deg, #e8efe9 0%, #5a7a6a 50%, #f4f4ef 100%); }
.product-badge {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 10px; background: var(--ink); color: var(--paper);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; font-size: 10px;
    font-weight: 800; letter-spacing: .14em;
    border-radius: 0; z-index: 2;
}
.product-badge--hot { background: var(--wine); }
.product-badge--sold { background: var(--muted); }

.product-grid--archive .product-card__eyebrow {
    margin: 22px 0 6px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; font-size: 10.5px;
    letter-spacing: .16em; color: var(--muted); font-weight: 700;
}
.product-grid--archive .product-card h3 {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    text-transform: none; letter-spacing: -.005em;
    font-size: 17px; font-weight: 700;
    line-height: 1.25; color: var(--ink);
}
.product-grid--archive .product-card strong {
    margin: 0 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--ink); letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.product-grid--archive .product-actions {
    display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 4px;
    align-items: stretch;
}
.product-grid--archive .product-actions form { display: contents; }
.product-grid--archive .product-actions .btn {
    width: 100%; margin: 0; border-radius: 0;
    padding: 11px 12px; font-size: 10.5px; letter-spacing: .14em;
    min-height: 42px;
}
.product-grid--archive .product-actions .btn-icon {
    width: 42px; min-width: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
}
.product-grid--archive .product-actions .btn-icon svg { width: 16px; height: 16px; }
.product-grid--archive .product-actions .btn-icon:hover { transform: none; box-shadow: none; }
.product-grid--archive .product-actions .btn.primary {
    background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.product-grid--archive .product-actions .btn.primary:hover { background: var(--forest); border-color: var(--forest); }
.product-grid--archive .product-actions .btn.ghost {
    background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.product-grid--archive .product-actions .btn.ghost:hover { border-color: var(--ink); background: transparent; }
.product-grid--archive .product-note { margin-top: 10px; align-self: flex-start; }

.shop-empty {
    padding: 60px 24px; text-align: center;
    border: 1px dashed var(--line); border-radius: 0;
    color: var(--muted);
    display: flex; flex-direction: column; gap: 16px; align-items: center;
}

/* ---- Pagination ---- */
.shop-pagination {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 28px; border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 6px;
}
.shop-pagination__page,
.shop-pagination__nav,
.shop-pagination__sep {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    color: var(--muted); border: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
    font-variant-numeric: tabular-nums;
}
.shop-pagination__page:hover { color: var(--ink); border-color: var(--line); }
.shop-pagination__page.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.shop-pagination__nav { font-size: 18px; line-height: 1; padding-bottom: 2px; }
.shop-pagination__nav:hover { color: var(--ink); border-color: var(--line); }
.shop-pagination__nav.is-disabled { opacity: .25; pointer-events: none; }
.shop-pagination__sep { color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .shop-archive__inner { grid-template-columns: 1fr; gap: 36px; }
    .shop-sidebar { position: static; }
    .shop-sidebar__form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 24px; }
    .shop-sidebar__search { grid-column: 1 / -1; }
    .product-grid--archive { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .shop-sidebar__form { grid-template-columns: 1fr; }
    .product-grid--archive { grid-template-columns: 1fr; }
    .shop-results__topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =========================================================
   SHOP RECO ROW — used on single product page (Upselling)
   ========================================================= */
.shop-reco-row {
    display: block;
    grid-template-columns: none;
    gap: 0;
    margin-top: clamp(60px, 8vw, 110px);
    border-top: 1px solid var(--line);
    padding-top: clamp(40px, 5vw, 64px);
}
.shop-reco-row__head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 32px; gap: 24px;
}
.shop-reco-row__title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    font-size: clamp(20px, 2.4vw, 28px); font-weight: 800;
    color: var(--ink); margin: 0;
}
.shop-reco-row__lead { color: var(--muted); font-size: 13px; max-width: 360px; margin: 0; }
.shop-reco-row__head .btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.shop-reco-row__head .btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.shop-reco-row .product-grid--archive { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .shop-reco-row .product-grid--archive { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .shop-reco-row .product-grid--archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop-reco-row .product-grid--archive { grid-template-columns: 1fr; } }

/* =========================================================
   WISHLIST — Merken-Button, Picker-Dropdown, Account-Sektion
   ========================================================= */
.product-page__merken {
    margin-top: 18px;
    align-self: flex-start;
}
.btn--wishlist {
    border-radius: 0 !important;
    padding: 12px 18px !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    transition: border-color .15s ease, color .15s ease;
}
.btn--wishlist::-webkit-details-marker { display: none; }
.btn--wishlist:hover { border-color: var(--ink) !important; color: var(--ink) !important; }
.btn--wishlist.is-active { color: var(--wine) !important; border-color: var(--wine) !important; }
.btn--wishlist svg { flex: 0 0 auto; }

.wishlist-picker { position: relative; display: inline-block; }
.wishlist-picker__caret { transition: transform .2s ease; }
.wishlist-picker[open] .wishlist-picker__caret { transform: rotate(180deg); }
.wishlist-picker__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    min-width: 280px;
    background: var(--surface);
    border: 1px solid var(--ink);
    box-shadow: 0 18px 50px rgba(17,16,14,.18);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wishlist-picker__hint {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--muted);
}
.wishlist-picker__option { margin: 0; }
.wishlist-picker__option button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-family: Arial, sans-serif;
    font-size: 13.5px;
    color: var(--ink);
    cursor: pointer;
    transition: background .12s ease;
}
.wishlist-picker__option button:hover { background: var(--paper); }
.wishlist-picker__count { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wishlist-picker__manage {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink);
    text-decoration: none;
    padding-left: 12px;
    padding-bottom: 4px;
}
.wishlist-picker__manage:hover { color: var(--gold); }

/* Account: Merklisten-Sektion */
.wishlist-create { position: relative; }
.wishlist-create > summary { list-style: none; cursor: pointer; }
.wishlist-create > summary::-webkit-details-marker { display: none; }
.wishlist-create__form {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10;
    background: var(--surface);
    border: 1px solid var(--ink);
    padding: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 18px 50px rgba(17,16,14,.18);
    min-width: 320px;
}
.wishlist-create__form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: var(--ink);
    outline: none;
}
.wishlist-create__form input:focus { border-color: var(--ink); }

.wishlists { display: flex; flex-direction: column; gap: 24px; margin-top: 18px; }
.wishlist-list {
    border: 1px solid var(--line);
    padding: 18px 20px;
    background: var(--surface);
}
.wishlist-list__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.wishlist-list__title h3 {
    margin: 0 0 4px;
    font: 700 16px/1.2 'Montserrat', sans-serif;
    text-transform: none;
    color: var(--ink);
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.wishlist-list__badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--ink);
    color: var(--paper);
    font: 800 9.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.wishlist-list__meta {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--muted);
}
.wishlist-list__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-link {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--muted);
    transition: color .15s ease;
}
.btn-link:hover { color: var(--ink); }
.btn-link--danger:hover { color: var(--wine); }
.wishlist-rename > summary { list-style: none; cursor: pointer; }
.wishlist-rename > summary::-webkit-details-marker { display: none; }
.wishlist-rename__form {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.wishlist-rename__form input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 13px;
    outline: none;
    color: var(--ink);
}
.wishlist-rename__form input:focus { border-color: var(--ink); }

.wishlist-list__empty {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
    padding: 12px 0;
}
.wishlist-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.wishlist-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.wishlist-list__item:last-child { border-bottom: 0; }
.wishlist-list__product {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}
.wishlist-list__thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.wishlist-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-list__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wishlist-list__info small {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--muted);
}
.wishlist-list__info strong {
    font: 700 14px/1.3 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
}
.wishlist-list__info span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}
.btn-icon-x {
    background: transparent;
    border: 1px solid var(--line);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
    flex: 0 0 auto;
}
.btn-icon-x:hover { border-color: var(--wine); color: var(--wine); }

/* =========================================================
   CUSTOMER ACCOUNT — calm premium club layout
   Cream main + dark sidebar + soft white cards + warm gold accents
   ========================================================= */
.acc {
    background: var(--paper);
    min-height: calc(100vh - 76px);
    padding: 0;
}
.acc__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    /* Volle Bildschirmbreite — Sidebar bündig links, Content intern zentriert.
       Inner-Centering siehe ~Zeile 1786 (Konto) bzw. ~Zeile 1815 (Admin). */
    max-width: none;
    margin: 0;
    gap: 0;
}

/* ---- Sidebar (dark warm brown) ---- */
/* Kein Inner-Scroll: Sidebar nimmt mind. die Viewport-Höhe zwischen Topbar (76px)
   und Sticky-Info-Bar (64px) an, bleibt sticky. Die Page scrollt natürlich; das
   Wheel-Event wird nicht von einem internen Scroll-Container abgefangen. */
.acc-sidebar {
    background: #2c241d;
    color: #d8cfc1;
    position: sticky;
    top: 76px;
    align-self: start;
    overflow: visible;
    min-height: calc(100vh - 76px - 64px);
}
.acc-sidebar__inner {
    padding: clamp(28px, 3vw, 36px) clamp(20px, 2vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    /* Selbe min-height wie .acc-sidebar — sonst kann das Help-Chip nicht via
       margin-top: auto an den unteren Rand geschoben werden, weil min-height: 100%
       gegen einen Parent ohne definiertes `height` nicht resolved. */
    min-height: calc(100vh - 76px - 64px);
}
.acc-sidebar__title {
    font: 800 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--gold);
    margin: 0;
}
.acc-nav { display: flex; flex-direction: column; align-items: stretch; gap: 1px; }
.acc-nav .acc-nav__item { width: 100%; justify-content: flex-start; }

/* Collapsible groups in admin sidebar */
.acc-nav--admin { gap: 4px; }
.acc-group { width: 100%; }
.acc-group > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(216,207,193,.7);
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.acc-group > summary::-webkit-details-marker { display: none; }
.acc-group > summary:hover { background: rgba(255,255,255,.04); color: #fff; }
.acc-group[open] > summary { color: var(--gold); }
.acc-group__caret { transition: transform .2s ease; opacity: .6; }
.acc-group[open] > summary .acc-group__caret { transform: rotate(180deg); opacity: 1; }
.acc-group__body { display: flex; flex-direction: column; gap: 1px; padding-top: 4px; padding-bottom: 4px; }
.acc-group__body .acc-nav__item { padding-left: 22px; }
.acc-nav__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 14px;
    color: #d8cfc1;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
    text-decoration: none;
    line-height: 1.3;
}
.acc-nav__item:hover { background: rgba(255,255,255,.05); color: #fff; }
.acc-nav__item.is-active {
    background: rgba(189,141,73,.18);
    color: #fff;
}
.acc-nav__item.is-active svg { color: var(--gold); }
.acc-nav__item svg { color: rgba(216,207,193,.7); flex: 0 0 auto; transition: color .15s ease; }
.acc-nav__item:hover svg { color: var(--gold); }

/* Admin/Verwaltung divider in sidebar */
.acc-nav-divider {
    margin-top: 12px;
    padding: 14px 14px 6px;
    border-top: 1px solid rgba(216,207,193,.12);
}
.acc-sidebar__title--admin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold);
    font-size: 10.5px;
    margin: 0;
}
.acc-sidebar__title--admin svg { color: var(--gold); }
.acc-nav--admin .acc-nav__item { font-size: 13.5px; }
.acc-nav--admin .acc-nav__item:hover { background: rgba(189,141,73,.1); }

/* Admin role pill in welcome hero */
.acc-hero__role {
    margin: 14px 0 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px !important;
    color: var(--muted) !important;
}
.acc-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: rgba(189,141,73,.16);
    color: #8a6520;
    border-radius: 999px;
    font: 800 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.acc-hero__role-link {
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--forest);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.acc-hero__role-link:hover { color: var(--ink); }

.acc-help {
    margin-top: auto;
    background: rgba(246,241,232,.06);
    border: 1px solid rgba(246,241,232,.1);
    border-radius: 12px;
    padding: 18px 16px;
    color: #d8cfc1;
}
/* Kompakte Help-Footer-Variante: 3 Icon-Chips + Label */
.acc-help--compact {
    margin-top: auto;
    background: rgba(246,241,232,.04);
    border: 1px solid rgba(246,241,232,.08);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.acc-help--compact .acc-help__chip {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(189,141,73,.14);
    color: var(--gold);
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
.acc-help--compact .acc-help__chip:hover { background: var(--gold); color: #2c241d; }
.acc-help--compact .acc-help__label {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(216,207,193,.78);
    margin-left: auto;
}
.acc-help__icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(189,141,73,.14);
    color: var(--gold);
    display: grid; place-items: center;
    margin-bottom: 12px;
}
.acc-help__title {
    font: 800 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #fff;
    margin: 0 0 4px;
}
.acc-help__lead { font-size: 12.5px; color: rgba(216,207,193,.78); margin: 0 0 10px; line-height: 1.5; }
.acc-help__contact { margin: 0 0 4px; font-size: 12.5px; }
.acc-help__contact a { color: rgba(216,207,193,.92); text-decoration: none; }
.acc-help__contact a:hover { color: var(--gold); }
.acc-help__link {
    display: inline-block;
    margin-top: 8px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.acc-help__link:hover { color: #fff; }

/* ---- Main column ---- */
.acc-main {
    padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2vw, 28px);
    min-width: 0;
}
.acc-flash {
    padding: 14px 18px;
    background: rgba(23,61,53,.08);
    border-left: 3px solid var(--forest);
    color: var(--forest);
    border-radius: 4px;
    font-size: 14px;
}

/* ---- Admin Top-Nav: nutzt das identische .main-nav Styling wie Public-Nav ---- */

/* Sticky-info admin variant */
.sticky-info--admin .sticky-info__item--logout { color: var(--wine); }
.sticky-info--admin .sticky-info__item--logout:hover { color: var(--wine); opacity: .85; }
.sticky-info--admin .sticky-info__item--logout .sticky-info__num { color: var(--wine); }

/* ---- Admin-Pages (Dashboard, Members, Products, Orders, etc.) — wrapped via layout.php into .acc/.acc-main ---- */
.acc-main--admin { padding-top: clamp(28px, 3vw, 44px); }
.acc-main--admin .admin-page {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2vw, 28px);
}
.acc-main--admin .admin-page > .section-head,
.acc-main--admin .admin-page > .section-head:first-child {
    padding: 8px 4px 28px !important;
    border-bottom: 1px solid var(--line) !important;
    /* margin-left/right bleibt auto (zentriert via Unification-Block); nur
       margin-top/bottom werden hier gesetzt. */
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: var(--ink) !important;
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
}
.acc-main--admin .admin-page > .section-head > div { display: block !important; }
.acc-main--admin .admin-page > .section-head > div:first-child > * { display: block !important; }
.acc-main--admin .admin-page > .section-head .admin-actions {
    display: flex !important;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
/* Section-Head Typografie — gilt nicht nur für direkte Children, sondern auch
   für tiefer verschachtelte .section-head Strukturen (z.B. /admin/products mit
   .prod-list-view > .section-head). Sonst übernimmt eine generische h1-Regel
   und macht aus "Produkte" eine 78px-Uppercase-Riesenheadline. */
.acc-main--admin .admin-page .section-head .eyebrow,
.acc-main .admin-page .section-head .eyebrow {
    font: 800 10.5px/1 'Montserrat', sans-serif !important;
    text-transform: uppercase !important; letter-spacing: .16em !important;
    color: var(--gold) !important; margin: 0 0 12px !important;
}
.acc-main--admin .admin-page .section-head h1,
.acc-main .admin-page .section-head h1 {
    font: 700 clamp(28px, 3.4vw, 42px)/1.15 'Montserrat', sans-serif !important;
    color: var(--ink) !important; margin: 0 0 8px !important;
    letter-spacing: -.01em !important; text-transform: none !important;
    overflow-wrap: normal !important;
}
/* Sub-Headings innerhalb der Card-Sektionen — z.B. "Neue Positionen", "Letzte
   Verkäufe" auf /admin/pos. Vorher waren das 46px Uppercase 900-Weight Brocken,
   die mitten im Wort umgebrochen sind. Jetzt einheitlich Sentence-Case ~22px. */
.acc-main--admin .admin-page h2,
.acc-main .admin-page h2 {
    font: 700 clamp(18px, 1.6vw, 22px)/1.25 'Montserrat', sans-serif !important;
    color: var(--ink) !important;
    text-transform: none !important;
    letter-spacing: -.005em !important;
    margin: 0 0 14px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}
.acc-main--admin .admin-page h3,
.acc-main .admin-page h3 {
    font: 700 clamp(15px, 1.3vw, 17px)/1.3 'Montserrat', sans-serif !important;
    color: var(--ink) !important;
    text-transform: none !important;
    margin: 0 0 10px !important;
    overflow-wrap: normal !important;
}
.acc-main--admin .admin-page .section-head p,
.acc-main--admin .admin-page .section-head .lead,
.acc-main .admin-page .section-head p,
.acc-main .admin-page .section-head .lead {
    color: var(--muted) !important; font-size: 15px !important; margin: 0 !important; max-width: 640px;
}
.acc-main--admin .admin-page .section-head .admin-actions,
.acc-main .admin-page .section-head .admin-actions { display: flex; gap: 10px; }
.acc-main--admin [hidden] { display: none !important; }

/* Convert admin sections + cards to white cards with soft shadow */
.acc-main--admin .admin-page .panel,
.acc-main--admin .admin-page .card,
.acc-main--admin .admin-page .table-wrap,
.acc-main--admin .admin-page .form-card,
.acc-main--admin .admin-page .stat-grid,
.acc-main--admin .admin-page .portal-quickbar,
.acc-main--admin .admin-page .form,
.acc-main--admin .admin-page > section:not(.section-head) {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(17,16,14,.05);
    padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
    border: 0;
}
.acc-main--admin .admin-page .stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.acc-main--admin .admin-page .stat-grid > div {
    background: var(--paper);
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 4px;
}
.acc-main--admin .admin-page .stat-grid > div > span {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.acc-main--admin .admin-page .stat-grid > div > strong {
    font: 800 28px/1 'Montserrat', sans-serif;
    color: var(--ink);
}
.acc-main--admin .admin-page .portal-quickbar {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.acc-main--admin .admin-page .portal-quickbar__item {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font: 600 13px Arial, sans-serif;
    transition: border-color .15s ease;
}
.acc-main--admin .admin-page .portal-quickbar__item:hover { border-color: var(--ink); background: #fff; }
.acc-main--admin .admin-page .portal-quickbar__item svg { color: var(--gold); width: 18px; height: 18px; }

/* Tables im Admin-Bereich */
.acc-main--admin .admin-page table { width: 100%; border-collapse: collapse; }
.acc-main--admin .admin-page table thead th {
    text-align: left;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
    padding: 0 14px 14px; border-bottom: 1px solid var(--line);
}
.acc-main--admin .admin-page table tbody td {
    padding: 14px; border-bottom: 1px solid var(--line);
    font-size: 14px; color: var(--ink); vertical-align: middle;
}
.acc-main--admin .admin-page table tbody tr:last-child td { border-bottom: 0; }
.acc-main--admin .admin-page table tbody tr:hover { background: var(--paper); }

/* ---- Page head (Sub-Pages außer Übersicht) ---- */
.acc-pagehead {
    padding: 8px 4px 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
    padding-bottom: 28px;
}
.acc-pagehead .eyebrow {
    font: 800 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--gold);
    margin: 0 0 12px;
}
.acc-pagehead h1 {
    font: 700 clamp(28px, 3.4vw, 42px)/1.15 'Montserrat', sans-serif;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -.01em;
    text-transform: none;
}
.acc-pagehead__lead { color: var(--muted); font-size: 15px; margin: 0; max-width: 640px; }

/* ---- Welcome hero ---- */
.acc-hero {
    position: relative;
    padding: 8px 4px 16px;
    overflow: hidden;
}
.acc-hero h1 {
    font: 700 clamp(28px, 3.4vw, 42px)/1.15 'Montserrat', sans-serif;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -.01em;
    text-transform: none;
}
.acc-hero__crown { color: var(--gold); font-size: .85em; }
.acc-hero p { color: var(--muted); font-size: 15px; margin: 0; max-width: 540px; }
.acc-hero__visual {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: clamp(220px, 32%, 380px);
    background: linear-gradient(90deg, var(--paper) 0%, transparent 30%),
                url('cigar-lounge-hero.png') center / cover;
    opacity: .5;
    pointer-events: none;
    border-radius: 12px;
}

/* ---- Status card ---- */
.acc-status-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(17,16,14,.05);
    padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: clamp(18px, 2.4vw, 36px);
    align-items: center;
}
.acc-status-card__item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.acc-status-card__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex: 0 0 auto;
}
.acc-status-card__icon--ok { background: rgba(23,61,53,.1); color: var(--forest); }
.acc-status-card__icon--pending { background: rgba(189,141,73,.14); color: var(--gold); }
.acc-status-card__icon--fail { background: rgba(107,37,48,.12); color: var(--wine); }
.acc-status-card__icon--mute { background: rgba(117,109,98,.1); color: var(--muted); }
.acc-status-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-status-card__label {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin: 0;
}
.acc-status-card__value {
    font: 700 17px/1.2 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    margin: 4px 0 2px;
}
.acc-status-card__sub { font-size: 13px; color: var(--muted); margin: 0; }
.acc-status-card__link {
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.acc-status-card__divider {
    width: 1px;
    height: 56px;
    background: var(--line);
}
.acc-status-card__cta .btn {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: .14em;
    padding: 12px 20px;
    min-height: auto;
}
.acc-status-card__cta .btn:hover { background: var(--gold); color: #fff; transform: none; box-shadow: none; }

/* ---- Generic card ---- */
.acc-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(17,16,14,.05);
    padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
}
.acc-card--soft { background: rgba(255,255,255,.55); box-shadow: none; border: 1px solid var(--line); }
.acc-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.acc-card__head .eyebrow {
    font: 800 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted);
    margin: 0;
}
.acc-card__more {
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    text-decoration: none;
}
.acc-card__more:hover { color: var(--ink); }

.acc-empty {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 14px;
    line-height: 1.6;
}

.acc-pill {
    display: inline-block;
    padding: 6px 12px;
    font: 800 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    border-radius: 999px;
}
.acc-pill--ok { background: rgba(23,61,53,.12); color: var(--forest); }
.acc-pill--pending { background: rgba(189,141,73,.18); color: #8a6520; }
.acc-pill--fail { background: rgba(107,37,48,.12); color: var(--wine); }
.acc-pill--mute { background: rgba(117,109,98,.12); color: var(--muted); }

/* ---- Event card ---- */
.acc-event {
    display: grid;
    grid-template-columns: 200px auto 1fr;
    gap: 24px;
    align-items: center;
}
.acc-event__media {
    width: 200px; height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest), var(--forest-2));
}
.acc-event__media img { width: 100%; height: 100%; object-fit: cover; }
.acc-event__media-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--forest-2), var(--forest)); }
.acc-event__date {
    background: var(--paper);
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    line-height: 1;
    flex: 0 0 auto;
}
.acc-event__day {
    display: block;
    font: 800 30px/1 'Montserrat', sans-serif;
    color: var(--ink);
}
.acc-event__month {
    display: block;
    font: 700 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin-top: 6px;
}
.acc-event__body { display: flex; flex-direction: column; gap: 6px; }
.acc-event__title {
    font: 700 18px/1.3 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    margin: 0;
}
.acc-event__meta { color: var(--muted); font-size: 14px; margin: 0; }
.acc-event__details { display: flex; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.acc-event__detail { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.acc-event__detail svg { color: var(--gold); }
.acc-event__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.acc-event__actions .btn { border-radius: 8px; min-height: 42px; font-size: 11px; letter-spacing: .14em; padding: 10px 18px; }
.acc-event__actions .btn.primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.acc-event__actions .btn.primary:hover { background: var(--forest-2); border-color: var(--forest-2); }
.acc-event__actions .btn.ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.acc-event__actions .btn.ghost:hover { background: var(--gold); color: #fff; }

/* ---- Order ---- */
.acc-order {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.acc-order__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.acc-order__title {
    font: 700 18px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 4px;
}
.acc-order__meta { color: var(--muted); font-size: 13px; margin: 0; }
.acc-order__media {
    width: 160px; height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--paper);
}
.acc-order__media img { width: 100%; height: 100%; object-fit: cover; }

.acc-progress {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.acc-progress::before {
    content: '';
    position: absolute;
    top: 14px; left: 6%; right: 6%;
    height: 1px;
    background: var(--line);
    z-index: 0;
}
.acc-progress__step {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.acc-progress__dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: transparent;
    transition: all .2s ease;
}
.acc-progress__step.is-done .acc-progress__dot {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}
.acc-progress__step.is-current .acc-progress__dot {
    background: #fff;
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 0 4px rgba(189,141,73,.18);
}
.acc-progress__label {
    font-size: 11.5px;
    color: var(--muted);
    text-align: center;
    font-weight: 500;
}
.acc-progress__step.is-done .acc-progress__label,
.acc-progress__step.is-current .acc-progress__label {
    color: var(--ink);
    font-weight: 700;
}

/* ---- Documents table ---- */
.acc-table-wrap { overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; }
.acc-table thead th {
    text-align: left;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--line);
}
.acc-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    vertical-align: middle;
}
.acc-table tbody tr:last-child td { border-bottom: 0; }
.acc-table tbody tr:hover { background: var(--paper); }
.acc-table__action { text-align: right; }
.acc-doc-type {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(117,109,98,.1);
    color: var(--ink);
    border-radius: 4px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.acc-doc-type--bestellung { background: rgba(23,61,53,.1); color: var(--forest); }
.acc-doc-type--mitgliedschaft { background: rgba(189,141,73,.16); color: #8a6520; }
.acc-doc-type--event { background: rgba(107,37,48,.1); color: var(--wine); }
.acc-doc-type--gutschrift { background: rgba(95,163,113,.16); color: #2e6a45; }
.acc-doc-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
}
.acc-doc-pdf:hover { color: var(--ink); }
.acc-doc-pdf--muted { color: var(--muted); cursor: default; }

/* ---- Notice + Form ---- */
.acc-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.acc-notice--fail {
    background: rgba(107,37,48,.08);
    border-left: 3px solid var(--wine);
    color: var(--ink);
}
.acc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}
.acc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.acc-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}
.acc-form input[type=text],
.acc-form input[type=date],
.acc-form input[type=password],
.acc-form input[type=file],
.acc-form select {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font: 500 14px Arial, sans-serif;
    color: var(--ink);
    outline: none;
    text-transform: none;
    letter-spacing: 0;
}
.acc-form input:focus, .acc-form select:focus { border-color: var(--ink); }
.acc-form__hint { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.5; }

.acc-collapsible {
    border-top: 1px solid var(--line);
    padding: 14px 0;
}
.acc-collapsible:first-of-type { border-top: 0; padding-top: 0; }
.acc-collapsible > summary {
    cursor: pointer;
    list-style: none;
    font: 700 14px 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.acc-collapsible > summary::-webkit-details-marker { display: none; }
.acc-collapsible > summary::after {
    content: '+';
    font-size: 22px;
    color: var(--muted);
    font-weight: 300;
}
.acc-collapsible[open] > summary::after { content: '−'; }

/* ---- Quick actions ---- */
.acc-quick {
    background: rgba(255,255,255,.55);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
}
.acc-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 6px;
}
.acc-quick__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: 600 13px Arial, sans-serif;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.acc-quick__btn:hover { border-color: var(--ink); background: var(--paper); }
.acc-quick__btn svg { color: var(--gold); flex: 0 0 auto; }

/* ---- Profile dl ---- */
.acc-list { display: grid; gap: 4px; margin: 0; }
.acc-list > div { display: grid; grid-template-columns: 140px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.acc-list > div:last-child { border-bottom: 0; }
.acc-list dt { color: var(--muted); font: 700 12px/1.4 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.acc-list dd { color: var(--ink); font-size: 14px; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .acc__layout { grid-template-columns: 1fr; }
    /* App-like: Sub-Nav wird zur sticky horizontalen Scroll-Leiste statt umbrechendem Klotz */
    .acc-sidebar {
        position: sticky;
        top: 64px;
        z-index: 30;
        min-height: auto;
        background: #2c241d;
        border-bottom: 1px solid rgba(216,207,193,.14);
        box-shadow: 0 6px 18px rgba(0,0,0,.18);
    }
    .acc-sidebar__inner {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
        padding: 12px clamp(14px, 4vw, 24px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .acc-sidebar__inner::-webkit-scrollbar { display: none; }
    .acc-sidebar__title {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
        opacity: .65;
        font-size: 10px;
    }
    .acc-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        flex: 1 0 auto;
    }
    .acc-nav__item {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
        padding: 9px 15px;
        border-radius: 999px;
        background: rgba(255,255,255,.05);
    }
    .acc-nav__item.is-active { background: rgba(189,141,73,.28); }
    .acc-nav__badge { margin-left: 6px; }
    .acc-help { display: none; }
    .acc-status-card { grid-template-columns: 1fr; }
    .acc-status-card__divider { display: none; }
    .acc-event { grid-template-columns: 1fr; }
    .acc-event__media { width: 100%; }
    .acc-order { grid-template-columns: 1fr; }
    .acc-order__media { display: none; }
    .acc-quick__grid { grid-template-columns: repeat(2, 1fr); }
    .acc-hero__visual { display: none; }
}
@media (max-width: 620px) {
    .acc-progress__label { font-size: 10px; }
    .acc-form__row { grid-template-columns: 1fr; }
    .acc-quick__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   POS KASSE — Mobile-first, Touch-Targets, Live-Search Cart
   ========================================================= */

/* POS-Page Layout: Cart-Sidebar fest am rechten Bildschirmrand (analog zur
   linken acc-sidebar). Hauptinhalt reserviert den Platz via padding-right.
   Section-Head minimal — nur "POS · CCC" als kleiner Titel. */

/* POS-Page Layout-Overrides — die globale .admin-page > * Regel um Zeile 1829
   setzt max-width: 1080px + Card-Look + Padding mit !important auf alle
   direct children. Wir müssen das für POS aufheben damit die 2-Spalten
   Logik (Mittelinhalt + Cart bis Rand) funktioniert. */
.acc-main--admin .admin-page.pos-page,
.acc-main .admin-page.pos-page {
    position: relative;
    padding: 0 !important;
}

/* Wrapper acc-main--admin auf POS-Page padding komplett entfernen damit
   die Container direkt am Rand der linken Nav anschliessen. */
.acc-main--admin:has(.pos-page),
.acc-main:has(.pos-page) {
    padding: 0 !important;
}

/* pos-shell: Wrapper-Grid muss transparent sein, volle Breite, kein Card */
.acc-main--admin .admin-page.pos-page > .pos-shell,
.acc-main .admin-page.pos-page > .pos-shell {
    max-width: none !important;
    width: 100% !important;
    margin: 0 0 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Pos-History: Card-Look beibehalten, aber Cart-Spalte respektieren —
   Margin-Right + Padding-Right doppelt sichern damit Inhalt nicht unter
   Cart-Sidebar rutscht. */
.acc-main--admin .admin-page.pos-page > .pos-history,
.acc-main .admin-page.pos-page > .pos-history {
    max-width: none !important;
    margin: 0 0 24px 0 !important;
    padding-right: 380px !important;
    box-sizing: border-box;
}
.acc-main--admin .admin-page.pos-page > .pos-history > *,
.acc-main .admin-page.pos-page > .pos-history > * {
    /* Kinder müssen sich auch an die schmalere Breite halten */
    max-width: 100% !important;
}

/* Section-Head ist auf POS-Page entfernt — Title ist jetzt innerhalb pos-pick */


/* Override: .admin-page button { border-radius: 999px } gilt für POS nicht.
   Wir wollen klare, eckige Tasten statt Pillen. */
.pos-page button.pos-product,
.pos-page button.pos-pay__btn,
.pos-page button.pos-quick__btn,
.pos-page button.pos-ticket__submit { border-radius: 8px; }
.pos-page button.pos-pay__btn,
.pos-page button.pos-quick__btn { border-radius: 6px; }
.pos-page button.pos-step { border-radius: 4px; min-height: 28px; }
.pos-page button.pos-line__remove { border-radius: 4px; min-height: 28px; }

.pos-page .pos-empty {
    text-align: center;
    padding: 48px 24px;
}
.pos-page .pos-empty h2 { margin: 0 0 8px; }
.pos-page .pos-empty p { margin: 0 0 18px; color: var(--muted); }

/* Event-Header (jetzt als pos-pick__block in der mittleren Spalte):
   Picker links + 3 Live-Stats rechts */
.pos-pick > .pos-event {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 2fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 0;
}
.pos-event__picker {
    display: flex; flex-direction: column; gap: 6px;
}
.pos-event__stats article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
}
.pos-event__picker {
    display: flex; flex-direction: column; gap: 8px;
}
.pos-event__picker label {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-event__row {
    display: flex; gap: 8px;
}
.pos-event__row select {
    flex: 1; min-height: 44px; padding: 10px 12px;
    border-radius: 6px; border: 1px solid var(--line);
    background: var(--paper); font-size: 15px;
}
.pos-event__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pos-event__stats article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
}
.pos-event__stats span {
    font: 700 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-event__stats strong {
    font: 800 22px/1.1 'Montserrat', sans-serif;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.pos-event__stats small {
    font-size: 11.5px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

/* POS-Shell: 2-Spalten Grid — beide Container direkt nebeneinander, kein Gap.
   Voll-Höhe von Topbar (76px) bis zum Footer/Sticky-Info (64px). */
.pos-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 0;
    align-items: stretch;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 76px - 64px);
}

/* Mittelinhalt-Container: weiss, kein Border-Radius, voll-Höhe */
.pos-pick {
    display: flex; flex-direction: column;
    gap: 0;
    min-width: 0;
    width: 100%;
    background: #fff;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 28px 50px;
}
/* Title innerhalb des Containers — kein Border-Trenner, kompakt */
.pos-pick > .pos-pick__title {
    padding: 0 0 18px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
}
.pos-pick > .pos-pick__title h1 {
    font: 700 clamp(18px, 1.6vw, 20px)/1.2 'Montserrat', sans-serif !important;
    margin: 0 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    color: var(--ink) !important;
}
/* Sections direkt auf dem Page-Hintergrund — kein Card-Look, keine eigene
   weiße Box. Klare Trennung via Border-Top + grosses Padding. */
.pos-pick > .pos-pick__block,
.pos-pick > details.pos-manual {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 24px 0;
    box-shadow: none;
    display: flex; flex-direction: column; gap: 12px;
    border-top: 1px solid var(--line);
}
.pos-pick > .pos-pick__block:first-child,
.pos-pick > details.pos-manual:first-child {
    border-top: 0;
    padding-top: 4px;
}
.pos-pick__head { display: flex; flex-direction: column; gap: 10px; }
.pos-pick__head h2 { margin: 0; }
.pos-search {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    font-size: 15.5px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pos-search:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(189,141,73,.15);
}

/* Filter-Block ganz oben — enthält Suche + Kategorien-Tabs */
.pos-filter-block {
    gap: 14px !important;
}
.pos-filter-block .pos-pick__head {
    margin: 0;
}

/* Suchleiste direkt über den Produkten — Lupe-Icon links, Input voll-Breite */
.pos-product-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 14px;
}
.pos-product-search-bar svg {
    position: absolute;
    left: 16px;
    color: var(--muted, #6b6357);
    pointer-events: none;
}
.pos-product-search-bar .pos-search {
    padding-left: 46px;
    background: #fff;
}
.pos-product-search-bar .pos-search:focus {
    background: #fff;
}

/* Kategorie-Tabs (Pills) */
.pos-product-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pos-page button.pos-product-tab {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
    font: 700 12px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink);
    min-height: 36px;
    transition: all .15s ease;
}
.pos-product-tab:hover { border-color: var(--ink); }
.pos-product-tab.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* Produkt-Grid: immer 3 Spalten */
.pos-product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-height: 80px;
}
.pos-page button.pos-product {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    display: flex; flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    position: relative;
}
.pos-product:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17,16,14,.10);
}
.pos-product.is-flash {
    background: rgba(189,141,73,.12);
    transform: scale(.97);
}

/* Bild-Bereich oben mit 4:3 Aspect-Ratio */
.pos-product__image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.pos-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pos-product__placeholder {
    color: var(--line);
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
}
.pos-product__placeholder svg { width: 100%; height: 100%; }

/* Quick-Variante: Icon prominenter (Eintritt + Extras) — gold-Akzent */
.pos-product--quick .pos-product__placeholder {
    color: var(--gold);
    width: 56px; height: 56px;
}
.pos-product--quick .pos-product__image {
    background: linear-gradient(135deg, var(--paper) 0%, #fff 100%);
}

/* Add-Button: kleines Plus oben rechts auf dem Bild */
.pos-product__add {
    position: absolute;
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--gold);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(17,16,14,.18);
    transition: background .15s ease, transform .15s ease;
}
.pos-product__add svg { width: 18px; height: 18px; }
.pos-product:hover .pos-product__add {
    background: var(--ink);
    transform: scale(1.08);
}

/* Text-Body unter dem Bild */
.pos-product__body {
    padding: 12px 14px 14px;
    display: flex; flex-direction: column; gap: 4px;
}
.pos-product__title {
    font: 700 14px/1.3 'Montserrat', sans-serif;
    color: var(--ink);
    overflow-wrap: break-word;
}
.pos-product__meta {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 1px;
}
.pos-product__price {
    margin-top: 6px;
    font: 800 16px/1 'JetBrains Mono', monospace;
    color: var(--gold);
}
.pos-product-list__empty,
.pos-product-list__none {
    grid-column: 1 / -1;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: var(--paper);
    border-radius: 8px;
    border: 1px dashed var(--line);
}

.pos-manual {
    /* Card-Stil kommt von .pos-pick > details.pos-manual oben.
       Hier nur Inhalts-spezifisches. */
}
.pos-manual > summary {
    list-style: none;
    cursor: pointer;
    padding: 0;
    font: 700 12px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--ink);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.pos-manual > summary::before { content: '+'; color: var(--gold); font-weight: 800; }
.pos-manual[open] > summary::before { content: '−'; }
.pos-manual__grid {
    padding: 4px 0 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}
.pos-manual__grid label {
    display: flex; flex-direction: column; gap: 4px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.pos-manual__grid input {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: 14.5px;
}
.pos-manual__actions {
    padding: 4px 0 0;
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
}
.pos-page button.pos-manual__add {
    appearance: none;
    border: 0;
    background: var(--ink);
    color: #fff;
    border-radius: 6px;
    padding: 12px 22px;
    cursor: pointer;
    font: 700 13px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    min-height: 48px;
    transition: background .15s ease, transform .15s ease;
}
.pos-page button.pos-manual__add:hover { background: var(--gold); }
.pos-page button.pos-manual__add:active { transform: scale(.98); }
.pos-manual__feedback {
    font-size: 12px;
    color: var(--forest);
    flex: 1; min-width: 0;
}
.pos-manual__feedback.is-error { color: var(--wine); }
@media (max-width: 720px) {
    .pos-manual__actions { padding: 0 12px 12px; }
    .pos-page button.pos-manual__add {
        width: 100%;
        min-height: 56px;
        font-size: 14px;
    }
    .pos-manual__feedback { width: 100%; text-align: center; }
}

/* ──── Cart-Container: zweite Grid-Spalte, sticky, von Topbar bis Footer.
   Der GANZE Cart scrollt wenn der Inhalt grösser als die Höhe ist —
   so sind Bezahl-Button + Notiz auch auf kleinen Screens via Scroll erreichbar.
   Spalten-Header der Cart-Lines bleibt beim Scrollen oben kleben. */
.pos-page .pos-ticket {
    position: sticky;
    top: 0;
    width: 100%;
    align-self: stretch;
    display: flex; flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 22px;
    height: calc(100vh - 76px - 64px);
    max-height: calc(100vh - 76px - 64px);
    overflow-y: auto;            /* der GANZE Cart scrollt wenn Inhalt zu lang */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    margin: 0;
    box-shadow: none;
}
/* Alle Sub-Sections behalten ihre natürliche Höhe — kein flex-grow, kein
   eigener Scroll. Der Cart-Container scrollt als ganzes. */
.pos-ticket > .pos-ticket__head,
.pos-ticket > .pos-customer,
.pos-ticket > .pos-ticket__table,
.pos-ticket > .pos-ticket__totals,
.pos-ticket > .pos-pay,
.pos-ticket > .pos-ticket__note,
.pos-ticket > .pos-ticket__submit {
    flex: 0 0 auto;
}
.pos-ticket > .pos-ticket__table {
    display: flex; flex-direction: column;
    overflow: visible;
}
/* Cart-thead: sticky beim Cart-Scroll — bleibt oben in der Cart sichtbar */
.pos-ticket > .pos-ticket__table .pos-ticket__thead {
    position: sticky;
    top: -22px;       /* gleicht das Cart-padding-top aus, klebt am sichtbaren oberen Rand */
    z-index: 2;
    background: var(--paper);
}
.pos-page .pos-ticket::-webkit-scrollbar { width: 6px; }
.pos-page .pos-ticket::-webkit-scrollbar-track { background: transparent; }
.pos-page .pos-ticket::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.pos-ticket::-webkit-scrollbar { width: 6px; }
.pos-ticket::-webkit-scrollbar-track { background: transparent; }
.pos-ticket::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* Header: schlanker Title-Bar oben in der Sidebar */
.pos-ticket > .pos-ticket__head {
    background: transparent;
    border: 0;
    padding: 0 0 14px;
    margin: 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}
.pos-ticket__head-title {
    display: flex; align-items: baseline; gap: 10px;
    min-width: 0;
}
.pos-ticket__head-title strong {
    font: 800 14px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink);
}
.pos-ticket__head-title small {
    font: 600 11px/1 'JetBrains Mono', monospace;
    color: var(--muted);
}

/* Sub-Sections in der Sidebar — flat mit Border-Trennern, kein eigener
   Card-Look (Sidebar ist schon der Container). */
.pos-ticket > .pos-customer,
.pos-ticket > .pos-ticket__totals,
.pos-ticket > .pos-pay,
.pos-ticket > .pos-ticket__note {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 16px 0;
    box-shadow: none;
    margin: 0;
    border-top: 1px solid var(--line);
}
/* Erstes Sub-Element direkt nach dem Header braucht keinen Trenner —
   der Header hat schon border-bottom */
.pos-ticket > .pos-ticket__head + * {
    border-top: 0;
    padding-top: 12px;
}

/* Cart-Tabelle: braucht KEIN overflow:hidden — sonst werden Lines-Cards
   abgeschnitten. Padding 0 weil Lines-Container selbst sein Padding hat. */
.pos-ticket > .pos-ticket__table {
    padding: 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
    background: transparent;
}

/* Totals: war Card mit Border — jetzt der Wrapper ist Card, innen sauber */
.pos-ticket > .pos-ticket__totals {
    padding: 4px 0;
    overflow: hidden;
}
.pos-ticket > .pos-ticket__totals .pos-ticket__row {
    padding: 12px 16px;
}
.pos-ticket > .pos-ticket__totals .pos-ticket__row--total {
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.pos-ticket__head {
    display: flex; align-items: center; justify-content: space-between;
}
.pos-ticket__head h2 { margin: 0; }

.pos-customer { display: flex; flex-direction: column; gap: 8px; }
.pos-customer__label {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink);
}
/* Toggle Anonym / Mitglied / Gast */
.pos-customer__toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px;
}
.pos-page button.pos-customer__tab {
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 4px;
    padding: 8px 6px;
    cursor: pointer;
    font: 700 11.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted);
    min-height: 32px;
    transition: background .15s ease, color .15s ease;
}
.pos-customer__tab:hover { color: var(--ink); }
.pos-page button.pos-customer__tab.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(17,16,14,.08);
}
.pos-customer__pane {
    display: flex; flex-direction: column; gap: 4px;
}
.pos-customer__input {
    min-height: 44px;
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
}
.pos-customer__input:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(189,141,73,.15);
}
.pos-customer__hint {
    font-size: 11.5px;
    color: var(--muted);
    margin: 0;
}
/* Live-Mitglieder-Suche — Dropdown unter dem Input */
.pos-member-search {
    position: relative;
}
.pos-member-search__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    z-index: 20;
    list-style: none; margin: 0; padding: 4px;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(17,16,14,.12);
}
.pos-member-search__item {
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex; flex-direction: column; gap: 2px;
    transition: background .1s ease;
}
.pos-member-search__item:hover {
    background: var(--paper);
}
.pos-member-search__item strong {
    font: 700 13.5px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
}
.pos-member-search__item small {
    font-size: 11px;
    color: var(--muted);
}
.pos-member-search__empty {
    padding: 12px 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

/* Cart als Tabelle mit Spalten-Header — jetzt ist der Wrapper-Card #fff,
   die Tabelle braucht kein eigenes Background mehr. */
.pos-ticket__table {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex; flex-direction: column;
}
/* Cart-Header: nur Position links, Total rechts (passt in schmale Sidebar) */
.pos-ticket__thead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font: 700 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-ticket__lines {
    list-style: none; margin: 0;
    padding: 10px 12px;
    display: flex; flex-direction: column;
    gap: 8px;
    min-height: 56px;
}
.pos-ticket__empty {
    padding: 22px 18px;
    text-align: center;
    color: var(--muted);
    background: #fff;
    font-size: 13.5px;
}

/* Cart-Line: 2-Zeilen-Layout — Title oben, Stepper+Preis+Total unten.
   Eigene Card mit Schatten und Border-Radius statt Border-Trennern. */
.pos-ticket__line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(17,16,14,.06), 0 4px 12px rgba(17,16,14,.04);
}

/* Zeile 1: Title + Remove-Button */
.pos-line__row1 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pos-line__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pos-line__title strong {
    font: 700 14px/1.3 'Montserrat', sans-serif;
    color: var(--ink);
    overflow-wrap: break-word;
    word-break: normal;
}
.pos-line__title small {
    font-size: 11px;
    color: var(--muted);
}
.pos-line__remove {
    appearance: none; border: 0; background: transparent;
    color: var(--muted); cursor: pointer;
    font-size: 18px; line-height: 1; padding: 0;
    width: 28px; height: 28px; border-radius: 4px;
    flex-shrink: 0;
}
.pos-line__remove:hover { color: var(--wine, #b53a3a); background: rgba(107,37,48,.08); }

/* Zeile 2: Stepper + Preis-Editor + Total rechts */
.pos-line__row2 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pos-line__qty {
    display: inline-flex; align-items: center; gap: 2px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px;
    height: 32px;
}
.pos-page button.pos-step {
    appearance: none; border: 0; background: transparent;
    width: 26px; height: 26px; border-radius: 4px;
    cursor: pointer; font-weight: 800; color: var(--ink);
    font-size: 16px; line-height: 1;
    min-height: 26px;
    padding: 0;
}
.pos-page button.pos-step:hover { background: rgba(189,141,73,.18); color: var(--gold); }
.pos-step__value {
    min-width: 24px; text-align: center;
    font: 700 13.5px/1 'JetBrains Mono', monospace;
    color: var(--ink);
}

.pos-line__price-wrap {
    display: inline-flex; align-items: center; gap: 4px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 6px;
    padding: 0 8px 0 6px;
    height: 32px;
    transition: border-color .15s ease, background .15s ease;
}
.pos-line__price-wrap:focus-within {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(189,141,73,.18);
}
.pos-line__price-input {
    appearance: none; -moz-appearance: textfield;
    border: 0; background: transparent;
    width: 80px; text-align: right;
    font: 700 14px/1 'JetBrains Mono', monospace;
    color: var(--ink);
    padding: 4px 2px;
}
.pos-line__price-input:focus { outline: 0; }
.pos-line__price-input::-webkit-outer-spin-button,
.pos-line__price-input::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.pos-line__price-suffix {
    font: 600 10px/1 'Montserrat', sans-serif;
    color: var(--muted);
    text-transform: uppercase; letter-spacing: .12em;
}

.pos-line__total {
    margin-left: auto;
    font: 800 15px/1 'JetBrains Mono', monospace;
    color: var(--ink);
    text-align: right;
}

.pos-ticket__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}
.pos-ticket__total span {
    font: 700 11px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-ticket__total strong {
    font: 800 22px/1 'JetBrains Mono', monospace;
    color: var(--ink);
}

.pos-pay { display: flex; flex-direction: column; gap: 8px; }
.pos-pay .eyebrow {
    font: 700 10.5px/1 'Montserrat', sans-serif !important;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted) !important;
    margin: 0 !important;
}
.pos-pay__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.pos-page button.pos-pay__btn {
    appearance: none;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 12px 8px;
    cursor: pointer;
    font: 700 11.5px/1.2 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 64px;
    box-sizing: border-box;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.pos-pay__btn:hover { border-color: var(--ink); }
.pos-pay__btn.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 2px 6px rgba(17,16,14,.18);
}
/* SVG-Icons übernehmen die Button-Textfarbe via currentColor.
   Fixe Größe damit sie nicht stretchen, flex-shrink:0 schützt vor Verformung. */
svg.pos-pay__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    color: currentColor;
    display: block;
    flex-shrink: 0;
    flex-grow: 0;
}
.pos-pay__hint { color: var(--muted); font-size: 11.5px; line-height: 1.45; }

.pos-ticket__note {
    display: flex; flex-direction: column; gap: 6px;
    font: 700 10.5px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.pos-ticket__note span {
    text-transform: none; letter-spacing: 0; font-weight: 400;
    color: var(--muted); font-size: 11px; margin-left: 4px;
}
.pos-ticket__note input {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: 14.5px;
}

/* Submit-Button: nicht als Card, sondern prominent als CTA mit eigenem Schatten */
.pos-ticket > .pos-ticket__submit,
.pos-page button.pos-ticket__submit {
    width: 100%;
    min-height: 56px;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(17,16,14,.18);
    margin-top: 4px;
}
.pos-ticket__submit:disabled {
    opacity: .42; cursor: not-allowed;
    box-shadow: 0 1px 3px rgba(17,16,14,.06);
}

/* ════ Payment-Panel: slidet von rechts in die Cart ════ */
.pos-payment {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #fff;
    z-index: 10;
    display: flex; flex-direction: column;
    padding: 22px;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.32,.72,.42,1);
    overflow-y: auto;
    overflow-x: hidden;
}
.pos-payment.is-open {
    transform: translateX(0);
}
/* Cart muss position:relative sein damit Panel absolut darin liegt */
.pos-page .pos-ticket {
    position: sticky; /* bleibt sticky */
}
.pos-page .pos-ticket {
    /* Damit das Payment-Panel innerhalb der Cart positioniert wird */
}
.pos-ticket {
    position: relative;
}
/* Override für sticky-Verhalten — Cart bleibt sticky aber relative für inneres Panel */
.pos-page .pos-ticket {
    position: sticky;
}
.pos-page .pos-ticket {
    /* Sticky funktioniert mit position:relative children — alles ok */
}

.pos-payment__head {
    display: flex; align-items: center; gap: 12px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.pos-page button.pos-payment__back {
    appearance: none; border: 0; background: var(--paper);
    width: 36px; height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.pos-payment__back:hover { background: var(--line); }
.pos-payment__head strong {
    flex: 1;
    font: 800 14px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--ink);
}
.pos-payment__amount {
    font: 800 18px/1 'JetBrains Mono', monospace;
    color: var(--gold);
}

.pos-payment__pane {
    display: flex; flex-direction: column; gap: 16px;
    flex: 1; min-height: 0;
}
.pos-payment__pane[hidden] { display: none; }

.pos-payment__lead {
    font-size: 14px; color: var(--ink); margin: 0;
    line-height: 1.5;
}
.pos-payment__hint {
    font-size: 12px; color: var(--muted); margin: 0;
    padding: 12px 14px; background: var(--paper); border-radius: 6px;
}

/* TWINT QR-Placeholder */
.pos-payment__qr {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 32px 16px;
    min-height: 200px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.pos-payment__qr-placeholder {
    display: flex; flex-direction: column; gap: 10px;
}
.pos-payment__qr-placeholder small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.pos-payment__qr-placeholder small.muted { font-style: italic; color: var(--muted); }

/* Karten-Illustration */
.pos-payment__card-illustration {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.pos-payment__card-icon { font-size: 48px; line-height: 1; }
.pos-payment__card-illustration small { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Total-Zeile */
.pos-payment__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 16px;
    background: var(--paper);
    border-radius: 6px;
    margin: 0;
}
.pos-payment__total span {
    font: 700 11px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-payment__total strong {
    font: 800 22px/1 'JetBrains Mono', monospace;
    color: var(--ink);
}

/* Bar: Erhalten-Eingabe + Schnell-Buttons */
.pos-payment__received {
    display: flex; flex-direction: column; gap: 8px;
}
.pos-payment__received > span:first-child {
    font: 700 11px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-payment__input-wrap {
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    padding: 0 14px;
}
.pos-payment__input-wrap:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(189,141,73,.15);
}
.pos-payment__input-wrap input {
    flex: 1; appearance: none; -moz-appearance: textfield;
    border: 0; background: transparent;
    font: 700 22px/1 'JetBrains Mono', monospace;
    color: var(--ink);
    padding: 14px 0;
    width: 100%;
}
.pos-payment__input-wrap input:focus { outline: 0; }
.pos-payment__input-wrap input::-webkit-outer-spin-button,
.pos-payment__input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.pos-payment__input-wrap > span:last-child {
    font: 700 13px/1 'Montserrat'; color: var(--muted);
}

.pos-payment__quick {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.pos-page button[data-pos-cash-quick] {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 6px;
    padding: 10px 6px;
    cursor: pointer;
    font: 700 13px/1 'Montserrat', sans-serif;
    color: var(--ink);
    min-height: 44px;
    transition: border-color .15s ease, background .15s ease;
}
.pos-page button[data-pos-cash-quick]:hover {
    border-color: var(--ink);
    background: #fff;
}

.pos-payment__change {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 16px;
    background: rgba(23,61,53,.08);
    border: 1px solid var(--forest);
    border-radius: 6px;
    margin: 0;
}
.pos-payment__change span {
    font: 700 11px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .14em;
    color: var(--forest);
}
.pos-payment__change strong {
    font: 800 22px/1 'JetBrains Mono', monospace;
    color: var(--forest);
}

/* Confirm-Button */
.pos-page button.pos-payment__confirm {
    width: 100%;
    min-height: 56px;
    font-size: 15px;
    border-radius: 8px;
    background: var(--forest);
    color: #fff;
    border: 0;
    margin-top: auto; /* drückt nach unten */
    box-shadow: 0 6px 16px rgba(23,61,53,.25);
}
.pos-page button.pos-payment__confirm:hover {
    background: var(--ink);
}
.pos-page button.pos-payment__confirm:disabled {
    opacity: .42; cursor: not-allowed; box-shadow: none;
    background: var(--muted);
}

/* "Andere" Note-Input */
.pos-payment__received input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

/* ──── Abendjournal ──── */
.pos-history { display: flex; flex-direction: column; gap: 14px; }
.pos-history__head { display: flex; flex-direction: column; gap: 4px; }
.pos-history__head h2 { margin: 0; }
.pos-history__head p { color: var(--muted); margin: 0; font-size: 13.5px; }
.pos-history__empty {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: var(--paper);
    border-radius: 8px;
    border: 1px dashed var(--line);
}
.pos-history__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pos-history__item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "main actions"
        "items items";
    gap: 8px 14px;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.pos-history__item.is-void { opacity: .6; }
.pos-history__main { grid-area: main; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pos-history__main strong { font: 800 18px/1 'JetBrains Mono', monospace; color: var(--ink); }
.pos-history__meta { font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.pos-history__items {
    grid-area: items;
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 4px 12px;
    font-size: 12.5px; color: var(--muted);
}
.pos-history__items li em {
    font-style: normal; color: var(--ink); font-weight: 600;
    margin-left: 4px;
}
.pos-history__actions { grid-area: actions; align-self: start; }

/* Section-Title innerhalb POS — wie Tabellen-Caption über Spalten */
.pos-section-title {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .18em;
    color: var(--ink);
}
.pos-section-title small {
    font-weight: 500; letter-spacing: .08em;
    color: var(--muted); font-size: 10.5px;
}
.pos-section-title__link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted var(--gold);
}
.pos-section-title__link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Spalten-Header für Produktliste */
.pos-product-thead {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 0 10px;
    padding: 8px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    font: 700 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-product-thead span:nth-child(2) { text-align: right; }
.pos-product-thead + .pos-product-list {
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    padding: 10px;
    background: #fff;
}

/* Schnell-Positionen für Mitglied/Event */
.pos-quick {
    display: flex; flex-direction: column; gap: 10px;
}
.pos-quick__title {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink);
}
.pos-quick__title--small { color: var(--muted); margin-top: 4px; }

/* Eintritt-Hauptbuttons (Mitglied / Gast) — prominent */
.pos-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pos-page button.pos-entry-btn {
    appearance: none;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    display: flex; flex-direction: column; gap: 4px;
    text-align: left;
    min-height: 64px;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.pos-entry-btn:hover { border-color: var(--gold); background: rgba(189,141,73,.06); }
.pos-entry-btn.is-suggested {
    border-color: var(--forest);
    background: rgba(23,61,53,.06);
    box-shadow: 0 0 0 2px rgba(23,61,53,.08);
}
.pos-entry-btn.is-flash { transform: scale(.97); background: rgba(189,141,73,.18); }
.pos-entry-btn__label {
    font: 800 13px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink);
}
.pos-entry-btn--member .pos-entry-btn__label::before { content: '👤  '; }
.pos-entry-btn--guest  .pos-entry-btn__label::before { content: '🤝  '; }
.pos-entry-btn__price {
    font: 700 18px/1 'JetBrains Mono', monospace;
    color: var(--gold);
}

.pos-quick__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.pos-quick__btn {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font: 700 12.5px/1.2 'Montserrat', sans-serif;
    color: var(--ink);
    display: flex; flex-direction: column; gap: 2px;
    text-align: left;
    transition: border-color .15s ease, background .15s ease;
}
.pos-quick__btn:hover { border-color: var(--gold); background: rgba(189,141,73,.06); }
.pos-quick__btn small {
    font: 600 11px/1 'JetBrains Mono', monospace;
    color: var(--gold);
}
.pos-quick__btn.is-flash { background: rgba(189,141,73,.18); }

/* Subtotal / Rabatt / Total — drei Zeilen, klar getrennt.
   Wrapper-Card ist #fff, hier nur die innere Struktur. */
.pos-ticket__totals {
    display: flex; flex-direction: column;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}
.pos-ticket__row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
}
.pos-ticket__row:first-child { border-top: 0; }
.pos-ticket__row span,
.pos-ticket__row label {
    font: 700 11px/1 'Montserrat'; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted);
}
.pos-ticket__row strong {
    font: 600 14px/1 'JetBrains Mono', monospace;
    color: var(--ink);
}
.pos-ticket__row--total {
    background: var(--paper);
}
.pos-ticket__row--total span { color: var(--ink); }
.pos-ticket__row--total strong {
    font: 800 22px/1 'JetBrains Mono', monospace;
    color: var(--ink);
}
.pos-ticket__row--discount label {
    cursor: pointer;
}
.pos-discount-input {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2px 8px;
}
.pos-discount-input input {
    appearance: none; -moz-appearance: textfield;
    border: 0; background: transparent;
    width: 64px; text-align: right;
    font: 700 13px/1 'JetBrains Mono', monospace;
    color: var(--wine);
    padding: 4px 0;
}
.pos-discount-input input:focus { outline: 0; }
.pos-discount-input input::-webkit-outer-spin-button,
.pos-discount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.pos-discount-input span {
    font: 600 11px/1 'Montserrat'; color: var(--muted);
    letter-spacing: 0; text-transform: none;
}

/* ──── Mobile / Tablet ──── */
@media (max-width: 980px) {
    /* Section-Head noch kompakter */
    .acc-main--admin .admin-page.pos-page .section-head,
    .acc-main .admin-page.pos-page .section-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 16px !important;
    }
    .acc-main--admin .admin-page.pos-page .section-head h1,
    .acc-main .admin-page.pos-page .section-head h1 {
        font-size: 22px !important;
    }
    .acc-main--admin .admin-page.pos-page .section-head .lead,
    .acc-main .admin-page.pos-page .section-head .lead {
        display: none !important;
    }

    /* Event-Header Cards stack */
    .pos-event {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 14px;
        margin-bottom: 16px;
    }
    .pos-event__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .pos-event__stats article { padding: 10px 12px; }
    .pos-event__stats strong { font-size: 18px; }

    /* Mobile: Grid wird 1-Spalte, Cart wandert nach oben */
    .pos-shell {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 14px;
        margin-bottom: 16px;
    }
    .pos-pick {
        order: 2;
        padding: 18px;
    }
    .pos-page .pos-ticket {
        position: static;
        top: auto; right: auto; bottom: auto;
        width: 100%;
        order: 1; /* Cart oben — du siehst Total + Pay direkt */
        max-height: none;
        overflow: visible;
        padding: 18px;
        margin: 0;
    }
    /* Mobile: Sections in pos-pick bleiben flat (kein Card), kompakteres Padding */
    .pos-pick > .pos-pick__block,
    .pos-pick > details.pos-manual {
        padding: 16px 0;
    }
    .pos-ticket > .pos-customer,
    .pos-ticket > .pos-ticket__table,
    .pos-ticket > .pos-ticket__totals,
    .pos-ticket > .pos-pay,
    .pos-ticket > .pos-ticket__note {
        padding: 14px;
    }
    .pos-pick > .pos-event {
        grid-template-columns: 1fr;
    }

    /* Eintritt-Buttons grösser, Touch-friendly */
    .pos-entry-grid { gap: 10px; }
    .pos-page button.pos-entry-btn { min-height: 72px; padding: 14px 16px; }
    .pos-entry-btn__price { font-size: 20px; }

    /* Produkte: 2-spaltig auf Tablet, klare Touch-Targets */
    .pos-product-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Pay-Buttons: 2x2 statt 4x1, jeder Button schön gross */
    .pos-pay__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pos-pay__btn { padding: 14px 10px; min-height: 64px; font-size: 12.5px; }
    .pos-pay__icon { font-size: 22px; }

    /* Quick-Items: 2-spaltig bleibt, etwas grössere Hit-Area */
    .pos-page button.pos-quick__btn { min-height: 56px; padding: 10px 14px; }

    /* Cart-Lines bleiben 2-zeilig — kein Spalten-Layout mehr */
    .pos-line__price-input { width: 70px; }

    /* Manuelle Position: Felder stack auf Mobile */
    .pos-manual__grid { grid-template-columns: 1fr 1fr; }
    .pos-manual__grid label:first-child { grid-column: 1 / -1; }

    /* Submit-Button extra prominent */
    .pos-page button.pos-ticket__submit { min-height: 64px; font-size: 16px; }
}

@media (max-width: 600px) {
    .acc-main--admin .admin-page.pos-page,
    .acc-main .admin-page.pos-page { padding: 12px !important; }

    .pos-event { padding: 12px; }
    .pos-event__stats { grid-template-columns: 1fr; gap: 6px; }
    .pos-event__stats article { padding: 8px 12px; }
    .pos-event__stats strong { font-size: 16px; }

    .pos-shell { padding: 12px; gap: 18px; }
    .pos-pick { gap: 18px; }

    /* Eintritt: 1 Button pro Zeile auf kleinen Screens */
    .pos-entry-grid { grid-template-columns: 1fr; }

    /* Produkte: 1-spaltig */
    .pos-product-list { grid-template-columns: 1fr; }

    /* Quick-Items: 1-spaltig */
    .pos-quick__grid { grid-template-columns: 1fr; }

    /* Cart-Lines bleiben 2-zeilig auf Mobile — Preis-Input etwas kompakter */
    .pos-line__price-input { width: 56px; font-size: 12px; }
    .pos-line__total { font-size: 14px; }

    /* Manuell: alles stack */
    .pos-manual__grid { grid-template-columns: 1fr; }

    /* Pay-Buttons: 2x2 bleibt, etwas kompakter */
    .pos-pay__btn { padding: 12px 8px; min-height: 56px; font-size: 11.5px; }
    .pos-pay__icon { font-size: 18px; }

    /* Toggle Customer: 3 Tabs nebeneinander, etwas kleiner */
    .pos-page button.pos-customer__tab { font-size: 10.5px; padding: 8px 4px; }
}

/* =========================================================
   POS QUICK-ITEMS ADMIN (/admin/pos/quick-items)
   ========================================================= */
.pos-quick-page .pos-quick-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.pos-quick-page .pos-quick-form h2 {
    margin: 0 0 16px;
    font: 800 16px/1 'Montserrat', sans-serif;
}
.pos-quick-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.pos-quick-form__grid label {
    display: flex; flex-direction: column; gap: 4px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.pos-quick-form__grid input[type="text"],
.pos-quick-form__grid input[type="number"],
.pos-quick-form__grid select {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font: 400 14px/1.2 Arial, sans-serif;
    color: var(--ink);
    text-transform: none; letter-spacing: 0;
}
.pos-quick-form__check {
    flex-direction: row !important; align-items: center; gap: 8px !important;
    text-transform: none !important; letter-spacing: 0 !important;
    font-size: 13px !important; color: var(--ink) !important;
    align-self: end; padding-bottom: 8px;
}
.pos-quick-form__check input[type="checkbox"] {
    width: 18px; height: 18px;
}
.pos-quick-form__actions {
    margin-top: 16px;
    display: flex; gap: 10px;
}

.pos-quick-list { display: flex; flex-direction: column; gap: 18px; }
.pos-quick-list article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.pos-quick-list__head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 14px 18px;
    background: var(--ink);
    color: #fff;
}
.pos-quick-list__head h2 {
    margin: 0;
    font: 800 14px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: #fff;
}
.pos-quick-list__head small {
    color: rgba(255,255,255,.6);
    font: 600 11px/1 'JetBrains Mono', monospace;
}
.pos-quick-list__empty {
    padding: 24px;
    text-align: center;
    color: var(--muted);
}
.pos-quick-table {
    width: 100%; border-collapse: collapse;
    background: #fff;
}
.pos-quick-table th,
.pos-quick-table td {
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    text-align: left;
    font-size: 13px;
}
.pos-quick-table th {
    background: var(--paper);
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.pos-quick-table th.num,
.pos-quick-table td.num { text-align: right; font-family: 'JetBrains Mono', monospace; }
.pos-quick-table td.actions { text-align: right; white-space: nowrap; }
.pos-quick-table .muted { color: var(--muted); font-style: italic; }

/* =========================================================
   SYSTEM MIGRATIONS (/admin/system/migrations)
   ========================================================= */
.system-migrations-page .migrations-output {
    margin-bottom: 20px;
    background: #11100e; color: #d8cfc1;
    border-radius: 8px;
    padding: 16px;
    overflow: auto;
}
.system-migrations-page .migrations-output h2 {
    margin: 0 0 8px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .14em;
    color: rgba(216,207,193,.6);
}
.system-migrations-page .migrations-output pre {
    margin: 0;
    font: 400 12px/1.5 'JetBrains Mono', Consolas, monospace;
    white-space: pre-wrap;
}
.migrations-table {
    width: 100%; border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.migrations-table th,
.migrations-table td {
    padding: 10px 14px;
    text-align: left;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.migrations-table thead th {
    background: var(--paper);
    border-top: 0;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted);
}
.migrations-table th.num,
.migrations-table td.num { text-align: right; font-family: 'JetBrains Mono', monospace; }
.migrations-table td.actions { text-align: right; white-space: nowrap; }
.migrations-table tr.is-applied td code { color: var(--muted); }
.migrations-table tr.is-pending {
    background: rgba(189,141,73,.06);
}
.migrations-table tr.is-pending td code { color: var(--ink); font-weight: 700; }
.migrations-table .empty { text-align: center; padding: 24px; color: var(--muted); }
.migrations-table .muted { color: var(--muted); }

/* === Event-Serien Scope-Modal (Google-Calendar-Pattern) === */
.series-panel {
    background: rgba(189,141,73,.08);
    border: 1px solid rgba(189,141,73,.32);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 12px 0;
}
.series-panel .eyebrow { color: var(--gold, #bd8d49); }
.series-scope-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 15, 15, .58);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    padding: 16px;
}
.series-scope-modal {
    background: var(--paper, #fafaf6);
    border-radius: 14px;
    padding: 28px;
    max-width: 520px; width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    border: 1px solid var(--line);
}
.series-scope-modal .eyebrow {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--gold, #bd8d49); margin: 0 0 6px;
}
.series-scope-modal h2 { font-size: 22px; margin: 0 0 6px; }
.series-scope-lead { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.series-scope-options {
    display: grid; gap: 10px;
    margin-bottom: 18px;
}
.scope-option {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, transform .1s;
    display: block; width: 100%;
}
.scope-option:hover {
    border-color: var(--gold, #bd8d49);
    transform: translateY(-1px);
}
.scope-option strong { display: block; font: 700 14px/1.2 'Montserrat', sans-serif; color: var(--ink); margin-bottom: 4px; }
.scope-option small { color: var(--muted); font-size: 13px; }
.series-scope-footer { display: flex; justify-content: flex-end; gap: 8px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { background: rgba(0,0,0,.04); }

/* === CMS Live-Preview-Rail (Elementor-Stil Split-View) === */
.cms-live-preview {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 50vw;
    background: var(--paper, #fafaf6);
    border-left: 1px solid var(--line);
    box-shadow: -8px 0 24px rgba(0,0,0,.08);
    display: none;
    flex-direction: column;
    z-index: 90;
    transform: translateX(100%);
    transition: transform .25s cubic-bezier(.32,.72,.42,1);
}
.cms-live-preview.is-open {
    display: flex;
    transform: translateX(0);
}
html.cms-preview-open .acc-main--admin,
html.cms-preview-open .acc-footer {
    padding-right: min(480px, 50vw);
    transition: padding-right .25s cubic-bezier(.32,.72,.42,1);
}
.cms-live-preview__toolbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    gap: 12px;
}
.cms-live-preview__toolbar .eyebrow {
    font: 700 9.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--gold, #bd8d49);
    margin: 0 0 2px;
}
.cms-live-preview__toolbar strong {
    font: 700 14px/1 'Montserrat', sans-serif; color: var(--ink);
}
.cms-live-preview__actions { display: flex; gap: 6px; align-items: center; }
.cms-live-preview__actions .btn.small { padding: 6px 10px; font-size: 12px; }
.cms-live-preview__viewport {
    flex: 1; min-height: 0;
    background: #efece6;
    position: relative;
    overflow: hidden;
}
.cms-live-preview__viewport iframe {
    border: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: block;
}
.cms-live-preview__hint {
    padding: 8px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
}
.cms-live-preview__hint small { font-size: 11.5px; line-height: 1.4; display: block; }

@media (max-width: 1180px) {
    .cms-live-preview { width: 100%; max-width: 100%; }
    html.cms-preview-open .acc-main--admin,
    html.cms-preview-open .acc-footer { padding-right: 0; }
}

/* Toggle-Button im section-head soll Status zeigen */
#cmsPreviewToggle[aria-pressed="true"] {
    background: var(--gold, #bd8d49); color: #fff; border-color: var(--gold, #bd8d49);
}

/* === CMS Section-Template-Tabs (Elementor-Stil) === */
.cms-template-tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.cms-template-tab {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    font: 700 11.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted);
    cursor: pointer;
    transition: all .12s;
}
.cms-template-tab:hover { color: var(--ink); border-color: var(--ink); }
.cms-template-tab.is-active {
    background: var(--gold, #bd8d49); color: #fff; border-color: var(--gold, #bd8d49);
}
.cms-template-grid {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.cms-template-meta { display: flex; flex-direction: column; gap: 2px; }
.cms-template-cat {
    display: inline-block; align-self: flex-start;
    background: rgba(189,141,73,.12); color: var(--gold, #bd8d49);
    font: 700 9.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 3px 7px; border-radius: 4px;
    margin-top: 4px;
}

/* === Event-Card V2 (Hero-Bild + Date-Badge + Footer-Bar) === */
/* Verwendung: in events.php und section.php list_embed mit Quelle 'events' */
.event-card-v2-grid {
    display: grid;
    gap: 30px 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    margin-top: 12px;
    align-items: stretch;
}
.event-card-v2 {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: #2a1d12;
    border: 1px solid rgba(255, 250, 242, .08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
    transition: transform .2s cubic-bezier(.32, .72, .42, 1), box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.event-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
}
.event-card-v2:hover .event-card-v2__arrow {
    transform: translateX(6px);
}
.event-card-v2__hero {
    position: relative;
    aspect-ratio: 16 / 11;
    background: #1a0e07;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
/* Fallback wenn kein Bild gesetzt — warm-dunkles Cigar/Whisky-Mood-Gradient */
.event-card-v2__hero--default {
    background:
        radial-gradient(ellipse at 35% 70%, rgba(180, 95, 25, .35), transparent 55%),
        radial-gradient(ellipse at 70% 40%, rgba(218, 165, 86, .14), transparent 50%),
        linear-gradient(160deg, #0d0905 0%, #2a1810 45%, #0d0905 100%);
}
.event-card-v2__hero--default::before {
    /* Dezenter Rauch-Effekt (sehr subtil) */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 25%, rgba(255, 245, 230, .07), transparent 45%);
    pointer-events: none;
}
.event-card-v2__hero--default::after {
    /* Cigar-SVG-Silhouette mittig unten */
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    aspect-ratio: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' fill='none' stroke='rgba(218,165,86,0.25)' stroke-width='1.5' stroke-linecap='round'><path d='M30 60 L160 60 L172 64 L160 68 L30 68 Z' fill='rgba(120,75,40,0.12)'/><path d='M160 60 L172 64 L160 68' fill='rgba(218,165,86,0.35)'/><path d='M30 60 Q30 50 35 50 L42 50 Q42 60 30 60' fill='rgba(60,30,15,0.5)'/><path d='M100 50 Q98 35 100 25 Q103 32 100 50' opacity='.55'/><path d='M115 45 Q113 30 116 22 Q119 30 115 45' opacity='.45'/></svg>");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.event-card-v2__date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1f3b2c;
    color: #fffaf2;
    padding: 12px 16px;
    border-radius: 4px;
    text-align: center;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    min-width: 70px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    z-index: 2;
}
.event-card-v2__date strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: #fffaf2;
}
.event-card-v2__date small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 250, 242, .92);
    margin-top: 2px;
}
.event-card-v2__body {
    padding: 22px 22px 18px;
    background: #2a1d12;
    color: #f4e8db;
    flex: 1;
}
.event-card-v2__title {
    font: 800 18px/1.2 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 10px;
    color: #fffaf2;
}
.event-card-v2__desc {
    font: 400 14px/1.5 'Inter', sans-serif;
    color: rgba(244, 232, 219, .78);
    margin: 0;
}
.event-card-v2__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    background: #1a3225;
    color: #d9bd87;
    font: 600 13.5px/1.3 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 250, 242, .04);
}
.event-card-v2__cta {
    color: #d9bd87;
}
.event-card-v2__cta strong {
    font-weight: 700;
    color: #fffaf2;
}
.event-card-v2__arrow {
    display: inline-block;
    color: #d9bd87;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s cubic-bezier(.32, .72, .42, 1);
}
@media (max-width: 720px) {
    .event-card-v2-grid { grid-template-columns: 1fr; }
    .event-card-v2__title { font-size: 16px; }
    .event-card-v2__footer { padding: 12px 16px; font-size: 12.5px; }
    .event-card-v2__body { padding: 18px 18px 14px; }
}

/* CMS-Drawer Hard-Hide wenn nicht offen — verhindert dass die fixed-position Overlay-Container
   den Editor visuell stören. visibility:hidden allein reichte nicht überall (z.B. Backdrop-Filter,
   Stacking-Context-Probleme in manchen Browsern). */
.cms-drawer:not(.is-open) {
    display: none !important;
}
.cms-drawer.is-open {
    display: block;
}

/* === Admin Detail-Page Tab-Subnavigation === */
/* Einheitliches Pattern für Multi-Section-Pages (Einstellungen, Compliance, Account-Sicherheit).
   Tabs liegen unter dem section-head, jede Section ist eine eigene Box mit Border + Padding. */
.admin-tabs {
    display: flex; gap: 4px; flex-wrap: wrap;
    margin: 8px 0 22px;
    padding: 4px;
    background: var(--paper, #f5f1e8);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 12px;
}
.admin-tabs__btn {
    flex: 1; min-width: 140px;
    background: transparent; border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    font: 700 11.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted, #6b6357);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.admin-tabs__btn:hover { color: var(--ink, #1f1a14); background: rgba(0,0,0,.04); }
.admin-tabs__btn.is-active { background: var(--gold, #bd8d49); color: #fff; }
.admin-tabs__btn[aria-selected="true"] { background: var(--gold, #bd8d49); color: #fff; }

.admin-section {
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 14px;
    padding: 26px 28px;
    margin-bottom: 16px;
}
.admin-section[hidden] { display: none; }
.admin-section__head {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line, #e6e1d8);
}
.admin-section__head .eyebrow {
    color: var(--gold, #bd8d49);
    margin: 0 0 4px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: .12em;
}
.admin-section__head h2 {
    margin: 2px 0 6px;
    font: 800 18px/1.2 'Montserrat', sans-serif;
    color: var(--ink, #1f1a14);
}
.admin-section__head .lead {
    color: var(--muted, #6b6357);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}
.admin-section__body { display: block; }
.admin-section__body > label { display: block; margin-bottom: 14px; }
.admin-section__body > .grid-2 { margin-bottom: 14px; }

@media (max-width: 720px) {
    .admin-tabs { flex-direction: column; }
    .admin-tabs__btn { width: 100%; min-width: 0; }
    .admin-section { padding: 20px 18px; }
}

/* === WordPress-Admin-Stil — CMS Content-Editor Redesign === */
/* WP-Tabs (horizontale Tab-Bar mit gold Unterstrich beim aktiven Tab).
   Sticky-Position klebt die Tab-Bar beim Hochscrollen direkt unter die Topbar. */
.wp-tabs {
    display: flex; flex-wrap: wrap;
    border-bottom: 2px solid var(--line, #e6e1d8);
    margin: 8px 0 28px;
    gap: 0;
    position: sticky;
    top: 76px;
    z-index: 20;
    background: var(--paper, #fafaf6);
    padding-top: 4px;
}
@media (max-width: 720px) {
    .wp-tabs { top: 60px; }
}
.wp-tabs__btn {
    padding: 14px 22px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    font: 700 12.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted, #6b6357);
    cursor: pointer;
    margin-bottom: -2px;
    transition: all .12s;
}
.wp-tabs__btn:hover { color: var(--ink, #1f1a14); }
.wp-tabs__btn.is-active {
    color: var(--gold, #bd8d49);
    border-bottom-color: var(--gold, #bd8d49);
}
.wp-tabs__btn[aria-selected="true"] {
    color: var(--gold, #bd8d49);
    border-bottom-color: var(--gold, #bd8d49);
}
.wp-tab-content[hidden] { display: none; }

/* WP-Form-Subsection als collapsible Widget-Box (WordPress-Pattern).
   Rendert mit <details> + <summary>, klick auf Header klappt auf/zu. */
.wp-form-section {
    padding: 0;
    border-bottom: 1px solid var(--line, #e6e1d8);
}
.wp-form-section:last-child { border-bottom: 0; }
.wp-form-section[open] { padding-bottom: 22px; }
.wp-form-section__head {
    margin: 0;
    padding: 18px 0 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    list-style: none;
    user-select: none;
    transition: padding .15s;
}
.wp-form-section__head::-webkit-details-marker { display: none; }
.wp-form-section__head::marker { display: none; content: ''; }
.wp-form-section__head:hover h3 { color: var(--gold, #bd8d49); }
.wp-form-section__head-text {
    flex: 1;
    min-width: 0;
}
.wp-form-section__head h3 {
    font: 800 16px/1.2 'Montserrat', sans-serif;
    margin: 0 0 4px;
    color: var(--ink, #1f1a14);
    transition: color .15s;
}
.wp-form-section__head p {
    color: var(--muted, #6b6357);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}
.wp-form-section__head::after {
    content: '';
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--line, #e6e1d8);
    background: transparent;
    transition: transform .25s cubic-bezier(.32, .72, .42, 1), border-color .15s;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6357' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
    margin-top: 2px;
}
.wp-form-section[open] > .wp-form-section__head::after {
    transform: rotate(0);
    border-color: var(--gold, #bd8d49);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bd8d49' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.wp-form-section__body {
    display: grid;
    gap: 14px;
    padding-top: 6px;
    animation: wpFormSectionFadeIn .18s ease-out;
}
@keyframes wpFormSectionFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.wp-form-section__body label {
    display: block;
    font-weight: 600;
    color: var(--ink, #1f1a14);
}
.wp-form-section__body label > small {
    display: block;
    font-weight: 400;
    color: var(--muted, #6b6357);
    margin-top: 4px;
    font-size: 12px;
}

/* Field-Hint: kleiner grauer Hilfetext unter einem Input, oft mit Beispiel */
.wp-field-hint {
    display: block;
    font-weight: 400;
    color: var(--muted, #6b6357);
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
}
.wp-field-hint code,
.wp-field-hint strong {
    background: rgba(189,141,73,.10);
    color: var(--gold, #bd8d49);
    font-family: 'JetBrains Mono', 'Menlo', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Field-Tag: kleiner Badge neben dem Label (z.B. "optional", "Frontend: Hero") */
.wp-field-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: rgba(189,141,73,.12);
    color: var(--gold, #bd8d49);
    font: 700 9.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 4px;
    vertical-align: middle;
}
.wp-field-tag--muted {
    background: rgba(107,99,87,.10);
    color: var(--muted, #6b6357);
}
.wp-field-tag--info {
    background: rgba(74,52,39,.12);
    color: var(--ink, #1f1a14);
}

/* Field-Group: visuelle Untergruppe innerhalb einer wp-form-section */
.wp-field-group {
    padding: 12px 14px;
    background: var(--paper, #fafaf6);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 8px;
    margin-top: 8px;
}
.wp-field-group__head {
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted, #6b6357);
    margin: 0 0 10px;
}

/* Inline-Code für Beispielwerte im Hint */
.wp-form-section__body code,
.wp-form-section__body kbd {
    background: rgba(189,141,73,.10);
    color: var(--gold, #bd8d49);
    font: 600 11px/1.4 'JetBrains Mono', 'Menlo', monospace;
    padding: 2px 6px;
    border-radius: 4px;
}
.wp-form-section__body input[type="text"],
.wp-form-section__body input[type="email"],
.wp-form-section__body input[type="url"],
.wp-form-section__body input[type="number"],
.wp-form-section__body select,
.wp-form-section__body textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 8px;
    background: #fff;
    font: 400 14px/1.4 'Inter', sans-serif;
    color: var(--ink, #1f1a14);
}
.wp-form-section__body textarea { min-height: 110px; resize: vertical; }
.wp-form-section__body .wp-radio-row { display: flex; gap: 18px; margin-top: 8px; }
.wp-form-section__body .wp-radio-row label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.wp-form-section__body .wp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) {
    .wp-form-section__body .wp-grid-2 { grid-template-columns: 1fr; }
}

/* Section-Card-Liste (Sektionen-Tab) */
.section-card-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}
.section-card {
    display: grid;
    grid-template-columns: 32px 130px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 12px;
    transition: border-color .15s, transform .1s, box-shadow .15s;
}
.section-card:hover {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.section-card.is-dragging { opacity: .4; cursor: grabbing; }
.section-card__handle {
    cursor: grab;
    color: var(--muted, #6b6357);
    font-size: 18px;
    user-select: none;
    text-align: center;
    line-height: 1;
}
.section-card__handle:active { cursor: grabbing; }
.section-card__thumb {
    width: 130px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    position: relative;
    background: rgba(74,52,39,.08);
    overflow: hidden;
}
.section-card__body { min-width: 0; }
.section-card__body .eyebrow {
    font: 700 9.5px/1 'Montserrat', sans-serif;
    color: var(--gold, #bd8d49);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 3px;
}
.section-card__body h3 {
    font: 700 14px/1.3 'Montserrat', sans-serif;
    margin: 0 0 4px;
    color: var(--ink, #1f1a14);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.section-card__body small {
    color: var(--muted, #6b6357);
    font-size: 12px;
}
.section-card__actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.section-card__empty {
    padding: 32px 24px;
    text-align: center;
    background: var(--paper, #fafaf6);
    border: 2px dashed var(--line, #e6e1d8);
    border-radius: 12px;
    color: var(--muted, #6b6357);
}

/* Vollbild Section-Edit Shell */
.section-edit-shell {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0;
}
/* Section-Edit darf breiter sein als die 1080px-Default-Admin-Page. Der Form selbst
   wird zentriert und transparent, damit die Workspace-2-Spalten genug Platz bekommen. */
.acc-main .admin-page.section-edit-shell > form,
.acc-main--admin .admin-page.section-edit-shell > form {
    max-width: 1560px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.acc-main .admin-page.section-edit-shell > .panel,
.acc-main--admin .admin-page.section-edit-shell > .panel {
    max-width: 1560px !important;
}
.section-edit-shell__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line, #e6e1d8);
    gap: 16px;
    flex-wrap: wrap;
}
.section-edit-shell__head h1 {
    margin: 4px 0 0;
    font: 800 22px/1.1 'Montserrat', sans-serif;
}
.section-edit-shell__back {
    color: var(--muted, #6b6357);
    text-decoration: none;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.section-edit-shell__back:hover { color: var(--gold, #bd8d49); }
/* 2-Spalten-Workspace: Preview links (sticky), Widget-Sidebar rechts.
   Pattern wie im WordPress-Block-Editor — Hauptarbeitsfläche links, Eigenschaften rechts. */
.section-edit-shell__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}
.section-edit-shell__preview-wrap {
    position: sticky;
    top: 92px;
    margin-bottom: 0;
    align-self: start;
}
.section-edit-shell__preview-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
    flex-wrap: wrap;
}
.preview-size-toggle {
    display: inline-flex;
    background: var(--paper, #fafaf6);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 999px;
    padding: 3px;
    gap: 0;
}
.preview-size-toggle button {
    border: 0;
    background: transparent;
    padding: 7px 16px;
    border-radius: 999px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted, #6b6357);
    cursor: pointer;
    transition: all .15s;
}
.preview-size-toggle button:hover { color: var(--ink, #1f1a14); }
.preview-size-toggle button.is-active {
    background: var(--gold, #bd8d49);
    color: #fff;
}
.section-edit-shell__preview {
    position: relative;
    background: #efece6;
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 14px;
    overflow: hidden;
    margin: 0 auto;
    transition: max-width .25s cubic-bezier(.32,.72,.42,1);
    height: 600px;
    max-width: 100%;
}
.section-edit-shell__preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}
/* Dirty-Indicator + Overlay: zeigt wenn das Form ungespeicherte Änderungen hat,
   damit klar wird dass das Iframe noch den gespeicherten Stand zeigt. */
.preview-dirty-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(189,141,73,.14);
    border: 1px solid rgba(189,141,73,.45);
    border-radius: 999px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold, #bd8d49);
}
.preview-dirty-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold, #bd8d49);
    box-shadow: 0 0 0 0 rgba(189,141,73,.6);
    animation: previewDirtyPulse 1.6s infinite;
}
@keyframes previewDirtyPulse {
    0% { box-shadow: 0 0 0 0 rgba(189,141,73,.55); }
    70% { box-shadow: 0 0 0 8px rgba(189,141,73,0); }
    100% { box-shadow: 0 0 0 0 rgba(189,141,73,0); }
}
.preview-dirty-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,15,15,.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    padding: 18px;
}
.preview-dirty-overlay__box {
    background: var(--paper, #fafaf6);
    border: 1px solid var(--line, #e6e1d8);
    border-left: 4px solid var(--gold, #bd8d49);
    border-radius: 10px;
    padding: 12px 16px;
    max-width: 520px;
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.preview-dirty-overlay__box strong {
    display: block;
    font: 700 13px/1.3 'Montserrat', sans-serif;
    color: var(--ink, #1f1a14);
    margin-bottom: 4px;
}
.preview-dirty-overlay__box small {
    display: block;
    color: var(--muted, #6b6357);
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive Vorschau-Breiten (Buttons schalten via data-preview-width) */
.section-edit-shell__preview-wrap[data-preview-width="desktop"] .section-edit-shell__preview {
    max-width: 100%;
    height: 640px;
}
.section-edit-shell__preview-wrap[data-preview-width="tablet"] .section-edit-shell__preview {
    max-width: 820px;
    height: 600px;
}
.section-edit-shell__preview-wrap[data-preview-width="mobile"] .section-edit-shell__preview {
    max-width: 390px;
    height: 720px;
    border-radius: 22px;
    border: 8px solid #1f1a14;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
/* Widget-Sidebar (rechts): jede wp-form-section wird zur eigenen Card,
   damit die Sidebar wie ein WordPress-Widget-Stack wirkt. */
.section-edit-shell__sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.section-edit-shell__sidebar > .wp-form-section {
    background: #fff;
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 12px;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(17,16,14,.04);
    border-bottom: 1px solid var(--line, #e6e1d8);
}
.section-edit-shell__sidebar > .wp-form-section > .wp-form-section__head {
    padding: 14px 0 12px;
}
.section-edit-shell__sidebar > .wp-form-section > .wp-form-section__head h3 {
    font-size: 14px;
}
.section-edit-shell__sidebar > .wp-form-section > .wp-form-section__head p {
    font-size: 12px;
}
.section-edit-shell__sidebar > .wp-form-section[open] {
    padding-bottom: 16px;
}
.section-edit-shell__sidebar > .wp-form-section[open] > .wp-form-section__head {
    border-bottom: 1px solid var(--line, #e6e1d8);
}
.section-edit-shell__sidebar .wp-grid-2 {
    grid-template-columns: 1fr;
}
.section-edit-shell__sidebar .wp-form-section__body {
    gap: 12px;
}

/* Responsive Fallback: ab unter 1180px Workspace stacken — Preview oben,
   Sidebar darunter (volle Breite). Sticky-Verhalten deaktivieren. */
@media (max-width: 1180px) {
    .section-edit-shell__workspace {
        grid-template-columns: 1fr;
    }
    .section-edit-shell__preview-wrap {
        position: static;
        top: auto;
    }
}
.section-edit-shell__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line, #e6e1d8);
    position: sticky;
    bottom: 0;
    background: var(--paper, #fafaf6);
    padding-bottom: 12px;
    z-index: 5;
}

/* Section-Edit Boxen-Sektion */
.section-edit-boxes { display: grid; gap: 10px; }
.section-edit-box {
    background: var(--paper, #fafaf6);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 10px;
    padding: 14px 16px;
}
.section-edit-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}
.section-edit-box__title {
    font: 700 12px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold, #bd8d49);
}
.section-edit-box__remove {
    background: transparent;
    border: 0;
    color: var(--muted, #6b6357);
    font-size: 18px;
    cursor: pointer;
    padding: 2px 8px;
}
.section-edit-box__remove:hover { color: #c03030; }

/* Template-Picker (Sektion hinzufügen) */
.template-picker {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-top: 18px;
}
.template-picker__card {
    padding: 14px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e6e1d8);
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
    text-align: left;
    display: block;
    text-decoration: none;
    color: inherit;
    font: inherit;
    width: 100%;
}
.template-picker__card:hover {
    border-color: var(--gold, #bd8d49);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.template-picker__card .cms-template-shot {
    display: block;
    aspect-ratio: 16/9;
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.template-picker__card strong {
    display: block;
    font: 700 14px/1.2 'Montserrat', sans-serif;
    color: var(--ink, #1f1a14);
    margin-bottom: 4px;
}
.template-picker__card .template-picker__cat {
    display: inline-block;
    background: rgba(189,141,73,.12);
    color: var(--gold, #bd8d49);
    font: 700 9.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 3px 7px;
    border-radius: 4px;
    margin: 4px 0;
}
.template-picker__card small {
    display: block;
    color: var(--muted, #6b6357);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 4px;
}

/* =========================================================
   EVENT DETAIL — Card-Layout (2 Spalten: Hero/Meta links, Anmeldeformular rechts)
   ========================================================= */
.event-detail {
    background: var(--paper, #f6f1e8);
    padding: 48px 0 72px;
}
.event-detail__shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.event-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold, #bd8d49);
    text-decoration: none;
    font: 600 14px/1 'Inter', sans-serif;
    margin-bottom: 28px;
    transition: color .15s;
}
.event-detail__back svg { width: 18px; height: 18px; }
.event-detail__back:hover { color: var(--ink, #11100e); }

.event-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 980px) {
    .event-detail__grid { grid-template-columns: 1fr; }
}

/* Hero-Bild mit Badge */
.event-hero {
    position: relative;
    margin: 0 0 26px;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #2a1f1a 0%, #4a3427 100%);
}
.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.event-hero__placeholder {
    width: 100%; height: 100%;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(189,141,73,.18), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(74,52,39,.4), transparent 60%),
        linear-gradient(135deg, #2a1f1a 0%, #4a3427 100%);
}
.event-hero__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(189,141,73,.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 999px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.event-hero__badge svg { width: 14px; height: 14px; }

/* Titel + Lead */
.event-detail__title {
    font: 900 clamp(34px, 4.6vw, 56px)/.98 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: var(--ink, #11100e);
    margin: 0 0 16px;
    letter-spacing: -.005em;
}
.event-detail__lead {
    font: 400 17px/1.55 'Inter', sans-serif;
    color: var(--muted, #756d62);
    margin: 0 0 28px;
    max-width: 56ch;
}

/* Meta-Card mit Date-Badge + 4 Stats */
.event-meta {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(17,16,14,.04);
}
.event-meta__date {
    background: var(--forest, #173d35);
    color: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    flex-shrink: 0;
    line-height: 1;
}
.event-meta__day {
    font: 900 40px/1 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 6px;
}
.event-meta__month {
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 6px;
}
.event-meta__year {
    font: 600 12px/1 'Inter', sans-serif;
    opacity: .8;
}
.event-meta__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}
@media (max-width: 720px) {
    .event-meta { grid-template-columns: 1fr; text-align: center; }
    .event-meta__date { justify-self: center; }
    .event-meta__stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
}
.event-meta__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.event-meta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold, #bd8d49);
    margin-bottom: 2px;
}
.event-meta__icon svg { width: 22px; height: 22px; }
.event-meta__label {
    font: 700 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted, #756d62);
}
.event-meta__value {
    font: 700 15px/1.2 'Inter', sans-serif;
    color: var(--ink, #11100e);
}

/* Hinweis-Card unter Meta */
.event-hint {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    background: rgba(189,141,73,.12);
    border: 1px solid rgba(189,141,73,.25);
    border-radius: 14px;
    color: #5a4a35;
}
.event-hint__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(189,141,73,.22);
    color: var(--gold, #bd8d49);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.event-hint__icon svg { width: 18px; height: 18px; }
.event-hint p {
    margin: 0;
    font: 500 14px/1.55 'Inter', sans-serif;
    color: #5a4a35;
}

/* Form-Card (rechts) */
.event-form-card {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 8px 28px rgba(17,16,14,.06);
    position: sticky;
    top: 24px;
}
.event-form-card__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 4px;
}
.event-form-card__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(189,141,73,.14);
    color: var(--gold, #bd8d49);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.event-form-card__icon svg { width: 28px; height: 28px; }
.event-form-card__head h2 {
    margin: 0 0 6px;
    font: 800 24px/1.15 'Montserrat', sans-serif;
    color: var(--ink, #11100e);
}
.event-form-card__head p {
    margin: 0;
    font: 400 13px/1.5 'Inter', sans-serif;
    color: var(--muted, #756d62);
}

.event-form-card__toggle {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.event-form-card__toggle legend {
    font: 600 13px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
    padding: 0;
    margin: 0 0 8px;
    float: none;
    width: auto;
}
.event-form-card__toggle-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--paper, #f6f1e8);
    border-radius: 12px;
    padding: 4px;
}
.attendee-toggle { position: relative; cursor: pointer; }
.attendee-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.attendee-toggle > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font: 600 14px/1 'Inter', sans-serif;
    color: var(--muted, #756d62);
    transition: all .15s;
    width: 100%;
}
.attendee-toggle > span svg { width: 18px; height: 18px; }
.attendee-toggle input:checked + span {
    background: var(--gold, #bd8d49);
    color: #fff;
    box-shadow: 0 2px 8px rgba(189,141,73,.3);
}

.event-form-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 560px) {
    .event-form-card__row { grid-template-columns: 1fr; }
}
.event-form-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font: 600 13px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.event-form-card label > small {
    color: var(--muted, #756d62);
    font-weight: 400;
}
.event-form-card__hint {
    color: var(--muted, #756d62);
    font: 400 12px/1.4 'Inter', sans-serif;
    margin-top: -2px;
}
.event-form-card__member-hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 12px 14px;
    background: rgba(23, 61, 53, .08);
    border: 1px solid rgba(23, 61, 53, .18);
    border-radius: 10px;
    font: 400 12.5px/1.5 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.event-form-card__member-hint svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--forest, #173d35);
    margin-top: 1px;
}
[data-guest-only][hidden],
[data-member-only][hidden] { display: none !important; }

/* Settings — Event-Default-Image-Pflege */
.event-default-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
@media (max-width: 720px) {
    .event-default-grid { grid-template-columns: 1fr; }
}
.event-default-preview {
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    overflow: hidden;
    background: var(--paper, #f6f1e8);
    display: flex;
    flex-direction: column;
}
.event-default-preview img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.event-default-preview small {
    padding: 10px 12px;
    font: 500 12px/1.4 'Inter', sans-serif;
    color: var(--muted, #756d62);
    border-top: 1px solid var(--line, #ded4c4);
    background: #fff;
}
.event-default-controls {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.event-form-card__optional {
    color: var(--muted, #756d62);
    font-weight: 400;
}

/* „Im Preis enthalten" — Bullet-Liste mit Gold-Häkchen, eigene Card direkt unter dem Hint-Block */
.event-price-includes {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-left: 4px solid var(--gold, #bd8d49);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(17,16,14,.04);
}
.event-price-includes h3 {
    font: 800 13px/1.2 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink, #11100e);
    margin: 0 0 12px;
}
.event-price-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-price-includes li {
    position: relative;
    padding-left: 26px;
    font: 500 14px/1.5 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.event-price-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--gold, #bd8d49);
    font-weight: 800;
    font-size: 16px;
}

/* =========================================================
   MEMBERS-LISTING — Card-basiert, kein Wrapper-Background, kein horizontal-Scroll
   ========================================================= */
/* Wrapper transparent: keine Box-in-Box, .members-panel ist nur Flow-Container */
.acc-main .admin-page > .members-panel,
.acc-main--admin .admin-page > .members-panel {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
}

/* Header-Zeile (Spalten-Labels) — gedämpfter Streifen oberhalb der Cards.
   Spalten: [check] [Name] [Beitritt] [Status] [Geb.] [Zahlung] [Aktion] */
.members-list-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1.6fr) 100px 100px 100px 100px 48px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 10px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted, #6b6357);
    border-bottom: 1px solid var(--line, #ded4c4);
}
.members-list-head__action { text-align: right; }
.members-list-head__check { display: flex; align-items: center; justify-content: center; }
@media (max-width: 980px) {
    .members-list-head { display: none; }
}

/* Liste = vertikaler Card-Stack */
.members-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.members-empty {
    background: #fff;
    border: 1px dashed var(--line, #ded4c4);
    border-radius: 12px;
    text-align: center;
    padding: 36px 20px;
    color: var(--muted, #6b6357);
    font: 500 14px/1.5 'Inter', sans-serif;
}

/* Member-Card: eigene Box, ohne Tabellen-Look.
   Spalten matchen das Header-Grid: [check] [Name+Mail] [Beitritt] [Status] [Geb.] [Zahlung] [Aktion-Icon] */
.member-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1.6fr) 100px 100px 100px 100px 48px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    transition: border-color .15s, box-shadow .15s, transform .1s;
}
.member-card[data-href] { cursor: pointer; }
.member-card:hover {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 4px 14px rgba(17, 16, 14, .06);
}
.member-card:focus-visible {
    outline: 2px solid var(--gold, #bd8d49);
    outline-offset: 2px;
    border-color: var(--gold, #bd8d49);
}
/* Interaktive Inseln innerhalb der Card behalten Standard-Cursor — sonst wirkt
   alles wie ein Link auch wenn man ankreuzen oder das Icon nutzen will. */
.member-card__check,
.member-card__check input,
.member-card__edit { cursor: pointer; }
.member-card__check { cursor: default; }
.member-card--inactive { opacity: .7; }
.member-card--inactive .member-card__avatar {
    background: linear-gradient(135deg, #b0a89a 0%, #8d8378 100%);
}

.member-card__check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-card__id {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.member-card__avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold, #bd8d49) 0%, #a87739 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 800 13px/1 'Montserrat', sans-serif;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.member-card__id-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.member-card__id-text strong {
    color: var(--ink, #11100e);
    font: 700 14px/1.3 'Inter', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-card__id-text small {
    color: var(--muted, #6b6357);
    font-size: 12px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-card__contact {
    min-width: 0;
    overflow: hidden;
}
.member-card__email {
    display: block;
    color: var(--ink, #11100e);
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.member-card__contact small {
    color: var(--muted, #6b6357);
    font-size: 12px;
    display: block;
    margin-top: 2px;
}

.member-card__bday,
.member-card__pay,
.member-card__status,
.member-card__joined {
    font-size: 13px;
    color: var(--ink, #11100e);
}

.member-card__actions {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

/* Bearbeiten-Icon: kleiner Round-Button mit Stift */
.member-card__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(189, 141, 73, .10);
    color: var(--gold, #bd8d49);
    border: 1px solid rgba(189, 141, 73, .25);
    transition: all .15s;
    text-decoration: none;
}
.member-card__edit:hover {
    background: var(--gold, #bd8d49);
    color: #fff;
    border-color: var(--gold, #bd8d49);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(189, 141, 73, .35);
}
.member-card__edit svg { width: 16px; height: 16px; }

/* Mobile-Label (versteckt im Desktop-Grid, sichtbar bei Stacked-Mobile) */
.member-card__mobile-label {
    display: none;
}

/* Mobile-Stack: ab unter 980px kollabieren Spalten zu vertikalen Listen-Items */
@media (max-width: 980px) {
    .member-card {
        grid-template-columns: 38px 1fr 48px;
        gap: 10px 14px;
        align-items: start;
    }
    .member-card__check { grid-column: 1 / 2; align-self: center; }
    .member-card__id { grid-column: 2 / 3; align-self: center; }
    .member-card__actions { grid-column: 3 / 4; align-self: center; justify-content: flex-end; }
    .member-card__joined,
    .member-card__bday,
    .member-card__pay,
    .member-card__status {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 50px;
        border-top: 1px dashed var(--line, #ded4c4);
        padding-top: 8px;
    }
    .member-card__mobile-label {
        display: inline-block;
        font: 700 10.5px/1 'Montserrat', sans-serif;
        text-transform: uppercase;
        letter-spacing: .12em;
        color: var(--muted, #6b6357);
    }
}

.pay-pref-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(23, 61, 53, .08);
    color: var(--forest, #173d35);
    border: 1px solid rgba(23, 61, 53, .18);
}
.pay-pref-pill.pay-pref--twint { background: rgba(189, 141, 73, .12); color: var(--gold, #bd8d49); border-color: rgba(189, 141, 73, .3); }
.pay-pref-pill.pay-pref--qr_bill { background: rgba(23, 61, 53, .10); color: var(--forest, #173d35); border-color: rgba(23, 61, 53, .25); }
.pay-pref-pill.pay-pref--stripe { background: rgba(99, 91, 255, .10); color: #5a52d4; border-color: rgba(99, 91, 255, .25); }
.pay-pref-pill.pay-pref--manual { background: rgba(107, 99, 87, .12); color: var(--muted, #6b6357); border-color: rgba(107, 99, 87, .25); }

.members-row__actions {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

/* Bulk-Action-Bar — slidet sanft rein/raus sobald Checkboxen ausgewählt werden.
   Default: collapsed (max-height/opacity 0). is-visible: fadet ein + Höhe. */
.bulk-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0 18px;
    background: linear-gradient(135deg, rgba(189, 141, 73, .14) 0%, rgba(189, 141, 73, .06) 100%);
    border: 1px solid transparent;
    border-radius: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    margin-bottom: 0;
    transition:
        max-height .32s cubic-bezier(.32, .72, .42, 1),
        opacity .22s ease-out,
        padding .22s ease-out,
        margin .22s ease-out,
        transform .22s ease-out,
        border-color .22s ease-out;
    pointer-events: none;
}
.bulk-bar.is-visible {
    max-height: 160px;
    opacity: 1;
    padding: 14px 18px;
    margin-bottom: 14px;
    transform: translateY(0);
    border-color: rgba(189, 141, 73, .22);
    pointer-events: auto;
}
.bulk-bar__info {
    font: 700 14px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.bulk-bar__info strong {
    display: inline-block;
    background: var(--gold, #bd8d49);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    margin-right: 6px;
}
.bulk-bar__form {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
}
.bulk-bar__form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: 600 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted, #6b6357);
}
.bulk-bar__form input {
    padding: 8px 12px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 8px;
    background: #fff;
    font: 600 14px/1.2 'Inter', sans-serif;
    color: var(--ink, #11100e);
}

.bulk-check {
    width: 18px;
    height: 18px;
    accent-color: var(--gold, #bd8d49);
    cursor: pointer;
}
#bulkAll {
    width: 18px;
    height: 18px;
    accent-color: var(--gold, #bd8d49);
    cursor: pointer;
}

/* Form-Card im „Anmeldungen geschlossen"-Modus — gedämpfte Variante mit Schloss-Icon */
.event-form-card--closed {
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    gap: 12px;
}
.event-form-card--closed .event-form-card__icon {
    background: rgba(107,99,87,.14);
    color: var(--muted, #756d62);
    margin: 0 auto 4px;
}
.event-form-card--closed h2 {
    color: var(--muted, #756d62);
    font: 800 22px/1.2 'Montserrat', sans-serif;
    margin: 0 0 6px;
}
.event-form-card--closed p {
    color: var(--muted, #756d62);
    font: 400 14px/1.55 'Inter', sans-serif;
    margin: 0;
    max-width: 36ch;
}

/* Input mit Icon-Prefix */
.event-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    color: var(--muted, #756d62);
}
.event-input:focus-within {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 0 0 3px rgba(189,141,73,.15);
}
.event-input svg { width: 16px; height: 16px; flex-shrink: 0; }
.event-input input,
.event-input textarea {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 0;
    font: 400 14px/1.4 'Inter', sans-serif;
    color: var(--ink, #11100e);
    outline: none;
    min-width: 0;
    width: 100%;
}
.event-input--textarea {
    align-items: flex-start;
    padding: 0 14px;
    flex-direction: row;
}
.event-input--textarea textarea {
    padding: 12px 0;
    resize: vertical;
    min-height: 84px;
}
.event-input__suffix {
    color: var(--muted, #756d62);
    margin-top: 14px;
}

.event-form-card__notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: rgba(189,141,73,.10);
    border: 1px solid rgba(189,141,73,.25);
    border-radius: 12px;
    color: #5a4a35;
}
.event-form-card__notice svg {
    width: 22px; height: 22px;
    flex-shrink: 0;
    color: var(--gold, #bd8d49);
    margin-top: 1px;
}
.event-form-card__notice p {
    margin: 0;
    font: 400 13px/1.55 'Inter', sans-serif;
    color: #5a4a35;
}
.event-form-card__notice strong { color: var(--ink, #11100e); }

.event-form-card__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--gold, #bd8d49);
    color: #fff;
    font: 700 15px/1 'Inter', sans-serif;
    cursor: pointer;
    transition: all .15s;
    margin-top: 4px;
}
.event-form-card__submit:hover {
    background: var(--ink, #11100e);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17,16,14,.18);
}
.event-form-card__submit svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
    .event-form-card { position: static; top: auto; }
}

/* =========================================================
   MEMBER-EDIT v2 — Premium-Profile-Layout
   Wrapper transparent (kein Box-in-Box), eigene Card-Sektionen
   ========================================================= */
.acc-main .admin-page.member-edit-shell,
.acc-main--admin .admin-page.member-edit-shell { padding: 0 !important; }
.acc-main .admin-page.member-edit-shell > *,
.acc-main--admin .admin-page.member-edit-shell > * {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-width: 1100px !important;
}

.member-edit-shell__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line, #ded4c4);
}
.member-edit-shell__back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold, #bd8d49);
    font: 600 13px/1 'Inter', sans-serif;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .15s;
}
.member-edit-shell__back svg { width: 16px; height: 16px; }
.member-edit-shell__back:hover { color: var(--ink, #11100e); }
.member-edit-shell__head h1 { margin: 4px 0 0; font: 800 26px/1.1 'Montserrat', sans-serif; }
.member-edit-shell__head .lead { margin: 6px 0 0; color: var(--muted, #6b6357); font-size: 13px; }

.member-edit-form { display: flex; flex-direction: column; gap: 16px; }

/* Card-Block — gemeinsamer Container für alle Sektions-Karten */
.member-card-block {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(17, 16, 14, .04);
}

/* Profile-Header: 3 Spalten — Avatar / Stammdaten / 18+-Verifikation */
.member-profile-header {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    .member-profile-header { grid-template-columns: 1fr; }
}
.member-profile-header__avatar {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.member-profile-header__avatar img,
.member-profile-header__initials {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
}
.member-profile-header__initials {
    background: linear-gradient(135deg, var(--gold, #bd8d49) 0%, #a87739 100%);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font: 800 42px/1 'Montserrat', sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.member-profile-header__photo-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 999px;
    cursor: pointer;
    font: 600 12px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
    background: var(--paper, #f6f1e8);
    transition: all .15s;
}
.member-profile-header__photo-btn:hover { border-color: var(--gold, #bd8d49); color: var(--gold, #bd8d49); }
.member-profile-header__photo-btn svg { width: 14px; height: 14px; }
.member-profile-header__avatar small {
    color: var(--muted, #6b6357);
    font-size: 11px;
}
.member-profile-header__fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.member-profile-header__fields label,
.member-subcard label {
    display: flex; flex-direction: column; gap: 4px;
    font: 600 12px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.member-profile-header__fields input,
.member-profile-header__fields select,
.member-subcard input,
.member-subcard select,
.member-subcard textarea {
    padding: 10px 12px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 8px;
    background: #fff;
    font: 400 14px/1.3 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.member-profile-header__verify {
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex; flex-direction: column; gap: 8px;
}
.member-profile-header__verify--ok { background: rgba(74, 144, 95, .08); border-color: rgba(74, 144, 95, .25); }
.member-profile-header__verify--warn { background: rgba(189, 141, 73, .08); border-color: rgba(189, 141, 73, .25); }
.member-profile-header__verify--fail { background: rgba(180, 60, 60, .08); border-color: rgba(180, 60, 60, .25); }
.member-profile-header__verify-label {
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted, #6b6357);
    margin: 0;
}
.member-profile-header__verify-state {
    display: flex; align-items: center; gap: 8px;
    color: var(--ink, #11100e);
    font: 700 15px/1.2 'Montserrat', sans-serif;
}
.member-profile-header__verify-state svg { width: 22px; height: 22px; color: inherit; }
.member-profile-header__verify--ok .member-profile-header__verify-state { color: #2e6f43; }
.member-profile-header__verify--warn .member-profile-header__verify-state { color: var(--gold, #bd8d49); }
.member-profile-header__verify small { color: var(--muted, #6b6357); font-size: 11.5px; }

/* Onboarding-Card */
.member-onboarding-card {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 18px;
    align-items: center;
    background: rgba(189, 141, 73, .08);
    border: 1px solid rgba(189, 141, 73, .22);
    border-radius: 14px;
    padding: 16px 22px;
}
.member-onboarding-card__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gold, #bd8d49);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.member-onboarding-card__icon svg { width: 24px; height: 24px; }
.member-onboarding-card__text strong { display: block; font: 800 15px/1.2 'Montserrat', sans-serif; color: var(--ink, #11100e); }
.member-onboarding-card__text small { color: var(--muted, #6b6357); font-size: 12.5px; }
.member-onboarding-card__progress { text-align: right; font-size: 12px; color: var(--muted, #6b6357); }
.member-onboarding-card__progress span { display: block; margin-bottom: 6px; }
.progress-bar {
    width: 220px; height: 8px;
    background: rgba(189, 141, 73, .15);
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar > span {
    display: block; height: 100%;
    background: var(--gold, #bd8d49);
    transition: width .3s ease-out;
}

/* Persönliche Daten — 2 Cards side-by-side */
.member-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 880px) { .member-data-grid { grid-template-columns: 1fr; } }
.member-subcard {
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex; flex-direction: column; gap: 12px;
}
.member-subcard__head { display: flex; justify-content: space-between; align-items: center; }
.member-subcard__head h3 { margin: 0; font: 800 14px/1 'Montserrat', sans-serif; }
.member-subcard__hint { color: var(--muted, #6b6357); font-size: 12px; margin: 0; }
.member-subcard__hint--ok { color: #2e6f43; }

/* Stat-Cards (4 Spalten) */
.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.member-stat-card {
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    padding: 14px 18px;
}
.member-stat-card small {
    display: block;
    font: 700 10.5px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted, #6b6357);
    margin-bottom: 8px;
}
.member-stat-card strong {
    display: block;
    font: 800 26px/1 'Montserrat', sans-serif;
    color: var(--ink, #11100e);
    margin-bottom: 6px;
}
.member-stat-card p { margin: 0; color: var(--muted, #6b6357); font-size: 12px; }

/* Dues-Listing */
.member-dues-list { display: flex; flex-direction: column; gap: 10px; }
.member-due-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 10px;
    gap: 14px;
}
.member-due-row__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.member-due-row__main strong { color: var(--ink, #11100e); font: 700 14px/1.3 'Inter', sans-serif; }
.member-due-row__main small { color: var(--muted, #6b6357); font-size: 12px; }
.member-due-row__main code { background: rgba(189,141,73,.10); padding: 1px 6px; border-radius: 4px; font-size: 11.5px; }
.member-due-row__status { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.member-due-row__status select {
    padding: 6px 10px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 6px;
    background: #fff;
    font-size: 12.5px;
}

/* Activity + Onboarding-Checklist Grid */
.member-activity-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
}
@media (max-width: 880px) { .member-activity-grid { grid-template-columns: 1fr; } }
.member-activity-card {
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    padding: 16px 18px;
}
.member-activity-card header h3 { margin: 0 0 12px; font: 800 14px/1 'Montserrat', sans-serif; }
.member-activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.member-activity-list li {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--line, #ded4c4);
}
.member-activity-list__icon { font-size: 16px; line-height: 1; }
.member-activity-list li strong { display: block; font: 600 13px/1.3 'Inter', sans-serif; color: var(--ink, #11100e); }
.member-activity-list li small { display: block; color: var(--muted, #6b6357); font-size: 11.5px; margin-top: 2px; }
.member-activity-list li time { color: var(--muted, #6b6357); font-size: 11px; white-space: nowrap; }

.member-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.member-checklist li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
    color: var(--muted, #6b6357);
    font: 500 13px/1.3 'Inter', sans-serif;
}
.member-checklist li.is-done { color: var(--ink, #11100e); }
.member-checklist__check {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--line, #ded4c4);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: var(--muted, #6b6357);
}
.member-checklist li.is-done .member-checklist__check {
    background: #2e6f43;
    color: #fff;
    border-color: #2e6f43;
}

/* Notes-Block */
.member-notes-block { display: flex; flex-direction: column; gap: 16px; }
.member-notes-block__head { display: flex; justify-content: space-between; align-items: flex-start; }
.member-notes-block__head h3 { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 'Montserrat', sans-serif; }
.member-notes-block__head small { display: block; color: var(--muted, #6b6357); font-size: 12px; margin-top: 4px; }
.member-notes-block__lock { color: var(--muted, #6b6357); }
.member-notes-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.member-notes-list li {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
    padding: 12px 14px;
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 10px;
}
.member-notes-list li.is-handled { opacity: .6; }
.member-notes-list li p { margin: 0 0 6px; font-size: 13.5px; color: var(--ink, #11100e); line-height: 1.5; }
.member-notes-list li small { color: var(--muted, #6b6357); font-size: 11.5px; }
.member-notes-form { display: flex; flex-direction: column; gap: 10px; }
.member-notes-form label { display: flex; flex-direction: column; gap: 4px; font: 600 12px/1 'Inter', sans-serif; }
.member-notes-form textarea {
    padding: 10px 12px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 8px;
    font: 400 14px/1.4 'Inter', sans-serif;
    resize: vertical;
}
.member-notes-form__row { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.member-notes-form__row label { gap: 4px; }
.member-notes-form__row input[type="date"] { padding: 8px 12px; border: 1px solid var(--line, #ded4c4); border-radius: 8px; }

/* Footer */
.member-edit-shell__footer {
    /* Override für globalen `footer { background:#11100e; padding:38px... }`-Selektor */
    background: transparent !important;
    color: var(--ink, #11100e) !important;
    padding: 18px 0 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--line, #ded4c4);
}
/* Innerhalb dieses Footers den Public-Body-Color-Inheritance neutralisieren */
.member-edit-shell__footer * { color: inherit; }

/* =========================================================
   ACCOUNT-MAIN (Public-Member-Selfservice) — Forms, Avatar, Dues, Pay-Methods
   ========================================================= */
.acc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 4px;
}
@media (max-width: 720px) { .acc-form-grid { grid-template-columns: 1fr; } }
.acc-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: 600 12px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.acc-form-grid input,
.acc-form-grid select,
.acc-form-grid textarea {
    padding: 10px 12px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 8px;
    background: #fff;
    font: 400 14px/1.3 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.acc-form-grid input:disabled { background: var(--paper, #f6f1e8); color: var(--muted, #6b6357); }
.acc-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line, #ded4c4);
}

.acc-profile-avatar {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 8px;
}
.acc-profile-avatar__visual {
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold, #bd8d49) 0%, #a87739 100%);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.acc-profile-avatar__visual img { width: 100%; height: 100%; object-fit: cover; }
.acc-profile-avatar__initials {
    color: #fff;
    font: 800 32px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.acc-profile-avatar__upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.acc-profile-avatar__upload .btn {
    align-self: flex-start;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.acc-profile-avatar__upload small {
    color: var(--muted, #6b6357);
    font-size: 12px;
}

/* Payment-Info-Block — Hinweis "keine Auto-Abbuchung" */
.acc-payment-info p {
    color: var(--ink, #11100e);
    margin: 0 0 10px;
    line-height: 1.55;
}
.acc-payment-info p:last-child { margin-bottom: 0; }

/* Beitragsrechnungen-Liste in Account-Invoices */
.acc-dues-list { display: flex; flex-direction: column; gap: 10px; }
.acc-dues-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--paper, #f6f1e8);
    border: 1px solid var(--line, #ded4c4);
    border-radius: 10px;
}
.acc-dues-row > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acc-dues-row strong { color: var(--ink, #11100e); font: 700 14px/1.3 'Inter', sans-serif; }
.acc-dues-row small { color: var(--muted, #6b6357); font-size: 12px; }
.acc-dues-row code { background: rgba(189,141,73,.10); padding: 1px 6px; border-radius: 4px; font-size: 11.5px; }
.acc-dues-row__actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Bezahl-Methoden-Block (Galaxus-Stil) */
.acc-pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}
@media (max-width: 720px) { .acc-pay-methods { grid-template-columns: 1fr; } }
.acc-pay-method {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.acc-pay-method.is-preferred {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 4px 14px rgba(189, 141, 73, .15);
}
.acc-pay-method__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.acc-pay-method__head > div { flex: 1; min-width: 0; }
.acc-pay-method__head strong {
    display: block;
    font: 800 14px/1.2 'Montserrat', sans-serif;
    color: var(--ink, #11100e);
    margin-bottom: 4px;
}
.acc-pay-method__head small { color: var(--muted, #6b6357); font-size: 12px; line-height: 1.4; }
.acc-pay-method__icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.acc-pay-method dl.acc-list { margin: 0; }
.acc-pay-method .btn { align-self: flex-start; }

/* Portal-Listen klickbar (Dashboard "Nächste Termine" / "Letzte Bestellungen") */
.portal-list--linked li { padding: 0; }
.portal-list--linked li a {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 10px;
    background: var(--paper, #f6f1e8);
    color: var(--ink, #11100e);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .1s;
}
.portal-list--linked li a:hover {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 4px 14px rgba(17, 16, 14, .06);
    transform: translateY(-1px);
}
.portal-list--linked li a strong { display: block; color: var(--ink, #11100e); font: 700 14px/1.3 'Inter', sans-serif; margin-bottom: 4px; }
.portal-list--linked li a span { color: var(--muted, #6b6357); font-size: 12.5px; }
.portal-list__empty {
    display: block;
    padding: 14px 16px;
    color: var(--muted, #6b6357);
    font-size: 13px;
    border: 1px dashed var(--line, #ded4c4);
    border-radius: 10px;
}
.portal-list__empty strong { color: var(--ink, #11100e); }

/* Einladungslinks im Card-Layout */
.member-link-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 130px 130px;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    transition: border-color .15s, box-shadow .15s;
}
.member-link-card:hover {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 4px 14px rgba(17, 16, 14, .06);
}
.member-link-card.is-inactive { opacity: .65; }
.member-link-card__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.member-link-card__url {
    background: rgba(189,141,73,.08);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    color: var(--ink, #11100e);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.member-link-card__main small { color: var(--muted, #6b6357); font-size: 11.5px; }
.member-link-card__expiry { font-size: 13px; color: var(--ink, #11100e); }
.member-link-card__actions { text-align: right; }
@media (max-width: 880px) {
    .member-link-card { grid-template-columns: 1fr; }
    .member-link-card__actions { text-align: left; }
}

/* Filter-Bar für Jahresbeiträge-Übersicht */
.dues-filter-bar {
    display: flex;
    gap: 14px;
    align-items: end;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    margin-bottom: 14px;
}
.dues-filter-bar label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font: 700 11px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted, #6b6357);
}
.dues-filter-bar select {
    padding: 8px 14px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 8px;
    background: #fff;
    font: 600 14px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
    min-width: 140px;
}

/* POS Schnellpositionen — Card-Grid mit Bild */
.pos-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.pos-quick-card {
    background: #fff;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    display: flex;
    flex-direction: column;
}
.pos-quick-card:hover {
    border-color: var(--gold, #bd8d49);
    box-shadow: 0 6px 18px rgba(17, 16, 14, .08);
    transform: translateY(-2px);
}
.pos-quick-card:focus-visible {
    outline: 2px solid var(--gold, #bd8d49);
    outline-offset: 2px;
    border-color: var(--gold, #bd8d49);
}
.pos-quick-card.is-inactive { opacity: .55; }
.pos-quick-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--paper, #f6f1e8);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted, #6b6357);
}
.pos-quick-card__image svg { width: 40px; height: 40px; }
.pos-quick-card__status { position: absolute; top: 8px; right: 8px; }
.pos-quick-card__body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.pos-quick-card__body strong { color: var(--ink, #11100e); font: 700 14px/1.3 'Inter', sans-serif; }
.pos-quick-card__body small { color: var(--muted, #6b6357); font-size: 12px; }
.pos-quick-card__price {
    color: var(--gold, #bd8d49);
    font: 800 16px/1 'Montserrat', sans-serif;
    margin-top: 6px;
}
.pos-quick-card__actions {
    display: flex;
    gap: 6px;
    padding: 0 14px 14px;
}

/* Edit-Form Layout für POS-Quick-Item (Bild links, Felder rechts) */
.pos-quick-form__layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
@media (max-width: 720px) { .pos-quick-form__layout { grid-template-columns: 1fr; } }
.pos-quick-form__image { display: flex; flex-direction: column; gap: 10px; }
.pos-quick-form__image-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--paper, #f6f1e8);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted, #6b6357);
}
.pos-quick-form__fields { min-width: 0; }

/* POS-Kasse Button mit Bild-Background */
/* POS-Card Premium-Look — quadratisch, Bild dominant, Text als Overlay unten.
   Gilt für ALLE POS-Produkte (Quick-Items wie auch reguläre Produkt-Tiles). */
.pos-page button.pos-product {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(17,16,14,.04);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.pos-page button.pos-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(17,16,14,.12);
    border-color: var(--gold, #bd8d49);
}
.pos-page button.pos-product.is-flash {
    transform: scale(.98);
    box-shadow: 0 0 0 3px var(--gold, #bd8d49);
}

/* Bild-Layer füllt die ganze Card */
.pos-page button.pos-product .pos-product__image {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: 0;
    background-color: var(--paper, #f6f1e8);
    background-size: cover;
    background-position: center;
}
.pos-page button.pos-product.has-image .pos-product__image {
    background-color: #2a1f1a;
}
/* Falls das Bild als <img>-Tag (regulärer Produkt-Markup) kommt — es füllt die Card */
.pos-page button.pos-product .pos-product__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Placeholder-SVG bleibt in der Mitte sichtbar wenn kein Bild */
.pos-page button.pos-product .pos-product__placeholder {
    color: rgba(189,141,73,.40);
    width: 64px; height: 64px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Dunkler Gradient von unten — macht den Overlay-Text lesbar.
   Quick-Items ohne Bild bekommen ein helleres creme-Gradient. */
.pos-page button.pos-product::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0) 35%,
        rgba(15,12,8,.55) 70%,
        rgba(15,12,8,.92) 100%);
    pointer-events: none;
}
.pos-page button.pos-product:not(.has-image):not(:has(img))::after {
    background: linear-gradient(to bottom,
        rgba(255,255,255,0) 40%,
        rgba(74,52,39,.04) 60%,
        rgba(74,52,39,.18) 100%);
}

/* Body als Text-Overlay unten */
.pos-page button.pos-product .pos-product__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    z-index: 2;
    gap: 2px;
}
/* Auf Foto: weisser Text mit Shadow. Ohne Foto: dunkler Text. */
.pos-page button.pos-product.has-image .pos-product__title,
.pos-page button.pos-product.has-image .pos-product__meta,
.pos-page button.pos-product:has(img) .pos-product__title,
.pos-page button.pos-product:has(img) .pos-product__meta {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.pos-page button.pos-product .pos-product__title {
    font: 800 15px/1.2 'Montserrat', sans-serif;
}
.pos-page button.pos-product .pos-product__meta {
    font: 600 10px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .85;
}
.pos-page button.pos-product .pos-product__price {
    font: 800 18px/1 'Montserrat', sans-serif;
    color: var(--gold, #bd8d49);
    margin-top: 6px;
}
.pos-page button.pos-product.has-image .pos-product__price,
.pos-page button.pos-product:has(img) .pos-product__price {
    color: #f3c97a;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Plus-Button: deutlicher, gold, schwebt oben rechts */
.pos-page button.pos-product .pos-product__add {
    position: absolute;
    top: 10px; right: 10px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gold, #bd8d49);
    color: #fff;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.pos-page button.pos-product .pos-product__add svg { width: 18px; height: 18px; }

/* Mobile: Cards bleiben quadratisch aber Text kleiner */
@media (max-width: 640px) {
    .pos-page button.pos-product .pos-product__title { font-size: 13px; }
    .pos-page button.pos-product .pos-product__price { font-size: 16px; }
    .pos-page button.pos-product .pos-product__body { padding: 10px 12px; }
}
.member-edit-shell__danger {
    color: #b43c3c;
    border-color: rgba(180, 60, 60, .3);
}
.member-edit-shell__danger:hover {
    background: rgba(180, 60, 60, .08);
    color: #b43c3c;
}

/* 18+ Verify-Action-Buttons im Profile-Header */
.member-profile-header__verify-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.member-profile-header__verify-actions form { display: inline-flex; }
.member-profile-header__verify-actions .btn { font-size: 11px; padding: 5px 10px; }

/* Beitragsbefreiung-Block */
.member-dues-exempt-block {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 12px;
    background: var(--paper, #f6f1e8);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.member-dues-exempt-block legend {
    font: 800 12px/1 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink, #11100e);
    padding: 0 8px;
    margin-left: -8px;
}
.member-dues-exempt-reason {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 28px;
    font: 600 12px/1 'Inter', sans-serif;
    color: var(--ink, #11100e);
}
.member-dues-exempt-reason input {
    padding: 8px 12px;
    border: 1px solid var(--line, #ded4c4);
    border-radius: 6px;
    background: #fff;
    font-weight: 400;
    font-size: 13px;
}

/* Status-Pill "info" Variante für „Beitragsbefreit" */
.status-pill.info {
    background: rgba(99, 91, 255, .10);
    color: #5a52d4;
    border: 1px solid rgba(99, 91, 255, .25);
}

/* Dues-Row Aktionen-Reihe */
.member-due-row__actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
    align-items: center;
}
.member-due-row__actions .btn { font-size: 11.5px; padding: 5px 10px; }
.member-due-row__actions code { background: rgba(189,141,73,.10); padding: 1px 5px; border-radius: 4px; font-size: 11px; }

/* ════════════════════════════════════════════════════════════════════
   MOBILE APP-LOOK (25.05.2026) — nur Phone (≤720px). Macht aus der unteren
   Leiste eine echte App-Tab-Bar (Icon + Label + Aktiv-Zustand + Safe-Area +
   Press-Feedback) und poliert Header/Buttons. Desktop bleibt unverändert.
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    /* Platz fuer die etwas hoehere Tab-Bar inkl. iPhone-Home-Indicator */
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }

    /* ---- App-Tab-Bar ---- */
    .sticky-info {
        background:
            linear-gradient(180deg, rgba(189,141,73,.10), rgba(189,141,73,.03)),
            rgba(18, 26, 23, .97);
        border-top: 1px solid rgba(189,141,73,.30);
        box-shadow: 0 -10px 34px rgba(0,0,0,.42);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .sticky-info__item {
        border-right: 0 !important;            /* keine Trennstriche -> App-Look */
        gap: 4px;
        padding: 9px 4px 7px;
        min-height: 58px;
        color: rgba(244,234,220,.60);          /* inaktiv: gedaempft */
        transition: color .16s ease, transform .12s ease;
    }
    .sticky-info__item:active { transform: scale(.9); }   /* Press-Feedback */
    .sticky-info__num { display: none !important; }
    .sticky-info__label {
        display: block !important;
        font: 700 9.5px/1 'Montserrat', Arial, sans-serif;
        letter-spacing: .03em;
        text-transform: uppercase;
        white-space: nowrap;
        color: inherit;
    }
    .sticky-info__icon { color: inherit; }
    .sticky-info__icon svg { width: 23px; height: 23px; }

    /* Aktiver Tab: Gold + Indikator-Pille oben */
    .sticky-info__item.is-active { color: var(--gold); }
    .sticky-info__item.is-active .sticky-info__icon,
    .sticky-info__item.is-active .sticky-info__label { color: var(--gold); }
    .sticky-info__item.is-active::before {
        content: '';
        position: absolute;
        top: 0; left: 50%; transform: translateX(-50%);
        width: 26px; height: 3px;
        border-radius: 0 0 4px 4px;
        background: var(--gold);
        box-shadow: 0 0 10px rgba(189,141,73,.65);
    }
    /* Sticky-Hover auf Touch neutralisieren */
    .sticky-info__item:hover { background: transparent; }
    .sticky-info--admin .sticky-info__item--logout .sticky-info__icon { color: #d98a8a; }

    /* ---- App-Header: schwebende Elevation + Hairline ---- */
    .topbar { box-shadow: 0 1px 0 rgba(17,16,14,.06), 0 10px 26px rgba(17,16,14,.06); }

    /* ---- Buttons/Cards: App-typische Rundungen + Press-Feedback ---- */
    .btn:active { transform: scale(.97); }
    .cart-fab:active { transform: translateY(-50%) scale(.92); }
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE APP-LOOK · TEIL 2 — Inhalt/Cards wie eine App (≤720px).
   Cookie-Banner ueber die Tab-Bar heben + App-Feed-Rhythmus + Kachel-Politur.
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    /* Cookie-Banner sass UEBER der Tab-Bar und verdeckte sie -> jetzt darueber */
    .cc-consent__bar { bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important; }

    /* Einheitlicher Innenabstand: ALLES im Container 40px vom Rand (mobile Ansicht) */
    .container { padding-left: 40px; padding-right: 40px; }

    /* App-Feed-Rhythmus: keine Vollbild-Sektionen, kompakter Hero, ruhige Abstaende */
    .hero { min-height: 58vh; }
    .hero .container { padding-top: 64px; padding-bottom: 38px; }
    /* Sub-Page-Heroes einheitlich kompakt + gleiche Breite (Container) wie Home (P1-07/HERO-15) */
    .page-hero,
    .shop-hero { min-height: 34vh !important; padding-top: 78px !important; padding-bottom: 30px !important; }
    .page-hero > .container,
    .shop-hero { padding-left: 40px; padding-right: 40px; }
    .v2-section { padding-top: 28px; padding-bottom: 28px; }
    .v2-section[data-h="100vh"],
    .v2-section[data-h="80vh"],
    .v2-section[data-h="60vh"],
    .v2-section[data-h="40vh"] { --v2-h: auto; min-height: 62vh; }

    /* Event-Cards als kompakte App-LISTE: Thumbnail links, Titel + CTA rechts
       (das grosse Bild-Layout ist fuers Handy zu wuchtig). Reines CSS-Grid:
       das Thumbnail spannt beide Zeilen, Titel oben, CTA unten ("zweizeilig"). */
    .event-card-v2-grid { gap: 24px; }
    .event-card-v2 {
        display: grid;
        grid-template-columns: 96px 1fr;
        align-items: stretch;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0,0,0,.26), 0 1px 3px rgba(0,0,0,.18);
        transition: transform .14s cubic-bezier(.32,.72,.42,1);
    }
    .event-card-v2:active { transform: scale(.99); }
    .event-card-v2__hero {
        grid-column: 1; grid-row: 1 / 3;
        aspect-ratio: auto; width: 96px; min-height: 100%;
    }
    .event-card-v2__hero--default::after { width: 78%; }
    .event-card-v2__date {
        top: 6px; left: 6px; padding: 4px 6px; min-width: 0; border-radius: 6px;
    }
    .event-card-v2__date strong { font-size: 17px; margin-bottom: 0; }
    .event-card-v2__date small { font-size: 7.5px; letter-spacing: .07em; margin-top: 1px; }
    .event-card-v2__body {
        grid-column: 2; grid-row: 1;
        padding: 11px 14px 2px; align-self: center;
    }
    .event-card-v2__title {
        font-size: 14px; line-height: 1.22; margin: 0;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .event-card-v2__desc { display: none; }   /* Beschreibung: fuer die Liste zu viel */
    .event-card-v2__footer {
        grid-column: 2; grid-row: 2;
        padding: 3px 14px 11px;
        background: transparent; border-top: 0; align-self: end;
    }
    .event-card-v2__cta { font-size: 12.5px; }
    .event-card-v2__arrow { font-size: 18px; }

    /* v2-Glass-Boxen (Features/Team/Stats etc.) ebenfalls app-typisch */
    .v2-glass { border-radius: 18px; }
    .v2-glass:active { transform: scale(.99); }

    /* News-Liste: gleiche kompakte Listen-Optik + Hoehe wie Event-Cards (ohne Bild) */
    .news-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
    .news-list .event-card {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 2px 12px;
        padding: 13px 16px;
        min-height: 74px;
        border-radius: 14px;
        background: #2a1d12;
        border: 1px solid rgba(255, 250, 242, .08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
        color: #f4e8db;
        text-align: left;
    }
    .news-list .event-card:active { transform: scale(.99); }
    .news-list .event-card > span {
        grid-column: 1; grid-row: 1; align-self: center;
        font: 700 9.5px/1 'Montserrat', sans-serif; letter-spacing: .14em;
        text-transform: uppercase; color: #d9bd87; margin: 0;
    }
    .news-list .event-card > h3 {
        grid-column: 1; grid-row: 2;
        font: 800 14px/1.22 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .03em;
        margin: 3px 0 0; color: #fffaf2;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .news-list .event-card > p {
        grid-column: 1 / -1; grid-row: 3;
        font: 400 12px/1.4 'Inter', sans-serif; color: rgba(244, 232, 219, .66);
        margin: 5px 0 0;
        display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    }
    .news-list .event-card > .btn {
        grid-column: 2; grid-row: 1 / 3; align-self: center;
        padding: 7px 14px; font-size: 11px; border-radius: 999px;
        background: var(--gold); border-color: var(--gold); color: #15110c;
    }
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE APP-LOOK · TEIL 3 — horizontale Swipe-Carousels + kompaktere Typo
   (≤720px). Karten-Grids werden wie in einer App seitlich scrollbar (Snap +
   "Peek" auf die naechste Karte), Ueberschriften/Texte kompakter. Gilt auf
   allen Seiten mit diesen v2-Grids (Club, Ueber-uns, Start, …).
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    /* Kompaktere Section-Koepfe */
    .v2-head { gap: 8px; }
    .v2-head h2 { font-size: 24px; line-height: 1.08; }
    .v2-head__eyebrow { font-size: 10px; letter-spacing: .2em; }
    .v2-head__lead { font-size: 14px; line-height: 1.5; }

    /* Karten-Grids -> horizontaler Swipe-Carousel, edge-to-edge mit Peek */
    .v2-pricing__grid,
    .v2-features__grid,
    .v2-team__grid,
    .v2-testimonials__grid,
    .v2-stats__grid {
        display: flex !important;
        flex-flow: row nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -40px !important;
        margin-right: -40px !important;
        padding: 6px 40px 16px;
        max-width: none !important;
    }
    .v2-pricing__grid::-webkit-scrollbar,
    .v2-features__grid::-webkit-scrollbar,
    .v2-team__grid::-webkit-scrollbar,
    .v2-testimonials__grid::-webkit-scrollbar,
    .v2-stats__grid::-webkit-scrollbar { display: none; }

    .v2-pricing__grid > *,
    .v2-features__grid > *,
    .v2-team__grid > *,
    .v2-testimonials__grid > *,
    .v2-stats__grid > * {
        flex: 0 0 82%;
        scroll-snap-align: start;
        min-width: 0;
        transform: none !important;     /* evtl. Stagger-Versatz neutralisieren */
    }
    /* Stats sind klein -> zwei pro Ansicht */
    .v2-stats__grid > * { flex-basis: 46%; }

    /* Preis-Karten kompakter */
    .v2-pricing__tier { padding: 20px 18px; min-height: auto; gap: 12px; }
    .v2-pricing__price { font-size: 21px; line-height: 1.1; }
    .v2-pricing__features { gap: 7px; }
    .v2-pricing__features li { font-size: 12.5px; line-height: 1.45; padding-left: 22px; }
    .v2-pricing__cta { padding: 11px 16px; font-size: 11px; }
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE APP-LOOK · TEIL 4 — Shop-Filter im Galaxus-Stil (≤720px):
   Die lange Filter-Spalte wird ein Off-Canvas-Sheet, ausgeloest von einem
   kompakten Filter-Button + horizontaler Quick-Chip-Reihe (kleine Icons).
   Produkte sind sofort sichtbar. Desktop bleibt unveraendert.
   ════════════════════════════════════════════════════════════════════ */
.shop-filter-toggle,
.shop-quickfilter,
.shop-sidebar__sheethead,
.shop-filter-backdrop { display: none; }

@media (max-width: 720px) {
    .shop-archive__inner { display: block; }   /* Produkte zuerst; Sidebar -> Sheet */

    /* Shop-Hero kompakter, damit die Produkte frueher sichtbar sind */
    .shop-hero { min-height: auto !important; padding-top: 30px !important; padding-bottom: 22px !important; }
    .shop-hero h1 { font-size: 26px; line-height: 1.06; margin-bottom: 10px; }
    .shop-hero p { font-size: 13.5px; line-height: 1.5; margin-bottom: 0; }
    .shop-hero__actions { display: none; }   /* mobil redundant — Produkte stehen direkt darunter, Warenkorb im Cart-FAB/Tab */

    /* Kompakte Filter-Bar: Button links, Sortierung rechts, Anzahl Zeile 2 */
    .shop-results__topbar {
        display: flex !important; flex-direction: row !important; flex-wrap: wrap;
        align-items: center; gap: 8px 10px; margin-top: 6px;
    }
    .shop-filter-toggle {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 9px 14px; border-radius: 999px;
        background: var(--gold); color: #15110c; border: 0; cursor: pointer;
        font: 800 12px/1 'Montserrat', sans-serif; letter-spacing: .03em; text-transform: uppercase;
        white-space: nowrap; flex: 0 0 auto;
    }
    .shop-filter-toggle svg { width: 15px; height: 15px; }
    .shop-filter-toggle__count {
        background: #15110c; color: var(--gold); border-radius: 999px;
        min-width: 18px; height: 18px; display: inline-grid; place-items: center;
        font-size: 10px; font-weight: 800; padding: 0 4px;
    }
    .shop-results__count { font-size: 11.5px; color: rgba(244, 234, 220, .6); order: 3; flex: 1 0 100%; }
    .shop-results__sort { flex: 0 0 auto; margin-left: auto; }
    .shop-results__sort label span { display: none; }
    .shop-results__sort select { font-size: 12px; padding: 8px 10px; max-width: 130px; }

    /* Quick-Chips — umbrechen statt rechts abschneiden (kein „Schatten"/Cut am Rand) */
    .shop-quickfilter {
        display: flex; flex-wrap: wrap; gap: 8px;
        margin: 12px 0 4px;
    }
    .shop-quickfilter__chip {
        flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
        padding: 8px 13px; border-radius: 999px;
        background: rgba(255, 255, 255, .05); border: 1px solid rgba(189, 141, 73, .26);
        color: #f4eadc; font: 600 12px/1 'Inter', sans-serif; text-decoration: none; white-space: nowrap;
    }
    .shop-quickfilter__chip svg { width: 14px; height: 14px; opacity: .8; }
    .shop-quickfilter__chip.is-active { background: var(--gold); border-color: var(--gold); color: #15110c; }
    .shop-quickfilter__chip.is-active svg { opacity: 1; }

    /* Sidebar -> Off-Canvas Filter-Sheet (von links) */
    .shop-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 70;
        width: min(86vw, 360px);
        background: #14110d; border-right: 1px solid rgba(189, 141, 73, .22);
        transform: translateX(-102%); transition: transform .28s cubic-bezier(.32, .72, .42, 1);
        overflow-y: auto;
    }
    /* Schatten nur wenn offen — sonst blutet er beim geparkten Sheet in die Seite */
    .shop-sidebar.is-open { transform: none; box-shadow: 24px 0 70px rgba(0, 0, 0, .55); }
    .shop-sidebar__form { padding: 0 18px calc(28px + env(safe-area-inset-bottom, 0px)); }
    .shop-sidebar__sheethead {
        display: flex; align-items: center; justify-content: space-between;
        position: sticky; top: 0; z-index: 2; background: #14110d;
        margin: 0 -18px 10px; padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .shop-sidebar__sheethead strong { font: 800 14px/1 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
    .shop-sidebar__close { background: none; border: 0; color: #f4eadc; font-size: 26px; line-height: 1; padding: 2px 8px; cursor: pointer; }
    .shop-sidebar__group { margin-bottom: 14px; }

    /* Backdrop hinter dem Sheet */
    .shop-filter-backdrop { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .55); }
    .shop-filter-backdrop[hidden] { display: none; }
}

/* === Admin: Hinweis auf ausstehende DB-Migrationen (nur Prime-Admin) === */
.migrate-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 22px;
    padding: 16px 20px;
    background: #fff7e6;
    border: 1px solid #f0c878;
    border-left: 5px solid #e6911e;
    border-radius: 12px;
    color: #5c4408;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(230, 145, 30, .12);
    transition: background .15s ease, box-shadow .15s ease;
}
.migrate-alert:hover { background: #fff1d4; box-shadow: 0 4px 16px rgba(230, 145, 30, .20); }
.migrate-alert__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e6911e;
    color: #fff;
}
.migrate-alert__icon svg { width: 22px; height: 22px; }
.migrate-alert__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.migrate-alert__body strong { font-size: 15px; font-weight: 800; color: #7a4f06; }
.migrate-alert__body span { font-size: 13px; line-height: 1.45; color: #6b5114; }
.migrate-alert__cta {
    flex: 0 0 auto;
    align-self: center;
    padding: 9px 16px;
    background: #e6911e;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .15s ease;
}
.migrate-alert:hover .migrate-alert__cta { background: #cf7d10; }

/* Zaehler-Badge an Sidebar-Links (z.B. ausstehende Migrationen) */
.acc-nav__badge {
    margin-left: auto;
    flex: 0 0 auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-grid;
    place-items: center;
    background: #e23b3b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
}

@media (max-width: 720px) {
    .migrate-alert { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
    .migrate-alert__cta { width: 100%; text-align: center; }
}

/* =========================================================
   GALERIE — App-like Bild-Grid, Album-Cards, Lightbox
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
/* Album-Übersicht: Cover-Card */
.album-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.album-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17,16,14,.16); border-color: var(--gold); }
.album-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--paper);
    overflow: hidden;
}
.album-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.album-card:hover .album-card__media img { transform: scale(1.04); }
.album-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line); }
.album-card__placeholder svg { width: 54px; height: 54px; }
.album-card__badge {
    position: absolute; top: 10px; left: 10px;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(17,16,14,.72); color: #fff;
    font: 700 10px/1 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .1em;
    backdrop-filter: blur(4px);
}
.album-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.album-card__body h3 { margin: 0; font-size: 17px; }
.album-card__body p { margin: 0; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.album-card__cta { margin-top: 6px; color: var(--gold); font-weight: 800; font-size: 13px; }
/* Album-Detail: Bild-Tiles */
.gallery-tile { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery-tile__btn {
    display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px;
    overflow: hidden; cursor: pointer; background: var(--paper); aspect-ratio: 4 / 5;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gallery-tile__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,16,14,.18); border-color: var(--gold); }
.gallery-tile__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery-tile__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-tile figcaption { color: var(--muted); font-size: 13px; padding: 0 2px; }
/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(9,11,10,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; max-width: min(1100px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: 12px; }
.lightbox__stage img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox__stage figcaption { color: rgba(255,255,255,.82); text-align: center; font-size: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .15s ease; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }

/* =========================================================
   EMPTY-STATE — global, app-like (Icon + Titel + Hinweis)
   ========================================================= */
.empty-state {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 12px; padding: clamp(40px, 8vw, 72px) 24px;
    background: var(--surface); border: 1px dashed var(--line); border-radius: 16px;
    color: var(--muted);
}
.empty-state svg { width: 52px; height: 52px; color: var(--line); }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 19px; }
.empty-state p { margin: 0; max-width: 440px; font-size: 14px; }

@media (max-width: 720px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .album-card__body h3 { font-size: 15px; }
    .lightbox__close { top: 10px; right: 14px; }
}

/* =========================================================
   BEITRAEGE — Status-Aktion (Buchhalter), Touch-freundlich
   ========================================================= */
.dues-action { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.dues-action__select {
    min-height: 38px; padding: 6px 10px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff;
    font-size: 12.5px; max-width: 120px;
}
.dues-action__apply { min-height: 38px; white-space: nowrap; }
.dues-filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 16px; }
.dues-filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.dues-filter-bar select { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (max-width: 720px) {
    .dues-action { flex-direction: column; align-items: stretch; gap: 6px; }
    .dues-action__select { max-width: none; }
    .dues-filter-bar { gap: 8px; }
    .dues-filter-bar label, .dues-filter-bar select { width: 100%; }
}

/* =========================================================================
   DESIGN-POLISH 2026-06 — behutsame Veredelung des Lounge-Looks
   (Typo-Hierarchie, warme Tiefe, Gold-Akzente, dezente Bewegung)
   On-brand, low-risk, vollständig per prefers-reduced-motion abgesichert.
   ========================================================================= */

/* Warme Schatten-Tokens (Sepia statt Neutralgrau) — Karten nutzen var(--shadow) */
:root {
  --shadow: 0 24px 70px -18px rgba(54,34,12,.18), 0 4px 14px -6px rgba(54,34,12,.10);
  --shadow-sm: 0 10px 28px -10px rgba(54,34,12,.16);
  --card-shadow-hover: 0 22px 50px -16px rgba(54,34,12,.26);
}

/* Body auf echtes Inter (Headings bleiben Montserrat) */
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display-Hierarchie: feineres Tracking, Lesebreite, Schweizer Zahlen */
h1 { letter-spacing: -0.02em; text-wrap: balance; }
h2 { letter-spacing: -0.015em; text-wrap: balance; }
p { max-width: 70ch; }
.hero-strip p, .event-card p, .v2-glass p, td p, .panel p, .feature-list article p { max-width: none; }
.lead { color: var(--text); font-weight: 500; max-width: 58ch; letter-spacing: -0.005em; }
.product-card strong, .v2-pricing__price, .v2-stats__num, .meta-grid strong, .stat-grid strong, td, th {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* Eyebrow als edles Label mit Gold-Strich */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
  opacity: .8;
}

/* Home-Hero: zusätzlicher Boden-Verlauf + weicher Text-Halo + CTA-Schärfung */
.hero {
  background:
    linear-gradient(180deg, rgba(9,13,11,0) 40%, rgba(9,13,11,.34) 74%, rgba(9,13,11,.60) 100%),
    linear-gradient(90deg, rgba(9,13,11,.82) 0%, rgba(9,13,11,.58) 42%, rgba(9,13,11,.12) 78%),
    url('../uploads/bg/home-hero.jpg') center / cover;
}
.hero h1 { letter-spacing: -0.025em; text-shadow: 0 2px 28px rgba(9,13,11,.55), 0 1px 2px rgba(9,13,11,.4); }
.hero p { text-shadow: 0 1px 14px rgba(9,13,11,.5); }
.hero .actions .btn.primary { box-shadow: 0 10px 30px rgba(189,141,73,.30); }
.hero .actions .btn.primary:hover { box-shadow: 0 16px 40px rgba(189,141,73,.40); }
.hero .actions .btn.ghost { border-color: rgba(255,255,255,.78); background: rgba(13,16,14,.18); backdrop-filter: blur(2px); }
.hero .actions .btn.ghost:hover { background: rgba(13,16,14,.34); border-color: #fff; }

/* Card-Hover vereinheitlicht: Lift + Gold-Top-Akzent + Gold-Border (öffentliche Karten) */
.feature-list article, .event-card, .panel {
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.22,.94,.32,1.04), box-shadow .25s ease, border-color .25s ease;
}
.feature-list article::before, .event-card::before, .panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .25s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature-list article:hover, .event-card:hover, .panel:hover {
    transform: translateY(-3px);
    border-color: rgba(189,141,73,.32);
    box-shadow: var(--card-shadow-hover);
  }
  .feature-list article:hover::before, .event-card:hover::before, .panel:hover::before { opacity: 1; }
}

/* event-card-v2 (dunkle Karten): warmer Inset-Schimmer + Gold-Hover */
.event-card-v2 {
  box-shadow: 0 14px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,236,200,.06);
  border-color: rgba(189,141,73,.12);
  transition: transform .26s cubic-bezier(.22,.94,.32,1.04), box-shadow .26s ease, border-color .26s ease;
}
.event-card-v2__hero { position: relative; }
.event-card-v2__hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 70% 25%, rgba(189,141,73,.16), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .event-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(0,0,0,.40), 0 0 0 1px rgba(189,141,73,.20), inset 0 1px 0 rgba(255,236,200,.10);
    border-color: rgba(189,141,73,.28);
  }
  .event-card-v2:hover .event-card-v2__hero::after { opacity: 1; }
}

/* album-card + product-card: warmer Hover */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .album-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .album-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px -16px rgba(54,34,12,.30), 0 0 0 1px rgba(189,141,73,.18);
    border-color: var(--gold);
  }
  .product-card .product-media { overflow: hidden; transition: transform .3s cubic-bezier(.32,.72,.42,1), box-shadow .25s ease, border-color .25s ease; }
  .product-card:hover .product-media { transform: translateY(-3px) scale(1.012); box-shadow: 0 20px 44px -16px rgba(54,34,12,.26); border-color: var(--gold); }
  .product-card h3 { transition: color .2s ease; }
  .product-card:hover h3 { color: var(--gold); }
}

/* Section-Divider: feine Gold-Hairline mit Rauten-Ornament zwischen Sektionen */
.section + .section { position: relative; }
.section + .section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(520px, 60%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189,141,73,.45) 28%, rgba(189,141,73,.55) 50%, rgba(189,141,73,.45) 72%, transparent);
}
.section + .section::after {
  content: '';
  position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold); opacity: .55;
}

/* Footer-Politur: Gold-Hairline + Ornament + Link-Hover */
footer { position: relative; }
footer::before {
  content: '';
  position: absolute; top: 0; left: clamp(22px,4vw,54px); right: clamp(22px,4vw,54px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189,141,73,.14) 18%, rgba(189,141,73,.55) 50%, rgba(189,141,73,.14) 82%, transparent);
}
footer::after {
  content: '';
  position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold); box-shadow: 0 0 0 4px #11100e;
}
footer a { transition: color .2s ease; }
footer a:hover { color: var(--gold); }

/* Aktiver Sticky-Tab: Gold-Leuchtleiste (greift sobald is-active gesetzt ist) */
.sticky-info__item.is-active { color: var(--gold); }
.sticky-info__item.is-active .sticky-info__num,
.sticky-info__item.is-active .sticky-info__icon { color: var(--gold); }
.sticky-info__item.is-active::before {
  content: '';
  position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: var(--gold); border-radius: 0 0 2px 2px;
  box-shadow: 0 0 12px rgba(189,141,73,.6);
}
@media (max-width: 720px) { .sticky-info__item.is-active::before { left: 22%; right: 22%; } }

/* Nav-Link Gold-Underline (von links einlaufend) */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s cubic-bezier(.22,.94,.32,1.04);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after { transform: scaleX(1); }

/* Mobile App-Feel: kein Tap-Highlight, Press-Feedback, grössere Touch-Targets */
@media (max-width: 720px) {
  a, button, .sticky-info__item, .event-card-v2, .album-card, .product-card, .feature-list article {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  .sticky-info__item { min-height: 58px; transition: color .2s ease, transform .2s cubic-bezier(.34,1.4,.64,1); }
  .sticky-info__item:active { transform: scale(.94); }
  .btn:active { transform: translateY(0) scale(.97); }
  .event-card-v2:active, .album-card:active, .product-card:active { transform: scale(.985); }
}

/* Scroll-Reveal — nur aktiv wenn JS die Klasse js-reveal setzt (sonst stets sichtbar) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,.94,.32,1.04), transform .7s cubic-bezier(.22,.94,.32,1.04);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Globaler Brand-Fokusring + edle Textselektion */
a:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(189,141,73,.28); color: var(--ink); }
::-moz-selection { background: rgba(189,141,73,.28); color: var(--ink); }

/* =========================================================================
   DESIGN-POLISH 2 — Startseite / Sektionen: Lesbarkeit + weniger „leer"
   ========================================================================= */

/* a11y: „Ghost"-Buttons (ohne Fläche) IMMER sichtbar — auf hell wie dunkel.
   Behebt dunkel-auf-dunkel / unsichtbare Umriss-Buttons. */
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.subtle { background: rgba(16,63,58,.10); }
.v2-btn--ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.30); }
.v2-btn--ghost:hover { background: rgba(189,141,73,.12); }
.v2-section[data-theme="light"] .v2-btn--ghost,
.v2-section[data-theme="mist"] .v2-btn--ghost {
    background: rgba(17,16,14,.045);
    border-color: rgba(17,16,14,.28);
    color: var(--ink);
}
.v2-section[data-theme="light"] .v2-btn--ghost:hover,
.v2-section[data-theme="mist"] .v2-btn--ghost:hover {
    background: rgba(189,141,73,.12);
    border-color: var(--gold);
    color: #7a4f06;
}

/* Intro-/Statement-Sektionen wirken wertig statt leer:
   grösserer Lead, klare Stufung, dezenter Gold-Akzent über dem Titel. */
.v2-head { position: relative; }
.v2-head h2 { letter-spacing: -.02em; }
.v2-head__lead { font-size: clamp(16px, 1.55vw, 20px); line-height: 1.65; }
/* Reine Text-Sektion (keine Cards): als ruhiges Statement mit Akzent inszenieren */
.v2-mix:not(:has(.v2-features__grid)) { max-width: 820px; }
.v2-mix__intro > p:first-child {
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.6;
    color: inherit;
    font-weight: 500;
    position: relative;
    padding-top: 22px;
}
.v2-mix__intro > p:first-child::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 48px; height: 2px;
    background: var(--gold);
}

/* Feature-Boxen: feiner Gold-Top-Akzent + Gold-Border bei Hover.
   KEIN transform (das steuert das Stagger-System auf .v2-glass). */
.v2-features__item { position: relative; overflow: hidden; }
.v2-features__item::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity .3s ease;
}
.v2-features__icon { color: var(--gold); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .v2-features__item { transition: border-color .25s ease, box-shadow .25s ease; }
    .v2-features__item:hover { border-color: rgba(189,141,73,.34); box-shadow: 0 18px 44px -18px rgba(54,34,12,.30); }
    .v2-features__item:hover::after { opacity: 1; }
}

/* Kompakte Seiten-Kopfzeile (statt bildschirmfüllendem Hero) für funktionale
   Listen-Seiten wie Events — Inhalt erscheint sofort im ersten Viewport. */
.page-head {
    padding: calc(76px + 36px) 0 26px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.page-head .container { width: 100%; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.02em; margin: 8px 0 12px; }
.page-head p { max-width: 64ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); margin: 0; }
@media (max-width: 720px) {
    .page-head { padding: calc(64px + 20px) 0 20px; }
    .page-head h1 { margin: 6px 0 10px; }
}
/* Events direkt unter der kompakten Kopfzeile — straffes oberes Padding */
.events-list-section { padding-top: clamp(28px, 3.5vw, 46px) !important; }

/* Konzept-Sektion „Karten-Trio" (Variante C): Titel/CTA links, Säulen rechts */
.v2-concept { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.v2-concept__intro .v2-head { margin-bottom: 16px; }
.v2-concept__text { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; margin: 0 0 22px; max-width: 46ch; opacity: .88; }
.v2-concept__cta { display: inline-flex; align-items: center; gap: 8px; }
.v2-concept__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 12px; }
.v2-concept__card {
    height: 100%;
    display: flex; align-items: center; gap: 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.v2-concept__icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; background: rgba(189,141,73,.12); color: var(--gold);
}
.v2-concept__icon svg { width: 22px; height: 22px; }
.v2-concept__card-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.v2-concept__card-body span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .v2-concept__card:hover { border-color: rgba(189,141,73,.40); box-shadow: 0 14px 34px -16px rgba(54,34,12,.28); transform: translateY(-2px); }
}
@media (max-width: 860px) {
    .v2-concept { grid-template-columns: 1fr; gap: 24px; }
}

/* Sektions-Rhythmus: mind. 50vh hoch, Inhalt vertikal zentriert, grosszügige Luft
   (100px oben/unten, 40px seitlich) — wächst mit, wenn der Inhalt grösser ist. */
.v2-section:not([data-h="100vh"]):not([data-h="80vh"]):not([data-h="60vh"]):not([data-h="40vh"]) {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.v2-section .container,
.page-head .container,
.news-cta-band .container,
footer .container { padding-left: 40px; padding-right: 40px; }
/* Events-Liste bleibt bündig oben (Termine sofort), nicht zentriert */
.events-list-section { justify-content: flex-start; min-height: auto; }

/* Event-Karten alle gleich hoch: Titel max. 2 Zeilen (mit reserviertem Platz),
   Beschreibung max. 2 Zeilen — so bleiben alle Boxen identisch gross. */
.event-card-v2__title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.4em;
}
.event-card-v2__desc {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 3em;
}

@media (max-width: 720px) {
    .v2-section:not([data-h="100vh"]):not([data-h="80vh"]):not([data-h="60vh"]):not([data-h="40vh"]) {
        min-height: auto; padding-top: 56px; padding-bottom: 56px;
    }
    .v2-section .container, .page-head .container { padding-left: 40px; padding-right: 40px; }
}

/* v2-glass-Grids: Karten einer Reihe immer gleich hoch (Stagger behaelt Versatz, gleicht nur Hoehe an).
   .v2-pricing__grid hat bereits align-items:stretch — hier nicht noetig. */
.v2-features__grid,
.v2-team__grid,
.v2-list__grid,
.v2-testimonials__grid { align-items: stretch; }
.v2-features__grid > .v2-glass,
.v2-team__grid > .v2-glass,
.v2-list__grid > .v2-glass,
.v2-testimonials__grid > .v2-glass { height: 100%; }

/* Einzelne CTAs (nur EIN Button im Wrapper): auf Mobile volle Breite + proportional etwas hoeher.
   Button-GRUPPEN (.actions im Hero, .product-actions, Such-Felder, Toggles) bleiben bewusst unberuehrt. */
@media (max-width: 720px) {
    .v2-concept__cta,
    .v2-concept__intro .v2-btn,
    .v2-mix__intro > div > .v2-btn,
    .v2-section .single-cta .v2-btn,
    .v2-section .single-cta .btn,
    .product-page__cta .btn,
    .event-form-card__submit,
    form.order-summary button[type="submit"],
    form.form > .btn,
    .empty-state .btn,
    .shop-empty .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        min-height: 54px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* ============================================================
   HERO — neuer Look (Mockup-Richtung): grosse Headline mit Gold-Akzent,
   Scroll-Cue, mobil full-width gestapelte Buttons.
   ============================================================ */
.hero h1 { font-size: clamp(42px, 7.2vw, 88px); line-height: 1.02; }
.hero-accent { color: var(--gold); }
.hero { position: relative; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    color: #fff; border: 1px solid rgba(255,255,255,.4);
    background: rgba(13,16,14,.28); backdrop-filter: blur(3px);
    animation: heroScrollBob 2.4s ease-in-out infinite;
    z-index: 2;
}
.hero-scroll svg { width: 22px; height: 22px; }
.hero-scroll:hover { border-color: var(--gold); color: var(--gold); }
@keyframes heroScrollBob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (max-width: 720px) {
    .hero .actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero .actions .btn { width: 100%; min-height: 54px; }
    .hero-scroll { display: none; }
}

/* ============================================================
   EVENTS — Location-Banner (man sieht sofort wo es ist)
   ============================================================ */
.events-loc-section { min-height: auto !important; padding-top: clamp(26px, 4vw, 52px) !important; padding-bottom: clamp(16px, 2.5vw, 30px) !important; }
.loc-banner {
    display: grid; grid-template-columns: 320px 1fr;
    border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden;
    background: rgba(13,16,14,.55);
}
.loc-banner__map { position: relative; min-height: 190px; background: #11150f; }
.loc-banner__map svg { width: 100%; height: 100%; display: block; }
.loc-banner__pin {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
    color: var(--gold); width: 40px; height: 40px;
}
.loc-banner__pin svg { width: 40px; height: 40px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.loc-banner__pin::after {
    content: ''; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
    width: 26px; height: 9px; border-radius: 50%; background: rgba(189,141,73,.45);
    animation: locPinPulse 2.6s ease-in-out infinite;
}
@keyframes locPinPulse { 0%,100% { opacity: .35; transform: translateX(-50%) scale(.85); } 50% { opacity: .7; transform: translateX(-50%) scale(1.15); } }
.loc-banner__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.loc-banner__eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0; }
.loc-banner__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: #fff; margin: 2px 0 0; }
.loc-banner__text { color: rgba(255,255,255,.7); margin: 0; font-size: 15px; }
.loc-banner__cta { align-self: flex-start; margin-top: 16px; }
.loc-banner__cta svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
    .loc-banner { grid-template-columns: 1fr; }
    .loc-banner__map { min-height: 150px; }
}

/* ============================================================
   EVENTS — Featured-Karte (das steht als Nächstes an)
   ============================================================ */
.events-featured-section { min-height: auto !important; }
.event-feature {
    display: grid; grid-template-columns: 1.15fr 1fr;
    border: 1px solid rgba(189,141,73,.22); border-radius: 18px; overflow: hidden;
    background: #1c2018; text-decoration: none; color: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.event-feature__media { position: relative; min-height: 340px; background-size: cover; background-position: center; }
.event-feature__date {
    position: absolute; top: 18px; left: 18px;
    background: var(--gold); color: #15110c; border-radius: 12px;
    padding: 10px 14px; text-align: center; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.event-feature__date strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; }
.event-feature__date small { display: block; font-weight: 700; font-size: 11px; letter-spacing: .12em; margin-top: 3px; }
.event-feature__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.event-feature__loc { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(189,141,73,.12); border: 1px solid rgba(189,141,73,.3); border-radius: 999px; padding: 5px 12px; }
.event-feature__loc svg { width: 15px; height: 15px; }
.event-feature__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(24px, 3.2vw, 38px); color: #fff; line-height: 1.08; margin: 0; }
.event-feature__desc { color: rgba(255,255,255,.72); margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.event-feature__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.event-feature__price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; color: #fff; }
.event-feature__cta { color: var(--gold); font-weight: 700; font-size: 14px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .event-feature:hover { transform: translateY(-3px); border-color: rgba(189,141,73,.45); box-shadow: 0 26px 60px -28px rgba(0,0,0,.7); }
}
@media (max-width: 860px) {
    .event-feature { grid-template-columns: 1fr; }
    .event-feature__media { min-height: 220px; }
}

/* ============================================================
   EVENTS — horizontale Scroll-Row (mobil-cool)
   ============================================================ */
.events-row-section { min-height: auto !important; }
/* Desktop: normales Grid (kein horizontales Scrollen — sonst zu lang) */
.event-scroll {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px;
    scrollbar-width: thin; scrollbar-color: rgba(189,141,73,.6) transparent;
}
.event-scroll::-webkit-scrollbar { height: 8px; }
.event-scroll::-webkit-scrollbar-thumb { background: rgba(189,141,73,.55); border-radius: 999px; }
.event-scroll::-webkit-scrollbar-track { background: transparent; }
.event-scroll-card {
    border: 1px solid rgba(189,141,73,.22); border-radius: 16px; overflow: hidden;
    background: #1c2018; text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.event-scroll-card__media { position: relative; aspect-ratio: 16 / 11; background-size: cover; background-position: center; }
.event-scroll-card__date {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: #15110c; border-radius: 10px;
    padding: 7px 10px; text-align: center; line-height: 1;
}
.event-scroll-card__date strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 21px; }
.event-scroll-card__date small { display: block; font-weight: 700; font-size: 10px; letter-spacing: .1em; margin-top: 2px; }
.event-scroll-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.event-scroll-card__loc { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.event-scroll-card__loc svg { width: 13px; height: 13px; }
.event-scroll-card__title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; color: #fff; line-height: 1.2; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.event-scroll-card__price { color: rgba(255,255,255,.65); font-size: 13px; margin-top: auto; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .event-scroll-card:hover { transform: translateY(-3px); border-color: rgba(189,141,73,.45); box-shadow: 0 20px 44px -24px rgba(0,0,0,.7); }
}

/* Weitere Anlässe: NUR auf Mobile horizontal scrollen (Desktop bleibt Grid).
   40px Seiten-Padding; die mittig sichtbare (.is-active) Karte ist grösser + hat mehr
   Schatten, die Nachbarn links/rechts sind leicht kleiner und flacher. */
@media (max-width: 720px) {
    .event-scroll {
        display: flex; grid-template-columns: none; gap: 14px;
        overflow-x: auto; scroll-snap-type: x mandatory; align-items: center;
        margin: 0 -40px; padding: 14px 40px 20px; -webkit-overflow-scrolling: touch;
    }
    .event-scroll-card {
        flex: 0 0 auto; width: clamp(238px, 78vw, 300px); scroll-snap-align: center;
        transform: scale(0.93); transform-origin: center center;
        box-shadow: 0 6px 16px -12px rgba(0,0,0,.5);
        transition: transform .28s ease, box-shadow .28s ease, border-color .25s ease;
    }
    .event-scroll-card.is-active {
        transform: scale(1);
        box-shadow: 0 24px 48px -20px rgba(0,0,0,.8);
        border-color: rgba(189,141,73,.45);
    }
}

/* ============================================================
   SINGLE-EVENT — cineastischer Hero (Mix aus C+B)
   ============================================================ */
.event-cine {
    position: relative; border-radius: 20px; overflow: hidden;
    min-height: clamp(320px, 46vw, 460px);
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 22px; color: #fff; margin-bottom: 26px;
}
.event-cine__badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
    background: rgba(13,16,14,.5); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 14px;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 10.5px; letter-spacing: .14em;
}
.event-cine__badge svg { width: 15px; height: 15px; }
.event-cine__bottom { display: flex; align-items: flex-end; gap: 18px; }
.event-cine__date {
    flex: 0 0 auto; background: var(--gold); color: #15110c; border-radius: 14px;
    padding: 12px 16px; text-align: center; line-height: 1; box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
.event-cine__date strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 34px; }
.event-cine__date small { display: block; font-weight: 700; font-size: 11px; letter-spacing: .12em; margin-top: 3px; }
.event-cine__head { min-width: 0; }
.event-cine__loc {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
    color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    background: rgba(189,141,73,.16); border: 1px solid rgba(189,141,73,.4); border-radius: 999px; padding: 5px 12px;
}
.event-cine__loc svg { width: 14px; height: 14px; }
.event-cine__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 1.05; margin: 0; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.event-cine__when { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: 14px; }
@media (max-width: 560px) {
    .event-cine__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* SINGLE-EVENT — Fakten-Strip */
.event-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 24px 0; }
.event-facts__item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.event-facts__icon { color: var(--gold); }
.event-facts__icon svg { width: 20px; height: 20px; }
.event-facts__k { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.event-facts__v { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px; color: var(--ink); }

/* SINGLE-EVENT — Location-Block (dunkle Karte auf heller Seite) */
.event-loc { margin: 26px 0; background: #14180f; }

/* Mobile: Zurück-Button entfällt — die Browser-Wischgeste übernimmt das */
@media (max-width: 720px) {
    .event-detail__back { display: none; }
}

/* Event-Karten sind dunkle „Inseln" — ihr Text bleibt IMMER hell/gold, unabhängig
   vom Sektions-Theme (sonst überschreibt z.B. data-theme="mist" h3 → dunkel → unlesbar). */
.event-feature__title,
.event-scroll-card__title { color: #fff !important; }
.event-feature__desc { color: rgba(255,255,255,.74) !important; }
.event-feature__price { color: #fff !important; }
.event-scroll-card__price { color: rgba(255,255,255,.66) !important; }
.event-feature__loc,
.event-scroll-card__loc,
.event-feature__cta { color: var(--gold) !important; }

/* Gold-Akzent in Hero-Headlines (sicherheitshalber definiert) */
.hero-accent { color: var(--gold, #bd8d49); }

/* ============================================================
   ÜBER UNS (Variante B) — Split-Hero + runde Vorstands-Portraits
   ============================================================ */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(70vh, 620px); }
.about-hero__media { background-size: cover; background-position: center; min-height: 320px; }
.about-hero__copy {
    background: var(--paper, #f6f1e8);
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(34px, 5vw, 80px) clamp(28px, 5vw, 68px);
}
.about-hero__copy h1 {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; margin: 10px 0 16px; color: var(--ink);
}
.about-hero__lead { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; color: var(--muted); max-width: 46ch; margin: 0 0 26px; }
@media (max-width: 860px) {
    .about-hero { grid-template-columns: 1fr; }
    .about-hero__media { min-height: 230px; order: -1; }
}

/* Vorstand als zentrierte, runde Portraits */
/* Über uns nutzt das Standard-v2-team-Kartendesign (4:5-Foto oben, Info unten) —
   die früheren runden Mini-Portraits waren nicht ideal. */

/* ============================================================
   NEWS — Journal-Layout
   ============================================================ */
/* Featured: helle Karte (auf mist-Sektion) */
.news-featured {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
    border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    background: var(--surface); text-decoration: none; color: inherit;
    box-shadow: 0 18px 44px -30px rgba(54,34,12,.32);
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-featured__media { min-height: 280px; background-size: cover; background-position: center; }
.news-featured__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.news-featured__date { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.news-featured__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; margin: 10px 0 12px; color: var(--ink); }
.news-featured__excerpt { color: var(--muted); line-height: 1.62; margin: 0 0 18px; }
.news-featured__cta { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--gold); }
@media (hover: hover) { .news-featured:hover { transform: translateY(-2px); box-shadow: 0 28px 54px -26px rgba(54,34,12,.42); } }
@media (max-width: 720px) { .news-featured { grid-template-columns: 1fr; } .news-featured__media { min-height: 200px; } }

/* Grid: dunkle Karten (auf lounge-Sektion) — Text immer hell/gold (Insel-Karten) */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(278px, 1fr)); gap: 22px; }
.news-card {
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid rgba(189,141,73,.22); border-radius: 16px; background: #1c2018;
    text-decoration: none; color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card__media { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.news-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; }
.news-card__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px; line-height: 1.2; margin: 8px 0; color: #fff !important; }
.news-card__excerpt { font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; flex: 1; color: rgba(255,255,255,.72) !important; }
.news-card__cta { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .04em; margin-top: auto; color: var(--gold) !important; }
@media (hover: hover) { .news-card:hover { transform: translateY(-3px); border-color: rgba(189,141,73,.5); box-shadow: 0 22px 46px -24px rgba(0,0,0,.7); } }
@media (max-width: 720px) {
    .news-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -40px; padding: 2px 40px 14px; -webkit-overflow-scrolling: touch; }
    .news-card { flex: 0 0 auto; width: clamp(238px, 78vw, 300px); scroll-snap-align: center; }
}

/* Gold-Band */
.news-cta-band { background: linear-gradient(120deg, #c9a25e 0%, #bd8d49 100%); color: #1c1408; padding: clamp(38px, 5vw, 62px) 0; }
.news-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.news-cta-band__eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin: 0 0 8px; }
.news-cta-band__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 8px; color: #15110c; }
.news-cta-band__text { margin: 0; max-width: 48ch; color: #3a2c14; line-height: 1.55; }
.news-cta-band__btn { display: inline-flex; align-items: center; gap: 8px; background: #15110c; color: #fff; padding: 14px 26px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .2s ease; }
.news-cta-band__btn:hover { transform: translateY(-1px); background: #000; }
@media (max-width: 640px) { .news-cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   WEBFRONT-AUDIT FIXES — Lesbarkeit (Buttons/Text) + Frames
   ============================================================ */

/* 1.1 + 1.2 — Ghost/Subtle auf dunklen Heros: weisser Text + Rand (war dunkel-auf-dunkel) */
.hero .actions .btn.ghost,
.hero .actions a.btn.ghost,
.page-hero .actions .btn.ghost,
.page-hero .actions a.btn.ghost,
.page-hero .actions .btn.subtle {
    color: #fff;
    border-color: #fff;
    background: rgba(13, 16, 14, .36);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    text-shadow: 0 1px 8px rgba(9, 13, 11, .6);
}
.hero .actions .btn.ghost:hover,
.page-hero .actions .btn.ghost:hover,
.page-hero .actions .btn.subtle:hover {
    color: #fff;
    background: rgba(13, 16, 14, .52);
    border-color: #fff;
}

/* 1.3 — About-Hero-Ghost auf hellem Paper: Rand sichtbar (Text bleibt korrekt dunkel) */
.about-hero__copy .btn.ghost {
    color: var(--ink);
    border-color: rgba(17, 16, 14, .28);
    background: rgba(17, 16, 14, .03);
}
.about-hero__copy .btn.ghost:hover { border-color: var(--gold); color: #7a4f06; }

/* 1.4 — Gold-Labels auf hellen Sektionen lesbarer (WCAG AA) — nur light/mist, dunkle Themes unberührt */
:root { --gold-on-light: #8a6320; }
.v2-section[data-theme="light"] .v2-head__eyebrow,
.v2-section[data-theme="mist"]  .v2-head__eyebrow,
.v2-section[data-theme="light"] .v2-pricing__name,
.v2-section[data-theme="mist"]  .v2-pricing__name,
.v2-section[data-theme="light"] .v2-timeline__date,
.v2-section[data-theme="mist"]  .v2-timeline__date,
.v2-section[data-theme="light"] .v2-list__date,
.v2-section[data-theme="mist"]  .v2-list__date,
.v2-section[data-theme="light"] .v2-list__cta,
.v2-section[data-theme="mist"]  .v2-list__cta,
.v2-section[data-theme="light"] .v2-team__role,
.v2-section[data-theme="mist"]  .v2-team__role,
.v2-section[data-theme="light"] .v2-stats__num,
.v2-section[data-theme="mist"]  .v2-stats__num { color: var(--gold-on-light); }
.v2-section[data-theme="light"] .v2-head__eyebrow::before,
.v2-section[data-theme="mist"]  .v2-head__eyebrow::before { background: var(--gold-on-light); }
.page-head .eyebrow { color: var(--gold-on-light); }

/* 2.1 — Single-Event Inhaltsbreite ans Site-Raster (40px) */
.event-detail__shell { max-width: 1160px; padding-left: 40px; padding-right: 40px; }

/* 2.2 — Galerie-Platzhalter sichtbar (war hell-auf-hell) */
.album-card__placeholder { color: rgba(117, 109, 98, .5); }

/* 2.4 — Footer-Dekorlinie bündig mit dem 40px-Raster */
footer::before { left: 40px; right: 40px; }

/* Anmelde-Formular (statische Seite → Form Bulider) */
.anmeldung-privacy { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 8px 0 2px; cursor: pointer; }
.anmeldung-privacy input[type="checkbox"] { width: 18px !important; height: 18px !important; min-width: 18px !important; max-width: 18px !important; min-height: 18px !important; max-height: 18px !important; flex: 0 0 auto; margin: 1px 0 0 !important; padding: 0 !important; accent-color: var(--gold); appearance: auto; -webkit-appearance: checkbox; }
.anmeldung-privacy a { color: #7a4f06; }
.anmeldung-status { margin: 12px 0 0; padding: 10px 13px; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.anmeldung-status.is-ok { background: rgba(23,61,53,.12); border: 1px solid rgba(23,61,53,.30); color: #17493d; }
.anmeldung-status.is-err { background: rgba(227,6,19,.07); border: 1px solid rgba(227,6,19,.26); color: #9a1a1a; }

/* Reduced-Motion-Guard — MUSS zuletzt stehen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   EVENTS v3 — Kompakt-Listenzeile + Single-Event (bildlos) + Archiv
   ===================================================================== */
:root{ --gold-deep:#8a6528; --gold-soft:#d8b878; }

/* ---- Buttons ---- */
.evt-btn{font-family:'Montserrat',sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border-radius:8px;border:1px solid transparent;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s,color .15s;}
.evt-btn .ic{width:14px;height:14px;flex:none;}
.evt-btn--route{background:transparent;border-color:var(--line);color:var(--ink);}
.evt-btn--route:hover{border-color:var(--gold);color:var(--gold-deep);}
.evt-btn--primary{background:var(--gold);color:#1c140a;border-color:var(--gold);}
.evt-btn--primary:hover{background:#a9793a;border-color:#a9793a;}

/* ---- Tags ---- */
.evt-tag{font-family:'JetBrains Mono','Courier New',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;padding:4px 9px;border-radius:999px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px;}
.evt-tag--guest{background:rgba(189,141,73,.16);color:var(--gold-deep);border:1px solid rgba(189,141,73,.42);}
.evt-tag--members{background:rgba(23,61,53,.12);color:var(--forest);border:1px solid rgba(23,61,53,.30);}
.evt-tag--both{background:rgba(23,61,53,.10);color:var(--forest);border:1px solid rgba(23,61,53,.26);}
.evt-tag--past{background:var(--mist);color:var(--muted);border:1px solid var(--line);}

/* ---- Listenzeile ---- */
.evt-list{display:flex;flex-direction:column;gap:12px;}
.evt-listwrap{container-type:inline-size;}
.evt-card{display:flex;align-items:center;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 18px;box-shadow:0 10px 30px rgba(17,16,14,.06);transition:border-color .15s,transform .15s;}
.evt-card:hover{border-color:var(--gold);transform:translateY(-2px);}
.evt-card__date{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--mist);border:1px solid var(--line);border-radius:10px;width:62px;padding:9px 4px;flex:none;}
.evt-card__wd{font-family:'JetBrains Mono',monospace;font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}
.evt-card__d{font-family:'Montserrat',sans-serif;font-weight:900;font-size:26px;line-height:.9;color:var(--ink);}
.evt-card__m{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-deep);}
.evt-card__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}
.evt-card__title{font-family:'Montserrat',sans-serif;font-weight:800;color:var(--ink);font-size:18px;margin:0;line-height:1.05;}
.evt-card__title a{color:inherit;text-decoration:none;}
.evt-card__title a:hover{color:var(--gold-deep);}
.evt-card__meta{display:flex;flex-wrap:wrap;gap:5px 16px;color:var(--muted);font-size:12.5px;align-items:center;}
.evt-card__meta .m{display:inline-flex;align-items:center;gap:6px;}
.evt-card__meta .m .ic{width:13px;height:13px;color:var(--gold-deep);flex:none;}
.evt-loc-link{color:var(--muted);text-decoration:none;border-bottom:1px dotted rgba(189,141,73,.6);}
.evt-loc-link:hover{color:var(--ink);border-bottom-color:var(--gold);}
.evt-card__aside{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:none;}
.evt-card__price{color:var(--ink);font-weight:600;font-size:12.5px;white-space:nowrap;font-variant-numeric:tabular-nums;}
.evt-card__actions{display:flex;gap:8px;}
.evt-card--past{opacity:.72;filter:saturate(.6);}
.evt-card--past:hover{transform:none;border-color:var(--line);}
@container (max-width:560px){
  .evt-card{flex-wrap:wrap;align-items:flex-start;gap:14px;}
  .evt-card__aside{width:100%;align-items:stretch;gap:12px;margin-top:12px;padding-top:14px;border-top:1px solid var(--mist);}
  .evt-card__price{white-space:normal;text-align:left;}
  .evt-card__actions{width:100%;}
  .evt-card__actions .evt-btn{flex:1;}
}

/* ---- Leerzustand + Archiv-Link ---- */
.evt-empty{background:var(--surface);border:1px dashed var(--line);border-radius:12px;padding:30px 24px;text-align:center;color:var(--muted);font-size:14px;}
.evt-archlink{display:inline-flex;align-items:center;gap:8px;font-family:'Montserrat',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:11.5px;color:var(--gold-deep);text-decoration:none;}
.evt-archlink:hover{color:var(--ink);}
.evt-archlink .ic{width:15px;height:15px;}

/* ---- Single-Event ---- */
.event-single{padding:0 0 clamp(44px,7vw,88px);}
.evt-hero{position:relative;background:linear-gradient(155deg,#153733,#0a1c19 70%);color:#f4efe6;padding:clamp(26px,4vw,48px) 0;overflow:hidden;}
.evt-hero__inner{position:relative;}
.evt-hero__mono{position:absolute;right:-30px;bottom:-46px;font-family:'Montserrat',sans-serif;font-weight:900;font-size:230px;line-height:1;color:rgba(189,141,73,.09);pointer-events:none;}
.evt-hero__back{position:relative;display:inline-flex;align-items:center;gap:7px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-soft);text-decoration:none;margin-bottom:22px;}
.evt-hero__back:hover{color:#fff;}
.evt-hero__eyebrow{position:relative;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-soft);margin:0 0 12px;}
.evt-hero__when{position:relative;font-family:'Montserrat',sans-serif;font-weight:800;font-size:14px;letter-spacing:.02em;color:#cfe0d8;margin:0 0 6px;}
.evt-hero__title{position:relative;font-family:'Montserrat',sans-serif;font-weight:900;font-size:clamp(28px,5.5vw,48px);line-height:.99;letter-spacing:-.02em;margin:0 0 18px;color:#fdf8ef;text-wrap:balance;}
.evt-hero__sub{position:relative;display:flex;flex-wrap:wrap;gap:8px 20px;color:#cdd8d2;font-size:13.5px;margin-bottom:24px;}
.evt-hero__sub .m{display:inline-flex;align-items:center;gap:7px;}
.evt-hero__sub .m .ic{width:15px;height:15px;color:var(--gold-soft);flex:none;}
.evt-hero__sub a{color:#e9efeb;text-decoration:none;border-bottom:1px dotted rgba(216,184,120,.6);}
.evt-hero__sub a:hover{color:#fff;border-bottom-color:var(--gold-soft);}
.evt-hero__cta{position:relative;display:flex;flex-wrap:wrap;gap:10px;}
.evt-hero__cta .evt-btn--route{border-color:rgba(216,184,120,.5);color:var(--gold-soft);}
.evt-hero__cta .evt-btn--route:hover{border-color:var(--gold-soft);color:#fff;}

.evt-facts{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:clamp(20px,3vw,30px);}
.evt-fact--w2{grid-column:span 2;}
.evt-fact--w3{grid-column:span 3;}
.evt-fact{background:var(--surface);padding:15px 18px;display:flex;flex-direction:column;gap:5px;}
.evt-fact .k{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:6px;}
.evt-fact .k .ic{width:13px;height:13px;color:var(--gold-deep);flex:none;}
.evt-fact .v{font-family:'Montserrat',sans-serif;font-weight:800;color:var(--ink);font-size:14px;line-height:1.2;}
.evt-fact .v a{color:inherit;text-decoration:none;border-bottom:1px dotted rgba(189,141,73,.55);}
.evt-fact .v a:hover{color:var(--gold-deep);}
@media (max-width:680px){.evt-facts{grid-template-columns:1fr 1fr;}.evt-fact--w2{grid-column:span 1;}.evt-fact--anmeldung{grid-column:1 / -1;}.evt-fact--w3{grid-column:1 / -1;}}

.evt-body{padding:clamp(24px,4vw,42px) 0 0;}
.evt-grid{display:grid;grid-template-columns:1fr 400px;gap:clamp(22px,3vw,40px);align-items:start;}
@media (max-width:860px){.evt-grid{grid-template-columns:1fr;}}
.evt-lead{font-size:15px;line-height:1.65;color:var(--text);margin:0 0 22px;}
.evt-lead b,.evt-lead strong{color:var(--ink);font-weight:600;}
.evt-know{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.evt-know li{display:flex;gap:10px;font-size:13.5px;color:var(--text);line-height:1.45;}
.evt-know .ic{width:16px;height:16px;color:var(--gold-deep);margin-top:2px;flex:none;}
.evt-more{margin-top:30px;}
.evt-more__eyebrow{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 14px;display:flex;align-items:center;gap:10px;}
.evt-more__eyebrow::before{content:"";width:24px;height:1px;background:var(--gold);}

/* ---- Events-Seiten-Sektionen (eigene Farben, kein data-theme-Override) ---- */
.evt-section{padding:clamp(38px,6vw,78px) 0;background:var(--paper);}
.evt-section--mist{background:var(--mist);}
.evt-head{margin-bottom:24px;}
.evt-head__eyebrow{font-family:'JetBrains Mono','Courier New',monospace;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 10px;}
.evt-head h2{font-family:'Montserrat',sans-serif;font-weight:900;color:var(--ink);font-size:clamp(22px,3.4vw,32px);margin:0;letter-spacing:-.01em;line-height:1.02;}
.evt-head p{margin:12px 0 0;color:var(--muted);font-size:14.5px;max-width:62ch;line-height:1.55;}
.evt-empty a{color:var(--gold-deep);font-weight:600;}
.evt-archrow{margin-top:26px;}
.evt-aside{min-width:0;}
.evt-aside .event-form-card{width:100%;max-width:none;margin:0;padding:20px;gap:12px;border-radius:14px;}
.evt-aside .event-form-card__head{gap:12px;margin-bottom:2px;}
.evt-aside .event-form-card__icon{flex:0 0 44px;width:44px;height:44px;}
.evt-aside .event-form-card__icon svg{width:22px;height:22px;}
.evt-aside .event-form-card__head h2{font-size:19px;margin:0 0 4px;line-height:1.12;}
.evt-aside .event-form-card__head p{font-size:12px;line-height:1.45;}
.evt-aside .event-form-card__row{gap:10px;}
.evt-aside .event-form-card label{gap:5px;font-size:12px;}
.evt-aside .event-form-card__toggle legend{margin-bottom:6px;}
.evt-aside .event-input{padding:0 12px;border-radius:9px;}
.evt-aside .event-input input,.evt-aside .event-input textarea{min-height:38px;padding:8px 0;font-size:13.5px;}
.evt-aside .event-input--textarea textarea{min-height:56px;}
.evt-aside .event-form-card__submit{min-height:46px;}
.evt-aside .anmeldung-privacy{font-size:12px;margin-top:2px;}

/* ---- News-Beiträge ---- */
.news-list{display:flex;flex-direction:column;gap:20px;}
.news-post{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 34px rgba(17,16,14,.07);}
.news-post__media{background:#0e1310;min-width:0;}
.news-post__media img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/10;}
.news-post__body{padding:clamp(22px,3vw,40px);display:flex;flex-direction:column;justify-content:center;min-width:0;}
.news-post__date{font-family:'JetBrains Mono','Courier New',monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin:0 0 12px;}
.news-post__title{font-family:'Montserrat',sans-serif;font-weight:900;color:var(--ink);font-size:clamp(21px,3vw,29px);line-height:1.05;letter-spacing:-.01em;margin:0 0 14px;}
.news-post__text{font-size:15px;line-height:1.65;color:var(--text);margin:0;}
@media (max-width:720px){.news-post{grid-template-columns:1fr;}.news-post__media img{aspect-ratio:16/9;}}
