/* ============================================================================
   Musikshop – Kunden-Webseite
   Design nach krinner-instrumentenbau.de: dunkle, warme Grundtöne,
   Gold-Akzente (#926D39), elegante Display-Schrift (Julius Sans One).
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Schriften – lokal gehostet (kein Google-Fonts-Nachladen, DSGVO-konform)
   Archivo Narrow & Roboto sind Variable Fonts (ein File deckt mehrere
   Gewichte ab).
   --------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Julius Sans One";
  src: url("fonts/julius.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0a07;            /* warmes Schwarz */
  --bg-2: #120f0a;          /* abwechselnde Sektionen */
  --card: #16120b;          /* Kartenhintergrund */
  --light: #f5f1e8;         /* helle Sektion (Willkommen) */
  --ink: #efe9dc;           /* Text auf dunklem Grund */
  --muted: #a4977f;         /* gedämpfter Text */
  --gold: #926D39;          /* Marken-Gold (wie auf der Referenzseite) */
  --gold-2: #c9a15e;        /* helles Gold für Akzente/Hover */
  --line: rgba(201, 161, 94, .28);
  --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --heading: #fff;            /* Ueberschriften/Titel */
  --input-bg: #17130c;        /* Eingabefelder */
  --header-bg: rgba(12, 10, 7, .86);  /* Kopfzeile */
  --footer-bg: #080604;       /* Fusszeile */
  --hero-text: #fff;          /* Hero-Ueberschrift */
  --hero-overlay: linear-gradient(180deg, rgba(12,10,7,.62) 0%, rgba(12,10,7,.78) 55%, var(--bg) 100%);
  --on-accent: #14100a;       /* Text auf Gold-Akzenten */

  --font-display: "Julius Sans One", Georgia, serif;
  --font-body: "Roboto", "Segoe UI", sans-serif;
  --font-ui: "Archivo Narrow", "Roboto", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--on-accent); }

img { max-width: 100%; }

.wrap { width: min(1240px, 92vw); margin-inline: auto; }

section { scroll-margin-top: 84px; }

/* ---------------------------------------------------------------------------
   Kopfzeile
   --------------------------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  color: var(--heading); text-decoration: none;
  letter-spacing: .14em; line-height: 1.05;
  display: inline-flex; flex-direction: column;
}
.logo-main { font-size: 1.28rem; }
.logo-sub {
  font-family: var(--font-ui);
  font-weight: 600; letter-spacing: .34em;
  color: var(--gold-2); font-size: .72rem; margin-top: .18rem;
}

.main-nav { display: flex; gap: 2.2rem; }
.main-nav a {
  font-family: var(--font-ui); font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted); text-decoration: none; font-size: .86rem;
  padding: .4rem 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* Hamburger-Button (nur mobil sichtbar) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px; margin: 0 auto;
  background: var(--gold-2); transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   Hero (Startseite)
   --------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: max(640px, 92vh);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background-color: var(--bg);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero-content { position: relative; z-index: 1; padding: 7rem 1.4rem 4rem; max-width: 860px; }

.overline {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .32em;
  color: var(--gold-2); font-size: .85rem; margin: 0 0 1.4rem;
}

.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  color: var(--hero-text); letter-spacing: .03em;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.08; margin: 0 0 1.6rem;
}

.hero .lead {
  color: var(--muted); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.8;
  max-width: 660px; margin: 0 auto 2.6rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em; font-size: .9rem;
  color: var(--gold-2); text-decoration: none;
  border: 1px solid var(--gold-2);
  padding: 1em 2.6em;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--gold-2); color: var(--on-accent); transform: translateY(-2px); }

/* ---------------------------------------------------------------------------
   Willkommen (helle Sektion)
   --------------------------------------------------------------------------- */

.welcome { background: var(--light); padding: 5.5rem 0; text-align: center; }
.welcome h2 {
  font-family: var(--font-display); font-weight: 400;
  color: #1c1710; font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: .04em; margin: 0 0 1.2rem;
}
.welcome .rule { width: 64px; height: 2px; background: var(--gold); margin: 0 auto 2.2rem; }
.welcome p {
  max-width: 780px; margin: 0 auto;
  color: #3a332a; font-weight: 300;
  font-size: 1.05rem; line-height: 1.9;
}

