/* ═══════════════════════════════════════════════════════════════════════════
   Goldhaus Gütersloh — Design-System
   Warmes, helles Edelmetall-Haus (Private-Banking-Anmutung). Champagner-Gold
   nur als sparsamer Akzent (Linien, Preise, CTA) — niemals als Vollfläche.
   Ruhiger, warmer Off-White-Raum, feine Sandlinien, hochwertige Typografie.

   HELL ist Standard (:root). DUNKEL ist ein bewusster Toggle
   (:root[data-theme="dark"]) — die Seite startet IMMER hell, es gibt KEIN
   prefers-color-scheme-Auto-Umschalten.

   Ausnahme: Header und Footer bleiben in BEIDEN Modi dunkel
   (Gold-auf-Schwarz) — das Logo (goldene Schrift + heller „GÜTERSLOH"-Zug)
   trägt nur auf dunklem Grund. Siehe „Chrome bleibt dunkel"-Block unten.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design-Tokens — HELL ist Standard ─────────────────────────────────────── */
:root {
  /* Farben — warmes Off-White mit Champagner-Gold */
  --bg:          #F7F4EE;   /* warmes Off-White */
  --surface:     #FBFAF6;   /* Cards / abgesetzte Flächen (heller als bg) */
  --surface-2:   #F2EEE4;   /* zweite Ebene / Sandton */
  --text:        #1C1A16;   /* Anthrazit-Text */
  --text-muted:  #6E685C;   /* gedämpftes Sandgrau */
  --border:      #E3DCCD;   /* feine Sandlinien */
  --border-soft: #ECE6D8;

  --gold:        #C2A15C;   /* Champagner-Gold — Primär-Akzent (Linien, Flächen, CTA) */
  --gold-bright: #E6D5AC;   /* helles Gold — Highlights */
  --gold-light:  #E6D5AC;   /* Alias (Bestand: admin.html referenziert --gold-light) */
  --gold-dark:   #8A6C31;   /* tiefes, lesbares Gold für TEXT/Links/Preise auf hellem Grund */
  --trust:       #1F3A34;   /* tiefes Tannengrün — Vertrauens-Akzent */
  --trust-soft:  #E9EFEC;   /* zarter Grünton als Flächenton */

  /* Typografie */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Maße */
  --container: 1140px;
  --radius:      8px;
  --radius-sm:   6px;
  --gap:         24px;
  --shadow-soft: 0 1px 2px rgba(28,26,22,.05);
  --shadow-card: 0 8px 24px rgba(28,26,22,.08);
  --ease:        200ms ease;
  --ease-slow:   300ms ease;
}

/* Expliziter DUNKLER Modus (Toggle stampt data-theme="dark" am :root) ──────── */
:root[data-theme="dark"] {
  --bg:          #0E0D0B;   /* warmes Fast-Schwarz */
  --surface:     #171512;
  --surface-2:   #201D18;
  --text:        #F2EEE6;   /* warmes Elfenbein */
  --text-muted:  #A79E8C;
  --border:      #2C2822;
  --border-soft: #221F1A;

  --gold:        #CBA95F;
  --gold-bright: #E6D5AC;
  --gold-light:  #E6D5AC;
  --gold-dark:   #DCC085;   /* helleres Gold für Text/Links auf Schwarz */
  --trust:       #6FA894;
  --trust-soft:  #16211D;

  --shadow-soft: 0 1px 2px rgba(0,0,0,.40);
  --shadow-card: 0 10px 30px rgba(0,0,0,.35);
}

/* ── Chrome bleibt IMMER dunkel: Header + Footer ────────────────────────────
   Diese Bereiche tragen das Gold-auf-Schwarz-Logo und bleiben deshalb in
   BEIDEN Modi dunkel. Wir setzen hier lokal die dunkle Token-Palette; alle
   Kind-Komponenten (Nav, Footer-Links) lösen dadurch automatisch auf dunkle
   Werte auf — ohne Einzelregeln zu duplizieren. */
