/*
 * xxl-pitpat.de - Gestaltung des Nachbaus
 *
 * Die Grundwerte sind aus der bestehenden The7-Installation ausgelesen, nicht
 * geschaetzt. Quelle: vorlage/spiegel/wp-content/uploads/the7-css/css-vars.css
 * und die eigene CSS der Seite (Stand 23.08.2026):
 *
 *   --the7-base-color        #1e1e1e
 *   --the7-base-font-size    14px, Zeilenhoehe 25px
 *   Grundschrift             eurostile (per !important auf html und body)
 *   Ueberschriften           Roboto, H2 34px Gewicht 900, H3 24px
 *   --the7-accent-color      #f4a117   (Menueleiste, Fussbereich)
 *   Ueberschriftfarbe        #e6007e
 *   Top-Leiste               #000000, Hoehe 40px
 *   Markenzeile              #ffffff, Logo 80px hoch
 *   --the7-content-width     1300px
 *   Umbruchpunkte            480, 600, 767, 991, 1199
 *
 * Am 23.08.2026 kam eine Ueberarbeitung der Gestaltung dazu (Auftrag des
 * Nutzers). Farben, Schriften, Logo und Menuestruktur sind unveraendert
 * geblieben, geaendert wurden Anordnung, Groessen und Bewegung.
 * Vorige Fassung: C:\Users\gbros\_backups\xxlpitpat\
 *
 * Die H1-Schrift der Vorlage ("Bangers") ist dort weder als Datei vorhanden
 * noch wird sie geladen, sie lief ins Leere. Deshalb nicht uebernommen.
 */

/* ---------- Schriften, oertlich eingebunden ---------- */

@font-face {
  font-family: 'Roboto';
  src: url('../schriften/roboto-400.woff2') format('woff2'),
       url('../schriften/roboto-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*
 * Die Vorlage traegt fuer H2 das Gewicht 900 ein, hat aber nur bis 700 als
 * Datei. Es lief dort also auf 700 hinaus. Genau so hier.
 */
@font-face {
  font-family: 'Roboto';
  src: url('../schriften/roboto-700.woff2') format('woff2'),
       url('../schriften/roboto-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eurostile';
  src: url('../schriften/eurostile.woff2') format('woff2'),
       url('../schriften/eurostile.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Werte ---------- */

:root {
  --schrift: 'Eurostile', 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  --schrift-ueberschrift: 'Roboto', Helvetica, Arial, Verdana, sans-serif;

  --text: #1e1e1e;
  --dunkel: #1d1d1b;
  --schwarz: #000000;
  --magenta: #e6007e;
  --orange: #f4a117;
  --weiss: #ffffff;
  --hell: #f7f7f7;
  --linie: #e2e2e2;
  --hover: #333333;

  --breite: 1300px;
  --abstand: 20px;

  --rund: 4px;
  --schatten: 0 6px 24px rgba(0, 0, 0, .10);
  --schatten-stark: 0 14px 38px rgba(0, 0, 0, .18);
  --uebergang: .25s ease;
}

/* ---------- Grundlage ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 14px;
  line-height: 25px;
  color: var(--text);
  background: var(--weiss);
}

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

/* Laufweite wie in der Vorlage: h1 bis h6, a und p mit 0,5px. */
h1, h2, h3, h4, h5, h6, a, p { letter-spacing: 0.5px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--schrift-ueberschrift); }

a { color: var(--magenta); transition: color var(--uebergang); }
a:hover, a:focus { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

.breite {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--abstand);
}

/* Nur fuer Vorleseprogramme, nicht sichtbar. */
.nurlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.zum-inhalt {
  position: absolute;
  left: -9999px;
  background: var(--dunkel);
  color: var(--weiss);
  padding: 10px 16px;
  z-index: 100;
}
.zum-inhalt:focus { left: 0; top: 0; }

/* ---------- Kopf, dreiteilig wie in der Vorlage ----------
 *
 *   Top-Leiste   #000000, Hoehe 40px, Schrift 14px weiss
 *   Markenzeile  #ffffff, Logo 80px hoch, Mini-Menue mit 85px Abstand
 *   Menueleiste  #f4a117, Schrift weiss 20px, Gewicht 600, Laufweite 1,5px,
 *                Trenner rgba(255,255,255,.7), Hover #333333
 */

/* 1. Top-Leiste */

.topleiste {
  background: var(--schwarz);
  color: var(--weiss);
  font-size: 14px;
}

.topleiste-innen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topleiste .kontakt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--weiss);
  text-decoration: none;
}
.topleiste a.kontakt:hover,
.topleiste a.kontakt:focus { color: var(--orange); }

.sinnbild { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }

.sozial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--weiss);
  color: var(--schwarz);
  transition: background var(--uebergang), color var(--uebergang), transform var(--uebergang);
}
.sozial svg { width: 18px; height: 18px; fill: currentColor; }
.sozial:hover, .sozial:focus {
  background: var(--orange);
  color: var(--weiss);
  transform: scale(1.12);
}

