/* Rahmen der neuen Marke fuer die Unterseiten. Erzeugt aus stil.css. */
/* Zweirad Halbeck, Musterseite, Fassung 2 (18.09.2026). Marke „Laeuft rund".
   Reines CSS, keine fremde Anfrage, Schriften lokal.

   FARBEN, alle Paarungen gerechnet (18.09.2026):
     Tanne  #12382b auf Creme #f4efe2   11,25:1
     Weiss           auf Tanne           12,91:1
     Orange #ff6a13  auf Tanne            4,50:1  nur Grafik und grosse Schrift
     Orange-hell #ff8a3d auf Tanne        5,51:1  Schrift auf Tanne
     Nacht  #0c231b auf Orange            5,76:1  Schrift auf Orange-Flaeche
     Orange auf Creme                     2,50:1  NIE Schrift, nur Flaeche/Linie
     Rost   #a83f08 auf Creme             5,41:1  Schrift/Links auf hell
     Rost auf Sand #e8e0cc                4,72:1
     Rost auf Weiss                       6,21:1
     Gedimmt #4c5f56 auf Creme            5,94:1
     Hellgruen #c9d6cd auf Tanne          8,60:1
     Orange-hell auf Nacht                7,04:1
   Hausregel: Orange ist auf hellem Grund eine Flaeche, keine Schrift.

   RADIUS-SYSTEM: Flaechen 14 px, klein 6 px, Knoepfe rund (999 px, wie ein
   Lenkerstopfen). Alles, was sich dreht, ist rund; alles andere kantig-weich. */

@font-face {
  font-family: "Archivo";
  src: url("schriften/archivo-variable.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("schriften/karla-variable.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
}

:root {
  --tanne: #12382b;
  --nacht: #0c231b;
  --creme: #f4efe2;
  --sand: #e8e0cc;
  --karte: #fffdf7;
  --orange: #ff6a13;
  --orange-hell: #ff8a3d;
  --rost: #a83f08;
  --text: #1b2a24;
  --gedimmt: #4c5f56;
  --hellgruen: #c9d6cd;
  --linie: #d5cbb3;
  --linie-dunkel: rgba(244, 239, 226, .2);

  --r-flaeche: 14px;
  --r-klein: 6px;
  --r-knopf: 999px;

  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --laufweite: 76rem;
  --feder: cubic-bezier(.34, 1.56, .64, 1);
  --nw-leiste-h: 55px;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --brot: "Karla", "Segoe UI", sans-serif;
}

@view-transition { navigation: auto; }
/* R36: Der Browser unterdrueckt den Seitenwechsel nicht von selbst, wenn Bewegung abbestellt ist. */
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; }}

.sprung {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--nacht); color: #fff; padding: .7rem 1rem; border-radius: var(--r-klein);
}
.sprung:focus { top: calc(var(--nw-leiste-h) + .6rem); color: #fff; }

/* ---------- Musterleiste (R109, R60) ---------- */
.nw-musterleiste {
  position: sticky; top: 0; z-index: 60;
  background: var(--nacht); color: #fff; font-size: .875rem; padding: .25rem 0;
}
.nw-musterleiste .mitte { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; align-items: center; justify-content: space-between; }
.nw-musterleiste .nw-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; }
.nw-musterleiste a {
  color: #fff; display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 .7rem; border-radius: var(--r-knopf);
}
.nw-musterleiste a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nw-musterleiste a.nw-cta { background: var(--creme); color: var(--nacht); text-decoration: none; font-weight: 700; }
.nw-musterleiste a.nw-cta:hover { background: var(--orange-hell); color: var(--nacht); }
.nw-musterleiste .nw-ki { color: var(--orange-hell); font-weight: 700; }
.nw-musterleiste .nw-lang { display: none; }
@media (min-width: 64em) { .nw-musterleiste .nw-lang { display: inline; }}
@media (max-width: 47.99em) {
  .nw-musterleiste .nw-mittel { display: none; }
  .nw-musterleiste { font-size: .8125rem; }
  .nw-musterleiste .mitte { gap: 0 .4rem; }
  .nw-musterleiste a { padding: 0 .5rem; }}