.site-header,
.site-footer {
  --bg:          #0E0D0B;
  --surface:     #171512;
  --surface-2:   #201D18;
  --text:        #F2EEE6;
  --text-muted:  #A79E8C;
  --border:      #2C2822;
  --border-soft: #221F1A;

  --gold:        #CBA95F;
  --gold-bright: #E6D5AC;
  --gold-light:  #E6D5AC;
  --gold-dark:   #DCC085;
  --trust:       #6FA894;
  --trust-soft:  #16211D;

  --shadow-soft: 0 1px 2px rgba(0,0,0,.40);
  --shadow-card: 0 10px 30px rgba(0,0,0,.35);

  color: var(--text);
}

/* ── Reset / Basis ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Tabellarische Ziffern für ALLE Preise/Gramm-Angaben */
.tnum, .preise, td.zahl, .zahl { font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums; }

img { max-width: 100%; display: block; }

a { color: var(--gold-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-bright); }

::selection { background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--text); }

/* ── Typografie ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .2px;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.7rem, 5.4vw, 4.3rem); font-weight: 500; letter-spacing: -.3px; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1rem; }
.lead { font-size: 1.18rem; color: var(--text-muted); line-height: 1.6; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
/* kleine Gold-Vorlinie vor dem Eyebrow — feines Ledger-Detail */
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: .8;
}
.section-head .eyebrow { justify-content: center; }
.section-head.links .eyebrow, .eyebrow.links { justify-content: flex-start; }

/* Dünne goldene Zierlinie unter Section-Headlines */
.zierlinie::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 1.15rem auto 0;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 20%, transparent));
}
.zierlinie.links::after { margin-left: 0; margin-right: auto; }

.text-muted { color: var(--text-muted); }
.text-gold  { color: var(--gold-dark); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--trust { background: var(--trust-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head.links { margin-left: 0; text-align: left; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1000px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600;
  padding: .9em 1.7em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  text-align: center; line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--gold);
  color: #17130A;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #17130A; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; padding-left: .6em; padding-right: .6em; }
.btn-ghost:hover { color: var(--gold-dark); }

.btn-trust { background: var(--trust); color: var(--bg); border-color: var(--trust); }
.btn-trust:hover { filter: brightness(1.08); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* WhatsApp — bewusst NICHT giftgrün, in den Gold/Schwarz-Look integriert */
.btn-wa { background: transparent; color: var(--text); border-color: var(--border); }
.btn-wa:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-wa svg { width: 19px; height: 19px; }

/* ── Cards / Kacheln ───────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--ease-slow), transform var(--ease-slow), box-shadow var(--ease-slow);
}
.card:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--border)); }

/* ── Icon-Medaillon ────────────────────────────────────────────────────────── */
.icon-medaillon {
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.icon-medaillon svg { width: 23px; height: 23px; stroke-width: 1.4; }

/* ── Trust-Badge / Sterne ──────────────────────────────────────────────────── */
.trust-badge {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .5em .95em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--text-muted);
  transition: border-color var(--ease);
}
a.trust-badge:hover { border-color: var(--gold); color: var(--text-muted); }
.sterne { display: inline-flex; gap: 2px; color: var(--gold); }
.sterne svg { width: 15px; height: 15px; fill: var(--gold); stroke: none; }
.trust-badge strong { color: var(--text); font-weight: 600; }

.merkmale { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.merkmale li { display: inline-flex; align-items: center; gap: .5em; color: var(--text-muted); font-size: .95rem; }
.merkmale svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; }

/* ── Formulare ─────────────────────────────────────────────────────────────── */
.feld { margin-bottom: 18px; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .5em; color: var(--text); }
.hint { font-size: .82rem; color: var(--text-muted); margin-top: .4em; line-height: 1.5; }

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .78em .9em;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 80%, transparent); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
textarea { resize: vertical; min-height: 118px; }
select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B08D4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right .85em center; padding-right: 2.4em;
}

/* ── Tabellen (Preisübersichten) ───────────────────────────────────────────── */
.tabelle-wrap { overflow-x: auto; }
table.preise {
  width: 100%; border-collapse: collapse; font-size: .98rem;
}
table.preise th, table.preise td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
table.preise th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
table.preise td.zahl, table.preise th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
table.preise tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   SIGNATURE · Preistafel — Ankaufspreise je Gramm (Private-Bank-Board)
   Aufbau: je Metall eine Gruppenzeile, darunter eine Zeile je Legierung.
   ═══════════════════════════════════════════════════════════════════════════ */
.preistafel {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 5%, var(--surface)), var(--surface));
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.preistafel-kopf {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 20px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}
.preistafel-kopf h3 { margin: 0; font-size: 1.35rem; }
.preistafel-stand { display: inline-flex; align-items: center; gap: .55em; font-size: .84rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.preistafel-stand .punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--trust); box-shadow: 0 0 0 0 color-mix(in srgb, var(--trust) 60%, transparent); animation: puls 2.6s ease-out infinite; flex: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--trust) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

