/* =========================================================================
   WegBier – Markenschicht über dem gemeinsamen Glamobox-Grundgerüst (style.css)
   Farben und Schrift aus dem WegBier-Logo: Gold #BE8F00 auf Weiß,
   klassische Antiqua (Garamond) mit Kapitälchen-Anmutung, dazu ein warmes Dunkelbraun.
   ========================================================================= */

:root {
  --gold: #BE8F00;        /* Logofarbe */
  --gold-dark: #8C6A00;   /* Gold für kleine Schrift (besserer Kontrast) */
  --gold-light: #F3E6BF;  /* helles Gold für freie Termine */
  --cream: #F7F1E1;       /* Bänder */

  --beige: var(--cream);
  --lavender: var(--gold-light);
  --apricot: var(--gold);
  --coral: var(--gold);
  --paper: #FFFDF8;
  --ink: #221D14;

  --bg: #FFFDF8;
  --surface: #FFFFFF;
  --fg: #221D14;
  --muted: #645A47;
  --line: rgba(34, 29, 20, .14);
  --band: #F7F1E1;
  --band-fg: #221D14;
  --band-muted: #5B5240;
  --invert-bg: #221D14;
  --invert-fg: #FFFDF8;
  --invert-muted: #CDBF9C;
  --invert-line: rgba(255, 253, 248, .16);
  --print: #FFFFFF;
  --shadow: 0 18px 40px -18px rgba(34, 29, 20, .4);
  --accent: var(--cream);
  --accent-fg: #221D14;
  --font-display: "EB Garamond", Garamond, "Adobe Garamond Pro", "Times New Roman", Georgia, serif;
  --radius: 2px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17140E;
    --surface: #211C14;
    --fg: #F5EFE0;
    --muted: #CDBF9C;
    --line: rgba(245, 239, 224, .14);
    --band: #262016;
    --band-fg: #F5EFE0;
    --band-muted: #CDBF9C;
    --invert-bg: #F7F1E1;
    --invert-fg: #221D14;
    --invert-muted: #5B5240;
    --invert-line: rgba(34, 29, 20, .18);
    --print: #F5EFE0;
    --gold-dark: #D9AA1A;
  }
}
:root[data-theme="dark"] {
  --bg: #17140E; --surface: #211C14; --fg: #F5EFE0; --muted: #CDBF9C; --line: rgba(245, 239, 224, .14);
  --band: #262016; --band-fg: #F5EFE0; --band-muted: #CDBF9C; --invert-bg: #F7F1E1; --invert-fg: #221D14;
  --invert-muted: #5B5240; --invert-line: rgba(34, 29, 20, .18); --print: #F5EFE0; --gold-dark: #D9AA1A;
}

/* Überschriften in Garamond, Betonung kursiv in Gold – wie das Logo */
.h-display, .h-section, .h-card, .faq summary, .wb-item-body h3, .plan-name, .reason h3, .step h3 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em;
}
.h-display { font-weight: 500; letter-spacing: -.02em; line-height: .98; }
.mix em, .h-display em, .h-section em {
  font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: -.01em;
}
.on-invert .mix em, .cta-band .mix em { color: var(--gold); }
.eyebrow { color: var(--gold-dark); }
.eyebrow::before { border-color: var(--gold) !important; }

/* Logo (eigene Farbvarianten, deshalb ohne Filter aus dem Grundgerüst) */
:root { --logo-filter: none; --logo-invert-filter: none; }
.brand img.brand-logo, .footer-brand img.brand-logo, .adm-brand img.brand-logo, .adm-login-card img.brand-logo { filter: none; width: auto; }
.brand img.brand-logo { height: 52px; }
.footer-brand img.brand-logo { height: 64px; }
.adm-brand img.brand-logo { height: 42px; }
.adm-login-card img.brand-logo { height: 48px; }
@media (max-width: 600px) { .brand img.brand-logo { height: 42px; } }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.site-footer .logo-light, .adm-top .logo-light { display: none !important; }
.site-footer .logo-dark, .adm-top .logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer .logo-light { display: block !important; } :root:not([data-theme="light"]) .site-footer .logo-dark { display: none !important; } }
.site-header .brand, .site-footer .brand { text-decoration: none; display: inline-flex; }

