/* ==========================================================================
   TAXI NEUMEIER e.K. – Deggendorf
   Stylesheet · keine externen Ressourcen (DSGVO-freundlich, cookiefrei)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --gold:        #f2e205;   /* Zitronengelb, 14:1 auf Ink                */
  --gold-deep:   #dccb00;   /* Flaechen und Hover, nie fuer Text auf Hell */
  --gold-text:   #6f6600;   /* Textgelb, 5.9:1 auf Weiss (WCAG AA)        */
  --gold-soft:   #fbf9d9;
  --ink:         #101215;
  --ink-2:       #1b1e24;
  --ink-3:       #2a2e36;
  --paper:       #ffffff;
  --paper-warm:  #f8f6f1;
  --paper-line:  #e7e3da;   /* dekorative Trennlinien                    */
  --field-line:  #948a77;   /* Formularrahmen, 3.4:1 auf Weiss (WCAG AA) */
  --text:        #23262c;
  --muted:       #666d78;
  --muted-dark:  #a8afba;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(16, 18, 21, .06);
  --shadow:    0 12px 32px -12px rgba(16, 18, 21, .22);
  --shadow-lg: 0 28px 64px -20px rgba(16, 18, 21, .38);

  --font: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Inter", Arial, sans-serif;

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ==========================================================================
   Schreibschrift für die Überschrift auf der Startseite.
   Liegt auf dem eigenen Server – es wird nichts von Google geladen.
   Grand Hotel, SIL Open Font License, Lizenztext in assets/fonts/OFL.txt
   ========================================================================== */