table.tafel { width: 100%; border-collapse: collapse; }
table.tafel th, table.tafel td { padding: 13px 26px; text-align: left; border-bottom: 1px solid var(--border-soft); }
table.tafel thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
table.tafel th.zahl, table.tafel td.zahl { text-align: right; font-variant-numeric: tabular-nums; }
table.tafel tbody tr:last-child td { border-bottom: none; }
table.tafel tbody tr { transition: background var(--ease); }
table.tafel tbody tr:hover { background: color-mix(in srgb, var(--gold) 5%, transparent); }

/* Gruppen-Kopfzeile je Metall */
table.tafel tr.tafel-gruppe > th {
  padding-top: 22px;
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
  border-bottom: 1px solid var(--border);
}
table.tafel tr.tafel-gruppe:first-child > th { padding-top: 15px; }
table.tafel tr.tafel-gruppe:hover { background: none; }
.tafel-metall { display: inline-flex; align-items: center; gap: .7em; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text); }
.tafel-metall svg { width: 19px; height: 19px; color: var(--gold-dark); flex: none; }
.tafel-leg { color: var(--text); font-size: .95rem; }
.tafel-preis { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--gold-dark); line-height: 1; }
.tafel-preis .eh { font-family: var(--font-body); font-size: .78rem; color: var(--text-muted); margin-left: .3em; font-weight: 400; }
.tafel-anfrage { color: var(--text-muted); font-style: italic; font-size: .95rem; }
.preistafel-fuss { padding: 16px 26px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-muted); background: color-mix(in srgb, var(--surface-2) 60%, transparent); }

@media (max-width: 560px) {
  table.tafel th, table.tafel td { padding: 12px 18px; }
  .preistafel-kopf, .preistafel-fuss { padding-left: 18px; padding-right: 18px; }
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /* Immer solide dunkel — ergibt eine klare, elegante Kante zum hellen Body. */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--ease-slow), border-color var(--ease-slow), box-shadow var(--ease-slow);
}
.site-header.solid {
  background: var(--bg);
  border-bottom-color: color-mix(in srgb, var(--gold) 38%, var(--border));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 12%, transparent), 0 6px 20px rgba(0,0,0,.28);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

/* Echtes Logo im Header */
.marke-logo { display: inline-flex; align-items: center; }
.marke-logo img { height: 44px; width: auto; display: block; transition: height var(--ease-slow); }
.site-header.solid .marke-logo img { height: 40px; }
/* Header ist immer dunkel → das Gold-auf-Schwarz-Logo trägt ohne Zusatz. */

/* Bestands-Wortmarke (wird im Header nicht mehr genutzt, Styles bleiben als Fallback) */
.wortmarke { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: .5px; color: var(--text); display: inline-flex; align-items: baseline; gap: .05em; }
.wortmarke .gold { color: var(--gold-dark); }

