/* City Krankengymnastik Pino: Stylesheet. Reine Seite ohne Framework.
   Farben und Rhythmus lehnen sich an die Praxisseite des Bruders an (helle Flächen,
   ruhiger Grünton, Sora als Überschrift), die Fotos bringen die warmen Töne der Praxis. */

:root {
  --gruen: #2b7c85;
  --gruen-dunkel: #1f5e66;
  --gruen-tief: #16414a;
  --gruen-hell: #e9e0cf;   /* sandiges Beige, zweite Farbe neben Petrol (Wunsch des Kunden, 11.09.2026) */
  --text: #2b2b2b;
  --text-weich: #5d5d5d;
  --grau: #f4eee3;        /* helles Sand fuer Flaechen */
  --linie: #e4e4df;
  --weiss: #ffffff;
  --sora: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --inter: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --breite: 1180px;
  --radius: 18px;
  --kopfhoehe: 76px;
  --schatten: 0 10px 30px rgba(20, 29, 30, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--inter);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--gruen); }
h1, h2, h3 { font-family: var(--sora); line-height: 1.15; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }

.nur-lesbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; background: var(--gruen-tief); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 100; }
.sprung:focus { top: 1rem; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block;
  font-family: var(--sora);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--gruen);
  border: 2px solid var(--gruen);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(65, 102, 106, 0.28); }