@media print { .nw-musterleiste { display: none; }}

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: var(--nw-leiste-h); z-index: 40;
  background: var(--creme); border-bottom: 3px solid var(--tanne);
  transition: box-shadow .25s ease;
}
.kopf.gescrollt { box-shadow: 0 8px 24px rgba(12, 35, 27, .14); }
.kopf-innen { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.marke { display: inline-flex; align-items: center; gap: .7rem; color: var(--tanne); text-decoration: none; min-height: 48px; margin-right: auto; }
.marke-zeichen { flex: none; width: 44px; height: 44px; }
.marke-blatt { transform-box: view-box; transform-origin: 24px 24px; }
.marke-name { display: grid; line-height: 1.05; }
.marke-name b { font-family: var(--display); font-stretch: 122%; font-weight: 900; font-size: 1.15rem; letter-spacing: -.01em; text-transform: uppercase; }
.marke-name small { font-size: .78rem; color: var(--gedimmt); letter-spacing: .04em; }
.menue { display: flex; gap: .25rem; }
.menue a {
  white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 .9rem;
  color: var(--text); text-decoration: none; font-weight: 700; border-radius: var(--r-knopf);
}
.menue a:hover, .menue a[aria-current="page"] { background: var(--tanne); color: #fff; }
.kopf-tel {
  white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 1.2rem;
  background: var(--orange); color: var(--nacht); font-weight: 800; text-decoration: none; border-radius: var(--r-knopf);
}
.kopf-tel:hover { background: var(--tanne); color: #fff; }
.burger { display: none; }

@media (max-width: 63.99em) {
  .burger {
    display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
    background: var(--tanne); border: 0; border-radius: 50%; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 22px; height: 3px; background: #fff; border-radius: 2px; position: relative;
    transition: transform .3s var(--feder), background .2s;
  }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -7px; } .burger span::after { top: 7px; }
  .menue-offen .burger span { background: transparent; }
  .menue-offen .burger span::before { transform: translateY(7px) rotate(45deg); }
  .menue-offen .burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .menue {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--tanne); padding: .5rem var(--rand) 1rem;
  }
  .menue-offen .menue { display: flex; }
  .menue a { color: #fff; min-height: 56px; border-radius: 0; border-bottom: 1px solid var(--linie-dunkel); font-size: 1.15rem; }
  .menue a:hover { background: var(--nacht); }
  .kopf-tel span { display: none; }}
@media (max-width: 75em) { .kopf-tel span { display: none; }}
@media (max-width: 30em) {
  .marke-name small { display: none; }
  .marke-name b { font-size: 1rem; }
  .kopf-tel { padding: 0 .9rem; font-size: .95rem; }
  .kopf-innen { gap: .6rem; }}
@media (max-width: 23.5em) { .kopf-tel { display: none; }}

/* ---------- Knoepfe ---------- */
.knopf, .knopf-zweit, .knopf-dunkel {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.6rem;
  font-family: var(--brot); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  border-radius: var(--r-knopf); border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--feder), background .2s, color .2s;
}
.knopf { background: var(--orange); color: var(--nacht); }
.knopf:hover { background: var(--creme); color: var(--nacht); transform: translateY(-2px); }
.knopf-zweit { border-color: currentColor; color: var(--tanne); background: transparent; }
.knopf-zweit:hover { background: var(--tanne); color: #fff; border-color: var(--tanne); transform: translateY(-2px); }
.knopf-dunkel { background: var(--nacht); color: #fff; }
.abschnitt-dunkel .knopf, .abschnitt-dunkel .knopf:hover { color: var(--nacht); }
.knopf-dunkel:hover { background: var(--creme); color: var(--nacht); transform: translateY(-2px); }
.knopf:active, .knopf-zweit:active, .knopf-dunkel:active { transform: scale(.97); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.textlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.textlink::after { content: "\2192"; margin-left: .45rem; transition: transform .25s var(--feder); }
.textlink:hover::after { transform: translateX(5px); }
.hero .knopf-zweit { color: #fff; }
.hero .knopf-zweit:hover { background: #fff; color: var(--nacht); border-color: #fff; }
.sz-speiche .knopf-zweit { color: #fff; }
.sz-speiche .knopf-zweit:hover { background: #fff; color: var(--nacht); border-color: #fff; }

/* ---------- Fuss ---------- */
.fuss { background: var(--nacht); color: var(--hellgruen); padding-block: 3.5rem 2rem; border-top: 8px solid var(--tanne); }
.fuss a, .fuss .cookie-knopf { color: #fff; display: inline-flex; align-items: center; min-height: 48px; }
.fuss a:hover, .fuss .cookie-knopf:hover { color: var(--orange-hell); }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.fuss-marke { font-family: var(--display); font-stretch: 122%; font-weight: 900; text-transform: uppercase; font-size: 1.4rem; color: #fff; display: block; margin-bottom: .8rem; }
.fuss h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-hell); font-stretch: 100%; margin-bottom: .4rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss address { font-style: normal; line-height: 1.5; }
.cookie-knopf { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.fuss-schluss { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); }
.musterhinweis { font-size: .9rem; max-width: 80ch; margin: 0; }
@media (max-width: 47.99em) { .fuss-raster { grid-template-columns: 1fr; }}

dialog { border: 0; border-radius: var(--r-flaeche); padding: 2rem; max-width: min(34rem, calc(100vw - 2rem)); color: var(--text); background: var(--karte); }
dialog::backdrop { background: rgba(12, 35, 27, .7); }
dialog h2 { font-size: 1.5rem; }

/* ---------- Markenbewegung: das Kettenblatt dreht einmal beim Laden und
   bei Beruehrung. Das H bleibt stehen. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .marke-blatt { animation: marke-dreht 1.6s cubic-bezier(.2, .8, .2, 1) .2s 1 both; }
  .marke:hover .marke-blatt, .marke:focus-visible .marke-blatt { animation: marke-dreht-weiter .9s var(--feder) 1; }}
@keyframes marke-dreht { from { transform: rotate(-360deg); } to { transform: rotate(0); } }
@keyframes marke-dreht-weiter { from { transform: rotate(0); } to { transform: rotate(144deg); } }

/* =====================================================================
   AUSBAU UEBER DIE BILDSCHIRMBREITEN, 18.09.2026 (Hugo: „baue die seiten noch
   auf verschiedenen bildschirmbreiten"). Bis hierher war die Seite am Rechner
   (1440) fertig und am Handy (390) lauffaehig, dazwischen nur fehlerfrei.
   Gemessen mit breiten.mjs: 360, 480, 600, 768, 1024, 1280, 1920, 740 quer.
   ===================================================================== */

/* --- Musterleiste bleibt einzeilig. Bei 768 und 1024 px brach sie um und
   kostete dauerhaft 24 px Fensterhoehe. Der lange Satz kommt erst ab 1280. */
@media (min-width: 64em) and (max-width: 79.99em) { .nw-musterleiste .nw-lang { display: none; }}
@media (max-width: 59.99em) { .nw-musterleiste .nw-mittel { display: none; }}

/* --- Handy im Querformat: Musterleiste und Kopf belegten zusammen 36 % des
   Fensters. Der Kopf laeuft dort mit der Seite weg, die Musterleiste bleibt. */
@media (max-height: 30em) and (orientation: landscape) { .kopf { position: static; }}
/* Grosse Bildschirme: die Seite waechst mit (wie in stil.css) */
@media (min-width: 100em) { html { font-size: 112.5%; } }
@media (min-width: 120em) { html { font-size: 125%; } }
@media (min-width: 150em) { html { font-size: 140%; } }
h1, h2, h3, h4 { font-family: var(--display); }
body { font-family: var(--brot); background: var(--creme); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.abschnitt-dunkel .knopf-zweit, .abschnitt-dunkel a.knopf-zweit { color: #fff; }