/* ---------------------------------------------------------------------------
   Katalog (Instrumente)
   --------------------------------------------------------------------------- */

.catalog { background: var(--bg); padding: 5.5rem 0 6rem; }

.catalog-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: .8rem;
}
.catalog-head h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  letter-spacing: .04em; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0;
}

.search-box { position: relative; }
.search-box input {
  width: min(340px, 100%);
  background: var(--input-bg); color: var(--ink);
  border: 1px solid var(--line); outline: none;
  font-family: var(--font-body); font-weight: 300; font-size: .95rem;
  padding: .8em 2.6em .8em 1.1em;
  transition: border-color .2s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { border-color: var(--gold-2); }
.search-box .icon {
  position: absolute; right: 1em; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 1rem; pointer-events: none;
}

.result-count {
  font-family: var(--font-ui); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-size: .82rem; margin: 0 0 1.6rem;
}

/* Kategorie-Blöcke */
.kat-block { margin-top: 3.6rem; }
.kat-head { display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap; }
.kat-head h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  letter-spacing: .05em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0;
}
.kat-tagline {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
  color: var(--gold-2); font-size: .8rem;
}
.kat-count { margin-left: auto; }

/* Kartenraster */
.grid {
  display: grid; gap: 1.5rem; margin-top: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

.card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--hairline);
  text-decoration: none; color: inherit;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-2);
  box-shadow: var(--shadow);
}

.card-img {
  aspect-ratio: 4 / 3; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #1a150d 0%, #0e0b07 100%);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-ph {
  position: absolute; inset: 0;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: rgba(201, 161, 94, .45);
  font-size: 3.4rem; letter-spacing: .08em;
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.card-body h4 {
  font-family: var(--font-body); font-weight: 500; color: var(--heading);
  font-size: 1.06rem; line-height: 1.35; margin: 0;
}
.card-meta {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold-2); font-size: .78rem; margin: .5rem 0 0;
}
.card-desc {
  color: var(--muted); font-weight: 300; font-size: .92rem; line-height: 1.6;
  margin: .7rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.card-foot {
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.price { font-family: var(--font-ui); font-weight: 600; color: var(--gold-2); letter-spacing: .05em; font-size: .95rem; white-space: nowrap; }
.price small { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: .64rem; color: var(--muted); font-weight: 500; }
.price em { font-style: normal; color: var(--muted); font-size: .82em; }
.more {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
  color: var(--muted); transition: color .2s; white-space: nowrap;
}
.card:hover .more { color: var(--gold-2); }

.no-results {
  margin-top: 3rem; text-align: center; color: var(--muted);
  font-weight: 300; font-size: 1.05rem; padding: 3rem 0;
}

/* ---------------------------------------------------------------------------
   Artikeldetail
   --------------------------------------------------------------------------- */

.detail { background: var(--bg); padding: 6.2rem 0 5.5rem; }

.back-link {
  display: inline-block; margin-bottom: 2.4rem;
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; font-size: .82rem;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.back-link:hover { color: var(--gold-2); }
/* Zustands-Filter + Zustand/Alter auf Artikelkarten */
.zustand-filter { margin-left: 1rem; }
.zustand-filter select {
  font-family: var(--font-ui); font-size: .9rem;
  background: var(--card); color: var(--heading);
  border: 1px solid var(--hairline); padding: .55rem 1rem; border-radius: 4px; cursor: pointer;
}
.card-zustand {
  margin: .25rem 0 0; font-family: var(--font-ui); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--gold-2);
}

/* Anfragekorb: Zurueck-Link besser sichtbar + nach unten gerueckt */
.korb .back-link {
  margin-top: 3rem;
  color: var(--gold-2);
  font-weight: 700;
}


.detail-grid {
  display: grid; gap: 3rem; align-items: start;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.gallery-main {
  position: relative;
  border: 1px solid var(--line); background: var(--card); overflow: hidden;
}
.gallery-placeholder { aspect-ratio: 4 / 3; }
.gallery-placeholder .card-ph { font-size: 5rem; }
.gallery-main img { width: 100%; display: block; }
.thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.thumbs button {
  padding: 0; border: 1px solid transparent; background: none; cursor: pointer;
  opacity: .55; transition: opacity .2s, border-color .2s; line-height: 0;
}
.thumbs button img { width: 84px; height: 62px; object-fit: cover; display: block; }
.thumbs button:hover { opacity: .9; }
.thumbs button.active { opacity: 1; border-color: var(--gold-2); }

.detail-info .overline { margin-bottom: .8rem; }
.detail-info h1 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  letter-spacing: .03em; line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.8rem;
}

.specs { width: 100%; border-collapse: collapse; }
.specs tr { border-bottom: 1px solid var(--hairline); }
.specs th {
  text-align: left; vertical-align: top; padding: .75rem 0;
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  color: var(--muted); width: 42%;
}
.specs td { padding: .75rem 0; color: var(--heading); font-weight: 400; text-align: right; }

.desc-section { margin-top: 3.6rem; max-width: 880px; }
.desc-section h2 {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .3em;
  color: var(--gold-2); font-size: .9rem; margin: 0 0 1.4rem;
}

.desc-body { color: var(--ink); font-weight: 300; font-size: 1.02rem; line-height: 1.85; }
.desc-body p { margin: 0 0 1.2em; }
.desc-body h3, .desc-body h4 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  letter-spacing: .04em; margin: 1.8em 0 .6em; line-height: 1.25;
}
.desc-body ul, .desc-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.desc-body li { margin-bottom: .45em; }
.desc-body li::marker { color: var(--gold-2); }
.desc-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.desc-body img { border: 1px solid var(--line); margin: .8em 0; }
.desc-body blockquote {
  margin: 1.4em 0; padding: .4em 0 .4em 1.2em;
  border-left: 2px solid var(--gold); color: var(--muted); font-style: italic;
}

/* ---------------------------------------------------------------------------
   Mietkalkulator (Detailseite)
   --------------------------------------------------------------------------- */

.calc {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 2rem;
}
.calc h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  letter-spacing: .05em; font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 .8rem;
}
.calc-hint { color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 640px; margin: 0 0 1.6rem; }