/* Buttons: Gold mit dunkler Schrift */
.btn--primary { background: var(--gold); color: #221D14; border-color: var(--gold); }
.btn--primary:hover { background: #221D14; color: #FFFDF8; border-color: #221D14; }
.on-invert .btn--primary:hover, .site-footer .btn--primary:hover { background: #FFFDF8; color: #221D14; border-color: #FFFDF8; }

/* Bühne mit Illustrationen */
.wb-hero-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.wb-hero-stage img { width: 100%; height: auto; max-width: 620px; }
.wb-hero-stage .wb-chip { position: absolute; background: var(--surface); color: var(--fg); border: 1px solid var(--gold); padding: 8px 14px; font-weight: 700; font-size: .875rem; box-shadow: var(--shadow); }
.wb-hero-stage .wb-chip--a { top: 8%; left: 2%; }
.wb-hero-stage .wb-chip--b { bottom: 12%; right: 2%; background: var(--gold); color: #221D14; border-color: var(--gold); }

/* Mietartikel-Karten */
.wb-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .wb-items { grid-template-columns: 1fr; } }
.wb-item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.wb-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.wb-item-media { background: var(--band); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18px; }
.wb-item-media img { width: 100%; height: 100%; object-fit: contain; }
.wb-item-body { padding: 18px 20px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.wb-item-body h3 { margin: 0; font-size: 1.9rem; line-height: 1.05; }
.wb-item-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-dark); }
.wb-item-price small { font-family: var(--font-sans); font-size: .8125rem; color: var(--muted); margin-left: 6px; }
.wb-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wb-facts li { font-size: .8125rem; font-weight: 600; border: 1px solid var(--line); padding: 4px 10px; background: var(--bg); }

/* Spezifikationen */
.wb-spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.wb-spec th, .wb-spec td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wb-spec thead th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wb-spec td:first-child, .wb-spec th[scope="row"] { font-weight: 700; }
.wb-note { border-left: 3px solid var(--gold); background: var(--surface); padding: 14px 16px; }

/* Fotobox-Querverweis */
.wb-cross { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.wb-cross img { width: 100%; max-width: 360px; justify-self: center; height: auto; }
@media (max-width: 800px) { .wb-cross { grid-template-columns: 1fr; } }

/* Platzhalter für echte Fotos */
.wb-photo-todo { font-size: .75rem; font-weight: 600; color: var(--muted); text-align: center; margin-top: 8px; }

/* Zahlen und Preise in Garamond, gerade statt kursiv */
.hero-facts dt, .price-num, .price-cur, .place-code, .specs dd b, .trust b, .choice-price, .choice-code, .bk-total strong, .bk-bar-info strong, .done-ref code {
  font-family: var(--font-display); font-style: normal; font-weight: 500; color: var(--gold-dark);
}
.hero-facts dt { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); }
.choice-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.choice-title em { color: var(--gold); }

/* Freie Termine in hellem Gold */
.av--free { background: var(--gold-light); color: #221D14; }
.av--free:hover { background: var(--gold); }
.cal-day.st-free { background: var(--gold-light); color: #221D14; }
.cal-day.st-free.in-hover, .cal-day.st-free:hover { background: #E6CF84; }
.cal-day.in-sel { background: var(--gold); color: #221D14; }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--fg); color: var(--bg); }
.lg-free { background: var(--gold-light); }
.cal-day:focus-visible { outline-color: var(--gold); }
.addon { border-color: var(--gold); }
.addon:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.addon-tag { background: var(--gold); color: #221D14; }
.addon input { accent-color: var(--gold); }
/* Hinweise 12.11. */
.hero-facts dt { white-space: nowrap; }
.terms--season th small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.terms--season .wb-season-main, .terms--season tbody td:nth-child(2) { font-weight: 800; }
.terms--season .wb-season-main { color: var(--gold-dark); }
.wb-items { align-items: stretch; }
.wb-item-body { grid-template-rows: auto auto 1fr auto; }
.wb-item-body .wb-facts { align-content: start; }
.wb-item-body .link-arrow { align-self: end; }
.wb-item-media img { max-height: 100%; }
/* Alle drei Karten: Bildbereich fest 16:10, weißer Textbereich gleich hoch */
.wb-item-media { position: relative; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; }
.wb-item-media img { position: absolute; inset: 18px; width: calc(100% - 36px) !important; height: calc(100% - 36px) !important; max-height: none; object-fit: contain; }
.wb-items .wb-item:nth-child(2) .wb-item-media img { transform: scale(.84); }
.hero-facts dt { font-size: clamp(1.45rem, 1rem + 1vw, 2rem); }
.terms--season tbody td:nth-child(3) { font-weight: 500; }
.wb-hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--line); }

/* Paket-Angebot auf der Sektbike-Seite */
.wb-bundle-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.wb-bundle-price strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--gold); }
.wb-bundle-price span { color: var(--invert-muted); font-size: .9375rem; }
.wb-bundle .btn--primary { background: var(--gold); color: #221D14; }
.wb-bundle .btn--primary:hover { background: var(--invert-fg); color: var(--invert-bg); }
.wb-bundle .btn--ghost { color: var(--invert-fg); border-color: var(--invert-line); }
.terms--season th small { font-size: .6875rem; display: block; }
@media (max-width: 800px) { .wb-cross img { max-width: 240px; } }
