/* Stoppen & Stecken – Stil. Regeln dazu stehen in CLAUDE.md, Abschnitt B.
   Orange #E75101, Text #767676 auf Weiß, Systemschrift. Keine geladene Schrift, keine Schatten, keine Verläufe, keine Effekte. */

:root {
  --orange: #E75101;
  --grau: #767676;
  --dunkel: #333333;   /* nur wo Kontrast es verlangt: Eingaben, Kleingedrucktes auf Weiß */
  --weiss: #FFFFFF;
  --breite: 980px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--grau);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

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

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--dunkel);
  outline-offset: 2px;
}

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; position: relative; }

.unsichtbar { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sprung { position: absolute; left: -9999px; top: 0; background: var(--weiss); color: var(--dunkel); padding: 8px 12px; z-index: 2; }
.sprung:focus { left: 8px; top: 8px; }

/* ---------- Wimpel und Bänder (Lesezeichen-Form: Kerbtiefe = 0,315 × Breite) ---------- */
.wimpel {
  width: 80px; height: 90px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 25.2px), 0 100%);
}
.bandhalter { height: 58px; }
.band {
  position: absolute; top: 0; left: 20px;
  width: 44px; height: 44px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 13.9px), 0 100%);
}
.band-weiss { background: var(--weiss); left: auto; right: 20px; }

/* ---------- Kopf ---------- */
.kopf { padding-bottom: 8px; }
.kopf .leiste { display: flex; justify-content: space-between; align-items: flex-start; }
.sprachen { padding-top: 22px; font-size: 15px; letter-spacing: 0.04em; }
.sprachen a { text-decoration: none; padding: 10px 4px; display: inline-block; }
.sprachen a:hover { text-decoration: underline; }
.sprachen [aria-current] { color: var(--orange); font-weight: 700; }
.sprachen span { padding: 0 2px; }

.marke { padding-top: 14px; }
.marke h1 { line-height: 0; }
.marke h1 a { display: inline-block; }
.logo { width: 208px; }
.unterzeile { margin-top: 26px; font-size: 20px; line-height: 1.25; font-weight: 300; max-width: 34em; }

/* ---------- Drei Kreise ---------- */
.fragen { padding: 20px 0 36px; }   /* direkt darunter folgt die orange Formularfläche, ohne Trennlinie */
/* Handy (unter 768 px): drei gleich große Kreise (78 px) in einer senkrechten Spalte links, Text rechts daneben ab der
   Oberkante des Kreises. Abstand zwischen zwei Einträgen 24 px, gemessen ab dem unteren Ende des höheren Elements
   (Kreis oder Text). Feste Zeilen im Kreis (.kz), Schrift 13 px fett. Eine 2 px breite orange Linie läuft durch die
   Kreismittelpunkte, vom ersten bis zum dritten Kreis, hinter den Kreisen. */
.fragen { --kreis: 78px; --kreisabstand: 24px; }
.frage { display: grid; grid-template-columns: var(--kreis) 1fr; gap: 0 16px; align-items: start; margin-top: var(--kreisabstand); position: relative; z-index: 0; }
.frage:first-child { margin-top: 0; }
.frage:not(:last-child)::before {
  content: ""; position: absolute; z-index: -1;
  left: calc(var(--kreis) / 2 - 1px); width: 2px;
  top: calc(var(--kreis) / 2); bottom: calc(-1 * (var(--kreisabstand) + var(--kreis) / 2));
  background: var(--orange);
}
.kreis {
  width: var(--kreis); height: var(--kreis); border-radius: 50%;
  background: var(--orange); color: var(--weiss);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 13px; font-weight: 700; line-height: 1.12; padding: 0;
}
.kz { display: block; white-space: nowrap; }
.frage .antwort { justify-self: start; max-width: 38em; padding-top: 0; }
/* Schaltfläche (nur noch der Absenden-Knopf im Formular) */
.knopf {
  display: inline-block; text-decoration: none; text-align: center;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2;
  padding: 13px 22px; border-radius: 3px; border: 2px solid var(--orange);
  background: var(--orange); color: var(--weiss); cursor: pointer;
}
.knopf:hover { text-decoration: underline; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 30px 0; position: relative; }
.abschnitt.mit-band { padding-top: 0; }
.abschnitt h2 { color: var(--orange); font-size: 24px; line-height: 1.2; font-weight: 700; margin-bottom: 14px; }
.linie { border: 0; border-top: 1px solid var(--orange); margin: 0; }