/* 2. Markenzeile */

.marke { background: var(--weiss); }

.marke-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 120px;
  flex-wrap: wrap;
}

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img {
  display: block;
  height: 80px;
  width: auto;
  transition: transform var(--uebergang);
}
.logo:hover img { transform: scale(1.03); }

.mini-menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.mini-menue li:not(:last-child) { margin: 0 85px 0 0; }

.mini-menue a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  position: relative;
}
.mini-menue a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--orange);
  transition: right var(--uebergang);
}
.mini-menue a:hover::after,
.mini-menue a:focus::after { right: 0; }

/* 3. Menueleiste */

.menue { background: var(--orange); }

.menue-leiste {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menue-huelle { display: block; }

.menue-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menue-liste > li:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, .7);
}

/*
 * Innenabstand und Schriftgroesse sind gegenueber der Vorlage etwas kleiner
 * (dort 20px bei 30px Abstand). Grund: die Vorlage hat vier Menuepunkte, hier
 * sind es fuenf, weil "Haeufige Fragen" dazugekommen ist. Mit den Werten der
 * Vorlage braeuchten sie zusammen rund 1260px und damit praktisch die ganze
 * Inhaltsbreite, das Menue fiele in eine zweite Zeile.
 */
.menue-liste > li > a {
  display: block;
  padding: 14px 22px;
  color: var(--weiss);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 24px;
  position: relative;
  transition: color var(--uebergang), background var(--uebergang);
}

.menue-liste > li > a:hover,
.menue-liste > li > a:focus,
.menue-liste > li > a[aria-current="page"] {
  color: var(--hover);
  background: rgba(255, 255, 255, .18);
}

/* Auf breiten Bildschirmen zeigt ein kleines Dreieck das Untermenue an. */
.menue-liste > .hat-unter > a::after {
  content: '';
  display: inline-block;
  margin-left: 10px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(-2px);
}

/* Schaltflaeche fuer das Burgermenue, nur auf schmalen Bildschirmen */
.burger {
  display: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: 0;
  color: var(--weiss);
  font-family: var(--schrift);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.burger-striche {
  display: inline-block;
  width: 26px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}
.burger-striche span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--uebergang), opacity var(--uebergang);
}
.burger-striche span:nth-child(1) { top: 0; }
.burger-striche span:nth-child(2) { top: 7px; }
.burger-striche span:nth-child(3) { top: 14px; }

.menue.offen .burger-striche span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menue.offen .burger-striche span:nth-child(2) { opacity: 0; }
.menue.offen .burger-striche span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Untermenue */

.hat-unter { position: relative; }

.untermenue {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: var(--orange);
  z-index: 40;
  box-shadow: var(--schatten);
}

.hat-unter:hover > .untermenue,
.hat-unter:focus-within > .untermenue { display: block; }

.untermenue li { border: 0; }

.untermenue a {
  display: block;
  color: var(--weiss);
  text-decoration: none;
  text-transform: none;
  font-size: 16px;
  letter-spacing: .5px;
  padding: 8px 20px;
  transition: background var(--uebergang), padding-left var(--uebergang);
}
.untermenue a:hover,
.untermenue a:focus {
  color: var(--hover);
  background: rgba(255, 255, 255, .2);
  padding-left: 26px;
}

/* Pfeil zum Aufklappen, nur auf schmalen Bildschirmen sichtbar */
.unter-schalter {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: none;
}
.unter-schalter::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -8px 0 0 -5px;
  border-right: 3px solid var(--weiss);
  border-bottom: 3px solid var(--weiss);
  transform: rotate(45deg);
  transition: transform var(--uebergang);
}

/* ---------- Kopfbild ---------- */

