/* Garage Jurt + Co. – Gestaltung nach der alten Website (Grün #008444, Grau #f0f0f0) */
:root {
  --gruen: #008444;
  --gruen-dunkel: #006b37;
  --text: #333;
  --text-hell: #666;
  --grau: #f0f0f0;
  --linie: #ddd;
  --schwarz: #101010;
  --schrift: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --breite: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--gruen-dunkel); }

h1, h2, h3 { line-height: 1.2; color: #222; }

.innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 16px;
}

.knopf {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--gruen);
  border-radius: 2px;
  background: var(--gruen);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.knopf:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; }

.knopf-hell {
  background: transparent;
  border-color: #fff;
}

.knopf-hell:hover { background: #fff; border-color: #fff; color: var(--gruen-dunkel); }
.knopf-hell:focus-visible { outline-color: #fff; }

/* ---------- Kopf mit Logo und Menü ---------- */
.kopf {
  position: relative;
  padding: 22px 16px 0;
  background: #fff;
  text-align: center;
}

/* Beim Scrollen bleibt die Menüleiste oben stehen (das JS setzt --versatz = Höhe über dem Menü) */
.kopf.klebt {
  position: sticky;
  top: calc(-1 * var(--versatz, 0px));
  z-index: 40;
  transition: box-shadow 0.2s;
}

.kopf.angeheftet { box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1); }
.kopf.angeheftet .menue { border-top-color: transparent; }

/* Sprungziele nicht unter der Menüleiste verstecken */
[id] { scroll-margin-top: 90px; }

.logo-link { display: inline-block; }

.logo {
  display: block;
  width: clamp(160px, 18vw, 230px);
  height: auto;
}

.menue-knopf { display: none; }

.menue {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 34px;
  max-width: 760px;
  margin: 18px auto 0;
  padding: 14px 0 18px;
  border-top: 1px solid var(--linie);
  list-style: none;
}

.menue a {
  color: #555;
  font-size: 1.05rem;
  text-decoration: none;
}

.menue a:hover,
.menue a[aria-current="page"] { color: var(--gruen); }

/* ---------- Grosses Titelbild (Startseite) ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(58vh, 560px);
  overflow: hidden;
  background: #222;
  color: #fff;
  text-align: center;
}

.hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.hero-inhalt {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 48px 16px;
}

.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 300;
}

.knopf-telefon {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #fff;
}

.knopf-telefon:hover { border-color: #fff; }
.knopf-telefon svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Seitentitel der Unterseiten (grünes Band wie auf der alten Website) ---------- */
.seitenkopf {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: var(--gruen);
  text-align: center;
}

.seitenkopf h1 {
  margin: 0;
  padding: 40px 16px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 300;
}

/* ---------- Grünes Band ---------- */
.band {
  padding: 48px 0;
  background: var(--gruen);
  color: #fff;
  text-align: center;
}

.band h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 300;
}

.band p { margin: 0; font-size: 1.15rem; font-weight: 300; }
.band a { color: #fff; }

.telefon-gross {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.35rem;
  text-decoration: none;
}

/* Jetzt aktuell (Einträge kommen aus der Verwaltung) */
.band-aktuell {
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, var(--gruen) 0%, var(--gruen-dunkel) 100%);
}

.aktuell { margin-bottom: 0; }
.aktuell[hidden] { display: none; }

