/* ============================================================
   TAXI PATZE – Stylesheet
   WCAG 2.1 AA · BFSG-konform · Keine externen Abhängigkeiten
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --c-yellow:       #F5C000;
  --c-yellow-dark:  #D4A500;
  --c-yellow-bg:    rgba(245, 192, 0, 0.12);
  --c-dark:         #1C1C1E;
  --c-dark-2:       #2C2C2E;
  --c-text:         #1C1C1E;
  --c-text-muted:   #555555;
  --c-bg:           #FFFFFF;
  --c-bg-light:     #F5F5F7;
  --c-border:       #D1D1D6;
  --c-white:        #FFFFFF;
  --c-error:        #C0392B;

  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --max-w:     1200px;
  --sp-xs:     0.5rem;
  --sp-sm:     1rem;
  --sp-md:     1.5rem;
  --sp-lg:     2rem;
  --sp-xl:     3rem;
  --sp-2xl:    5rem;

  --radius-sm: 6px;
  --radius:    12px;

  --shadow:    0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.12);

  --nav-h:     72px;
  --ease:      0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* --- Barrierefreiheit (BFSG / WCAG 2.1 AA) --- */
.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  transition: top var(--ease);
  text-decoration: underline;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem,    5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem,  3vw, 2.125rem); }
h3 { font-size: clamp(1.1rem,  2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { max-width: 65ch; }

.lead {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  max-width: 58ch;
}

.label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-yellow-dark);
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--sp-xl);
}
.section-header .lead { margin: 0.75rem auto 0; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section        { padding: var(--sp-2xl) 0; }
.section--light { background: var(--c-bg-light); }
.section--dark  { background: var(--c-dark); color: var(--c-white); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--c-dark);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--c-white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--c-yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-accent { color: var(--c-yellow); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.09);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
}
.nav__cta:hover { background: var(--c-yellow-dark); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  line-height: 0;
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; align-items: center; }
  .nav__cta    { display: none; }

  .nav__menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-dark-2);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-sm) var(--sp-md) var(--sp-md);
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: var(--shadow-lg);
  }
  .nav__menu.is-open { display: flex; }

  .nav__link { padding: 0.75rem 1rem; }

  .nav__menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--c-yellow);
    color: var(--c-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--primary  { background: var(--c-yellow); color: var(--c-dark); }
.btn--primary:hover  { background: var(--c-yellow-dark); }

.btn--dark  { background: var(--c-dark); color: var(--c-white); }
.btn--dark:hover  { background: var(--c-dark-2); }

.btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--lg { font-size: 1.0625rem; padding: 1rem 2.125rem; }

/* --- Hero (Startseite) --- */
.hero {
  background: var(--c-dark);
  color: var(--c-white);
  padding: var(--sp-2xl) 0;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,192,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner { max-width: 680px; position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 192, 0, 0.14);
  border: 1px solid rgba(245, 192, 0, 0.32);
  color: var(--c-yellow);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: var(--sp-md);
}

.hero__title {
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}
.hero__title-accent { color: var(--c-yellow); }

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: var(--sp-xl);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-yellow);
  display: block;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* --- Page Hero (Unterseiten) --- */
.page-hero {
  background: var(--c-dark);
  color: var(--c-white);
  padding: var(--sp-2xl) 0 var(--sp-xl);
}
.page-hero__title   { color: var(--c-white); margin-bottom: var(--sp-xs); }
.page-hero__subtitle {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.0625rem;
  max-width: 55ch;
  margin-top: 0.5rem;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--sp-md);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--c-yellow);
}
.service-card__icon {
  width: 54px;
  height: 54px;
  background: var(--c-yellow-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-md);
}
.service-card__title { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.service-card__text  { color: var(--c-text-muted); font-size: 0.9375rem; max-width: none; }

/* --- Features (Warum wir) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--sp-lg);
}

.feature {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
}
.feature__icon {
  width: 46px;
  height: 46px;
  background: var(--c-yellow-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feature__title { font-size: 1rem; margin-bottom: 0.25rem; }
.feature__text  { font-size: 0.9rem; color: var(--c-text-muted); max-width: none; }

/* --- CTA-Streifen --- */
.cta-strip {
  background: var(--c-yellow);
  padding: var(--sp-xl) 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.cta-strip__title    { color: var(--c-dark); font-size: clamp(1.25rem, 3vw, 1.625rem); }
.cta-strip__subtitle { color: rgba(28, 28, 30, 0.65); margin-top: 0.25rem; max-width: none; }
.cta-strip__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: 1.375rem;
  font-weight: 800;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius);
  letter-spacing: -0.02em;
  transition: background var(--ease);
  white-space: nowrap;
}
.cta-strip__phone:hover { background: var(--c-dark-2); }

