/* ==========================================================================
   MLT Transport und Logistik GmbH
   Schrift: Barlow von Jeremy Tribby, SIL Open Font License 1.1
   ========================================================================== */

@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('../assets/fonts/barlow-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c40812;
  --red-dark: #9c060e;
  --ink: #14181c;
  --ink-soft: #242a30;
  --grey-900: #14181c;
  --grey-700: #4e5a63;
  --grey-500: #79848c;
  --grey-200: #dde1e4;
  --grey-100: #f4f5f6;
  --white: #ffffff;
  --black: #14181c;
  --max-width: 1180px;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(20, 24, 28, 0.05);
  --shadow-lg: 0 18px 44px rgba(20, 24, 28, 0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

strong {
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 26px;
}

section {
  padding: 84px 0;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
  max-width: 22ch;
}

.section-header.center h2.section-title {
  max-width: none;
}

/* Kleines Label ueber der Ueberschrift, mit kurzem roten Strich davor */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.section-header.center .section-eyebrow::before {
  display: none;
}

.section-sub {
  color: var(--grey-700);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 46px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.bg-light {
  background: var(--grey-100);
}

.bg-dark {
  background: var(--ink);
  color: var(--white);
}

.bg-dark .section-sub {
  color: #b9c2c8;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 24, 28, 0.25);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-outline.on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline.on-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

/* ---------------- Kopfzeile ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}

.site-header.scrolled,
.site-header.nav-open {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 9px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: grid;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  grid-area: 1 / 1;
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition), opacity var(--transition);
}

.logo-link .logo-dark {
  opacity: 0;
}

.site-header.scrolled .logo-link img,
.site-header.nav-open .logo-link img {
  height: 42px;
}

.site-header.scrolled .logo-light,
.site-header.nav-open .logo-light {
  opacity: 0;
}

.site-header.scrolled .logo-dark,
.site-header.nav-open .logo-dark {
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 9px 14px;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.site-header.scrolled .main-nav a,
.site-header.nav-open .main-nav a {
  color: var(--grey-700);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:hover,
.site-header.scrolled .main-nav a:hover,
.site-header.nav-open .main-nav a:hover {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active,
.site-header.scrolled .main-nav a.active,
.site-header.nav-open .main-nav a.active {
  color: var(--red);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta .phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition);
}

.site-header.scrolled .header-cta .phone-link,
.site-header.nav-open .header-cta .phone-link {
  color: var(--ink);
}

.header-cta .phone-link:hover {
  color: var(--red);
}

.header-cta .phone-link svg {
  width: 17px;
  height: 17px;
  stroke: var(--red);
}

.nav-phone {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.site-header.scrolled .nav-toggle span,
.site-header.nav-open .nav-toggle span {
  background: var(--ink);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Startseiten-Kopf mit Foto ---------------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(10, 13, 16, 0.94) 0%, rgba(10, 13, 16, 0.78) 45%, rgba(10, 13, 16, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 13, 16, 0.85) 0%, rgba(10, 13, 16, 0) 45%),
    url('../assets/flotte.jpg');
  background-size: cover;
  background-position: center 40%;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  padding: 150px 0 0;
}

.hero-content {
  max-width: 640px;
  padding-bottom: 54px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff8b90;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  margin-bottom: 20px;
}

.hero h1 span {
  color: #ff2b36;
}

.hero p {
  font-size: 1.12rem;
  color: #d4dade;
  max-width: 50ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Zahlenleiste am unteren Rand des Kopfbereichs */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats > div {
  padding: 22px 26px 26px 0;
}

.hero-stats > div + div {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 0.88rem;
  color: #9aa5ac;
  margin-top: 7px;
}

/* ---------------- Kopf der Unterseiten ---------------- */

.page-hero {
  position: relative;
  padding: 170px 0 74px;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(10, 13, 16, 0.95) 0%, rgba(10, 13, 16, 0.72) 100%),
    url('../assets/flotte-band.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff8b90;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero .breadcrumb::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.95rem, 4vw, 3rem);
  max-width: 20ch;
}

.page-hero p {
  position: relative;
  z-index: 2;
  color: #cfd6da;
  max-width: 58ch;
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ---------------- Raster und Karten ---------------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Karten sitzen buendig aneinander, getrennt nur durch feine Linien */
.card {
  background: var(--white);
  padding: 34px 30px;
  transition: background var(--transition);
  position: relative;
}

.card:hover {
  background: var(--grey-100);
}

.bg-dark .grid {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.bg-dark .card {
  background: var(--ink);
  color: var(--white);
}

.bg-dark .card:hover {
  background: var(--ink-soft);
}

.bg-dark .card p {
  color: #b9c2c8;
}

.card .icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.card .icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 9px;
}

.card p {
  color: var(--grey-700);
  font-size: 1rem;
}

/* ---------------- Einblenden beim Scrollen ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------------- Zweispaltige Abschnitte ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media .media-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--red);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  gap: 26px;
}

.split-media .media-badge strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
}

.split-media .media-badge span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.list-check {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.list-check li svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  stroke: var(--red);
  margin-top: 4px;
}

/* ---------------- Zahlenband ---------------- */

.stats-strip {
  background: var(--ink);
  color: var(--white);
  padding: 0;
}

.stats-strip .grid {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-strip .grid > div {
  background: var(--ink);
  padding: 46px 30px;
}

.stats-strip .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stats-strip .stat-label {
  color: #9aa5ac;
  margin-top: 9px;
  font-size: 0.95rem;
}

/* ---------------- Reiter ---------------- */

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--grey-200);
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 13px 20px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--grey-500);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInTab 0.35s ease;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Zeitleiste ---------------- */

.timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 34px;
  border-left: 1px solid var(--grey-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.timeline-item .year {
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 5px;
}

.timeline-item h4 {
  font-size: 1.15rem;
  margin-bottom: 7px;
}

.timeline-item p {
  color: var(--grey-700);
  max-width: 60ch;
}

/* ---------------- Fahrzeugkarten ---------------- */

.fleet-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fleet-card .fleet-media {
  height: 172px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.fleet-card .fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-card .fleet-media svg {
  width: 62px;
  height: 62px;
  stroke: var(--red);
}

.fleet-card .fleet-body {
  padding: 26px 24px;
  flex: 1;
}

.fleet-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.fleet-card p {
  color: var(--grey-700);
  font-size: 0.99rem;
}

.fleet-card .fleet-use {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-200);
  font-size: 0.92rem;
  color: var(--grey-500);
}

.fleet-card .fleet-use strong {
  color: var(--ink);
}

/* ---------------- Code XL Kennzeichnung ---------------- */

.badge-xl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.badge-xl svg {
  width: 13px;
  height: 13px;
  stroke: var(--white);
}

/* ---------------- Ablaufschritte ---------------- */

.step-card {
  position: relative;
  background: var(--white);
  padding: 32px 30px;
  border-top: 2px solid var(--red);
}

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.16rem;
  margin-bottom: 9px;
}

.step-card p {
  color: var(--grey-700);
  font-size: 1rem;
}

/* ---------------- Aufforderungsband ---------------- */

.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 72px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  max-width: 20ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
}

.cta-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--red);
}

.cta-band .btn-primary:hover {
  background: var(--ink);
  color: var(--white);
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
}

/* ---------------- Kontaktseite ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--ink);
  color: var(--white);
  padding: 38px 34px;
}

.contact-info-card h3 {
  margin-bottom: 26px;
  font-size: 1.25rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-row:last-of-type {
  border-bottom: none;
}

.contact-info-row svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-row strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-info-row span,
.contact-info-row a {
  display: block;
  color: #b9c2c8;
  font-size: 0.99rem;
}

.contact-info-row a:hover {
  color: var(--red);
}

/* ---------------- Karte ---------------- */

.map-card {
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1f24;
}

.map-frame {
  position: relative;
  height: 250px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  padding: 24px;
  background: #1a1f24;
}

.map-consent p {
  font-size: 0.88rem;
  color: #a7b1b8;
  max-width: 330px;
  line-height: 1.5;
}

.map-consent .btn {
  padding: 11px 22px;
  font-size: 0.93rem;
}

.map-tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 9px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  pointer-events: none;
  max-width: calc(100% - 20px);
}