.aktuell h2 {
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.aktuell-liste {
  display: grid;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* Jeder Eintrag als weisse Karte auf dem grünen Band */
.aktuell-karte {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 20px 44px rgba(0, 0, 0, 0.25);
}

.aktuell-karte.mit-bild { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* Bei mehreren Einträgen steht das Bild abwechselnd links und rechts */
.aktuell-eintrag:nth-child(even) .aktuell-karte.mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.aktuell-eintrag:nth-child(even) .aktuell-bild-rahmen { order: 2; }

.aktuell-bild-rahmen { position: relative; display: block; min-height: 340px; overflow: hidden; }

.aktuell-bild {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aktuell-neu {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--gruen-dunkel);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.aktuell-inhalt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
}

.aktuell-datum {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: #e7f3ec;
  color: var(--gruen-dunkel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aktuell-datum svg { width: 15px; height: 15px; fill: currentColor; }

.aktuell-titel {
  margin: 0 0 16px;
  color: #1d1d1d;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.22;
}

/* kurzer grüner Strich unter dem Titel */
.aktuell-titel::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--gruen);
}

.band .aktuell-text {
  margin: 0;
  color: #444;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
  white-space: pre-line;
}

.band .aktuell-pdf {
  align-self: flex-start;
  margin-top: 18px;
  padding: 8px 18px;
  border: 2px solid var(--gruen);
  border-radius: 4px;
  color: var(--gruen-dunkel);
  font-weight: 600;
  text-decoration: none;
}

.band .aktuell-pdf:hover { background: var(--gruen); color: #fff; }

/* Anrufen / Kontakt unter jedem Eintrag */
.aktuell-aktion {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #ececec;
}

.band .aktuell-anrufen {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
}

.aktuell-anrufen svg { width: 17px; height: 17px; fill: currentColor; }

.band .aktuell-kontakt {
  color: var(--gruen-dunkel);
  font-weight: 600;
  text-decoration: none;
}

.band .aktuell-kontakt:hover { text-decoration: underline; }

/* ---------- Drei Kacheln (Startseite) ---------- */
.kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
  padding: 72px 16px;
  text-align: center;
}

.kachel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kachel:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.kachel-bild {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.kachel-bild::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--gruen);
}

.kachel-bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.kachel:hover .kachel-bild img { transform: scale(1.06); }

.kachel-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 26px 24px 30px;
}

.kachel h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 300;
}

.kachel p { flex: 1; margin: 0 0 22px; color: var(--text-hell); }

/* ---------- Das sagen unsere Kunden ---------- */
.stimmen[hidden] { display: none; }

.stimme p { white-space: pre-line; }

.stimmen {
  padding: 72px 0;
  background: #f5f5f5;
  text-align: center;
}

.stimmen h2 {
  margin: 0 0 40px;
  color: #111;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
}

.sterne {
  --prozent: calc(var(--wert) / 5 * 100%);
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gruen) var(--prozent), #ccc var(--prozent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stimmen-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stimme {
  padding: 48px 36px;
  border-radius: 8px;
  background: #fff;
}