/* ---------- Formular (orange Fläche, weiße Felder, dunkle Schrift) ----------
   Kontrastregel (CLAUDE.md, B): Weiß auf Orange #E75101 hat 3,77 : 1. Überschriften und Formularbeschriftungen auf Orange
   sind fett und mindestens 16 px; Fußtexte normal 15 px (Theos Entscheidung, Auftrag 14, 20.11.2026).
   Die Texte in den weißen Feldern bleiben dunkel und normal. */
.anfrage { background: var(--orange); color: var(--weiss); padding: 34px 0 40px; font-weight: 700; }
.anfrage h2 { font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.anfrage .einleitung { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.felder { display: grid; grid-template-columns: 1fr; gap: 12px 24px; }
.feld label, .gruppe legend { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 17px; font-weight: 400; color: var(--dunkel);
  background: var(--weiss); border: 1px solid var(--weiss); border-radius: 3px; padding: 10px 12px; min-height: 46px;
}
.feld textarea { min-height: 110px; resize: vertical; }
.anfrage :focus-visible { outline-color: var(--weiss); }
.anfrage input:focus-visible, .anfrage select:focus-visible, .anfrage textarea:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 0; }
.gruppe { border: 0; min-width: 0; }
.gruppe legend { padding: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.wahl label { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; min-height: 40px; margin: 0; }
.wahl input { width: 22px; height: 22px; margin: 0; accent-color: var(--dunkel); }
.pflicht { font-size: 16px; margin-top: 16px; }
.anfrage .senden { margin-top: 18px; }
.knopf-weiss { background: var(--weiss); color: var(--orange); border-color: var(--weiss); font-size: 19px; padding: 14px 28px; }

/* ---------- WIR ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 440px; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.person figcaption { margin-top: 8px; font-size: 18px; line-height: 1.35; }
.person figcaption a.tel { display: inline-block; font-size: 17px; padding: 6px 0; }
.kollegen { margin-top: 18px; font-size: 20px; }

/* ---------- Kundenliste: ruhige Liste in Spalten ---------- */
/* Nur die Namen, keine Anzahl.
   Im HTML eine echte Liste (ul/li), dargestellt als fortlaufender Absatz: Namen getrennt durch „ · “.
   Jeder Name ist ein unteilbarer Block und rutscht als Ganzes in die nächste Zeile; der Mittelpunkt hängt am Namen
   davor und steht deshalb am Zeilenende, nie am Zeilenanfang. Nach dem letzten Namen steht nichts.
   (Nur ein Name, der breiter ist als die ganze Zeile, darf in sich umbrechen: sonst liefe er auf dem Handy aus dem Bild.) */
.kunden { list-style: none; font-size: 16px; line-height: 1.6; }
.kunden li { display: inline-block; max-width: 100%; vertical-align: top; }
.kunden li:not(:last-child)::after { content: "\00a0\00b7"; content: "\00a0\00b7" / ""; }

/* ---------- Fuß ---------- */
/* Erste Zeile (Name der GbR) fett, 19 px; alle übrigen Zeilen normal (400), 15 px, weiß; Links unterstrichen.
   Adresse, Telefonzeilen und E-Mail stehen als Block mit Zeilenhöhe 1.45 ohne Absatzabstand. Abstände: Name → Adresse 4 px,
   vor „Impressum / Datenschutz“ 14 px, danach bis „© 2026 …“ 6 px.
   Die Links sind gewöhnlicher Fließtext mit 4 px padding oben und unten: Das vergrößert die Tippfläche (mindestens 24 px),
   ohne die Zeile höher zu machen. */
.fuss { background: var(--orange); color: var(--weiss); padding: 0 0 30px; position: relative; font-size: 15px; font-weight: 400; line-height: 1.45; }
.fuss .name { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
/* ---------- Bühne im Fuß: Animation (Startseiten) bzw. Standbild (übrige Seiten) ----------
   Weiße Fläche im Seitenverhältnis 640 : 400. Das Schlussbild (Logo + Satz) steht im HTML und ist ohne JavaScript,
   bei prefers-reduced-motion und auf den Unterseiten einfach sichtbar. Auf den Startseiten legt quelle/animation.js
   eine Ebene mit festem Koordinatensystem 640 × 400 darüber und skaliert sie als Ganzes auf die Breite der Bühne.
   Farben der Streifen setzt das Skript (Tag innen weiß, Tag außen #f6e27a, Nacht innen #a9c4ea, Nacht außen #a8d5a2). */
.buehnenplatz { margin-top: 24px; max-width: 480px; }
.buehne {
  display: block; position: relative; width: 100%; aspect-ratio: 640 / 400; overflow: hidden;
  background: var(--weiss); border: 0; border-radius: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; container-type: inline-size;
}
button.buehne { cursor: pointer; -webkit-appearance: none; appearance: none; }
.fuss button.buehne:focus-visible { outline: 3px solid var(--weiss); outline-offset: 4px; }
.ani-schluss { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 1.2s; pointer-events: none; }
.ani-schluss img { width: 46.875%; height: auto; }
.ani-satz { margin-top: 12px; margin-top: max(10px, 3.4cqw); color: var(--orange); font-size: 15px; font-size: max(15px, 3.125cqw);   /* Claim nie kleiner als 15 px */ font-style: italic; font-weight: 400; line-height: 1.2; transition: opacity 1.2s 0.6s; }
/* Solange die Animation läuft (Skript aktiv, noch nicht fertig), ist das Schlussbild ausgeblendet */
.ani-an:not(.ani-fertig) .ani-schluss, .ani-an:not(.ani-fertig) .ani-satz { opacity: 0; transition-delay: 0s; }
.ani-ebene { display: block; position: absolute; left: 0; top: 0; width: 640px; height: 400px; transform-origin: 0 0; font-size: 11px; line-height: 1.2; font-weight: 400; color: #333; }
.ani-blatt { display: block; position: absolute; left: 190px; top: 20px; width: 260px; height: 360px; background: #fff; box-shadow: 0 0 0 1px #ddd; transition: opacity 0.5s; }
.ani-szene, .ani-tag { position: absolute; left: 0; top: 0; transform-origin: center; transition: transform 1.1s cubic-bezier(0.6, 0.05, 0.3, 1), width 1.1s, height 1.1s, background 1s, opacity 0.8s; }
.ani-szene { display: block; overflow: hidden; box-sizing: border-box; }
.ani-seite { display: block; position: absolute; inset: 0; padding: 3px 8px; transition: opacity 0.5s; }
.ani-strich { display: block; height: 3px; margin: 5px 0; border-radius: 1px; background: #c9c9c9; }   /* Geschreibsel: nur Striche */
.ani-kopf { height: 4px; background: #9a9a9a; }
/* Drehplan-Streifen: kein lesbarer Text, nur vier graue Striche in festen Spalten (Breiten setzt das Skript) */
.ani-streifen { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10px; opacity: 0; transition: opacity 0.5s; }
.ani-feld { display: block; flex: none; }
.ani-feld-1 { width: 44px; }
.ani-feld-2 { width: 80px; }
.ani-feld-3 { width: 170px; }
.ani-kritzel { display: block; height: 4px; border-radius: 1px; background: #555; opacity: 0.55; }
.ani-tag { display: flex; align-items: center; height: 20px; padding: 0 10px; box-sizing: border-box; background: #404040; opacity: 0; }
.ani-tagstrich { display: block; width: 64px; height: 3px; border-radius: 1px; background: #fff; }
.ani-ohne-uebergang, .ani-ohne-uebergang * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .buehne, .buehne * { transition: none !important; } }
.fuss a { padding: 4px 0; }
.fuss .recht { margin-top: 14px; }
.fuss .recht a:not(:last-child) { margin-right: 18px; }
.fuss .copy { margin-top: 6px; }

/* ---------- Textseiten (Impressum, Datenschutz, Danke, 404) ---------- */
.text { padding: 34px 0 60px; max-width: 46em; }
.text h1 { color: var(--orange); font-size: 34px; line-height: 1.15; margin-bottom: 18px; }
.text h2 { color: var(--orange); font-size: 21px; margin: 30px 0 8px; }
.text p, .text ul { margin-top: 10px; }
.text ul { padding-left: 1.2em; }
.gross { font-size: 22px; line-height: 1.4; }

/* ---------- ab Tablet ---------- */
@media (min-width: 560px) {
  .team { grid-template-columns: 200px 200px; gap: 40px; max-width: none; }
  .person figcaption { font-size: 20px; }
}

@media (min-width: 768px) {
  .wimpel { width: 155px; height: 155px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 48.8px), 0 100%); }
  .band { width: 60px; height: 60px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 18.9px), 0 100%); }
  .marke { padding-top: 26px; }
  .logo { width: 330px; }
  .unterzeile { font-size: 22px; margin-top: 34px; }
  .fragen { padding: 56px 0 72px; }
  /* Computer: unverändert – Kreise 129 px, versetzt, Text fließt; keine Linie, keine festen Zeilen */
  .frage { grid-template-columns: 129px 1fr; gap: 0 62px; align-items: center; justify-items: start; margin-top: 14px; }
  .frage:not(:last-child)::before { content: none; }
  .kreis { width: 129px; height: 129px; font-size: 16px; line-height: 1.25; padding: 10px; }
  .kz { display: inline; white-space: normal; }
  .frage-1 { margin-left: 20px; }
  .frage-2 { margin-left: 89px; }
  .frage-3 { margin-left: 164px; }
  .anfrage { padding: 48px 0 56px; }
  .anfrage .einleitung { margin-bottom: 28px; }
  .felder { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .feld label, .gruppe legend { margin-bottom: 6px; }
  .feld textarea { min-height: 130px; }
  .feld.breit, .gruppe.breit { grid-column: 1 / -1; }
  .abschnitt { padding: 56px 0; }
  .abschnitt h2 { margin-bottom: 20px; }
  .fuss { padding-bottom: 40px; }

  .abschnitt.mit-band { padding-top: 0; }
  .bandhalter { height: 92px; }
}

@media (min-width: 980px) {
  /* Fuß am Computer: Die Bühne steht rechts neben dem Textblock und ist genau so hoch wie er (Ober- und Unterkante
     bündig). Die Breite folgt aus dem Seitenverhältnis 640 : 400. Obergrenze 480 × 300 px, nie größer als der Textblock.
     Ohne Skript: Der Platz ist absolut zwischen Ober- und Unterkante des Textblocks gespannt, dessen Höhe allein
     vom Text bestimmt wird. */
  .fussinhalt { position: relative; }
  .fuss .fusstext p { white-space: nowrap; }   /* keine Zeile bricht mitten im Satz um; Name der GbR in einer Zeile */
  .buehnenplatz { position: absolute; top: 0; bottom: 0; right: 20px; width: 480px; max-width: none; margin: 0; display: flex; justify-content: flex-end; align-items: flex-start; }
  .buehne { width: auto; height: 100%; max-height: 300px; }
}

@media print {
  .anfrage, .fuss { background: none; color: #000; }
  .sprachen { display: none; }
}