.calc-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 720px;
}
.calc-grid label {
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); font-size: .78rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.calc-grid input {
  background: var(--input-bg); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-body); font-weight: 400; font-size: 1rem;
  padding: .7em .9em; outline: none; transition: border-color .2s; min-width: 0;
}
.calc-grid input:focus { border-color: var(--gold-2); }

.calc-results {
  display: grid; gap: 1.2rem; margin-top: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 940px;
}
.tarif-card {
  background: var(--card); border: 1px solid var(--hairline);
  padding: 1.4rem 1.5rem;
  transition: border-color .2s, transform .2s;
}
.tarif-card:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.tarif-name {
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .24em; color: var(--gold-2); font-size: .8rem; margin: 0 0 .7rem;
}
.tarif-wert {
  font-family: var(--font-display); color: var(--heading);
  font-size: 1.9rem; line-height: 1.15; letter-spacing: .02em; margin: 0;
}
.tarif-wert em {
  font-style: normal; font-family: var(--font-ui); font-weight: 500;
  color: var(--muted); font-size: .95rem; letter-spacing: .08em;
}
.tarif-gesamt { color: var(--muted); font-weight: 300; font-size: .92rem; margin: .7rem 0 0; }
.tarif-desc {
  color: var(--muted); font-family: var(--font-ui); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; margin: .9rem 0 0;
}

.calc-wait, .calc-error { color: var(--muted); font-weight: 300; margin: 1.6rem 0 0; }
.calc-error { color: #d98a6a; }

.not-found { text-align: center; padding: 6rem 0; }
.not-found h1 { font-family: var(--font-display); color: var(--heading); font-weight: 400; }
.not-found p { color: var(--muted); margin-bottom: 2rem; }

/* ---------------------------------------------------------------------------
   Fußzeile
   --------------------------------------------------------------------------- */

.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding-top: 4.2rem; }

.footer-grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
.f-col h4 {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
  color: var(--gold-2); font-size: .8rem; margin: 0 0 1rem;
}
.f-col p { margin: 0; color: var(--muted); font-weight: 300; font-size: .95rem; line-height: 1.75; }
.f-col a { color: var(--muted); text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--gold-2); }

