/* Welt-Haut für die Unterseiten (27.10., Goran: „Unterseiten im Welt-Design“).
 * Liegt ÜBER ld.css der /entwurf/neu-Seiten: gleicher Kopf wie die Welt (wk-*), Archivo mit Breitenachse,
 * Welt-Farben (Studio-Grund, Kreide, Flieder), eckig 2-4 px, immer dunkel. Inhalte der Seiten bleiben unverändert. */
@font-face {
  font-family: 'Archivo';
  src: url('schrift/archivo-latin.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('schrift/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root, :root[data-theme="light"] {
  color-scheme: dark;
  --grund: #0f0d13;
  --text: #efebf7;
  --lila: #c7b5f4;            /* Flieder statt Neon-Lila */
  --knopf: #ece8f3;           /* Kreide */
  --knopftext: #15111c;
  --verlauf: linear-gradient(90deg, #c7b5f4, #c7b5f4);
  --r-s: 3px; --r-m: 3px; --r-l: 4px;
  --wk-linie: rgba(236, 232, 243, .11);
  --wk-linie-stark: rgba(236, 232, 243, .26);
  --wk-leise: #a9a3ba;
  --wk-kopf: 64px;
  --wk-rand: max(16px, 4.2vw, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}
body { background: var(--grund); font-family: 'Archivo', Inter, system-ui, sans-serif; font-stretch: 100% }
h1, h2, h3, h4 { font-family: 'Archivo', 'Inter Tight', sans-serif; font-stretch: 118%; font-variation-settings: 'wdth' 118; font-weight: 720; letter-spacing: -.01em }
h1 { font-weight: 760 }
.hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #c7b5f4 }
.knopf { font-family: 'Archivo', Inter, sans-serif; font-weight: 600; font-stretch: 105%; font-variation-settings: 'wdth' 105; border-radius: 3px }

/* ---------- Kopf wie auf der Welt-Startseite ---------- */
header.kopf { display: none !important }                       /* alter Kopf (falls doch noch vorhanden) */
.wk { position: sticky; top: 0; z-index: 60; background: var(--grund); border-bottom: 1px solid var(--wk-linie); padding-top: env(safe-area-inset-top, 0px) }
.wk-innen { max-width: 1280px; margin: 0 auto; height: var(--wk-kopf); padding-inline: var(--wk-rand); display: flex; align-items: center; gap: 28px }
.wk-marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 640; font-stretch: 112%; font-variation-settings: 'wdth' 112; white-space: nowrap }
.wk-marke img { width: 34px; height: 34px }
.wk-menue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px }
.wk-menue a { display: block; padding: 10px 12px; text-decoration: none; color: var(--wk-leise); font-size: .95rem; border-radius: 3px; white-space: nowrap }
.wk-menue a:hover, .wk-menue a[aria-current="page"] { color: var(--text) }
.wk-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px }
.wk-knopf { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--wk-linie-stark); border-radius: 3px; color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600 }
.wk-knopf:hover { border-color: #ece8f3 }
.wk-menue-knopf { display: none }
.wk a:focus-visible, .wk button:focus-visible { outline: 2px solid #c7b5f4; outline-offset: 2px }
@media (max-width: 74em) {   /* 30.10.: Leiste braucht ~1180 px, em wächst mit großer Schrift */
  .wk-innen { gap: 12px }
  .wk-menue-knopf[aria-expanded="true"] { min-width: 44px; justify-content: center; border-color: #c7b5f4; background: rgba(199, 181, 244, .12) }
  .wk-menue-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: none; color: var(--text); border: 1px solid var(--wk-linie-stark); border-radius: 3px; font: 600 1rem 'Archivo', sans-serif; cursor: pointer }
  .wk-menue { display: none; position: fixed; top: calc(var(--wk-kopf) + env(safe-area-inset-top, 0px)); left: 0; right: 0; background: #131018; border-bottom: 1px solid var(--wk-linie); padding: 8px var(--wk-rand) 16px; max-height: calc(100dvh - var(--wk-kopf) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain }   /* 01.11.: bei großer Schrift ragte das Menü unter den Bildschirm */
  .wk-menue.offen { display: block }
  .wk-menue ul { flex-direction: column }
  .wk-menue a { padding: 14px 4px; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--wk-linie); border-radius: 0 }
  .wk-knopf { min-height: 44px; padding: 0 12px }
}
@media (max-width: 25em) { .wk-marke span { display: none } }   /* wie Startseite; em wächst mit der Handy-Schrift (Wo hilft KI? war bei 130 % 454 px breit) */
@media (max-width: 280px) { .wk-knopf { display: none } }   /* 31.10.: 360 px @150 % Android-Zoom = 240 px; Erstgespräch bleibt über Menü > Kontakt */
/* 31.10.: Mini-Schriften der übernommenen Seiten (10–11,5 px) auf mind. 12 px */
/* !important, weil die Seiten sie mit eigenen, spezifischeren Regeln setzen (.st-system .eti, .tk .ki, .anruf .leiste .live …) */
.eti, .marke-k, .zg, .leiste span, .d-balken span, span.ki { font-size: 12px !important }

/* Prüfung 30.10. (creative-studio audit): lange Wörter in Überschriften trennen statt seitlich überstehen
   („Geschäftsbedingungen“ auf 390 px), und Formularfelder zeigen beim Tastatur-Fokus einen Ring. */
h1, h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #c7b5f4; outline-offset: 2px }
@media (max-width: 340px) { .knopf { white-space: normal; text-align: center; line-height: 1.3 } main { hyphens: auto } }   /* 01.11.: „Dieses Format anfragen →“ ragte bei großer Handy-Schrift 7 px aus der Preiskarte */
@media (max-width: 300px) { .fussleiste .w { grid-template-columns: 1fr } .kopfz { flex-wrap: wrap } }   /* 02.11.: Fußleisten-Spalte 2 ragte bei 360/390 px mit 150 % Schrift aus dem Bild; „Format A · Anwendung“ 1 px */
@media (max-width: 300px) { .w, .hr, .uu-geschichte, .wahl { grid-template-columns: minmax(0, 1fr) } main h1, main .lead, main .eti { hyphens: manual } .fenster img { max-width: 100%; height: auto } }   /* 11.11.: bei 360/390 px mit 150 % Schrift ragten Überschriften auf Ausprobieren, Leistungen, Über uns aus dem Bild (Raster-Spalte so breit wie das längste Wort) */
@media (max-width: 300px) { main * { min-width: 0 } main img, main .fenster, main .glas { max-width: 100% } main dd, main h2, main h3, main p, main .knopf { overflow-wrap: anywhere } }   /* 11.11.: 360 px mit 150 % Schrift (= 240 px) – Raster- und Flex-Kinder schrumpfen lassen statt über den Rand zu schieben */