/* --- Leistungen Detail --- */
.leistung {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--c-border);
}
.leistung:last-child { border-bottom: none; }

.leistung__icon {
  width: 72px;
  height: 72px;
  background: var(--c-yellow-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  flex-shrink: 0;
}
.leistung__title { margin-bottom: 0.5rem; }
.leistung__text  { color: var(--c-text-muted); max-width: none; }
.leistung__text  + .leistung__text { margin-top: 0.75rem; }

/* --- Preise --- */
.price-note {
  background: rgba(245, 192, 0, 0.1);
  border-left: 4px solid var(--c-yellow);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--sp-xl);
}
.price-note p { max-width: none; color: var(--c-text-muted); }
.price-note p + p { margin-top: 0.5rem; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: var(--sp-xl);
}
.price-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 0 0.75rem;
  color: var(--c-text);
}
.price-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--c-dark);
  color: var(--c-white);
  font-weight: 600;
  white-space: nowrap;
}
.price-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.price-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.price-table tr:nth-child(even) td { background: var(--c-bg-light); }

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-2xl);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info__item:first-child { padding-top: 0; }
.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--c-yellow-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-muted);
  margin-bottom: 0.25rem;
}
.contact-info__value      { font-size: 1rem; font-weight: 500; }
.contact-info__value a    { border-bottom: 1px solid var(--c-yellow); transition: color var(--ease); }
.contact-info__value a:hover { color: var(--c-yellow-dark); }

/* Karte */
.map-link-box {
  background: var(--c-bg-light);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  margin-top: var(--sp-xl);
}
.map-link-box p { margin: 0 auto var(--sp-sm); color: var(--c-text-muted); }

/* Kontaktformular */
.form-group   { margin-bottom: var(--sp-md); }
.form-label   {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-label--req::after { content: ' *'; color: var(--c-error); }

.form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 3px rgba(245, 192, 0, 0.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.form-privacy {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}
.form-privacy a { border-bottom: 1px solid var(--c-yellow); color: var(--c-dark); }
.form-privacy a:hover { color: var(--c-yellow-dark); }

.form-required-hint {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
}

/* --- Footer --- */
.footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.68);
  padding-top: var(--sp-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}
.footer__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--c-yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 34ch;
  margin-bottom: var(--sp-lg);
}

.footer__contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ease);
}
.footer__contact-link:hover { color: var(--c-yellow); }

.footer__col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-white);
  margin-bottom: var(--sp-md);
}

.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--ease);
}
.footer__links a:hover { color: var(--c-yellow); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding: var(--sp-md) 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer__legal {
  display: flex;
  gap: var(--sp-md);
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--ease);
}
.footer__legal a:hover { color: var(--c-yellow); }

/* --- Rechtliche Seiten --- */
.legal-content { max-width: 820px; }

.legal-content h2 {
  font-size: 1.1875rem;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-yellow);
}
.legal-content h3 { font-size: 1rem; margin-top: var(--sp-md); margin-bottom: 0.4rem; }
.legal-content p  { margin-bottom: var(--sp-sm); color: var(--c-text-muted); max-width: none; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--sp-sm);
}
.legal-content ul li { color: var(--c-text-muted); margin-bottom: 0.25rem; }
.legal-content a {
  color: var(--c-dark);
  border-bottom: 1px solid var(--c-yellow);
}
.legal-content a:hover { color: var(--c-yellow-dark); }
.legal-content .highlight-box {
  background: var(--c-yellow-bg);
  border-left: 4px solid var(--c-yellow);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--sp-lg) 0;
}
.legal-content .highlight-box p { color: var(--c-text); }

/* --- Responsive --- */
@media (max-width: 960px) {
  .contact-grid    { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr 1fr; }
  .footer__brand   { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --sp-2xl: 3.5rem; --sp-xl: 2rem; }

  .hero__stats    { gap: var(--sp-lg); }
  .form-row       { grid-template-columns: 1fr; }
  .leistung       { grid-template-columns: 1fr; }
  .leistung__icon { width: 56px; height: 56px; font-size: 1.5rem; }

  .cta-strip__inner  { flex-direction: column; text-align: center; }
  .cta-strip__phone  { width: 100%; justify-content: center; font-size: 1.25rem; }

  .footer__grid   { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* --- Druckansicht --- */
@media print {
  .nav, .footer, .skip-link, .btn, .cta-strip, .nav__toggle {
    display: none !important;
  }
  body { color: #000; background: #fff; }
  .hero, .page-hero { background: #f5f5f5; color: #000; min-height: auto; padding: 2rem 0; }
  .hero__title, .page-hero__title, .hero__subtitle, .page-hero__subtitle { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}