.logo-light .logo-main { font-size: 1.1rem; }
.f-tagline {
  margin-top: 1rem !important;
  font-family: var(--font-ui) !important; text-transform: uppercase; letter-spacing: .3em;
  color: var(--muted) !important; font-size: .72rem !important;
}

.social-row { display: flex; gap: 1.4rem; margin-top: 1rem; }
.social-row a {
  font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3.4rem; padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted); font-size: .85rem; font-weight: 300;
}
.legal-nav { display: flex; gap: 1.6rem; }
.legal-nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.legal-nav a:hover { color: var(--gold-2); }
.price-note { color: var(--muted); font-weight: 300; line-height: 1.6; }
.korb-hinweis-info {
  margin-top: 1.4rem; padding: .85rem 1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--gold-2);
  background: var(--card); color: var(--muted);
  font-weight: 300; font-size: .92rem; line-height: 1.6;
}
.footer-bottom .price-note { flex-basis: 100%; text-align: center; margin-bottom: .6rem; font-size: .8rem; }

/* ---------------------------------------------------------------------------
   Nach-oben-Button
   --------------------------------------------------------------------------- */

.scroll-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  width: 46px; height: 46px;
  background: var(--header-bg); color: var(--gold-2);
  border: 1px solid var(--line); cursor: pointer; font-size: 1.05rem;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-top:hover { background: var(--gold-2); color: var(--on-accent); }

/* ---------------------------------------------------------------------------
   Responsiv
   --------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .specs td { text-align: left; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    padding: .4rem 0;
    /* visibility:hidden ist wichtig: bei kurzen Menues (wenige Eintraege)
       wuerde ein reines Verschieben per transform noch in die Kopfzeile ragen. */
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav a {
    padding: .9rem 6vw; font-size: .92rem; letter-spacing: .16em;
    border-bottom: 1px solid var(--hairline);
  }
  .main-nav a:hover { border-bottom-color: var(--gold-2); }
}

@media (max-width: 640px) {
  .header-inner { height: 62px; }
  .logo-main { font-size: 1.05rem; }
  .main-nav { top: 62px; }
  .hero-content { padding-top: 6rem; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .search-box input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .kat-count { margin-left: 0; width: 100%; }
}

/* ---------------------------------------------------------------------------
   Cookie-Hinweis (EU / DSGVO)
   --------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: #16120b; color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,.5);
  padding: 1rem 1.2rem;
  display: none; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  font-size: .92rem; line-height: 1.5;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 300px; }
.cookie-banner a { color: var(--gold-2); }
.cookie-banner button {
  background: var(--gold-2); color: var(--on-accent);
  border: none; border-radius: 4px; padding: .6rem 1.4rem;
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; cursor: pointer;
}
.cookie-banner button:hover { background: var(--gold); color: var(--heading); }

/* ---------------------------------------------------------------------------
   Mietmodelle (Erklärseite)
   --------------------------------------------------------------------------- */
.miet-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem; margin: 2rem 0;
}
.miet-card {
  background: var(--card); border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: 8px; padding: 1.6rem 1.5rem;
}
.miet-card h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--gold-2);
  letter-spacing: .04em; margin: 0 0 .8rem; font-size: 1.5rem;
}
.miet-card .miet-tag {
  display: inline-block; font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  color: var(--muted); margin-bottom: .6rem;
}
.miet-card p { color: var(--ink); font-weight: 300; line-height: 1.7; margin: 0 0 .8rem; }
.miet-card ul { margin: 0; padding-left: 1.1rem; color: var(--ink); font-weight: 300; line-height: 1.7; }
.miet-card li { margin-bottom: .35rem; }
.kaution-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 1.4rem 1.5rem; margin-top: 2rem;
}
.kaution-box h2 { font-family: var(--font-display); font-weight: 400; color: var(--gold-2); margin: 0 0 .8rem; font-size: 1.4rem; }
.kaution-box p { color: var(--ink); font-weight: 300; line-height: 1.7; margin: 0 0 .6rem; }

/* ---------------------------------------------------------------------------
   Anfragekorb (Mietanfrage)
   --------------------------------------------------------------------------- */
