/* Referenzseiten (konzepte/): gemeinsamer Rahmen von C&C Visuals.
   Jede Referenz hat ihren eigenen Look in <seite>.css (autohaus, restaurant, barbershop, schreinerei, neubau).
   Hier nur: feste Leiste unten (C&C-Marke), Fuss-Hinweis, Grundlagen. Tokens, Schriften und Glas-Knöpfe aus ../site.css. */

/* Referenzschrift CCV Bodoni (Lume, Barbershop). Die C&C-Seiten nutzen seit dem Markenhandbuch Cormorant Garamond;
   site.css definiert Bodoni deshalb nicht mehr. Die Referenzen behalten ihre eigene Schrift (Integration 2). */
@font-face {
  font-family: "CCV Bodoni";
  src: url("/fonts/CCVBodoni-normal-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CCV Bodoni";
  src: url("/fonts/CCVBodoni-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
:root { --kz-leiste: 64px; --bodoni: "CCV Bodoni", "Bodoni 72", Didot, "Times New Roman", serif; }
@media (max-width: 899px) { :root { --kz-leiste: 72px; } } /* Handy: zwei Zeilen, kompakt (Hinweis 21 px + Knöpfe 44 px) */

.kz { padding-bottom: var(--kz-leiste); }
.kz :where(img, video) { -webkit-user-drag: none; }

/* ---------- Feste Leiste unten: «Design: C&C Visuals · Beispiel-Betrieb, frei erfunden» ---------- */
.kz-leiste {
  --rosso: var(--rosso-hell);
  --marke-und: var(--rosso-hell); /* «&», Nadel und Raute auf Weinrot: Rosé (Markenhandbuch, Negativ-Fassung) */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px;
  padding: 8px var(--rand) max(8px, env(safe-area-inset-bottom));
  font-family: var(--jost); font-size: .875rem; line-height: 1.35; letter-spacing: .01em;
  color: var(--avorio-2);
  background: var(--weinrot); /* Markenhandbuch: Negativ-Fläche Weinrot, Schrift Elfenbein, Akzent Rosé */
  border-top: 1px solid var(--avorio-linea); /* taste-skill-ignore: Kante der festen Leiste */
}
.kz-hinweis { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; min-width: 0; }
.kz-design { display: inline-flex; align-items: center; gap: 10px; color: var(--avorio); }
.kz-marke { width: auto; height: 24px; position: relative; top: var(--kz-marke-hoch, -4px); color: var(--avorio); } /* Kopf-Fassung des Logos (Versalhöhe 16 px), negativ auf Weinrot; auf die Grundlinie des Texts gehoben */
.kz-marke-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kz-aktionen { display: flex; flex: none; align-items: center; gap: 8px; }
.kz-zurueck {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px;
  font-size: .875rem; font-weight: 500; letter-spacing: .015em; color: var(--avorio); text-decoration: none;
  border-radius: 999px;
}
.kz-zurueck .sym { width: 18px; height: 18px; stroke-width: 1.4; transform: scaleX(-1); transition: transform .3s var(--weich); }
.kz-zurueck:hover { text-decoration: underline; text-decoration-color: var(--rosso-hell); }
.kz-zurueck:hover .sym { transform: scaleX(-1) translateX(3px); }
.kz-leiste .knopf { min-height: 44px; padding: 0 1.25em; font-size: .875rem; }
/* Die Leiste ist das Zeichen von C&C: auf allen Referenzen gleich. Die Seiten färben ihre eigene Hauptaktion
   (Messing, Gold, Grün); diese Regeln sind stärker, damit die Leiste davon nichts erbt. */
.kz .kz-leiste .knopf.knopf-haupt .sym { color: var(--rosso-hell); }
.kz .kz-leiste .knopf.knopf-haupt:hover { --knopf-rand: var(--rosso-hell); }
.kz-leiste :focus-visible { outline: 2px solid var(--avorio); outline-offset: 3px; }

@media (max-width: 899px) {
  .kz-leiste {
    flex-direction: column; align-items: stretch; gap: 2px; min-height: 0;
    box-sizing: border-box; height: calc(var(--kz-leiste) + env(safe-area-inset-bottom));
    padding: 2px 12px calc(2px + env(safe-area-inset-bottom)); font-size: .75rem; line-height: 1.25;
  }
  .kz-hinweis { justify-content: center; flex-wrap: nowrap; white-space: nowrap; gap: 6px; min-height: 21px; padding-inline: 4px; }
  .kz-design { gap: 6px; }
  .kz-marke { height: 18px; --kz-marke-hoch: -3px; }
  .kz-aktionen { gap: 8px; }
  .kz-zurueck { flex: none; padding-right: 14px; }
  .kz-zurueck .kz-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kz-leiste .knopf { flex: 1; padding: 0 1em; }
}

@media (max-width: 379px) {
  .kz-leiste { font-size: .6875rem; } /* 360 px: Hinweis bleibt eine Zeile */
  .kz-marke { height: 16px; }
}

/* ---------- Hinweis am Seitenende (Bildnachweis, Rechtliches von C&C Visuals) ---------- */
.kz-rechtlich { margin: 0; font-size: .8125rem; line-height: 1.6; }
.kz-rechtlich a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