.knopf--hell { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--gruen-tief); }
.knopf--rand { background: transparent; color: var(--gruen-dunkel); }
.knopf--rand:hover { background: var(--gruen); color: #fff; }
.knopf--klein { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.mittig { text-align: center; margin-top: 2.5rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.kopf--schatten { border-color: var(--linie); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.kopf__innen {
  max-width: var(--breite); margin: 0 auto; padding: 0 1.5rem;
  height: var(--kopfhoehe);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: height 0.3s ease;
}
.kopf--schatten .kopf__innen { height: 62px; }
.marke { display: inline-flex; align-items: center; text-decoration: none; }
.marke__bild { display: block; height: 56px; width: auto; transition: height 0.3s ease; }
.kopf--schatten .marke__bild { height: 46px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.knopf) { position: relative; font-weight: 600; font-size: 0.95rem; color: var(--text); text-decoration: none; padding: 0.3rem 0; transition: color 0.2s; }
.nav a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform 0.28s ease; }
.nav a:not(.knopf):hover { color: var(--gruen-dunkel); }
.nav a:not(.knopf):hover::after { transform: scaleX(1); }
.kopf__knopf { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 10px; cursor: pointer; border-radius: 10px; }
.kopf__knopf span { display: block; height: 2px; background: var(--text); margin: 6px 0; transition: transform 0.25s, opacity 0.25s; }
.kopf__knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.kopf__knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kopf__knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Held (Startbild) ---------- */
.held { position: relative; min-height: 82vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--gruen-tief); }
.held__hintergrund { position: absolute; inset: -12% 0 0; will-change: transform; }
.held__bild { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: held-zoom 26s ease-out both; }
@keyframes held-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.held__vorspann { animation: aufsteigen 0.8s 0.15s ease-out both; }
.held h1 { animation: aufsteigen 0.8s 0.3s ease-out both; }
.held__text { animation: aufsteigen 0.8s 0.45s ease-out both; }
.held__knoepfe { animation: aufsteigen 0.8s 0.6s ease-out both; }
.held::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 29, 30, 0.82) 0%, rgba(20, 29, 30, 0.55) 45%, rgba(20, 29, 30, 0.15) 100%);
}
.held__innen { position: relative; z-index: 1; max-width: var(--breite); width: 100%; margin: 0 auto; padding: 6rem 1.5rem 7rem; }
.held__vorspann, .vorspann { font-family: var(--sora); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gruen); margin: 0 0 1rem; }
.held__vorspann { color: #cfdee0; }
.held h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 700; max-width: 14ch; margin-bottom: 1rem; }
.held__text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Fakten-Leiste ---------- */
.fakten { position: relative; z-index: 2; margin-top: -3.4rem; padding: 0 1.5rem; }
.fakten__innen {
  max-width: var(--breite); margin: 0 auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten);
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.fakt { padding: 1.4rem 1.8rem; font-size: 0.95rem; line-height: 1.55; border-left: 1px solid var(--linie); transition: background 0.3s; }
.fakt:hover { background: var(--gruen-hell); }
.status { display: inline-block; margin-top: 0.5rem; font-size: 0.76rem; font-weight: 600; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--gruen-hell); color: var(--gruen-dunkel); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); margin-right: 0.4rem; vertical-align: 1px; animation: puls 2.4s ease-in-out infinite; }
.status--zu { background: #f4ebe6; color: #8a4b3a; }
.status--zu::before { background: #c0705c; animation: none; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(95, 134, 138, 0.45); } 60% { box-shadow: 0 0 0 7px rgba(95, 134, 138, 0); } }
.fakt:first-child { border-left: 0; }
.fakt__titel { display: block; font-family: var(--sora); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-dunkel); margin-bottom: 0.35rem; }
.fakt a { text-decoration: none; }
.fakt a:hover { text-decoration: underline; }

/* ---------- Abschnitte ---------- */
/* Scroll-Abstand: beim Anspringen eines Ankers bleibt der Abschnittsanfang unter der festen Kopfzeile sichtbar. */
section[id], div[id], aside[id] { scroll-margin-top: var(--kopfhoehe); }
.abschnitt { padding: 5.5rem 1.5rem; }
.abschnitt--grau { background: var(--grau); }
.abschnitt--eng { max-width: 820px; margin: 0 auto; text-align: center; padding-top: 5rem; }
.abschnitt__innen { max-width: var(--breite); margin: 0 auto; }
.titel { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
.titel::after { content: ""; display: block; width: 58px; height: 4px; border-radius: 2px; background: var(--gruen); margin-top: 0.7rem; transform-origin: left; transition: transform 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.abschnitt--eng .titel::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.js .titel::after { transform: scaleX(0); }
.js .titel.sichtbar::after { transform: scaleX(1); }
.titel--gross { text-transform: none; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lauftext { max-width: 62ch; color: var(--text-weich); font-size: 1.05rem; }
.lauftext--mittig { margin-left: auto; margin-right: auto; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.zweispaltig--oben { align-items: start; }
.bildrahmen { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.bildrahmen img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bildrahmen:hover img { transform: scale(1.04); }

/* ---------- Laufband ---------- */
.laufband { overflow: hidden; background: var(--gruen-tief); color: #cfdee0; padding: 0.95rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.laufband__spur { display: flex; width: max-content; animation: laufen 48s linear infinite; }
.laufband:hover .laufband__spur { animation-play-state: paused; }
.laufband__spur span { font-family: var(--sora); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; padding: 0 1.6rem; position: relative; }
.laufband__spur span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); transform: translateY(-50%); }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Leistungen ---------- */
.leistungen { list-style: none; counter-reset: leistung; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.leistung { counter-increment: leistung; background: #fff; border-radius: var(--radius); padding: 1.8rem 1.7rem 1.5rem; border: 1px solid var(--linie); position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.leistung { overflow: hidden; }
.leistung:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.leistung::before { content: counter(leistung, decimal-leading-zero); font-family: var(--sora); font-weight: 700; font-size: 1.9rem; color: var(--gruen); line-height: 1; display: block; margin-bottom: 0.9rem; transition: color 0.3s, transform 0.3s; }
.leistung:hover::before { color: var(--gruen-dunkel); transform: translateX(4px); }
.leistung::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.leistung:hover::after { transform: scaleX(1); }
.leistung h3 { font-size: 1.08rem; font-weight: 600; }
.leistung p { margin: 0; font-size: 0.95rem; color: var(--text-weich); }
.kuerzel { display: block; font-family: var(--inter); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gruen-dunkel); margin-top: 0.25rem; }

/* ---------- Karten (Warum wir) ---------- */
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.karte { background: var(--gruen-hell); border-radius: var(--radius); padding: 1.9rem 1.6rem; transition: background 0.35s, transform 0.35s, box-shadow 0.35s; }
.karte:hover { background: var(--gruen-tief); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(46, 68, 70, 0.25); }
.karte__zeichen { width: 40px; height: 40px; fill: none; stroke: var(--gruen-dunkel); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; transition: stroke 0.35s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.karte:hover .karte__zeichen { stroke: #fff; transform: scale(1.15) rotate(-8deg); }
.karte h3 { font-size: 1.08rem; font-weight: 600; transition: color 0.35s; }
.karte p { margin: 0; font-size: 0.95rem; color: var(--text-weich); transition: color 0.35s; }
.karten--zwei { grid-template-columns: repeat(2, 1fr); }
.karte__liste { margin: 0 0 1rem; padding-left: 1.15rem; font-size: 0.95rem; color: var(--text-weich); transition: color 0.35s; }
.karte__liste li { margin-bottom: 0.4rem; }
.karte:hover .karte__liste { color: #fff; }
/* Einblick: zwei Detailaufnahmen unter dem Willkommen */
.einblick { max-width: var(--breite); margin: 0 auto 4.5rem; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.einblick__bild { margin: 0; border-radius: var(--radius); overflow: hidden; }
.einblick__bild img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
/* Hinweisband (ausgebaut 11.09.2026, Regeln bleiben fuer den Fall der Wiederkehr) */
.kapazitaet { padding: 0 1.5rem; margin-top: 2.5rem; }
.kapazitaet__innen { max-width: var(--breite); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--gruen-hell); border-left: 5px solid var(--gruen); border-radius: var(--radius); padding: 1rem 1.5rem; }
.kapazitaet p { margin: 0; font-size: 1rem; }
.kapazitaet strong { color: var(--gruen-dunkel); font-family: var(--sora); }
.karte:hover h3 { color: #fff; }
.karte:hover p { color: #d7e2e3; }

/* ---------- Leitsatz ---------- */
/* Leitsatz: der Inhaber als Buehne. Foto grossflaechig mit Parallax, Text auf Petrol-Verlauf rechts */
.leitsatz { position: relative; overflow: hidden; background: var(--gruen-tief); color: #fff; padding: 7rem 1.5rem; min-height: 88vh; display: flex; align-items: center; }
.leitsatz__hintergrund { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.leitsatz__hintergrund img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 22%; display: block; }
.leitsatz::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 65, 74, 0.08) 0%, rgba(22, 65, 74, 0.35) 38%, rgba(22, 65, 74, 0.9) 58%, rgba(22, 65, 74, 0.96) 100%); }
.leitsatz__innen { position: relative; z-index: 2; max-width: var(--breite); width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.leitsatz__text { grid-column: 2; }
.leitsatz__text { margin: 0; }
.leitsatz__text p { font-family: var(--sora); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.35; margin-bottom: 1.6rem; }
.leitsatz__text footer { color: #cfdee0; font-size: 0.98rem; line-height: 1.5; }
.leitsatz__text strong { color: #fff; font-family: var(--sora); font-weight: 600; }
.leitsatz__fortbildung { font-family: var(--sora); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-hell); margin: 1.6rem 0 0.6rem; }
.leitsatz__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.leitsatz__liste li { font-size: 0.88rem; padding: 0.3rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; color: #fff; }
.team__liste { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; }
.team__liste li { display: flex; flex-direction: column; padding-left: 0.9rem; border-left: 3px solid var(--gruen); }
.team__liste strong { font-family: var(--sora); font-weight: 600; font-size: 0.98rem; }
.team__liste span { font-size: 0.86rem; color: var(--text-weich); }
.partner a { font-weight: 600; }
.hinweis.parken { margin-top: 0.6rem; }
.parken__bild { margin: 0.8rem 0 1.4rem; max-width: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: #fff; }
.parken__bild img { display: block; width: 100%; height: auto; }
.parken__bild figcaption { padding: 0.55rem 0.9rem; font-size: 0.8rem; color: var(--text-weich); }
.knopf--rand + .knopf--rand { margin-left: 0.6rem; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.galerie__bild { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--linie); }
.galerie__bild { transition: transform 0.35s, box-shadow 0.35s; }
.galerie__bild:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.galerie__bild img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.galerie__bild:hover img { transform: scale(1.07); }
.galerie__bild figcaption { padding: 0.75rem 1rem; font-size: 0.85rem; font-weight: 500; color: var(--text-weich); transition: color 0.3s, padding-left 0.3s; }
.galerie__bild:hover figcaption { color: var(--gruen-dunkel); padding-left: 1.3rem; }

/* ---------- Kontakt ---------- */
.adresse { font-style: normal; font-size: 1.05rem; line-height: 1.6; margin-bottom: 1rem; }
.kontaktzeile { margin: 0 0 0.4rem; }
.kontaktzeile__titel { display: inline-block; min-width: 5.5rem; font-family: var(--sora); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-dunkel); }
.kontaktzeile a { text-decoration: none; font-weight: 500; }
.zeiten { border-collapse: collapse; margin: 1.6rem 0 1rem; font-size: 0.98rem; }
.zeiten caption { text-align: left; font-family: var(--sora); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-dunkel); padding-bottom: 0.5rem; }
.zeiten th, .zeiten td { text-align: left; padding: 0.42rem 1.6rem 0.42rem 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.zeiten th { font-weight: 600; }
.zeiten tr.heute th, .zeiten tr.heute td { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.zeiten tr.heute th::after { content: " (heute)"; font-weight: 400; font-size: 0.85em; }
.zeiten__heute { font-size: 0.92rem; font-weight: 600; color: var(--gruen-dunkel); margin: 0 0 0.6rem; }
.hinweis { font-size: 0.9rem; color: var(--text-weich); }
.extern { font-size: 0.85em; margin-left: 0.2em; }
.formularrahmen { background: var(--grau); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--linie); }
.formularrahmen__titel { font-size: 1.25rem; font-weight: 600; }
.formular label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; }
.formular input, .formular textarea {
  display: block; width: 100%; margin-top: 0.35rem;
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 0.7rem 0.9rem; border: 1px solid #ccd1d2; border-radius: 10px; background: #fff;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--gruen); outline-offset: 0; border-color: var(--gruen); }
.formular textarea { resize: vertical; }
.formular .haken { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.formular .haken input { width: auto; margin: 0.25rem 0 0; }
.formular .knopf { width: 100%; text-align: center; }

/* ---------- Fuß ---------- */
.fuss { background: #1c2224; color: #c9d1d2; padding: 3.5rem 1.5rem 2.5rem; font-size: 0.92rem; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem 3rem; align-items: start; }
/* Bewertung mittig im Fuss: fuenf Sterne als Zeichen, reiner Link, nichts wird von Google geladen */
.fuss__bewertung { justify-self: center; text-align: center; }
.bewertung { display: inline-flex; flex-direction: column; align-items: center; gap: 0.45rem; padding: 0.6rem 1.2rem; border-radius: var(--radius); transition: background 0.25s; }
.bewertung:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.bewertung:hover .bewertung__text { text-decoration: underline; }
.bewertung__sterne { display: flex; gap: 0.2rem; }
.bewertung__sterne svg { width: 26px; height: 26px; fill: #f5b400; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
.bewertung__text { font-family: var(--sora); font-weight: 600; font-size: 1rem; color: #fff; }
.bewertung__hinweis { margin: 0.35rem 0 0; font-size: 0.82rem; color: #8f9a93; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.marke__bild--fuss { height: 58px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.94; }
.fuss__nav { display: flex; gap: 1.5rem; font-weight: 600; justify-self: end; }
/* Herkunftsmarke (Omega-Gesetz, BRAND-BIBLE): Jahr, deep|CONCEPT, Zeichen allein als letztes Element, gestapelt und mittig */
.herkunft { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; color: #8f9a93; }
.herkunft p { margin: 0; }
/* Fingerziel 44 x 44 fuer den Omega-Link; das Zeichen selbst bleibt 34 px hoch (Verhaeltnis des Original-Vektors 1203 : 3533) */
.omega-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-top: 0.2rem; color: #fff; border-radius: 10px; transition: opacity 0.2s; }
.omega-link svg { display: block; width: 11.6px; height: 34px; flex: none; }
.omega-link:hover { opacity: 0.7; text-decoration: none; }

/* ---------- Nach oben ---------- */
.nach-oben { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--gruen); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(46, 68, 70, 0.3); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.3s, transform 0.3s, background 0.2s; }
.nach-oben--da { opacity: 1; transform: none; pointer-events: auto; }
.nach-oben:hover { background: var(--gruen-dunkel); color: #fff; }
.nach-oben svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.unterseite { max-width: 780px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.unterseite h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 1.5rem; }
.unterseite h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2.2rem; }
.unterseite h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.5rem; }
.unterseite p, .unterseite li { color: var(--text-weich); }
.unterseite address { font-style: normal; color: var(--text-weich); margin-bottom: 1em; }
.unterseite .stand { font-size: 0.9rem; margin-top: 3rem; }
.offen { background: #fff3c4; border-radius: 6px; padding: 0 0.35em; color: #6b5300; }

/* ---------- Erscheinen beim Scrollen (nur mit JavaScript) ---------- */
.js .erscheint { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .erscheint--links { transform: translateX(-32px); }
.js .erscheint--rechts { transform: translateX(32px); }
.js .erscheint.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .erscheint, .js .erscheint--links, .js .erscheint--rechts { opacity: 1; transform: none; transition: none; }
  .js .titel::after { transform: none; transition: none; }
  .held__bild, .held__vorspann, .held h1, .held__text, .held__knoepfe, .status::before { animation: none; }
  .laufband__spur { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 0.5rem; }
  .kopf__innen, .marke__bild { transition: none; }
}

/* ---------- Anpassung an kleinere Bildschirme ---------- */
@media (max-width: 1080px) {
  .leistungen, .galerie { grid-template-columns: repeat(2, 1fr); }
  .karten { grid-template-columns: repeat(2, 1fr); }
  .karten--zwei { grid-template-columns: 1fr; }
  .einblick { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .kopf__knopf { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linie); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1.5rem 1.2rem;
  }
  .nav--offen { display: flex; }
  .nav--unterseite { display: flex; position: static; flex-direction: row; align-items: center; gap: 1rem; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav--unterseite a:not(.knopf) { border-bottom: 0; padding: 0.3rem 0; font-size: 0.95rem; }
  .nav--unterseite .knopf { margin-top: 0; }
  .nav a:not(.knopf) { padding: 0.9rem 0; border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .nav a:not(.knopf)::after { display: none; }
  .nav .knopf { margin-top: 1rem; text-align: center; }
  .zweispaltig { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Handy: Foto oben als eigener Block, Text darunter auf Petrol */
  .leitsatz { display: block; min-height: 0; padding: 0 0 3.5rem; }
  .leitsatz__hintergrund { position: relative; inset: auto; height: 108vw; max-height: 600px; transform: none !important; }
  .leitsatz__hintergrund img { object-position: 28% 15%; }
  .leitsatz::after { background: linear-gradient(180deg, rgba(22, 65, 74, 0) 0%, rgba(22, 65, 74, 0) 45%, rgba(22, 65, 74, 0.6) 62%, var(--gruen-tief) 78%); pointer-events: none; }
  .leitsatz__innen { grid-template-columns: 1fr; gap: 0; padding: 1.5rem 1.5rem 0; }
  .leitsatz__text { grid-column: 1; }
  .team__liste { grid-template-columns: 1fr; }
  .fakten__innen { grid-template-columns: 1fr; }
  .nach-oben { right: 0.9rem; bottom: 0.9rem; width: 44px; height: 44px; }
  .fakt { border-left: 0; border-top: 1px solid var(--linie); }
  .fakt:first-child { border-top: 0; }
  .held { min-height: 70vh; }
  .held__innen { padding: 5rem 1.5rem 6rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .abschnitt { padding: 3.8rem 1.2rem; }
  .leistungen, .galerie, .karten { grid-template-columns: 1fr; }
  .marke__bild { height: 46px; }
  .kopf--schatten .marke__bild { height: 40px; }
  .marke__bild--fuss { height: 50px; }
  .held__knoepfe .knopf { width: 100%; text-align: center; }
  .formularrahmen { padding: 1.4rem; }
  /* Handy: der ganze Fuss zentriert, einheitlich mit Bewertung und Herkunft */
  .fuss__innen { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2.2rem; }
  .fuss__innen > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .marke__bild--fuss { margin-left: auto; margin-right: auto; }
  .fuss__nav { justify-self: center; justify-content: center; }
  /* Rahmen-Knoepfe im Kontakt untereinander, volle Breite, kein Versatz durch den Nachbarabstand */
  #kontakt .knopf--rand { display: block; width: 100%; text-align: center; margin: 0 0 0.6rem; }
  .zeiten th, .zeiten td { padding-right: 1rem; }
}