.korb-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem;
  margin-left: .35rem; border-radius: 999px;
  background: var(--gold-2); color: var(--on-accent);
  font-size: .72rem; font-weight: 700; letter-spacing: 0;
}
.korb-count.empty { background: #3a342a; color: #8d8574; }

.korb { padding: 4rem 0 5rem; }
.korb h1 { font-family: var(--font-display); font-weight: 400; color: var(--heading); letter-spacing: .03em; font-size: 2.4rem; margin: 0 0 .6rem; }
.korb .korb-sub { color: var(--muted); font-weight: 300; margin: 0 0 2.4rem; }

.korb-item {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  background: var(--card); border: 1px solid var(--hairline);
  padding: 1.2rem 1.4rem; margin-bottom: 1rem;
}
.korb-item .ki-name { flex: 1 1 220px; }
.korb-item .ki-name h3 { font-family: var(--font-display); font-weight: 400; color: var(--heading); font-size: 1.25rem; margin: 0 0 .3rem; }
.korb-item .ki-name p { color: var(--muted); font-weight: 300; margin: 0; font-size: .9rem; }
.korb-item .ki-meta { color: var(--muted); font-weight: 300; font-size: .9rem; }
.korb-item .ki-price { font-family: var(--font-display); color: var(--gold-2); font-size: 1.15rem; white-space: nowrap; }
.korb-item .ki-price small { display:block; font-family: var(--font-ui); font-weight:600; text-transform:uppercase; letter-spacing:.14em; color:var(--muted); font-size:.68rem; }

.btn-danger {
  display: inline-block; font-family: var(--font-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: #d98a6a; text-decoration: none; cursor: pointer;
  border: 1px solid #7a4a36; background: transparent;
  padding: .55rem 1rem; transition: background .2s, color .2s, border-color .2s;
}
.btn-danger:hover { background: #7a4a36; color: var(--heading); border-color: #7a4a36; }

.korb-empty { color: var(--muted); font-weight: 300; line-height: 1.8; }

.korb-form { margin-top: 2.6rem; max-width: 720px; }
.korb-form h2 { font-family: var(--font-display); font-weight: 400; color: var(--heading); letter-spacing: .03em; font-size: 1.6rem; margin: 0 0 1.2rem; }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-grid label {
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); font-size: .76rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  background: var(--input-bg); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-body); font-weight: 400; font-size: 1rem;
  padding: .7em .9em; outline: none; transition: border-color .2s; min-width: 0;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--gold-2); }