.hauptnav { display: flex; align-items: center; gap: 2px; }
.hauptnav a {
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  padding: .5em .78em; border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.hauptnav a:hover { color: var(--text); background: var(--surface-2); }
.hauptnav a.aktiv { color: var(--gold-dark); }
.hauptnav a.aktiv::after { content:""; display:block; height:1px; margin-top:4px; background:var(--gold); border-radius:2px; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; color: var(--text); transition: border-color var(--ease), color var(--ease); }
.nav-toggle:hover { border-color: var(--gold); color: var(--gold-dark); }
.nav-toggle svg { width: 21px; height: 21px; }
#navToggle { display: none; }

@media (max-width: 960px) {
  .hauptnav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; transform: translateY(-120%);
    transition: transform var(--ease-slow); box-shadow: var(--shadow-card);
  }
  .hauptnav.offen { transform: translateY(0); }
  .hauptnav a { padding: .85em .6em; border-radius: 0; border-bottom: 1px solid var(--border); }
  .hauptnav a.aktiv::after { display: none; }
  #navToggle { display: inline-flex; }
  .header-cta .btn { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 118px) 0 clamp(52px, 8vw, 96px);
  overflow: hidden;
}
/* sehr dezenter, warmer Lichtschimmer oben — KEIN Neon */
.hero::before {
  content: "";
  position: absolute; inset: -40% 0 auto 0; height: 620px;
  background: radial-gradient(1100px 460px at 68% -60px, color-mix(in srgb, var(--gold) 15%, transparent), transparent 70%);
  pointer-events: none;
}
:root[data-theme="dark"] .hero::before { background: radial-gradient(1100px 460px at 68% -60px, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%); }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 68px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.4rem; max-width: 42ch; }
.hero-slogan { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--gold-dark); margin: 0 0 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Editorial-Fotos — echte, lizenzfreie Aufnahmen (dezent, magazine-style)
   ═══════════════════════════════════════════════════════════════════════════ */