@font-face {
  font-family: "Grand Hotel";
  src: url("../fonts/GrandHotel.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  /* Die Seite ist hell gestaltet. Ohne diese Angabe faerben Browser mit
     erzwungenem Dunkelmodus Formularfelder und Scrollbalken dunkel ein. */
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;   /* Notbremse: nichts ragt aus dem Bildschirm */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
/* Lange deutsche Komposita nur dort trennen, wo der Platz wirklich knapp wird */
@media (max-width: 560px) {
  h1, h2, h3, .legal p, .legal li { -webkit-hyphens: auto; hyphens: auto; }
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
/* fester Kopfbereich: Sprungmarken nicht unter die Leiste rutschen lassen */
section[id], main[id], .page[id] { scroll-margin-top: 96px; }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--ink); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Typografie-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section--dark .eyebrow,
.pagehead .eyebrow { color: var(--gold); }

.h-xl { font-size: clamp(2.3rem, 6.4vw, 4.4rem); }
.h-lg { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--muted-dark); }
.measure { max-width: 68ch; }

/* Nur fuer Bildschirmleser: sichtbar ausgeblendet, aber vorgelesen.
   Die Klammer-Technik ist der alten Verschiebung nach links (-9999px)
   vorzuziehen - dort bleibt das Element im Layout und kann waagrechtes
   Scrollen ausloesen. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s,
              border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(242, 226, 5, .85); }
.btn--gold:hover { background: var(--gold-deep); box-shadow: 0 16px 34px -12px rgba(242, 226, 5, .95); }

.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }

.btn--outline { border-color: var(--paper-line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Wortmarke
   ========================================================================== */
.brand {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; font-weight: 800; letter-spacing: .02em;
  line-height: 1; white-space: nowrap;
}
/* Firmenlogo: als Maske eingebunden, damit es die Farbe der Umgebung annimmt –
   hell auf dem dunklen Kopfbereich und in der Fußzeile, dunkel auf hellem Grund.
   Ohne Masken-Unterstützung bleibt es unsichtbar statt als Klotz zu erscheinen. */
.brand__logo { display: none; }
@supports ((-webkit-mask-image: url("#")) or (mask-image: url("#"))) {
  .brand__logo {
    display: block; flex: none;
    /* Grundgröße für den Menümodus (561–1150 px) – dort ist viel Platz.
       Das Auto ist 401:150 breit zu hoch, die Breite bestimmt also die Größe. */
    width: 4.2em; height: 1.65em; margin-right: 5px;
    background-color: currentColor;
    /* Langform statt Kurzschreibweise: eindeutiger und breiter unterstützt */
    -webkit-mask-image: url("../img/logo.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    -webkit-mask-size: contain;
    mask-image: url("../img/logo.png");
    mask-repeat: no-repeat;
    mask-position: left center;
    mask-size: contain;
  }
}
/* In der vollen Leiste teilt sich das Logo den Platz mit der Navigation:
   bei 1151 px sind nur 17 px frei, ab 1200 px sind es 46 px. */
@media (min-width: 1200px) { .brand__logo { width: 2.5em; height: 1.05em; margin-right: 3px; } }
@media (min-width: 1200px) { .brand__logo { width: 3.8em; height: 1.5em; margin-right: 4px; } }
@media (max-width: 560px)  { .brand__logo { display: none; } }

.brand__taxi {
  color: var(--gold); border: 2px solid var(--gold);
  border-radius: 5px; padding: 5px 7px 4px; font-size: .98rem;
}
.brand__name {
  border: 2px solid currentColor; border-radius: 5px;
  padding: 5px 7px 4px; font-size: .98rem;
}
.brand__ek { font-size: .76rem; font-weight: 700; opacity: .75; align-self: flex-end; padding-bottom: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              color .35s var(--ease), backdrop-filter .35s;
  color: #fff;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 82px;
}
.site-header--solid {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--paper-line), 0 8px 26px -22px rgba(0, 0, 0, .6);
}
/* Innenseiten ohne Hero starten direkt hell */
.site-header--static { position: sticky; }

/* Auf hellem Kopf wird das TAXI-Feld gefuellt – wie auf dem Firmenschild
   und deutlich besser lesbar als Gold auf Weiss. */
.site-header--solid .brand__taxi { background: var(--gold); color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 9px; border-radius: 999px; transition: background-color .2s, color .2s;
  position: relative;
}
.nav a:hover { background: rgba(255, 255, 255, .14); }
.site-header--solid .nav a:hover { background: rgba(16, 18, 21, .07); }
.nav a[aria-current="page"] { color: var(--gold-text); }
.site-header:not(.site-header--solid) .nav a[aria-current="page"] { color: var(--gold); }

.header-cta { display: inline-flex; align-items: center; gap: 9px; }
.header-cta .btn { padding: 12px 22px; font-size: .95rem; }

/* ---------- Sprachumschalter ---------- */
.lang {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 6px;
  border: 1px solid currentColor; border-radius: 999px; padding: 2px;
}
.lang a {
  padding: 5px 9px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  letter-spacing: .05em; text-decoration: none; line-height: 1.2;
  transition: background-color .2s, color .2s;
}
.lang a:hover { background: rgba(255, 255, 255, .16); }
.site-header--solid .lang { border-color: rgba(16, 18, 21, .22); }
.site-header--solid .lang a:hover { background: rgba(16, 18, 21, .07); }
.lang a[aria-current] { background: var(--gold); color: var(--ink); }
.lang a[aria-current]:hover { background: var(--gold); }

/* Im aufgeklappten Menue: .nav a steht spaeter im Stylesheet und ist gleich
   spezifisch – deshalb hier ueber .nav .lang a hoeher gewichten. */
@media (max-width: 1199px) {
  .nav .lang {
    margin: 22px 8px 4px; align-self: flex-start;
    border-color: rgba(255, 255, 255, .32);
  }
  .nav .lang a {
    padding: 11px 20px; font-size: 1rem;
    border-bottom: 0; border-radius: 999px;
  }
  .nav .lang a:hover { background: rgba(255, 255, 255, .12); }
  .nav .lang a[aria-current],
  .nav .lang a[aria-current]:hover { background: var(--gold); color: var(--ink); }
}

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent;
  color: inherit; cursor: pointer; align-items: center; justify-content: center;
  border-radius: 12px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .2s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Ab hier klappt die Navigation ins Menue. Der Umschaltpunkt liegt bei 1150 px,
   weil die laengeren englischen Menuepunkte darunter zweizeilig umbrechen und
   der Anruf-Knopf aus dem Bild geschoben wird. */
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 82px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); color: #fff;
    padding: 14px var(--gut) 30px;
    transform: translateY(-140%); opacity: 0; visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s, visibility .3s;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto;
  }
  .nav-open .nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a {
    padding: 16px 8px; border-radius: 0; font-size: 1.1rem; font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav a:hover { background: rgba(255, 255, 255, .06); }
  .site-header--solid .nav a[aria-current="page"],
  .nav a[aria-current="page"] { color: var(--gold); }
}