.kopfbild {
  position: relative;
  height: clamp(340px, 58vh, 620px);
  overflow: hidden;
  background: var(--dunkel);
  display: flex;
  align-items: flex-end;
}

.kopfbild-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Dunkler Verlauf, damit die Schrift auf jedem Bild lesbar bleibt. */
.kopfbild::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(0, 0, 0, .45) 0%,
              rgba(0, 0, 0, .10) 40%,
              rgba(0, 0, 0, .78) 100%);
}

.kopfbild-text {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(28px, 5vh, 60px);
  text-align: center;
}

.kopfbild-text h1 {
  margin: 0;
  font-family: var(--schrift);
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.05;
  color: var(--weiss);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.kopfbild-text h1::after { content: none; }

/* Schriftzug im Kopfbild, Buchstabe fuer Buchstabe */
.hero-buchstaben { display: inline-block; }
.hero-buchstaben > span {
  display: inline-block;
  will-change: transform;
}
.hero-leer { width: .38em; }
.hero-buchstaben > span:not(.hero-leer) { white-space: pre; }

.kopfbild-unter {
  margin: 10px 0 0;
  font-family: var(--schrift);
  font-size: clamp(16px, 2.6vw, 30px);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}

.kopfbild-knoepfe {
  margin: clamp(18px, 3vh, 34px) 0 0;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 72px 0; }

/* Die Vorlage hat keine H1. Wo hier eine steht, sieht sie aus wie die H2. */
.abschnitt h1,
.abschnitt h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--magenta);
  margin: 0 0 24px;
}

.abschnitt h2:not(:first-child) { margin-top: 44px; }

/* Zierstrich unter der Ueberschrift. */
.abschnitt h1::after,
.abschnitt h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 14px;
  background: var(--orange);
  border-radius: 2px;
}

/* Zwischenueberschriften stehen in der Vorlage in Orange. */
.abschnitt h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--orange);
  margin: 36px 0 12px;
}

.abschnitt p { margin: 0 0 18px; }

.abschnitt address { font-style: normal; margin: 0 0 18px; }

/* Aufzaehlungen mit eigenem Zeichen statt grauem Punkt. */
.abschnitt ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.abschnitt ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.abschnitt ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--magenta);
  border-radius: 2px;
  transform: rotate(45deg);
}

.abschnitt ol { margin: 0 0 18px; padding-left: 22px; }
.abschnitt ol li { margin-bottom: 12px; }

.abschnitt-hell { background: var(--weiss); }
.abschnitt-grau { background: var(--hell); }

.abschnitt-magenta { background: var(--magenta); color: var(--weiss); }
.abschnitt-magenta h1,
.abschnitt-magenta h2 { color: var(--weiss); }
.abschnitt-magenta h1::after,
.abschnitt-magenta h2::after { background: var(--weiss); }
.abschnitt-magenta a { color: var(--weiss); text-decoration: underline; }
.abschnitt-magenta ul li::before { background: var(--weiss); }

.abschnitt-dunkel { background: var(--dunkel); color: var(--weiss); }
.abschnitt-dunkel h1,
.abschnitt-dunkel h2 { color: var(--orange); }
.abschnitt-dunkel ul li::before { background: var(--orange); }

/* Bild mit Text daneben */
.zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.bildblock img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  transition: transform .4s ease, box-shadow .4s ease;
}
.bildblock:hover img {
  transform: translateY(-6px);
  box-shadow: var(--schatten-stark);
}

.bildunterschrift {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

/* ---------- Schaltflaechen ---------- */

.knopf {
  display: inline-block;
  background: var(--orange);
  color: var(--dunkel);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: var(--rund);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: background var(--uebergang), color var(--uebergang),
              transform var(--uebergang), box-shadow var(--uebergang);
}
.knopf:hover, .knopf:focus {
  background: var(--magenta);
  color: var(--weiss);
  transform: translateY(-3px);
  box-shadow: var(--schatten-stark);
}

.knopf-puls:hover, .knopf-puls:focus { animation-play-state: paused; }

.knopf-hell {
  background: transparent;
  color: var(--weiss);
  box-shadow: inset 0 0 0 2px var(--weiss);
}
.knopf-hell:hover, .knopf-hell:focus {
  background: var(--weiss);
  color: var(--dunkel);
  box-shadow: inset 0 0 0 2px var(--weiss);
}

/* ---------- Zahlenkacheln ---------- */

.zahlen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.abschnitt .zahlen > li {
  margin: 0;
  padding: 26px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rund);
  transition: border-color var(--uebergang), transform var(--uebergang);
}
.abschnitt .zahlen > li::before { content: none; }
.abschnitt .zahlen > li:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.zahlen strong {
  display: block;
  font-family: var(--schrift-ueberschrift);
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 10px;
}