.map-tag svg {
  width: 15px;
  height: 15px;
  stroke: var(--white);
  flex-shrink: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.map-actions button,
.map-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #cfd6da;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.map-actions button:hover,
.map-actions a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.map-actions svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

/* ---------------- Ansprechpartner ---------------- */

.person-card {
  background: var(--white);
  padding: 32px 28px;
  border-top: 2px solid var(--red);
}

.person-avatar {
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.person-card h3 {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.person-role {
  display: block;
  color: var(--red);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.person-card > p {
  color: var(--grey-700);
  font-size: 0.99rem;
  margin-bottom: 16px;
}

.person-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-200);
}

.person-contact a,
.person-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: color var(--transition);
}

.person-contact a:hover {
  color: var(--red);
}

.person-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  flex-shrink: 0;
}

/* ---------------- Formulare ---------------- */

.form-card {
  background: var(--white);
  padding: 38px 34px;
  border: 1px solid var(--grey-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 19px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a8b1b7;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Spamschutz: Rechenaufgabe */
.spam-check {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  padding: 16px 18px;
  margin-bottom: 19px;
}

.spam-check label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 7px;
}

.spam-check input {
  width: 110px;
  padding: 10px 12px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.spam-check .hint {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-top: 8px;
}

/* Honigtopf: fuer Menschen unsichtbar, Bots tragen hier ein */
.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.87rem;
  color: var(--grey-500);
  margin-top: 13px;
}

.form-note a {
  color: var(--red);
  text-decoration: underline;
}

.form-success {
  display: none;
  background: #edf7ee;
  border-left: 3px solid #3d8b40;
  color: #245c27;
  padding: 15px 18px;
  margin-bottom: 22px;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  background: #fdeeee;
  border-left: 3px solid var(--red);
  color: #8c1118;
  padding: 15px 18px;
  margin-bottom: 22px;
  font-weight: 500;
}

.form-error.show {
  display: block;
}

/* ---------------- Fusszeile ---------------- */

.site-footer {
  background: var(--ink);
  color: #9aa5ac;
  padding: 66px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.96rem;
  color: #8b959c;
  max-width: 34ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.97rem;
  color: #9aa5ac;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--red);
}

.footer-col .contact-line {
  display: flex;
  gap: 10px;
  font-size: 0.97rem;
  color: #9aa5ac;
  margin-bottom: 13px;
  align-items: flex-start;
}

.footer-col .contact-line svg {
  width: 17px;
  height: 17px;
  stroke: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: #6f7980;
}

.footer-bottom a:hover {
  color: var(--red);
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

/* ---------------- Rechtstexte ---------------- */

.legal-content {
  max-width: 76ch;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.legal-content p, .legal-content li {
  color: var(--grey-700);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
}

/* ---------------- Anrufknopf auf dem Handy ---------------- */

.floating-call {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  padding: 15px 22px;
  font-weight: 600;
  font-size: 1rem;
}

.floating-call svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ---------------- Hintergrund fuer das Menue ---------------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 16, 0.55);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------------- Kleinere Bildschirme ---------------- */

@media (max-width: 980px) {
  .header-cta .phone-link {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 6px 26px 20px;
    border-top: 1px solid var(--grey-200);
    box-shadow: 0 20px 36px rgba(20, 24, 28, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    color: var(--ink);
    padding: 15px 2px;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--grey-200);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-phone {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px !important;
    background: var(--red);
    color: var(--white) !important;
    font-weight: 600;
    border-bottom: none !important;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(10, 13, 16, 0.86) 0%, rgba(10, 13, 16, 0.76) 55%, rgba(10, 13, 16, 0.92) 100%),
      url('../assets/flotte.jpg');
  }

  .hero-inner {
    padding: 128px 0 0;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats > div {
    padding: 18px 16px 18px 0;
  }

  .hero-stats > div + div {
    padding-left: 16px;
  }

  .hero-stats > div:nth-child(3),
  .hero-stats > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stats > div:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-media {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-call {
    display: flex;
  }

  body {
    padding-bottom: 54px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 140px 0 54px;
  }

  .header-cta .btn {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .form-card,
  .contact-info-card {
    padding: 28px 22px;
  }

  .tab-btn {
    padding: 11px 14px;
    font-size: 0.95rem;
  }
}