/* Die Rufnummer im Kopf bleibt sichtbar, solange sie Platz hat */
@media (max-width: 900px) {
  .header-cta .btn--phone-label { display: none; }
}

/* Schmale Displays: Kopfzeile muss brandinglos passen, Menue bleibt erreichbar */
@media (max-width: 720px) {
  /* Anrufen steckt bereits in der festen Leiste am unteren Rand */
  .header-cta .btn { display: none; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; padding-inline: 22px; }
  .brand { gap: 5px; }
  .brand__taxi, .brand__name { font-size: .98rem; padding: 4px 6px 3px; }
  .site-header__inner { gap: 12px; min-height: 72px; }
  .nav { inset-block-start: 72px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); }
}
@media (max-width: 340px) {
  .brand__taxi, .brand__name { font-size: .88rem; }
  .brand__ek { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color: #fff; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,18,21,.86) 0%, rgba(16,18,21,.62) 34%, rgba(16,18,21,.80) 78%, rgba(16,18,21,.96) 100%),
    linear-gradient(100deg, rgba(16,18,21,.86) 0%, rgba(16,18,21,.18) 62%);
}
.hero__inner { padding-block: clamp(140px, 20vw, 200px) clamp(60px, 8vw, 96px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(242, 226, 5, .14); border: 1px solid rgba(242, 226, 5, .45);
  color: var(--gold); border-radius: 999px; padding: 8px 18px;
  font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(242, 226, 5, .7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(242, 226, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 226, 5, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__badge .dot { animation: none; } }
@media (max-width: 480px) {
  .hero__badge { font-size: .78rem; letter-spacing: .07em; padding: 7px 14px; }
}

.hero h1 {
  max-width: 18ch; text-wrap: balance;
  font-family: "Grand Hotel", "Segoe Script", cursive;
  font-weight: 400;          /* die Schrift hat nur einen Schnitt */
  letter-spacing: 0;          /* enge Laufweite passt nicht zu Schreibschrift */
  line-height: 1.24;          /* Ober- und Unterlängen brauchen Luft */
  font-size: clamp(2.9rem, 7.6vw, 5.2rem);   /* Schreibschrift wirkt kleiner */
}
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero__sub {
  margin: 26px 0 34px; font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: rgba(255, 255, 255, .84); max-width: 52ch;
}

.hero__phone {
  display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__phone small {
  display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58); font-weight: 700; margin-bottom: 4px;
}
.hero__phone strong {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em;
  color: #fff; transition: color .2s;
}
.hero__phone:hover strong { color: var(--gold); }

/* Kennzahlen-Leiste */
.hero__facts { border-top: 1px solid rgba(255, 255, 255, .13); background: var(--ink); }
.hero__facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__facts .fact { padding: 26px; border-left: 1px solid rgba(255, 255, 255, .13); }
.hero__facts .fact:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { display: block; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--gold); }
.hero__facts span { font-size: .84rem; color: var(--muted-dark); }
@media (max-width: 780px) {
  .hero__facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero__facts .fact { padding: 20px; }
  .hero__facts .fact:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .hero__facts .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .13); }
}

/* Kompakter Seitenkopf (Unterseiten) */
.pagehead { background: var(--ink); color: #fff; padding: clamp(120px, 16vw, 160px) 0 clamp(48px, 7vw, 80px); }
.pagehead h1 { max-width: 20ch; }
.pagehead .lead { margin-top: 20px; color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Leistungen
   ========================================================================== */
.grid-services {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 48px;
}
.card {
  background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 32px 30px 34px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-text); margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ==========================================================================
   Fuhrpark / Galerie
   ========================================================================== */
.gallery {
  display: grid; gap: 18px; margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.gallery__item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); cursor: zoom-in; border: 0; padding: 0; display: block;
  text-align: left; width: 100%; color: #fff; aspect-ratio: 4 / 5;
}
.gallery__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s;
}
.gallery__item:hover img { transform: scale(1.06); opacity: .82; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 620px) {
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 46px 22px 20px;
  background: linear-gradient(to top, rgba(16,18,21,.94), rgba(16,18,21,0));
}
.gallery__cap strong { display: block; font-size: 1.08rem; font-weight: 800; }
.gallery__cap span { font-size: .87rem; color: rgba(255, 255, 255, .74); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  place-items: center; padding: 24px;
  background: rgba(10, 11, 13, .94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1000px, 92vw); max-height: 82vh; width: auto;
  border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.lightbox figcaption { color: #fff; text-align: center; margin-top: 18px; font-weight: 600; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem;
  cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .18); }

/* ==========================================================================
   Split / Über uns
   ========================================================================== */
.split {
  display: grid; gap: clamp(32px, 6vw, 72px); align-items: center;
  grid-template-columns: 1.05fr 1fr;
}
.split--flip .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }
.split__media--frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
}