.form-grid textarea { resize: vertical; min-height: 90px; }
.form-note { color: var(--muted); font-weight: 300; font-size: .9rem; margin: 1.4rem 0; }
.form-consent { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.consent-line {
  font-family: var(--font-ui); font-weight: 400; font-size: .92rem;
  color: var(--ink); display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5;
}
.consent-line input { margin-top: .2rem; accent-color: var(--gold-2); flex: none; }
.consent-line a { color: var(--gold-2); text-decoration: underline; }
.korb-send { margin-top: .4rem; }
.korb-msg { margin-top: 1.6rem; font-weight: 300; line-height: 1.7; }
.korb-msg.ok { color: #8fbf8f; }
.korb-msg.err { color: #d98a6a; }

.tarif-add {
  display: inline-block; margin-top: 1rem; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: .74rem; color: var(--gold-2);
  border: 1px solid var(--gold-2); background: transparent; padding: .5rem .9rem;
  transition: background .2s, color .2s;
}
.tarif-add:hover { background: var(--gold-2); color: var(--on-accent); }

/* ============================================================================
   THEMES – 10 waehlbare Designs (dunkle Grundtoene, unterschiedliche Akzente)
   ----------------------------------------------------------------------------
   Das aktive Theme wird ueber das data-theme-Attribut am <html>-Element gesetzt
   (z. B. <html data-theme="nachtblau">). Ohne Attribut gilt das Standard-Theme
   "schwarz-gold" (oben in :root definiert).
   ========================================================================== */

/* 1) Schwarz & Gold (Standard – entspricht :root) */
html[data-theme="schwarz-gold"] {
  --bg: #0c0a07; --bg-2: #120f0a; --card: #16120b; --light: #f5f1e8;
  --ink: #efe9dc; --muted: #a4977f; --gold: #926D39; --gold-2: #c9a15e;
  --line: rgba(201, 161, 94, .28); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --heading: #fff;            /* Ueberschriften/Titel */
  --input-bg: #17130c;        /* Eingabefelder */
  --header-bg: rgba(12, 10, 7, .86);  /* Kopfzeile */
  --footer-bg: #080604;       /* Fusszeile */
  --hero-text: #fff;          /* Hero-Ueberschrift */
  --hero-overlay: linear-gradient(180deg, rgba(12,10,7,.62) 0%, rgba(12,10,7,.78) 55%, var(--bg) 100%);
  --on-accent: #14100a;       /* Text auf Gold-Akzenten */
}

/* 2) Nachtblau & Gold */
html[data-theme="nachtblau"] {
  --bg: #070b14; --bg-2: #0b1220; --card: #0f1728; --light: #eef2f8;
  --ink: #e8edf5; --muted: #8fa0b8; --gold: #b08d3f; --gold-2: #d9b45c;
  --line: rgba(217, 180, 92, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 3) Smaragd & Gold */
html[data-theme="smaragd"] {
  --bg: #07120d; --bg-2: #0a1a12; --card: #0e2017; --light: #edf6f0;
  --ink: #e6f0ea; --muted: #8fb09c; --gold: #a08a3a; --gold-2: #cdb257;
  --line: rgba(205, 178, 87, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 4) Bordeaux & Gold */
html[data-theme="bordeaux"] {
  --bg: #150a0a; --bg-2: #1c0e0d; --card: #231210; --light: #f7eeec;
  --ink: #f3e7e4; --muted: #c09a92; --gold: #b98a3e; --gold-2: #dbb45c;
  --line: rgba(219, 180, 92, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 5) Anthrazit & Stahlblau */
html[data-theme="anthrazit"] {
  --bg: #0e1114; --bg-2: #13171c; --card: #171c22; --light: #eef1f4;
  --ink: #e6ebf0; --muted: #93a0ad; --gold: #5d8fb0; --gold-2: #7fb3d4;
  --line: rgba(127, 179, 212, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 6) Tiefes Tuerkis & Sand */
html[data-theme="mittelmeer"] {
  --bg: #071312; --bg-2: #0a1a18; --card: #0e211e; --light: #edf6f4;
  --ink: #e4f0ee; --muted: #8fb2ab; --gold: #b08a4f; --gold-2: #d3ad6e;
  --line: rgba(211, 173, 110, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 7) Violett & Platin */
html[data-theme="viola"] {
  --bg: #120b18; --bg-2: #171022; --card: #1d1530; --light: #f3eef8;
  --ink: #ece4f3; --muted: #a892bd; --gold: #9a86c9; --gold-2: #c3b3e6;
  --line: rgba(195, 179, 230, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 8) Oliv & Natur */
html[data-theme="oliv"] {
  --bg: #0f120a; --bg-2: #14180d; --card: #191e10; --light: #f4f6ec;
  --ink: #eef0e2; --muted: #a4a98a; --gold: #9a9a3f; --gold-2: #c2c25e;
  --line: rgba(194, 194, 94, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 9) Graphit & Silber */
html[data-theme="graphit"] {
  --bg: #0d0d0f; --bg-2: #121214; --card: #161618; --light: #f0f0f2;
  --ink: #e8e8ec; --muted: #9a9aa2; --gold: #9aa0a8; --gold-2: #c2c8cf;
  --line: rgba(194, 200, 207, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* 10) Dunkles Braun & Kupfer */
html[data-theme="kupfer"] {
  --bg: #120c08; --bg-2: #181009; --card: #1d140c; --light: #f6f0e8;
  --ink: #f0e7dc; --muted: #b09a82; --gold: #b06a3a; --gold-2: #d18a52;
  --line: rgba(209, 138, 82, .30); --hairline: rgba(255, 255, 255, .07);
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
}


/* 11) Klassisch Hell (weiss/creme + Gold) */
html[data-theme="hell"] {
  --bg: #f7f4ee; --bg-2: #efe9dc; --card: #ffffff; --light: #ffffff;
  --ink: #2b2720; --muted: #6f675a; --gold: #a07d3f; --gold-2: #8a6a2f;
  --line: rgba(140, 105, 45, .25); --hairline: rgba(0, 0, 0, .08);
  --shadow: 0 18px 40px rgba(60, 45, 20, .15);
  --heading: #2b2720; --input-bg: #ffffff; --header-bg: rgba(255, 255, 255, .92);
  --footer-bg: #efe9dc; --hero-text: #2b2720;
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.75) 55%, var(--bg) 100%);
  --on-accent: #14100a;
}

/* 12) Hell & Blau (weiss + Blau-Akzente) */
html[data-theme="hell-blau"] {
  --bg: #f2f6fa; --bg-2: #e6eef4; --card: #ffffff; --light: #ffffff;
  --ink: #1f2a33; --muted: #5f7180; --gold: #2f6f9f; --gold-2: #2a5f8a;
  --line: rgba(47, 111, 159, .25); --hairline: rgba(0, 0, 0, .08);
  --shadow: 0 18px 40px rgba(20, 50, 80, .15);
  --heading: #1f2a33; --input-bg: #ffffff; --header-bg: rgba(255, 255, 255, .92);
  --footer-bg: #e6eef4; --hero-text: #1f2a33;
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.75) 55%, var(--bg) 100%);
  --on-accent: #14100a;
}

/* 13) Hell & Grau (weiss + Grau/Schiefer) */
html[data-theme="hell-grau"] {
  --bg: #f4f4f5; --bg-2: #e9e9eb; --card: #ffffff; --light: #ffffff;
  --ink: #2a2a2e; --muted: #6e6e75; --gold: #6e6e75; --gold-2: #4a4a52;
  --line: rgba(90, 90, 100, .25); --hairline: rgba(0, 0, 0, .08);
  --shadow: 0 18px 40px rgba(40, 40, 50, .15);
  --heading: #2a2a2e; --input-bg: #ffffff; --header-bg: rgba(255, 255, 255, .92);
  --footer-bg: #e9e9eb; --hero-text: #2a2a2e;
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.75) 55%, var(--bg) 100%);
  --on-accent: #14100a;
}

/* ---------------------------------------------------------------------------
   Online-Terminbuchung (eigene Seite: termine.html)
   Nutzt dieselben CSS-Variablen/Themes wie der Mietshop.
   --------------------------------------------------------------------------- */

.termin-hero { padding: 6.5rem 0 1rem; }
.termin-hero h1 {
  font-family: var(--font-display); font-weight: 400; color: var(--hero-text);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin: 0 0 .6rem;
}
.termin-hero p { color: var(--muted); max-width: 720px; font-weight: 300; }

.termin-step { margin-top: 2.6rem; }
.termin-step > h3 {
  font-family: var(--font-display); font-weight: 400; color: var(--heading);
  margin: 0 0 .2rem; font-size: 1.15rem;
}
.termin-step > .step-hint { color: var(--muted); font-weight: 300; font-size: .92rem; margin: 0 0 1rem; }

.termin-kats {
  display: grid; gap: 1.2rem; margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.termin-kat {
  text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink); padding: 1.1rem 1.2rem;
  display: flex; flex-direction: column; gap: .45rem; transition: transform .18s, border-color .18s;
}
.termin-kat:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.termin-kat h4 { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--heading); }
.termin-kat p { margin: 0; color: var(--muted); font-weight: 300; font-size: .92rem; }
.termin-kat .termin-dauer {
  margin-top: .3rem; font-family: var(--font-ui); font-weight: 600;
  color: var(--gold-2); letter-spacing: .04em;
}

.termin-tage { display: flex; gap: .5rem; overflow-x: auto; padding: .3rem 0 1.1rem; }
.termin-tag {
  flex: 0 0 auto; min-width: 5.6rem; padding: .55rem .7rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--heading);
  font-family: var(--font-ui); line-height: 1.2; cursor: pointer; text-align: center;
}
.termin-tag small { display: block; color: var(--muted); font-weight: 400; }
.termin-tag:hover { border-color: var(--gold-2); }
.termin-tag.active { background: var(--gold-2); border-color: var(--gold-2); color: var(--on-accent); }
.termin-tag.active small { color: var(--on-accent); }

.termin-zeitraum {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .2rem 0 .8rem;
}
.termin-blatt {
  width: 40px; height: 36px; font-size: 1.1rem; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--heading); transition: border-color .2s, color .2s;
}
.termin-blatt:hover:not([disabled]) { border-color: var(--gold-2); color: var(--gold-2); }
.termin-blatt[disabled] { opacity: .35; cursor: default; }
.termin-monat {
  min-width: 180px; text-align: center; font-weight: 400; color: var(--heading);
  font-family: var(--font-ui); letter-spacing: .02em;
}
.termin-suchknopf {
  margin-left: auto; padding: .55rem 1rem; cursor: pointer;
  background: none; border: 1px solid var(--gold-2); border-radius: 8px;
  color: var(--gold-2); font: inherit; transition: background .2s, color .2s;
}
.termin-suchknopf:hover { background: var(--gold-2); color: var(--on-accent); }
@media (max-width: 640px) {
  .termin-monat { min-width: 120px; font-size: .95rem; }
  .termin-suchknopf { margin-left: 0; width: 100%; text-align: center; }
}

.termin-zeiten { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1.2rem; }
.termin-slot {
  border: 1px solid var(--line); background: var(--card); color: var(--heading);
  border-radius: 999px; padding: .5rem 1.05rem; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600;
}
.termin-slot:hover { border-color: var(--gold-2); }
.termin-slot.active { background: var(--gold-2); border-color: var(--gold-2); color: var(--on-accent); }

.termin-hinweis { color: var(--muted); font-weight: 300; }
.termin-gewaehlt {
  font-family: var(--font-ui); font-weight: 600; color: var(--gold-2);
  letter-spacing: .03em; margin: .2rem 0 1.2rem;
}
.termin-zurueck {
  background: none; border: 0; color: var(--gold-2); cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; padding: 0; margin-bottom: .8rem;
}
.termin-status {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 1.1rem 1.3rem; margin-top: 1.6rem;
}
.termin-status h3 { margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 400; color: var(--heading); }
.termin-status.ok { border-color: var(--gold-2); }
.termin-fehler { color: #e6b3b3; }
.termin-trenner { border: 0; border-top: 1px solid var(--hairline); margin: 2.4rem 0 0; }

/* Terminseite: Titelbereich mit Hinweisgrafik */
.termin-hero-inner { display: flex; gap: 2.2rem; align-items: center; justify-content: space-between; }
.termin-hero-text { max-width: 720px; }
.termin-kalenderbild { width: 128px; height: 128px; flex: 0 0 auto; color: var(--gold-2); opacity: .95; }
@media (max-width: 700px) {
  .termin-hero-inner { gap: 1.2rem; }
  .termin-kalenderbild { width: 84px; height: 84px; }
}

/* Terminseite: kleines Terminsymbol in der Kopfzeile (vor dem Namen) */
.header-brand { display: flex; align-items: center; gap: .7rem; }
.termin-symbol { display: inline-flex; color: var(--gold-2); }
.termin-symbol svg { width: 30px; height: 30px; display: block; }
@media (max-width: 640px) { .termin-symbol svg { width: 24px; height: 24px; } }

/* Terminseite: verbindliche, kostenpflichtige Buchung */
.termin-consent {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .8rem;
}
.termin-consent p { margin: 0; }
.termin-consent label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 300; }
.termin-consent input[type="checkbox"] { margin-top: .25rem; flex: 0 0 auto; }
.termin-consent a { color: var(--gold-2); }

/* Terminseite: Preise (Bruttopreise inkl. MwSt.) */
.termin-preis { font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.termin-mwst { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.termin-preiszeile { display: block; margin: .35rem 0 .1rem; color: var(--heading); font-weight: 300; }
.termin-kat .termin-preiszeile { margin: .5rem 0 .15rem; }
.termin-consent .termin-preiszeile { font-weight: 400; }

/* Terminseite: Hinweis zum Widerrufsrecht */
.termin-widerruf {
  border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem;
  background: rgba(201, 161, 94, .06);
}
.termin-widerruf summary { cursor: pointer; color: var(--gold-2); font-weight: 400; }
.termin-rechtstext { margin-top: .7rem; color: var(--muted); font-weight: 300; font-size: .92rem; line-height: 1.6; }
.termin-rechtstext h2, .termin-rechtstext h3 { color: var(--heading); font-weight: 400; margin: 1rem 0 .4rem; }
.termin-rechtstext h2:first-child, .termin-rechtstext h3:first-child { margin-top: 0; }
.termin-rechtstext a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.termin-rechtstext ul, .termin-rechtstext ol { padding-left: 1.2rem; }