.zahlen span {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Regelkarten ---------- */

.regeln {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.regel {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 30px 28px;
  transition: transform var(--uebergang), box-shadow var(--uebergang),
              border-color var(--uebergang);
}
.regel:hover {
  transform: translateY(-6px);
  box-shadow: var(--schatten);
  border-color: var(--orange);
}
.regel:hover .karte-symbol { background: var(--orange); }

.abschnitt .regel h3 {
  margin: 0 0 14px;
  font-size: 21px;
  color: var(--text);
}

.regel ul { margin: 0; }
.regel li:last-child { margin-bottom: 0; }

/* Schlussblock */

.mitte { text-align: center; }

.schlusssatz {
  max-width: 780px;
  margin: 0 auto 26px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}

/* ---------- Tabellen ---------- */

.zeiten,
.preise {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 16px;
}

.zeiten th,
.zeiten td,
.preise th,
.preise td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}

.zeiten th[scope="row"],
.preise th[scope="row"] { font-weight: 700; }

.preise thead th {
  background: var(--dunkel);
  color: var(--weiss);
  font-weight: 700;
  border-bottom: 0;
}

.preise tbody td { white-space: nowrap; }

.preise .zusatz {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #666;
}

.zeiten { max-width: 620px; }
.preise { max-width: 820px; }

.preis-stand {
  font-size: 13px;
  color: #666;
  max-width: 820px;
}

/* ---------- Karten ---------- */

.karten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.abschnitt .karten > li {
  margin: 0;
  padding: 0;
}
.abschnitt .karten > li::before { content: none; }

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 30px 24px;
  height: 100%;
  transition: transform var(--uebergang), box-shadow var(--uebergang),
              border-color var(--uebergang);
}
.karte:hover {
  transform: translateY(-6px);
  box-shadow: var(--schatten);
  border-color: var(--orange);
}

.karte-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--weiss);
  margin-bottom: 18px;
  transition: background var(--uebergang);
}
.karte:hover .karte-symbol { background: var(--orange); }
.karte-symbol svg { width: 28px; height: 28px; fill: currentColor; }

.abschnitt .karte h3 {
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 8px;
}

.karte p { margin: 0; }

/* ---------- Haeufige Fragen ---------- */

.einleitung {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.7;
}

.fragen { max-width: 900px; margin-top: 36px; }

.frage { border-bottom: 1px solid var(--linie); }
.frage:first-child { border-top: 1px solid var(--linie); }

.frage > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 46px 22px 0;
  position: relative;
  transition: color var(--uebergang);
}

/* Die Frage ist eine Ueberschrift, damit Vorleseprogramme sie anspringen
   koennen. Sie sieht aber nicht aus wie die Ueberschriften der Abschnitte. */
.abschnitt .frage > summary h2 {
  display: inline;
  margin: 0;
  font-family: var(--schrift-ueberschrift);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  color: inherit;
}
.abschnitt .frage > summary h2::after { content: none; }
.frage > summary::-webkit-details-marker { display: none; }
.frage > summary { color: var(--text); }
.frage > summary:hover { color: var(--magenta); }

/* Pluszeichen, das sich beim Aufklappen zum Kreuz dreht */
.frage > summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background:
    linear-gradient(var(--magenta), var(--magenta)) center/18px 3px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) center/3px 18px no-repeat;
  transition: transform .3s ease;
}
.frage[open] > summary::after { transform: rotate(135deg); }

.frage-inhalt {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.frage[open] .frage-inhalt { grid-template-rows: 1fr; }

.frage-inhalt > div { overflow: hidden; }
.frage-inhalt p { margin: 0 0 16px; }
.frage-inhalt p:last-child { margin-bottom: 24px; }

/* ---------- Fuss ---------- */

.fuss {
  background: var(--dunkel);
  color: var(--weiss);
  padding: 56px 0 0;
}

.fuss-innen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.fuss h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--orange);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 10px; }