.ticks { display: grid; gap: 14px; margin: 28px 0 0; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--gold-text); margin-top: 2px; }
.section--dark .ticks svg { color: var(--gold); }

/* ==========================================================================
   Bewertung  (verlinkt nur – es wird nichts von Google nachgeladen)
   ========================================================================== */
.bewertung {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 30px;
  padding: 16px 22px; border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.bewertung:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); }

.sterne {
  position: relative; display: inline-block; flex: none;
  font-size: 1.25rem; line-height: 1; letter-spacing: 3px;
  color: rgba(255, 255, 255, .28);
}
.sterne::before { content: "★★★★★"; }
.sterne__voll {
  position: absolute; inset: 0; overflow: hidden; white-space: nowrap;
  color: var(--gold);
}
.sterne__voll::before { content: "★★★★★"; }

.bewertung__zahl { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.bewertung__zahl span { font-size: .95rem; font-weight: 600; color: var(--muted-dark); }
.bewertung__quelle { display: block; font-size: .84rem; color: var(--muted-dark); margin-top: 3px; }
.bewertung__hinweis { font-size: .82rem; color: var(--muted-dark); margin: 14px 0 0; max-width: 46ch; }

/* Aufforderung, selbst zu bewerten – führt direkt zum Bewertungsformular */
.bewerten {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: .92rem; font-weight: 700; color: var(--gold);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.bewerten:hover { border-bottom-color: var(--gold); }
.bewerten svg { width: 15px; height: 15px; }

@media (max-width: 480px) {
  .bewertung { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
}

/* ==========================================================================
   Preise
   ========================================================================== */
.price-grid {
  display: grid; gap: 20px; margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.price-card {
  border: 1px solid var(--paper-line); border-radius: var(--r-lg); background: #fff;
  padding: 30px; display: flex; flex-direction: column; gap: 6px;
}
.price-card--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card__label {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 800; color: var(--muted);
}
.price-card--accent .price-card__label { color: var(--gold); }
.price-card__value { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.price-card__note { font-size: .92rem; color: var(--muted); margin: 0; }
.price-card--accent .price-card__note { color: var(--muted-dark); }

.table-wrap { overflow-x: auto; margin-top: 32px; -webkit-overflow-scrolling: touch; }
table.tariff {
  width: 100%; border-collapse: collapse; min-width: 520px;
  background: #fff; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.tariff th, table.tariff td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--paper-line); }
table.tariff thead th {
  background: var(--ink); color: #fff; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
}
table.tariff tbody tr:last-child td { border-bottom: 0; }
table.tariff tbody tr:nth-child(even) { background: var(--paper-warm); }
table.tariff td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
table.tariff .sub { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }

/* Auf schmalen Displays muss die Preisspalte ohne seitliches Wischen sichtbar
   sein – sonst sieht man die Position, aber nicht den Preis. Die Mindestbreite
   entfaellt, der Text umbricht stattdessen. Die Tabellenstruktur bleibt erhalten,
   damit Screenreader Zeile und Spalte weiterhin korrekt vorlesen. */
@media (max-width: 560px) {
  table.tariff { min-width: 0; }
  table.tariff th, table.tariff td { padding: 14px 12px; }
  table.tariff td:first-child { padding-right: 6px; }
  table.tariff td:last-child { padding-left: 6px; }
  table.tariff .sub { font-size: .8rem; line-height: 1.4; }
}

.note {
  margin-top: 24px; padding: 20px 24px; border-left: 3px solid var(--gold);
  background: var(--gold-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .95rem; color: #55500a;
}
.note p:last-child { margin: 0; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid {
  display: grid; gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr 1.05fr; align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 4px; }
.info-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--paper-line);
  text-decoration: none;
}
.section--dark .info-row { border-color: rgba(255, 255, 255, .12); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon {
  width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-text);
}
.section--dark .info-row__icon { background: rgba(242, 226, 5, .14); color: var(--gold); }
.info-row__icon svg { width: 21px; height: 21px; }
.info-row dt, .info-row__label {
  display: block;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 800; color: var(--muted); margin-bottom: 3px;
}
.section--dark .info-row__label { color: var(--muted-dark); }
.info-row__value { display: block; font-size: 1.08rem; font-weight: 700; }
.info-row__note { display: block; font-size: .95rem; color: var(--muted); }
a.info-row:hover .info-row__value { color: var(--gold-text); }
.section--dark a.info-row:hover .info-row__value { color: var(--gold); }

/* Formular */
.form-card {
  background: #fff; border: 1px solid var(--paper-line);
  border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.field .req { color: #c0392b; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--field-line); border-radius: var(--r-sm);
  background: var(--paper-warm); color: var(--text);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 226, 5, .18);
}
/* Der native Aufklapp-Pfeil sitzt rechts IM Feld und legt sich sonst ueber
   die letzten Zeichen langer Eintraege. Deshalb dort mehr Abstand als bei
   input/textarea; was dann immer noch zu lang ist, endet sauber mit "…".
   Die Schriftgroesse bleibt bei 16px - darunter zoomt iOS beim Antippen
   ungefragt in die Seite hinein. */
.field select { padding-right: 38px; text-overflow: ellipsis; }

.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 24px; height: 24px; flex: none; margin-top: 0; accent-color: var(--gold-deep); }
.check a { color: var(--text); font-weight: 700; }

.form-hint { font-size: .86rem; color: var(--muted); margin-top: 16px; }

/* ==========================================================================
   Streifen-CTA
   ========================================================================== */
.cta-strip { background: var(--gold); color: var(--ink); }
.cta-strip .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 62px);
}
.cta-strip h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); max-width: 22ch; }
.cta-strip p { margin: 10px 0 0; color: rgba(16, 18, 21, .75); font-weight: 600; }

/* ==========================================================================
   Rechtstexte
   ========================================================================== */
.legal { max-width: 78ch; }
.legal h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 48px 0 14px;
  padding-top: 26px; border-top: 1px solid var(--paper-line);
}
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.06rem; margin: 28px 0 10px; }
.legal p, .legal li { color: #3d424b; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal .upper { font-size: .93rem; background: var(--paper-warm); padding: 20px 24px; border-radius: var(--r-sm); }

.data-list { display: grid; gap: 0; margin-top: 8px; }
.data-list > div {
  display: grid; grid-template-columns: 210px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--paper-line);
}
.data-list dt { font-weight: 700; color: var(--muted); font-size: .95rem; }
.data-list dd { margin: 0; font-weight: 600; }
@media (max-width: 620px) {
  .data-list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 84px) 0 0; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-grid h3 {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 800;
}
.footer-grid a { text-decoration: none; color: rgba(255, 255, 255, .76); transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid li { margin-bottom: 10px; }
.footer-grid p { color: rgba(255, 255, 255, .66); font-size: .95rem; }
.footer-brand .brand { margin-bottom: 20px; }

/* Profile in der Kopfleiste: schlichte Zeichen, keine Kreise – sie sitzen in der
   Navigation und wandern dadurch auf schmalen Displays automatisch ins Menü. */
.social--kopf { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.social--kopf a {
  display: grid; place-items: center; width: 26px; height: 26px;
  padding: 0;          /* sonst erbt es das Polster der Menüpunkte und rutscht nach unten */
  border-radius: 50%; opacity: .85;
  transition: color .2s, opacity .2s;
}
.social--kopf a:hover { color: var(--gold); opacity: 1; }
.social--kopf svg { display: block; width: 19px; height: 19px; }

@media (max-width: 1199px) {
  /* im aufgeklappten Menü größer und mit Abstand */
  .social--kopf { margin: 20px 8px 6px; gap: 14px; }
  .social--kopf a {
    width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; opacity: 1;
  }
  .social--kopf svg { width: 21px; height: 21px; }
}

/* Verweise auf die Profile – reine Links, es wird nichts von Meta nachgeladen */
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: border-color .2s, color .2s, background-color .2s;
}
.social a:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(255, 255, 255, .07);
}
.social svg { display: block; width: 21px; height: 21px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .88rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom a {
  text-decoration: none; color: inherit;
  /* Trefferflaeche auf 24px Hoehe bringen (WCAG 2.5.8). Das senkrechte Polster
     vergroessert nur den anklickbaren Bereich, nicht die Zeilenhoehe; das
     waagrechte wird per negativem Rand wieder ausgeglichen, damit der Abstand
     zum Trennpunkt gleich bleibt. */
  padding: 6px 4px; margin: 0 -4px;
}
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Mobile Aktionsleiste
   ========================================================================== */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 18, 21, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.callbar .btn { flex: 1; padding: 14px 12px; font-size: .95rem; }
@media (max-width: 720px) {
  .callbar { display: flex; }
  body { padding-bottom: 78px; }
}

/* ==========================================================================
   Scroll-Animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  /* Das Menue faehrt sonst um 140 % der eigenen Hoehe herein - die groesste
     Bewegung der Seite. Es blendet stattdessen ohne Fahrt ein. */
  .nav { transition: none !important; }
  .lightbox { transition: none !important; }
}