/* Generischer Bildrahmen mit magazine-Caption (Vertrauen, Ablauf, Sortiment) */
.bild-figur { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--surface-2); }
.bild-figur > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bild-figur::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 70%, transparent), transparent); pointer-events: none; }
.bild-figur figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px; color: #F3ECDD;
  font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(0deg, rgba(10,9,7,.86), rgba(10,9,7,.28) 62%, transparent);
}
.bild-figur figcaption .cap-sub { display: block; font-weight: 400; font-size: .78rem; color: #CFC6B2; margin-top: 2px; }

/* Hero-Bild + schwebendes Live-Ankaufspreis-Panel (dunkles Glas, immer lesbar) */
.hero-figur { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--border)); box-shadow: var(--shadow-card); background: #14110C; }
.hero-figur > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hero-preis-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px; max-width: 306px;
  padding: 15px 18px 14px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, #0E0D0B 74%, transparent);
  backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid color-mix(in srgb, #CBA95F 42%, transparent);
  box-shadow: 0 8px 24px rgba(0,0,0,.38);
}
.hpb-label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #C6BCA6; margin-bottom: .35rem; }
.hpb-preis { display: flex; align-items: baseline; gap: .3em; font-variant-numeric: tabular-nums; }
.hpb-preis .wert { font-family: var(--font-display); font-size: 2.15rem; font-weight: 600; color: #E6D5AC; line-height: 1; }
.hpb-preis .eh { font-size: .82rem; color: #A79E8C; }
.hpb-stand { display: inline-flex; align-items: center; gap: .5em; margin: .5rem 0 0; font-size: .74rem; color: #A79E8C; }
.hpb-stand .punkt { width: 7px; height: 7px; border-radius: 50%; background: #6FA894; flex: none; animation: puls 2.6s ease-out infinite; }

/* Sortiment: editorial-Trio (Barren · Münzen · Schmuck) unter den Metall-Karten */
.sortiment-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.sortiment-galerie .bild-figur > img { aspect-ratio: 3 / 2; }
@media (max-width: 720px) { .sortiment-galerie { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* Vertrauen: ruhiges Bild im linken Textblock */
.vertrauen-bild { margin-top: 28px; }
.vertrauen-bild > img { aspect-ratio: 16 / 10; }

/* Ablauf: breite, ruhige Bildbande über den Schritten */
.ablauf-band { margin-bottom: clamp(32px, 5vw, 52px); }
.ablauf-band > img { aspect-ratio: 12 / 5; }
@media (max-width: 640px) { .ablauf-band > img { aspect-ratio: 16 / 10; } }

/* ── Preis-Highlight (Rechner) ─────────────────────────────────────────────── */
.preis-highlight {
  display: flex; align-items: baseline; gap: .35em;
  font-variant-numeric: tabular-nums;
}
.preis-highlight .wert { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 600; color: var(--gold-dark); line-height: 1; }
.preis-highlight .einheit { font-size: 1.05rem; color: var(--text-muted); }
.preis-stand { font-size: .82rem; color: var(--text-muted); }

/* ── Sortiment: Metall-Karten ──────────────────────────────────────────────── */
.metall-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color var(--ease-slow), transform var(--ease-slow), background var(--ease-slow);
}
.metall-karte:hover { border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); transform: translateY(-3px); }
.metall-karte .icon-medaillon { margin-bottom: 16px; }
.metall-karte h4 { margin-bottom: .35rem; font-size: 1.3rem; font-weight: 500; }
.metall-karte .unterkat { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.55; }

/* ── 4-Schritt-Ablauf ──────────────────────────────────────────────────────── */
.schritt { position: relative; }
.schritt .nummer {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold-dark); background: transparent; margin-bottom: 16px;
}
.schritt h4 { margin-bottom: .3rem; }
.schritt p { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* ── Foto-Werteinschätzung ─────────────────────────────────────────────────── */
/* Kurzanleitung „So gelingen Ihre Fotos" */
.foto-tipps-titel { margin: 28px 0 0; font-size: 1.15rem; }
.merkmale.foto-tipps li { align-items: flex-start; color: var(--text); }
.merkmale.foto-tipps svg { margin-top: .18em; }

.foto-drop {
  border: 1px dashed color-mix(in srgb, var(--gold) 55%, var(--border));
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 30px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.foto-drop:hover, .foto-drop.dragover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, var(--surface-2)); }
.foto-drop svg { width: 34px; height: 34px; color: var(--gold-dark); margin-bottom: 10px; }
.foto-drop .ft-titel { font-weight: 600; color: var(--text); margin: 0 0 .25rem; }
.foto-drop .ft-sub { font-size: .86rem; color: var(--text-muted); margin: 0; }
.foto-vorschau { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.foto-thumb { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.foto-thumb img { width: 100%; height: 100%; object-fit: cover; }
.foto-thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.foto-thumb button svg { width: 13px; height: 13px; }
.foto-ergebnis { margin-top: 18px; }
.foto-ergebnis .ergebnis-karte { background: var(--surface-2); border: 1px solid var(--border); border-left: 2px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 22px; }
.foto-ergebnis .ergebnis-wert { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-dark); font-variant-numeric: tabular-nums; line-height: 1.1; margin: .2rem 0 .4rem; }
.foto-ergebnis dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 4px; font-size: .95rem; }
.foto-ergebnis dt { color: var(--text-muted); }
.foto-ergebnis dd { margin: 0; font-weight: 500; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: clamp(52px, 6vw, 76px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h5 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text-muted); font-size: .93rem; }
.footer-grid a:hover { color: var(--gold-dark); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; max-width: 32ch; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold-dark); }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Schwebender WhatsApp-Button (dezent, nur Desktop; Mobile hat Sticky-CTA) ──
   Sitzt ÜBER dem Chat-Button (der bei bottom:22px liegt), falls beide aktiv. */
.wa-float {
  position: fixed; right: 22px; bottom: 88px; z-index: 55;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.1em;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}
.wa-float:hover { color: var(--gold-bright); transform: translateY(-1px); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .wa-float { display: none; } }

/* ── Mobiler Sticky-Bottom-CTA (Anrufen / Route) ───────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-cta .btn { flex: 1; }
@media (max-width: 700px) { .mobile-cta { display: flex; } body { padding-bottom: 78px; } }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.stack-sm > * + * { margin-top: 12px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.meldung { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.meldung.ok { background: color-mix(in srgb, var(--trust) 14%, var(--surface)); color: var(--trust); border: 1px solid color-mix(in srgb, var(--trust) 40%, transparent); }
.meldung.fehler { background: #FBECEC; color: #8A2A26; border: 1px solid #E8C9C6; }
:root[data-theme="dark"] .meldung.fehler { background: #2A1917; color: #E9A9A4; border-color: #4A2723; }

.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ═══════════════════════════════════════════════════════════════════════════
   Mehrpositionen-Rechner (.rp-*) — beliebig viele Stücke, eine Gesamtsumme
   Farben ausschließlich über Tokens, damit Hell und Dunkel gleich tragen.
   ═══════════════════════════════════════════════════════════════════════════ */
.rp-liste { display: grid; gap: 16px; }
.rp-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "metall  legierung weg"
    "gewicht gewicht   weg";
  align-items: end;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.rp-liste .rp-zeile:last-child { padding-bottom: 0; border-bottom: none; }
.rp-f-metall  { grid-area: metall; }
.rp-f-fein    { grid-area: legierung; }
.rp-f-gewicht { grid-area: gewicht; }
.rp-zeile .rp-f { margin-bottom: 0; min-width: 0; }
.rp-zeile .rp-f label {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .45em;
}
.rp-zeile select, .rp-zeile input { padding: .66em .8em; font-size: .95rem; }
.rp-zeile select { padding-right: 2.2em; background-position: right .7em center; }

/* Entfernen-Button — bei nur einer Position ausgeblendet, die Spalte bleibt stehen */
.rp-weg {
  grid-area: weg;
  width: 40px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.rp-weg svg { width: 15px; height: 15px; }
.rp-weg:hover { color: var(--text); border-color: var(--gold); background: var(--surface-2); }
.rp-liste .rp-zeile:only-child .rp-weg { visibility: hidden; pointer-events: none; }

.rp-hinzu { margin-top: 20px; }
.rp-hinzu svg { width: 17px; height: 17px; }

/* Ergebniskarte: Einzelwerte je Position + Gesamtsumme */
.rp-ergebnis { display: flex; flex-direction: column; justify-content: center; }
.rp-posten { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 9px; }
.rp-posten li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: .92rem; }
.rp-p-text { color: var(--text-muted); min-width: 0; }
.rp-p-wert { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-posten .rp-posten-leer { color: var(--text-muted); font-size: .9rem; font-style: italic; }
.rp-summe-label {
  margin: 0; padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Schmale Karten/Displays: Positionen stapeln */
@media (max-width: 900px) {
  .rp-zeile {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "metall    weg"
      "legierung legierung"
      "gewicht   gewicht";
  }
}

/* ── Prominenter Unverbindlichkeits-Hinweis (Foto-Sektion u. a.) ───────────── */
.hinweis-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.hinweis-box svg { width: 22px; height: 22px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.hinweis-box p { margin: 0; font-size: .93rem; color: var(--text); line-height: 1.55; }
.foto-ergebnis .ergebnis-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin: .1rem 0 .1rem;
}

/* ── Header: dezenter Login + „nur mobil"-Navpunkte ───────────────────────── */
.nav-login-desktop {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .84rem; font-weight: 500; color: var(--text-muted);
  padding: .5em .7em; border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-login-desktop svg { width: 16px; height: 16px; }
.nav-login-desktop:hover { color: var(--gold-dark); background: var(--surface-2); }
/* Layout-Eigenschaften ohne display, damit .nav-nur-mobil{display:none} auf Desktop greift */
.hauptnav a.nav-login-eintrag { align-items: center; gap: .55em; color: var(--gold-dark); }
.hauptnav a.nav-login-eintrag svg { width: 17px; height: 17px; }
.nav-nur-mobil { display: none; }
@media (max-width: 960px) {
  .nav-nur-mobil { display: block; }
  .hauptnav a.nav-login-eintrag { display: flex; }
  .nav-login-desktop { display: none; }
}

/* ── Footer-Credit ─────────────────────────────────────────────────────────── */
.footer-bottom-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.footer-credit { color: var(--text-muted); }
.footer-credit a { color: var(--text-muted); }
.footer-credit a:hover { color: var(--gold-dark); }

/* ═══════════════════════════════════════════════════════════════════════════
   On-Site-Assistent — schwebender Chat (global via layout.js)
   ═══════════════════════════════════════════════════════════════════════════ */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .8em 1.2em;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--gold-dark);
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}
.chat-fab:hover { color: var(--gold-bright); transform: translateY(-1px); }
.chat-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.chat-fab[hidden] { display: none; }
.chat-fab svg { width: 20px; height: 20px; flex: none; }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: min(380px, calc(100vw - 44px));
  height: min(560px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.chat-kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 6%, var(--surface)), var(--surface));
}
.chat-titel { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text); display: block; line-height: 1.15; }
.chat-status { display: inline-flex; align-items: center; gap: .45em; font-size: .76rem; color: var(--text-muted); }
.chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--trust); flex: none; }
.chat-schliessen {
  flex: none; background: none; border: none; color: var(--text-muted);
  cursor: pointer; padding: 6px; border-radius: var(--radius-sm);
  display: inline-flex; transition: color var(--ease), background var(--ease);
}
.chat-schliessen:hover { color: var(--gold-dark); background: var(--surface-2); }
.chat-schliessen svg { width: 20px; height: 20px; }
.chat-verlauf {
  flex: 1 1 auto; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.chat-blase {
  max-width: 84%; padding: 10px 13px; border-radius: 14px;
  font-size: .92rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-blase.von-assistant {
  align-self: flex-start; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-blase.von-user {
  align-self: flex-end;
  background: color-mix(in srgb, var(--gold) 15%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border));
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.chat-tippen {
  align-self: flex-start; display: inline-flex; gap: 4px;
  padding: 13px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 14px; border-bottom-left-radius: 4px;
}
.chat-tippen span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: chatDot 1.2s infinite ease-in-out; }
.chat-tippen span:nth-child(2) { animation-delay: .15s; }
.chat-tippen span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-3px); } }
.chat-eingabe {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px; border-top: 1px solid var(--border); background: var(--surface);
}
.chat-eingabe textarea {
  flex: 1 1 auto; resize: none; min-height: 0; max-height: 120px;
  padding: .6em .8em; font-size: .92rem; line-height: 1.4;
}
.chat-senden {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--gold); background: var(--gold); color: #17130A;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.chat-senden:hover { background: var(--gold-bright); }
.chat-senden:disabled { opacity: .5; cursor: default; }
.chat-senden svg { width: 18px; height: 18px; }
.chat-hinweis {
  margin: 0; padding: 8px 14px 12px; text-align: center;
  font-size: .72rem; color: var(--text-muted); background: var(--surface);
}
@media (max-width: 560px) {
  .chat-panel { inset: 0; width: auto; height: auto; max-height: none; border: none; border-radius: 0; }
  .chat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; }
  .chat-hinweis { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .chat-fab-label { display: none; }
  .chat-fab { padding: .8em; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation: none !important; }
}