.fuss a {
  color: var(--weiss);
  text-decoration: none;
  transition: color var(--uebergang), padding-left var(--uebergang);
}
.fuss a:hover, .fuss a:focus { color: var(--orange); padding-left: 5px; }

.fuss address { font-style: normal; }

.fuss-zeile {
  margin-top: 44px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Bewegung ----------
 *
 * Das Einfahren beim Scrollen laeuft ueber animation-timeline: view(), also
 * ohne JavaScript. Browser, die das nicht koennen, zeigen den Inhalt einfach
 * normal an. Wer im System Animationen abgeschaltet hat, bekommt keine.
 */

@media (prefers-reduced-motion: no-preference) {

  .kopfbild-bild { animation: zoom 18s ease-out both; }

  .kopfbild-unter   { animation: einfahren .8s ease-out both; animation-delay: 1.25s; }
  .kopfbild-knoepfe { animation: einfahren .8s ease-out both; animation-delay: 1.45s; }

  /*
   * Jeder Buchstabe faellt einzeln ein, leicht gedreht und mit kurzem
   * Nachfedern. Danach laeuft alle 9 Sekunden eine warme Welle durch den
   * Schriftzug, von links nach rechts, ueber die Verzoegerung je Buchstabe.
   */
  .hero-buchstaben > span {
    animation:
      buchstabe-faellt .7s cubic-bezier(.2, .8, .3, 1.4) both,
      welle 9s ease-in-out infinite;
    animation-delay:
      calc(var(--i) * 55ms),
      calc(2s + var(--i) * 70ms);
  }

  /* Der Knopf im Kopfbild pulsiert, damit er auffaellt. Kein hartes
     Ein-Aus-Blinken: das faellt in der Barrierefreiheit durch (WCAG 2.2.2)
     und wirkt unruhig. */
  .knopf-puls { animation: pulsieren 1.8s ease-in-out infinite; }

  @supports (animation-timeline: view()) {

    /* Verschiedene Effekte je Element, damit nicht ueberall dasselbe
       passiert. Dunkle Abschnitte bleiben ruhig. */

    .abschnitt-hell > .breite:not(.zweispaltig),
    .abschnitt-grau > .breite:not(.zweispaltig) {
      animation: von-links linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }

    .abschnitt-magenta > .breite:not(.zweispaltig) {
      animation: aufziehen linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 55%;
    }

    /* Bild und Text nebeneinander kommen von zwei Seiten aufeinander zu. */
    .zweispaltig > *:first-child {
      animation: von-links linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 60%;
    }
    .zweispaltig > *:last-child {
      animation: von-rechts linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 60%;
    }

    /* Karten ziehen nacheinander auf. Der Versatz kommt ueber den Bereich,
       nicht ueber eine Verzoegerung, weil die Bewegung am Scrollen haengt. */
    .karten > li {
      animation: aufziehen linear both;
      animation-timeline: view();
    }
    .karten > li:nth-child(1) { animation-range: entry 5%  entry 45%; }
    .karten > li:nth-child(2) { animation-range: entry 12% entry 52%; }
    .karten > li:nth-child(3) { animation-range: entry 19% entry 59%; }
    .karten > li:nth-child(4) { animation-range: entry 26% entry 66%; }

    /* Ruhepunkt: der dunkle Abschnitt bewegt sich nicht. */
    .abschnitt-dunkel > .breite,
    .abschnitt-dunkel .zweispaltig > * { animation: none; }
  }
}

@keyframes zoom {
  from { transform: scale(1.10); }
  to   { transform: scale(1); }
}

@keyframes einfahren {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes von-links {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes von-rechts {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes aufziehen {
  from { opacity: 0; transform: scale(.93); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes buchstabe-faellt {
  from {
    opacity: 0;
    transform: translateY(-70px) rotate(-14deg) scale(.75);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

/*
 * Die Welle laeuft nur in einem kurzen Fenster des Ablaufs, den Rest der
 * Zeit steht der Buchstabe still. So entsteht das Durchlaufen.
 */
@keyframes welle {
  0%, 84%, 100% {
    color: #ffffff;
    transform: translateY(0) scale(1);
  }
  88% {
    color: var(--orange);
    transform: translateY(-9px) scale(1.08);
  }
  93% {
    color: var(--magenta);
    transform: translateY(0) scale(1);
  }
}

@keyframes pulsieren {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18), 0 0 0 0 rgba(230, 0, 126, .55);
  }
  50% {
    transform: scale(1.055);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22), 0 0 0 16px rgba(230, 0, 126, 0);
  }
}

/* ---------- Umbruchpunkte, wie in der Vorlage ---------- */

@media (max-width: 1199px) {
  .abschnitt { padding: 56px 0; }
  .karten { grid-template-columns: repeat(2, 1fr); }
  .zahlen { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .menue-liste > li > a { padding: 13px 16px; font-size: 16px; }
}

@media (max-width: 991px) {
  .zweispaltig { grid-template-columns: 1fr; gap: 28px; }
  .zahlen { grid-template-columns: repeat(2, 1fr); }
  .regeln { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: repeat(2, 1fr); }
  .mini-menue li:not(:last-child) { margin: 0 30px 0 0; }
}

/*
 * Ab hier das Burgermenue. Frueher als die 767px der Vorlage, weil die fuenf
 * Punkte auf dem Tablet sonst in eine zweite Zeile rutschen.
 */
@media (max-width: 991px) {

  .menue-leiste { display: block; }

  .burger { display: flex; }

  .menue-huelle { width: 100%; }

  .menue-liste {
    display: block;
    padding-bottom: 8px;
  }

  .menue-liste > li { position: relative; }

  .menue-liste > li:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .45);
  }

  .menue-liste > li > a {
    padding: 13px 48px 13px 0;
    font-size: 17px;
  }

  .menue-liste > .hat-unter > a::after { content: none; }

  .unter-schalter { display: block; }

  /* Auf Fingerbedienung nicht ueber hover oeffnen, sondern ueber die
     Schaltflaeche. Sonst geht das Untermenue nie wieder zu. */
  .hat-unter:hover > .untermenue,
  .hat-unter:focus-within > .untermenue { display: none; }

  .untermenue {
    position: static;
    box-shadow: none;
    padding: 0 0 10px 16px;
    min-width: 0;
  }

  .hat-unter.unter-offen > .untermenue { display: block; }

  .hat-unter.unter-offen .unter-schalter::before {
    transform: rotate(-135deg);
    margin-top: -2px;
  }

  /*
   * Zuklappen ueber die Huelle, nicht ueber die Liste selbst. Ein Raster
   * faehrt mit 0fr nur zusammen, wenn es genau ein Kind hat. Stuende die
   * Liste im Raster, schrumpfte nur ihr erster Eintrag.
   */
  html.js .menue-huelle {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
  }
  html.js .menue.offen .menue-huelle { grid-template-rows: 1fr; }

  html.js .menue-huelle > .menue-liste {
    overflow: hidden;
    min-height: 0;
    padding-bottom: 0;
  }
  html.js .menue.offen .menue-huelle > .menue-liste { padding-bottom: 8px; }
}

@media (max-width: 767px) {
  .topleiste-innen {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
  }

  .marke-innen {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    justify-content: center;
  }
  .logo img { height: 60px; }
  .mini-menue li:not(:last-child) { margin: 0 24px 0 0; }

  .abschnitt { padding: 44px 0; }
  .abschnitt h1,
  .abschnitt h2 { font-size: 26px; }
  .abschnitt h3 { font-size: 20px; }
  .abschnitt .frage > summary h2 { font-size: 18px; }
  .frage > summary { padding-right: 40px; }
}

@media (max-width: 600px) {
  .zahlen { grid-template-columns: 1fr; gap: 12px; }
  .abschnitt .zahlen > li { padding: 18px 14px; }

  /* Preistabelle als Bloecke, sonst wird sie zu schmal. Die Spalten-
     ueberschrift steht dann vor dem Wert. */
  .preise thead { display: none; }
  .preise tr {
    display: block;
    border-bottom: 2px solid var(--linie);
    padding: 10px 0;
  }
  .preise th[scope="row"],
  .preise td {
    display: block;
    border: 0;
    padding: 4px 0;
  }
  .preise td::before {
    content: attr(data-spalte) ": ";
    font-weight: 700;
  }
  .preise tbody td { white-space: normal; }

  .fuss-innen { grid-template-columns: 1fr; }
  .karten { grid-template-columns: 1fr; }
  .kopfbild-knoepfe { flex-direction: column; align-items: center; }
  .kopfbild-knoepfe .knopf { width: 100%; max-width: 320px; text-align: center; }
}
