@import url("schriften.css?v=4");

/* =========================================================================
   Smarti-Phone — Farbwelt aus dem Laden
   Grün = die Wand in Probstheida. Holz = Wandverkleidung und Tresen.
   Gelb = die "Service vor Ort"-Schilder. Weiß = die Vitrinen.
   ========================================================================= */

:root {
  /* Das Grün der Ladenwand in Probstheida, abgenommen vom Foto.
     Es trägt keinen weißen Text, deshalb gibt es eine tiefe Variante
     für alle Flächen mit heller Schrift. */
  --gruen:        #76be28;
  /* Zwei Gruentoene, weil Helligkeit und Lesbarkeit hier gegeneinander stehen:
     --gruen-tief traegt kleine Schrift und Links. Es muss auch auf dem
     gruen getoenten --gruen-hauch bestehen (dort landen alle Hover-Zustaende),
     deshalb 4,70:1 darauf und 5,11:1 auf Weiss statt knapp 4,46:1.
     --gruen-flaeche ist heller und nur fuer grosse, fette Schrift ab 19px
     zulaessig (3,68:1 - fuer Grosstext sind 3:1 gefordert). */
  --gruen-tief:   #3f7c1b;
  --gruen-flaeche:#4d9623;
  --gruen-nacht:  #1d3f0d;
  --gruen-hauch:  #f1f8e6;

  /* Holz: warme Eiche wie die Wandverkleidung */
  --holz:         #b57f45;
  --holz-hell:    #e8d3b4;
  --holz-hauch:   #faf3e8;

  /* Gelb der Service-Schilder */
  --gelb:         #ffc20e;
  --gelb-tief:    #8a6000;

  --tinte:        #18220f;
  --tinte-leise:  #4b5741;
  --linie:        #dfe3d6;
  --weiss:        #ffffff;
  --papier:       #fbfbf7;

  /* Anbieterfarben — vor dem Livegang gegen die Markenvorgaben prüfen */
  --telekom:  #e20074;
  --vodafone: #e60000;
  --o2:       #0050ff;   /* aktuelles o2-Blau, von o2online.de abgenommen */
  --eins:     #003d8f;   /* 1&1-Blau, von 1und1.de abgenommen */
  --congstar: #a86b00;
  --pyur:     #c8006e;

  --rund:    14px;
  --rund-s:  9px;
  --breite:  1200px;

  --schatten:   0 1px 2px rgba(24,34,15,.07), 0 6px 18px rgba(24,34,15,.07);
  --schatten-h: 0 2px 5px rgba(24,34,15,.09), 0 16px 38px rgba(24,34,15,.14);

  --schrift:  "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --display:  "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  /* Größere Grundschrift — ein spürbarer Teil der Kundschaft ist älter */
  font: 400 1.125rem/1.6 var(--schrift);
  color: var(--tinte);
  background: var(--papier);
}

/* Browser-Oberflächen gehören zur Gestaltung, nicht dem Browser */
::selection { background: var(--gelb); color: var(--gruen-nacht); }
:focus-visible {
  outline: 3px solid var(--gruen-tief);
  outline-offset: 3px;
  border-radius: 4px;
}
* { scrollbar-color: var(--gruen-tief) var(--gruen-hauch); scrollbar-width: thin; }
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { background: var(--gruen-hauch); }
::-webkit-scrollbar-thumb {
  background: var(--gruen-tief); border-radius: 99px;
  border: 3px solid var(--gruen-hauch);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.022em;
  text-wrap: balance;
  margin: 0 0 .5em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.012em; }
p  { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--gruen-tief); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }

.bahn { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.feld { padding-block: clamp(3rem, 7vw, 5.5rem); }
.feld--hauch { background: var(--gruen-hauch); }
.feld--holz  { background: var(--holz-hauch); }

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 1.2rem/1 var(--schrift);
  padding: 1.05rem 1.6rem;
  border-radius: var(--rund-s);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  /* Große Trefferfläche für Finger und unsichere Hände */
  min-height: 54px;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background-color .18s;
}
.knopf:active { transform: translateY(1px); }