/* ==========================================================================
   Druck – Browser drucken Hintergruende nicht mit. Ohne diese Regeln waere
   weisse Schrift auf dunklen Flaechen (Preistabelle, Seitenkopf) unsichtbar.
   ========================================================================== */
@media print {
  .site-header, .callbar, .cta-strip, .site-footer,
  .nav-toggle, .lightbox, .skip, .hero__media { display: none !important; }

  body { padding: 0; background: #fff; color: #000; font-size: 11pt; }
  .section, .pagehead, .hero__inner { padding-block: 14pt !important; }

  /* Alle dunklen Flaechen auf Papier umdrehen */
  .hero, .pagehead, .section--dark, .price-card--accent,
  .hero__facts, table.tariff thead th {
    background: #fff !important; color: #000 !important;
  }
  .hero *, .pagehead *, .section--dark *, .price-card--accent *,
  .hero__facts *, .eyebrow, .price-card__label, .lead {
    color: #000 !important;
  }

  a { color: #000; text-decoration: underline; }
  .btn { border: 1px solid #000 !important; box-shadow: none !important; background: #fff !important; }
  .card, .price-card, .form-card, table.tariff, .split__media img {
    border: 1px solid #999 !important; box-shadow: none !important;
  }
  table.tariff thead th { border-bottom: 2px solid #000; }
  table.tariff tbody tr:nth-child(even) { background: #fff; }
  .note { border-left: 3px solid #000; background: #fff; color: #000; }

  img { max-width: 70mm; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .split, .card, .price-card, .gallery__item, table.tariff tr { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }

  /* Adressen ausgeschriebener Links mitdrucken */
  .legal a[href^="http"]::after,
  .legal a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

/* ==========================================================================
   Tastaturfokus – ganz am Ende, damit er ueber jeder Komponente liegt.
   Goldener Ring innen + dunkler Ring aussen: gut sichtbar auf hellem UND
   dunklem Untergrund (WCAG 2.4.11, mind. 3:1 gegen die Umgebung).
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 0;
  box-shadow: 0 0 0 6px rgba(16, 18, 21, .92);
}
.site-footer a:focus-visible,
.section--dark a:focus-visible,
.hero a:focus-visible,
.callbar a:focus-visible {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .55);
}