.stimme strong { display: block; color: #111; font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.stimme .sterne { display: block; width: fit-content; margin: 10px auto 18px; font-size: 1rem; }
.stimme p { margin: 0; color: #8a8a8a; font-size: 1.05rem; line-height: 1.7; }

/* ---------- Galerie-Vorschau (Startseite) ---------- */
.galerie-vorschau {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.galerie-vorschau img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---------- Inhaltsseiten ---------- */
.inhalt {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 16px 64px;
}

.inhalt-breit { max-width: var(--breite); }

.inhalt h2 {
  margin: 44px 0 12px;
  font-size: 1.6rem;
  font-weight: 400;
}

.inhalt h2:first-child { margin-top: 0; }

.einleitung {
  font-size: 1.2rem;
  font-weight: 300;
}

.bild-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 48px 0;
}

.bild-text img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
.bild-text h2 { margin-top: 0; }
.bild-text:nth-of-type(even) img { order: 2; }

.liste-haken {
  padding: 0;
  list-style: none;
}

.liste-haken li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
}

.liste-haken li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 7px;
  height: 12px;
  border: solid var(--gruen);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.team li {
  overflow: hidden;
  padding: 0 0 18px;
  border-radius: 6px;
  background: var(--grau);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.team-bild {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  object-fit: cover;
  border-bottom: 4px solid var(--gruen);
}

.team-initialen {
  display: grid;
  place-items: center;
  background: var(--gruen);
  color: #fff;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.team strong, .team .team-rolle { display: block; padding: 0 18px; }
.team strong { color: #222; font-size: 1.15rem; }
.team .team-rolle { color: var(--text-hell); }

/* ---------- Galerie ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 48px 16px 64px;
  list-style: none;
}

.galerie button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.galerie img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.15s;
}

.galerie button:hover img { opacity: 0.85; }
.galerie button:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }

/* 100dvh = sichtbare Höhe ohne die Leisten des Handy-Browsers (100vh reicht dort hinter die Adressleiste) */
.leuchtkasten {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0d0d0d;
}

.leuchtkasten::backdrop { background: #0d0d0d; }

/* Bild und Beschreibung zusammen in der Mitte */
.leuchtkasten figure {
  display: grid;
  place-content: center;
  justify-items: center;
  height: 100%;
  margin: 0;
  padding: 56px 64px 64px;
}

.leuchtkasten img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  object-fit: contain;
}

.leuchtkasten figcaption {
  margin-top: 12px;
  color: #ddd;
  text-align: center;
}

.leuchtkasten button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.leuchtkasten button:hover { background: rgba(255, 255, 255, 0.25); }
.lk-zu { top: 12px; right: 12px; width: 44px; height: 44px; }
.lk-zurueck, .lk-weiter { top: 50%; width: 48px; height: 64px; transform: translateY(-50%); }
.lk-zurueck { left: 8px; }
.lk-weiter { right: 8px; }
.lk-zaehler { position: absolute; top: 22px; left: 20px; color: #bbb; font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* ---------- Kontakt ---------- */
.kontakt-raster {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.kontakt-raster h2 { margin-top: 0; }

.angaben p { margin: 0 0 18px; }
.kontakt-einleitung { max-width: 820px; margin: 0 0 40px; }
.fett a { font-weight: 600; text-decoration: none; }

.facebook-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.facebook-link .facebook, .facebook-link .instagram { width: 22px; height: 22px; }
.sozial-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.zeiten-tabelle { border-collapse: collapse; }
.zeiten-tabelle th { padding: 4px 28px 8px 0; font-weight: 400; text-align: left; vertical-align: top; }
.zeiten-tabelle td { padding: 4px 0 8px; }

.formular label {
  display: block;
  margin: 0 0 4px;
  font-weight: 600;
}

.formular input,
.formular textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 11px 12px;
  border: 1px solid #bbb;
  border-radius: 2px;
  font: inherit;
}

.formular input:focus,
.formular textarea:focus {
  border-color: var(--gruen);
  outline: 2px solid var(--gruen);
  outline-offset: 0;
}

.formular textarea { min-height: 150px; resize: vertical; }
.formular .klein { color: var(--text-hell); font-size: 0.9rem; }
.formular .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--gruen);
  background: #e8f4ed;
}

.meldung-fehler { border-left-color: #b3261e; background: #fbeaea; }

.anfahrt-titel { margin-top: 64px; }

.karte {
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 6px;
  background: var(--grau);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.karte iframe { display: block; width: 100%; height: 440px; border: 0; }

.karte-hinweis {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 440px;
  padding: 24px;
  text-align: center;
}

.karte-hinweis p { max-width: 520px; margin: 0 0 16px; color: var(--text-hell); }

/* ---------- Cookie-Hinweis ---------- */
.cookies {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  border-top: 4px solid var(--gruen);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.cookies[hidden] { display: none; }
.cookies p { flex: 1 1 440px; margin: 0; font-size: 0.95rem; }
.cookies-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies .knopf { padding: 10px 20px; font-size: 1rem; }

.knopf-rand { background: #fff; color: var(--gruen-dunkel); }
.knopf-rand:hover { background: #e8f4ed; border-color: var(--gruen-dunkel); color: var(--gruen-dunkel); }

.unten-knopf {
  padding: 0;
  border: 0;
  background: none;
  color: #ddd;
  font: inherit;
  cursor: pointer;
}

.unten-knopf:hover { color: #fff; text-decoration: underline; }

/* ---------- Links ---------- */
/* Partner-Kacheln: nur das Logo, ein Klick öffnet die Website der Firma */
.partner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.partner a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 18px 22px;
  border: 1px solid var(--linie);
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.partner a:hover { border-color: var(--gruen); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.partner a:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; }
.partner img { display: block; width: auto; height: auto; max-width: 100%; max-height: 56px; }
.partner strong { color: #222; font-size: 1.1rem; }

@media (max-width: 420px) {
  .partner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner a { height: 84px; padding: 14px; }
  .partner img { max-height: 44px; }
}

/* ---------- Fuss ---------- */
.fuss {
  padding: 48px 0;
  background: var(--grau);
}

.spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.fuss h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.fuss p { margin: 0 0 18px; }

.fuss a {
  color: var(--gruen-dunkel);
  font-weight: 600;
  text-decoration: none;
}

.fuss a:hover { text-decoration: underline; }

.zeiten { margin: 0; }
.zeiten dd { margin: 0 0 10px; }

/* Facebook-Logo (Original in Facebook-Blau) und Instagram-Logo (Original-Farbverlauf) */
.facebook,
.instagram {
  display: inline-block;
  width: 28px;
  height: 28px;
  transition: transform 0.15s;
}

.facebook svg, .instagram svg { display: block; width: 100%; height: 100%; }
a.facebook:hover, a.instagram:hover, .facebook-link:hover .facebook, .facebook-link:hover .instagram { transform: scale(1.08); }
.fuss-rechts .instagram { margin-left: 10px; }

/* Rechte Spalte im Fuss: Facebook, Strich, Impressum (wie auf der alten Website) */
.fuss-rechts { text-align: right; }

.fuss-rechts p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ccc;
  line-height: 1.9;
}

.unten {
  padding: 18px 0;
  background: var(--schwarz);
  color: #bbb;
  font-size: 0.9rem;
}

.unten .innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.unten nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.unten a { color: #ddd; text-decoration: none; }
.unten a:hover { color: #fff; text-decoration: underline; }

/* ---------- Pfeil «nach oben» (wie auf der alten Website) ---------- */
.nach-oben {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gruen);
  border-radius: 50%;
  background: #fff;
  color: var(--gruen);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s, background 0.15s, color 0.15s;
}

.nach-oben.sichtbar {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s, background 0.15s, color 0.15s;
}

.nach-oben:hover { background: var(--gruen); color: #fff; }
.nach-oben:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; }

.nach-oben svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Radio Grischa (nur Startseite: springt oben links herein) ---------- */
.radio {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 4px 14px;
  width: 340px;
  padding: 16px 18px 16px 14px;
  border-top: 4px solid #c41e1a;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-115%, -115%) rotate(-10deg);
  transition: transform 0.5s ease-in, opacity 0.5s ease-in, visibility 0s linear 0.5s;
}

.radio.offen {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  animation: radio-rein 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

/* Nach dem Zuklappen bleibt nur das Logo von Radio Grischa stehen */
.radio-logo {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 49;
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.3);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
}

.radio-logo.sichtbar {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4) 0.35s, opacity 0.3s ease 0.35s;
}

.radio-logo:hover { transform: scale(1.08); transition-delay: 0s; }
.radio-logo:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; }
.radio-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.radio-logo-play {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gruen);
  color: #fff;
}

.radio-logo-play svg { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }

@keyframes radio-rein {
  0% { opacity: 0; transform: translate(-115%, -115%) rotate(-12deg) scale(0.6); }
  55% { opacity: 1; transform: translate(10px, 10px) rotate(3deg) scale(1.05); }
  75% { transform: translate(-4px, -4px) rotate(-1.5deg) scale(0.98); }
  90% { transform: translate(2px, 2px) rotate(0.5deg) scale(1.01); }
  100% { opacity: 1; transform: none; }
}

.radio img { grid-row: span 2; width: 76px; height: auto; align-self: center; }

.radio h2 {
  margin: 0;
  padding-right: 22px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.radio p { margin: 2px 0 0; color: var(--text-hell); font-size: 0.9rem; line-height: 1.4; }

.radio-spieler {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.radio-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gruen);
  color: #fff;
  cursor: pointer;
}

.radio-play:hover { background: var(--gruen-dunkel); }
.radio-play:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; }
.radio-play svg { width: 18px; height: 18px; fill: currentColor; }
.radio-play .pause, .radio-play.laeuft .play { display: none; }
.radio-play.laeuft .pause { display: block; }

.radio-balken {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--linie);
  cursor: pointer;
}

.radio-fortschritt {
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--gruen);
}

.radio-zeit { flex: none; color: var(--text-hell); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.radio-zu {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: #888;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.radio-zu:hover { color: #222; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 760px) {
  .kopf { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; text-align: left; }
  .logo { width: 132px; }

  /* margin-left: auto schiebt den Knopf ganz nach rechts (das leere <nav> dahinter ist auch ein Flex-Element) */
  .menue-knopf {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    padding: 10px 18px 10px 16px;
    border: 2px solid var(--gruen);
    border-radius: 999px;
    background: #fff;
    color: var(--gruen-dunkel);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .menue-knopf[aria-expanded="true"] { background: var(--gruen); color: #fff; }
  .menue-knopf:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; }

  .menue-knopf span,
  .menue-knopf span::before,
  .menue-knopf span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .menue-knopf span { position: relative; transition: background 0.2s; }
  .menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; transition: top 0.2s, transform 0.2s; }
  .menue-knopf span::before { top: -6px; }
  .menue-knopf span::after { top: 6px; }
  /* offen: aus den drei Strichen wird ein × */
  .menue-knopf[aria-expanded="true"] span { background: transparent; }
  .menue-knopf[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menue-knopf[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  .menue {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 0;
    border-top: 1px solid var(--linie);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }

  .menue.offen { display: flex; }
  .menue a { display: block; padding: 14px 22px; border-bottom: 1px solid #eee; color: #333; font-size: 1.1rem; }
  .menue li:last-child a { border-bottom: 0; }
  .menue a[aria-current="page"] { background: #f1f8f4; box-shadow: inset 4px 0 0 var(--gruen); color: var(--gruen-dunkel); font-weight: 600; }

  .galerie-vorschau { grid-template-columns: repeat(2, 1fr); }
  .band-aktuell { padding: 40px 0 44px; }
  .aktuell-karte.mit-bild,
  .aktuell-eintrag:nth-child(even) .aktuell-karte.mit-bild { grid-template-columns: 1fr; }
  .aktuell-eintrag:nth-child(even) .aktuell-bild-rahmen { order: 0; }
  .aktuell-bild-rahmen { min-height: 0; aspect-ratio: 16 / 10; }
  .aktuell-inhalt { padding: 24px 20px 26px; }
  .aktuell-aktion { margin-top: 20px; padding-top: 18px; }
  .bild-text, .kontakt-raster { grid-template-columns: 1fr; gap: 20px; }
  .bild-text:nth-of-type(even) img { order: 0; }
  .leuchtkasten figure { padding: 60px 8px 96px; }
  .leuchtkasten img { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); }
  .lk-zurueck, .lk-weiter {
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom));
    width: 64px;
    height: 56px;
    border-radius: 28px;
    font-size: 2rem;
    transform: none;
  }
  .lk-zurueck { left: 16px; }
  .lk-weiter { right: 16px; }
  .lk-zaehler { top: auto; bottom: calc(38px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); }

  .radio {
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    grid-template-columns: 40px 1fr auto;
    gap: 0 10px;
    align-items: center;
    padding: 8px 40px 8px 10px;
    border-top-width: 3px;
  }

  .radio img { grid-row: auto; width: 40px; }
  .radio h2 { padding-right: 0; font-size: 0.92rem; line-height: 1.25; }
  .radio p, .radio-balken, .radio-zeit { display: none; }
  .radio-spieler { grid-column: auto; margin-top: 0; }
  .radio-play { width: 40px; height: 40px; }
  .radio-zu { top: 50%; right: 4px; transform: translateY(-50%); }
  /* Handy: rundes Radio-Logo in der Kopfzeile, mittig zwischen Garage-Logo und Menü-Knopf */
  .kopf .radio-logo {
    position: relative;
    top: auto;
    left: auto;
    flex: none;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  .kopf .radio-logo ~ .menue-knopf { margin-left: 0; }
  .radio-logo-play { right: -5px; bottom: -3px; width: 22px; height: 22px; }
  .radio-logo-play svg { width: 10px; height: 10px; }
  .fuss-rechts { text-align: left; }
  /* Links im schwarzen Balken gross genug zum Antippen */
  .unten nav { gap: 0 18px; }
  .unten a, .unten-knopf { display: inline-block; padding: 11px 0; }
  .nach-oben { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* Sehr schmale Handys: Logo, Radio-Logo und Menü-Knopf etwas kleiner, damit Luft dazwischen bleibt */
@media (max-width: 370px) {
  .kopf { padding: 12px 12px; }
  .logo { width: 112px; }
  .menue-knopf { gap: 8px; padding: 8px 14px 8px 12px; }
  .kopf .radio-logo { width: 44px; height: 44px; }
}

/* ---------- Prüfversion (/zum-pruefen/): neue Inhalte gelb markieren ---------- */
.pruef-leiste {
  padding: 10px 16px;
  border-bottom: 2px solid #e0b400;
  background: #fff3b0;
  color: #4d3d00;
  font-size: 0.95rem;
  text-align: center;
}

.pruef-leiste mark { background: #ffd83d; }
.pruef-leiste a { color: #4d3d00; font-weight: 600; }

.pruef-liste {
  max-width: 1100px;
  margin: 24px auto;
  padding: 20px 26px;
  border-left: 6px solid #e0b400;
  background: #fff8d6;
}

.pruef-liste h2 { margin: 0 0 8px; font-size: 1.3rem; }
.pruef-liste ul { margin: 0 0 12px; padding-left: 20px; }

.neu-markiert {
  margin: 24px 0;
  padding: 16px;
  outline: 3px dashed #e0b400;
  outline-offset: 4px;
  background: rgba(255, 224, 102, 0.16);
}

.neu-etikett {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 3px;
  background: #ffd83d;
  color: #3d3100;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

mark.neu-inline { padding: 0 3px; background: #ffe066; color: #222; }
.neu-li a { outline: 3px dashed #e0b400; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radio, .radio.offen, .radio-logo, .radio-logo.sichtbar, .nach-oben { transition: none; animation: none; }
}

/* Link zu Google Maps (Tankstelle und Waschanlage) */
.karten-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 18px 10px 14px;
  border: 2px solid var(--gruen);
  border-radius: 999px;
  color: var(--gruen-dunkel);
  font-weight: 600;
  text-decoration: none;
}

.karten-link:hover { background: var(--gruen); color: #fff; }
.karten-link svg { width: 20px; height: 20px; fill: currentColor; }

/* Hervorgehobene Aussage (Über uns: Spezialisten für Seniorenfahrzeuge) */
.hervorgehoben {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 28px 0 32px;
  padding: 22px 26px;
  border-left: 6px solid var(--gruen);
  border-radius: 0 12px 12px 0;
  background: #eaf5ee;
  color: #1c3a2a;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
}

.hervorgehoben svg { flex: none; width: 44px; height: 44px; fill: var(--gruen); }

@media (max-width: 760px) {
  .hervorgehoben { gap: 14px; padding: 18px 18px; }
  .hervorgehoben svg { width: 34px; height: 34px; }
}

/* Zwei Fotos nebeneinander (Dienstleistungen: Tankstelle und Waschanlage) */
.foto-paar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 12px 0 24px;
}

.foto-paar figure { margin: 0; }

.foto-paar img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.foto-paar figcaption { margin-top: 10px; color: var(--text-hell); font-size: 0.95rem; }

@media (max-width: 560px) {
  .foto-paar { grid-template-columns: 1fr; gap: 16px; }
}

.link-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