.knopf--ruf {
  background: var(--gelb); color: var(--gruen-nacht);
  box-shadow: 0 2px 0 var(--gelb-tief), var(--schatten);
}
.knopf--ruf:hover { background: #ffcf3d; color: var(--gruen-nacht); box-shadow: 0 2px 0 var(--gelb-tief), var(--schatten-h); }

.knopf--fest { background: var(--gruen-flaeche); color: #fff; box-shadow: var(--schatten); }
/* Beim Zeigen wird der Knopf dunkler, nicht heller: heller hiesse weisse
   Schrift auf 2,98:1 - unter der Grenze. Dunkler ergibt 5,11:1. */
.knopf--fest:hover { background: var(--gruen-tief); box-shadow: var(--schatten-h); }

.knopf--leise {
  background: var(--weiss); color: var(--gruen-tief);
  border-color: var(--gruen-tief);
}
.knopf--leise:hover { background: var(--gruen-hauch); }

/* ------------------------------------------------------- Angebotskarten */
.angebote {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.angebot {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  overflow: hidden;
  box-shadow: var(--schatten);
  transition: box-shadow .2s, transform .2s cubic-bezier(.2,.8,.3,1);
}
.angebot:hover { box-shadow: var(--schatten-h); transform: translateY(-3px); }

/* Der Farbstreifen ist die einzige Stelle, an der die Anbieterfarbe führt */
.angebot__band { height: 6px; background: var(--ton, var(--gruen-tief)); }
.angebot__kopf { padding: 1.15rem 1.35rem .35rem; }
.angebot__marke {
  font: 700 .8rem/1 var(--schrift);
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--ton, var(--gruen-tief));
}
/* Das echte Anbieterlogo steht bei jedem Angebot mit drin - Kundschaft
   erkennt die Marke schneller am Zeichen als am Wort. */
.angebot__logo {
  flex: none; display: block;
  height: 24px; width: auto; max-width: 112px;
  margin-top: .15rem;
}
/* Quadratische Zeichen (Telekom, o2, 1&1, congstar) wirken bei gleicher
   Hoehe viel kleiner als die breiten Schriftzuege - die bekommen mehr. */
.angebot__logo--rund { height: 31px; margin-top: 0; }
.angebot__leib { padding: 0 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.angebot__preis {
  font-family: var(--display); font-weight: 800;
  font-size: 2.5rem; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin: .35rem 0 .1rem;
}
.angebot__preis span { font-size: 1.1rem; font-weight: 600; }
.angebot__takt { color: var(--tinte-leise); font-size: .95rem; margin: 0 0 .9rem; }
.angebot__liste { list-style: none; padding: 0; margin: 0 0 1.15rem; display: grid; gap: .45rem; }
.angebot__liste li { display: flex; gap: .55rem; font-size: 1rem; line-height: 1.45; }
.angebot__liste svg { flex: none; margin-top: .28em; color: var(--gruen-tief); }
.angebot__fuss { margin-top: auto; }
.angebot__fuss .knopf { width: 100%; justify-content: center; }

/* --------------------------------------------------------------- Details */
.marken { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.marke {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 7px;
  padding: .5rem .85rem;
  font: 700 .95rem/1 var(--schrift);
  letter-spacing: -.01em;
  color: var(--ton, var(--tinte));
  white-space: nowrap;
}

.sterne { display: inline-flex; gap: .12rem; color: var(--gelb); }
.sterne svg { filter: drop-shadow(0 1px 0 rgba(0,0,0,.18)); }

.laden {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 1.6rem;
  box-shadow: var(--schatten);
}
.laden h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 800; }
.laden dl { margin: 0 0 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; font-size: 1rem; }
.laden dt { color: var(--tinte-leise); }
.laden dd { margin: 0; }

.fuss { background: var(--gruen-nacht); color: #d9e6c8; padding-block: 3rem 2rem; }
.fuss a { color: var(--gelb); }
.fuss h3 { color: #fff; font-size: 1.05rem; }

.nur-lesbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   Schaufenster — der Aufmacher mit echtem Ladenfoto
   Aufteilung: großes Bild, Textkasten
   darauf, direkt darunter die Schnellwahl.
   ========================================================================== */
.schau { position: relative; background: var(--gruen-nacht); }
.schau__bild {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
/* Das Foto liegt wie ein Wasserzeichen hinter dem Text: stark aufgehellt,
   mit einem Hauch Gruen aus der Ladenwand. Der Text steht dunkel darauf. */
.schau { background: var(--papier); }
.schau__bild { opacity: .37; }
.schau::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.62) 72%, rgba(255,255,255,.5) 100%),
    linear-gradient(180deg, rgba(241,248,230,.5), rgba(255,255,255,0));
}
@media (max-width: 760px) {
  .schau::after {
    background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.95) 100%);
  }
}
.schau__bahn { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5.5rem); }
.schau__kasten { max-width: 40rem; }
.schau h1 { color: var(--gruen-nacht); max-width: 17ch; }
.schau__sagt {
  color: #2a3a1d; font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 600; max-width: 44ch;
}
.schau__tat { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Der Vertrauensanker sitzt im Bild, nicht daneben */
.schau__anker {
  display: inline-flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.82);
  border: 1px solid #cfe0b4;
  border-radius: 99px; padding: .5rem .95rem .5rem .7rem;
  margin-bottom: 1.3rem; backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(24,34,15,.06);
}
.schau__anker b {
  font-family: var(--display); font-weight: 800; font-size: 1.22rem;
  color: var(--gruen-nacht); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.schau__anker span { color: #45542f; font-size: .95rem; font-weight: 600; }
.schau .sterne { color: var(--gelb-tief); }

/* ---------------------------------------------------------- Schnellwahl */
.schnellwahl { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.schnellwahl ul {
  list-style: none; margin: 0; padding: .85rem 0;
  display: grid; gap: .6rem;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1000px) { .schnellwahl ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .schnellwahl ul { grid-template-columns: repeat(2, 1fr); } }

.schnellwahl a {
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  text-align: center; text-decoration: none; color: var(--tinte);
  font: 600 .95rem/1.25 var(--schrift);
  padding: .85rem .5rem; border-radius: var(--rund-s);
  border: 1px solid transparent;
  min-height: 92px; justify-content: center;
  transition: background-color .17s, border-color .17s, transform .17s cubic-bezier(.2,.8,.3,1);
}
.schnellwahl a:hover {
  background: var(--gruen-hauch); border-color: #cde3a8; transform: translateY(-2px);
}
.schnellwahl svg { color: var(--gruen-tief); flex: none; }

/* ------------------------------------------------------------- Fotoband */
.fotoband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 800px) { .fotoband { grid-template-columns: 1fr; } }
.fotoband figure { margin: 0; border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); background: var(--weiss); }
.fotoband img { display: block; width: 100%; height: 230px; object-fit: cover; }
.fotoband figcaption { padding: .85rem 1.1rem; font-size: .98rem; color: var(--tinte-leise); }

/* Balken ganz oben — bleibt auf der echten Seite, sitzt ganz oben und
   verdeckt nichts. Traegt auch den Schriftgroesse-Knopf. */
.fahne {
  background: var(--gruen-nacht); color: #d9e6c8;
  font: 600 .88rem/1.4 var(--schrift);
  padding: .55rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .1rem .7rem; align-items: baseline;
  justify-content: center; text-align: center;
}
.fahne b { color: var(--gelb); font-weight: 800; }
.fahne__knopf {
  border: none; background: var(--gelb); color: var(--gruen-nacht);
  font: 700 .82rem/1 var(--schrift); padding: .5rem .9rem; border-radius: var(--rund-s);
  box-shadow: 0 2px 0 var(--gelb-tief), var(--schatten);
  cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background-color .18s;
}
.fahne__knopf:hover { background: #ffcf3d; box-shadow: 0 2px 0 var(--gelb-tief), var(--schatten-h); }
.fahne__knopf:active { transform: translateY(1px); }

/* Schriftgroesse-Umschalter: skaliert die Wurzel, alles andere ist rem-basiert
   und waechst mit. Wird per Knopf im Balken umgeschaltet, gemerkt im Browser. */
html.gross-schrift { font-size: 118%; }


/* ==========================================================================
   Abschluss: der letzte Block ist eine Einladung zum Anrufen.
   Der stärkste Abschluss einer Seite ist die direkte Einladung.
   ========================================================================== */
.ruf-raus { background: var(--gruen-tief); color: #fff; text-align: center; }
.ruf-raus h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.ruf-raus p { color: #ffffff; max-width: 46ch; margin-inline: auto; font-size: 1.1rem; }
.ruf-raus__tat { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }


/* ==========================================================================
   Sprachwahl — die Seite gibt es in mehreren Sprachen.
   Das Menue braucht kein JavaScript: <details> kann das von Haus aus.
   ========================================================================== */
.sprachen { position: relative; }
.sprachen > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 1rem/1 var(--schrift); color: var(--tinte);
  background: var(--weiss); border: 2px solid var(--gruen-tief);
  border-radius: var(--rund-s); padding: .7rem 1rem; min-height: 46px;
}
.sprachen > summary::-webkit-details-marker { display: none; }
.sprachen > summary:hover { background: var(--gruen-hauch); }
.sprachen[open] > summary { background: var(--gruen-hauch); }
.sprachen__pfeil { transition: transform .18s; }
.sprachen[open] .sprachen__pfeil { transform: rotate(180deg); }

.sprachen__liste {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--rund); box-shadow: var(--schatten-h);
  padding: .5rem; margin: 0; list-style: none;
  min-width: 15rem; max-height: 60vh; overflow-y: auto;
}
.sprachen__liste a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .75rem; border-radius: var(--rund-s);
  text-decoration: none; color: var(--tinte); font-weight: 600;
  min-height: 44px;
}
.sprachen__liste a:hover { background: var(--gruen-hauch); }
.sprachen__liste a[aria-current="true"] { background: var(--gruen-hauch); }
.sprachen__eigen { color: var(--tinte-leise); font-weight: 400; margin-left: auto; font-size: .92rem; white-space: nowrap; padding-left: .6rem; }

/* Flaggen: immer zusammen mit dem Sprachnamen, nie allein.
   Arabisch bekommt bewusst keine Landesflagge (die Sprache gehoert
   zu vielen Laendern), sondern ein neutrales Schriftzeichen. */
.sprachen__flagge {
  flex: none; width: 24px; height: 16px; border-radius: 3px;
  object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.sprachen__flagge--ohne {
  display: inline-grid; place-items: center;
  background: var(--gruen-hauch); color: var(--gruen-nacht);
  font: 700 .95rem/1 var(--schrift); box-shadow: 0 0 0 1px var(--linie);
}

@media (max-width: 1080px) {
  .sprachen__lang { display: none; }
}
@media (min-width: 1081px) {
  .sprachen__kurz { display: none; }
}
@media (max-width: 700px) {
  .sprachen > summary span:not(.sprachen__pfeil) { display: none; }
  .sprachen > summary { padding: .7rem .8rem; }
}


/* ==========================================================================
   Kopfzeile: Geschaeftskunden und Sprache sitzen nebeneinander
   ========================================================================== */
.kopf__neben { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.betriebe-knopf {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 700 1rem/1 var(--schrift); text-decoration: none;
  color: var(--gruen-nacht); background: var(--gelb);
  border: 2px solid transparent; border-radius: var(--rund-s);
  padding: .7rem 1rem; min-height: 46px;
  box-shadow: 0 2px 0 var(--gelb-tief);
}
.betriebe-knopf:hover { background: #ffcf3d; }
@media (max-width: 1240px) { .betriebe-knopf__lang { display: none; } }
@media (min-width: 1241px) { .betriebe-knopf__kurz { display: none; } }
@media (max-width: 620px)  { .betriebe-knopf span { display: none; } .betriebe-knopf { padding: .7rem .8rem; } }

/* ==========================================================================
   Anbieterleiste mit echten Logos.
   Die Geschaeftskunden-Marken stehen als eigene Gruppe beieinander,
   damit erkennbar ist, dass es dort um Betriebe geht.
   ========================================================================== */
.logo { height: 26px; width: auto; display: block; }
.logo--klein { height: 21px; }

.markenband { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.markenband .marke {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 8px; padding: .55rem .8rem; min-height: 48px;
}

/* Die Geschaeftskunden-Gruppe bleibt als Block zusammen */
.gruppe-betrieb {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--gruen-hauch); border: 1px solid #cde3a8;
  border-radius: 10px; padding: .45rem .6rem;
}
.gruppe-betrieb__titel {
  font: 800 .72rem/1.15 var(--schrift); letter-spacing: .07em;
  text-transform: uppercase; color: var(--gruen-tief);
  writing-mode: vertical-rl; transform: rotate(180deg);
  padding: .15rem 0;
}
@media (max-width: 620px) {
  .gruppe-betrieb { flex-wrap: wrap; }
  .gruppe-betrieb__titel { writing-mode: horizontal-tb; transform: none; width: 100%; }
}


/* ---------------------------------------------------------- Fusszeile */
.fuss__raster {
  display: grid; gap: 1.8rem 2.2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  padding-bottom: 1.8rem;
}
@media (max-width: 860px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss__liste a { display: inline-block; padding: .2rem 0; }
.fuss__schluss {
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 1.3rem; margin: 0;
  font-size: .9rem; color: #9fb887; max-width: 80ch;
}


/* ==========================================================================
   Strom und Gas — zwei konkrete Anlaesse statt einer allgemeinen Leistung.
   Kaum ein Handyladen bietet das an, deshalb steht es fuer sich.
   ========================================================================== */
.anlass { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 800px) { .anlass { grid-template-columns: 1fr; } }

.anlass__karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--schatten);
  transition: box-shadow .2s, transform .2s cubic-bezier(.2,.8,.3,1);
}
.anlass__karte:hover { box-shadow: var(--schatten-h); transform: translateY(-3px); }

/* Kein farbiger Streifen an der Kartenkante und kein Symbolkaestchen ueber
   der Ueberschrift: beides sind die auffaelligsten Baukasten-Muster.
   Die Farbe traegt hier das Symbol neben der Ueberschrift. */
.anlass__karte h3 {
  font-family: var(--display); font-size: 1.45rem; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: .45rem;
  display: flex; align-items: center; gap: .6rem;
}
.anlass__karte h3 svg { flex: none; color: var(--ton, var(--gruen-tief)); }
.anlass__karte p { color: var(--tinte-leise); font-size: 1rem; margin-bottom: 1.2rem; }
.anlass__karte .knopf { margin-top: auto; align-self: flex-start; }
.anlass__notiz {
  font-size: .92rem; color: var(--tinte-leise);
  margin: .9rem 0 0; display: flex; gap: .45rem; align-items: flex-start;
}
.anlass__notiz svg { flex: none; margin-top: .2em; color: var(--gruen-tief); }


/* ==========================================================================
   Wer hier berät — ein Gesicht statt einer anonymen Firma.
   ========================================================================== */
.person { display: grid; grid-template-columns: minmax(0,26rem) 1fr; gap: 2.2rem; align-items: center; }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; gap: 1.4rem; } }
.person__bild {
  width: 100%; height: auto; display: block;
  border-radius: var(--rund); box-shadow: var(--schatten-h);
  border: 5px solid var(--weiss);
}
.person h2 { margin-bottom: .5rem; }
.person__rolle {
  display: inline-block; font: 700 .82rem/1 var(--schrift);
  letter-spacing: .08em; text-transform: uppercase;
  /* dunkler als --gruen-tief: kleine Versalien brauchen mehr Kontrast */
  color: var(--gruen-nacht);
  background: var(--gruen-hauch); border: 1px solid #cde3a8;
  border-radius: 99px; padding: .45rem .8rem; margin-bottom: .9rem;
}
.person__zitat {
  font-family: var(--display); font-weight: 600;
  /* 1.35 statt 1.25: das Zitat laeuft ueber mehrere Zeilen */
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35;
  letter-spacing: -.02em; color: var(--tinte); margin-bottom: .9rem;
}
.person__tat { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }


/* ==========================================================================
   Formulare — große Felder, klare Beschriftung, Fehler im Klartext.
   Die Klasse heisst .eingabe, weil .feld hier schon ein Seitenabschnitt ist.
   ========================================================================== */
.formular { display: grid; gap: 1.5rem; }
.formular__vorspann { color: var(--tinte-leise); margin: 0; }
.formular__block { border: 0; margin: 0; padding: 0; display: grid; gap: 1.2rem; min-width: 0; }
.formular__block + .formular__block { border-top: 1px solid var(--linie); padding-top: 1.6rem; }
.formular__block > legend {
  font: 800 1.3rem/1.2 var(--display); letter-spacing: -.015em;
  padding: 0 0 .6rem; color: var(--gruen-nacht);
}
.eingabe { display: grid; gap: .45rem; }
.eingabe > label { font-weight: 700; font-size: 1.05rem; }
.eingabe input, .eingabe select, .eingabe textarea {
  font: 400 1.1rem/1.4 var(--schrift); color: var(--tinte);
  background: var(--weiss); border: 2px solid #aab79a; border-radius: var(--rund-s);
  padding: .8rem .95rem; min-height: 54px; width: 100%;
}
.eingabe textarea { min-height: 9rem; resize: vertical; }
.eingabe input:hover, .eingabe select:hover, .eingabe textarea:hover { border-color: var(--gruen-tief); }
.eingabe input:focus-visible, .eingabe select:focus-visible, .eingabe textarea:focus-visible {
  border-color: var(--gruen-tief); outline-offset: 1px;
}
.eingabe [aria-invalid="true"], .zustimmung [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.eingabe__hilfe { font-size: .95rem; color: var(--tinte-leise); margin: 0; }
.eingabe__fehler { font-size: .98rem; font-weight: 700; color: #b3261e; margin: 0; flex-basis: 100%; }
.pflicht { color: #b3261e; font-weight: 700; }

.wahlgruppe { display: flex; flex-wrap: wrap; gap: .6rem; }
.wahl {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--weiss); border: 2px solid var(--linie); border-radius: 99px;
  padding: .6rem 1.05rem; min-height: 50px; cursor: pointer; font-weight: 600;
}
.wahl:hover { border-color: var(--gruen-tief); }
.wahl:has(input:checked) { border-color: var(--gruen-tief); background: var(--gruen-hauch); }
.wahl input { width: 20px; height: 20px; margin: 0; accent-color: var(--gruen-tief); }

.zustimmung {
  display: flex; flex-wrap: wrap; gap: .5rem .85rem; align-items: flex-start;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.05rem 1.15rem; font-size: 1rem; line-height: 1.5;
}
.zustimmung input { width: 24px; height: 24px; margin: .1rem 0 0; flex: none; accent-color: var(--gruen-tief); }
.zustimmung label { flex: 1; min-width: 0; }
.zustimmung__klein { display: block; font-size: .93rem; color: var(--tinte-leise); margin-top: .35rem; }
.honigtopf {
  /* weggeklappt statt weit nach links geschoben: das würde auf Arabisch
     (rechts nach links) einen seitlichen Rollbalken erzeugen */
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.formular__fuss { display: grid; gap: .7rem; justify-items: start; }
.formular__fuss p { font-size: .95rem; color: var(--tinte-leise); margin: 0; }


/* ==========================================================================
   Sprachfassungen: Hinweis auf die maschinelle Übersetzung und
   Kennzeichnung von Links, die auf deutsche Rechtstexte führen.
   ========================================================================== */
.uebersetzt-hinweis {
  margin: 0; max-width: none; text-align: center;
  background: var(--holz-hauch); border-bottom: 1px solid #e9d9bd;
  color: #5a4a2e; font-size: .95rem; padding: .55rem 1.25rem;
}
.uebersetzt-hinweis a { color: var(--gruen-nacht); font-weight: 700; }
.auf-deutsch { font-size: .88em; }


/* ==========================================================================
   Schriften je Sprache. Bricolage und Atkinson liegen nur mit lateinischen
   Zeichen vor. Für Kyrillisch, Arabisch und Vietnamesisch nimmt die Seite
   deshalb durchgehend die Systemschrift – sonst springt jede Zeile zwischen
   zwei Schriften hin und her. Türkisch und Polnisch sind abgedeckt.
   ========================================================================== */
:root:lang(ru), :root:lang(uk), :root:lang(ar), :root:lang(vi) {
  --schrift: system-ui, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --display: system-ui, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
/* Arabische Buchstaben sind verbunden – Sperrung würde die Schrift zerreißen */
:root:lang(ar) * { letter-spacing: normal !important; }
:root:lang(ar) body { line-height: 1.75; }


/* ==========================================================================
   Arabisch: Die Seite läuft von rechts nach links. Raster und Flexboxen
   spiegeln sich von selbst; hier stehen nur die Stellen, die fest
   links oder rechts angeordnet waren.
   ========================================================================== */
[dir="rtl"] .kopf nav, [dir="rtl"] .kopf__neben { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sprachen__liste { right: auto; left: 0; }
[dir="rtl"] .sprachen__eigen { margin-left: 0; margin-right: auto; padding-left: 0; padding-right: .6rem; }
[dir="rtl"] .kachel { margin-left: 1rem; margin-right: auto; }
@media (max-width: 950px) { [dir="rtl"] .kachel { margin-right: 0; } }
[dir="rtl"] .sticker { right: auto; left: -11px; }
[dir="rtl"] .pause { margin-left: 0; margin-right: .35rem; }
/* Die Logoleiste läuft weiter wie gehabt, sie enthält nur Marken */
[dir="rtl"] .laufband { direction: ltr; }
/* Das Wasserzeichen-Foto hellt dort auf, wo der Text steht – jetzt rechts */
[dir="rtl"] .schau::after {
  background:
    linear-gradient(260deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.62) 72%, rgba(255,255,255,.5) 100%),
    linear-gradient(180deg, rgba(241,248,230,.5), rgba(255,255,255,0));
}
@media (max-width: 760px) {
  [dir="rtl"] .schau::after {
    background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.95) 100%);
  }
}
/* E-Mail, Telefon und Postleitzahl tippt man auch auf Arabisch von links */
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[inputmode="numeric"] {
  direction: ltr; text-align: right;
}

/* Bildmarke im Kopf (Logo von Smarti-Phone). Das Bild hat einen fast weißen
   Hintergrund, "multiply" lässt ihn auf weißem Kopf unsichtbar werden. */
.wort__bild { height: 40px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 560px) { .wort__bild { height: 34px; } }
@media (max-width: 400px) { .wort__bild { height: 30px; } }

/* Datenschutz-Hinweis (unten, einmal wegklickbar; keine Cookies, nur ein Merker im Browser) */
.hinweis { position: fixed; inset-inline: .75rem; bottom: .75rem; z-index: 60; max-width: 46rem; margin-inline: auto;
  background: #fff; color: var(--tinte); border: 2px solid var(--gruen-tief); border-radius: 14px; padding: .9rem 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.22); display: flex; gap: .9rem 1.2rem; align-items: center; flex-wrap: wrap; }
.hinweis[hidden] { display: none; }
.hinweis p { margin: 0; flex: 1 1 18rem; font-size: 1rem; line-height: 1.45; }
.hinweis a { color: var(--gruen-tief); font-weight: 700; }
.hinweis .knopf { flex: none; }

/* ------------------------------------ Bestellknöpfe, Anbieterseiten, Fragen */
.angebot__fuss { display: grid; gap: .6rem; }
.angebot--geraet .angebot__kopf { padding-bottom: .9rem; }
.angebot__preis--wort { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; margin: .5rem 0 .1rem; }
.preisstand { font-size: .95rem; color: var(--tinte-leise); margin: .6rem 0 0; }
.angebote__hinweis { margin: 1.7rem 0 0; font-size: 1.05rem; font-weight: 600; }
.angebote--weiter { margin-top: 1.25rem; }
.anbieter-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.4rem 0 0; font-weight: 600; }
.anbieter-zeile a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .3rem .8rem;
  border: 1px solid var(--linie); border-radius: var(--rund-s); background: var(--weiss);
  color: var(--tinte); text-decoration: none;
}
.anbieter-zeile a:hover { border-color: var(--gruen-tief); }
.anbieter-zeile img { height: 24px; width: auto; }
.wege { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 1.2rem; }
.wege h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 .4rem; }
.wege p { margin: 0; }
.fragen { display: grid; gap: .7rem; max-width: 70ch; }
.fragen details { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund-s); padding: .9rem 1.1rem; }
.fragen summary { font-weight: 700; cursor: pointer; min-height: 28px; }
.fragen details p { margin: .6rem 0 0; }
.schau .schau__titel { font-size: clamp(2.1rem, 5.2vw, 3.9rem); color: var(--gruen-nacht); max-width: 17ch; }
/* Tarifname links, Logo rechts – bisher nur im Stilblock der Startseite */
.angebot__kopf { display: flex; align-items: flex-start; gap: .8rem; }
.angebot__kopf h3 { flex: 1; margin: 0; }
/* Pfeil an Links in den Shop des Anbieters; „/ ""“ hält ihn aus der Vorlesefassung heraus */
.extern::after { content: "↗"; content: "↗" / ""; margin-left: .45em; }
