:root {
  --primary: #ffd500; /* Blitzgelb */
  --secondary: #0d0d0d; /* Tiefschwarz */
  --accent: #ff1e1e; /* Racing Rot */
  --accent-dark: #cc0000; /* Dunkleres Rot */
  --light: #b3b3b3; /* Metallic Grau */
  --bg: #0b0b0d; /* Seiten-Hintergrund */
  --text: #d1d5db; /* Basis-Text hell */
  --muted: #9ca3af; /* Sekundärtext */
  --card: #111318; /* Karten dunkel */
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.15);
  --max: 1200px;
}



/* ---- Base / Reset ---- */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0 0 0.6rem;
}
p {
  margin: 0.2rem 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 80px 0;
}
@media (min-width: 992px) {
  .section {
    padding: 100px 0;
  }
}


/* ---- Header / Nav ---- */
/* === Base === */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  z-index: 50;
  transition: all 0.3s ease;
}
.header.nav-scrolled {
  background: #000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(150%) blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;  /* vertikale Zentrierung */
  height: 100%;         /* gleiche Höhe wie der Nav-Bar Bereich */
  text-decoration: none;
  z-index: 10;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text); 
  font-family: 'Montserrat', sans-serif;
}


.logo-text {
  color: var(--accent); 
}



.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
  font-weight: 600;
  padding: 18px 0;
}

.nav__link {
  position: relative;
  transition: color 0.2s;
}
.nav__link:hover {
  color: var(--accent);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

/* === Mobile menu === */
.mobile {
  display: none;
  background: #000;
  color: #fff;
  
}
.mobile.open {
  display: block;
}
.mobile__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0;
}
.mobile__link {
  padding: 10px 4px;
  font-weight: 500;
  font-size: 16px;
}

/* === Breakpoints === */

/* Smartphone: bis 767px */
@media (max-width: 767px) {
  .header {
    background: #000;
  }
  .nav__links {
    display: none; /* Hauptnavigation versteckt */
  }
  .nav__toggle {
    display: inline-flex; /* Burger-Button sichtbar */
  }
  .nav__logo {
    height: 60px; /* etwas kleiner */
  }
}

/* Tablet: 768px–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav__links {
    display: flex;
    gap: 20px;
  }

  .nav__toggle {
    display: none; /* Burger nicht mehr nötig */
  }

  .nav__logo {
    height: 70px;
  }

  .nav {
    padding-inline: 32px; /* Fügt links & rechts Abstand hinzu */
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .nav {
    padding-inline: 40px; /* oder z.B. 5vw */
  }
}

/* Desktop: ab 1024px */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
    gap: 32px;
  }
  .nav__toggle {
    display: none;
  }
  .nav__logo {
    height: 80px;
  }
}

/* ========================= */
/* === BASE HERO STYLES ==== */
/* ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),  url("images/hero-bg5.webp") center/cover no-repeat;
  text-align: center;
}

.hero__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.hero__title,
.hero__lead {
  color: #ffffff; /* oder #f9fafb, für softer */
}


.hero__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero__title span {
  color: var(--accent);
}

.hero__lead {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 28px;
}

.highlight {
  display: block;
  color: red;
}

.hero__image-wrapper {
  position: relative;
  flex: 1 1 500px;
  max-width: 600px;
}

.hero__image {
  width: 100%;
  display: block;
}

.hero__image-wrapper:hover .hero__overlay::after {
  opacity: 1;
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  min-width: 200px;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn:hover {
  transform: scale(1.05);
}
.btn--primary {
  background: var(--primary);
  color: #000;
}
.btn--primary:hover {
  background: #ffe65a;
  box-shadow: 0 8px 24px rgba(255, 213, 0, 0.25);
}
.btn--outline {
  border: 2px solid var(--primary);
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #000;
}

/* === Scroll down icon === */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  animation: bounce 1.2s infinite;
  color: #fff;
  font-size: 26px;
}
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-down {
    animation: none;
  }
}

/* ========================= */
/* === RESPONSIVE STYLES === */
/* ========================= */

/* === max-width: 991px (Tablet & Mobile) === */
@media (max-width: 991px) {
  .hero {
    background-position: 68% 50%;
  }

  .hero__title,
  .hero__lead {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
  }
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__content,
  .hero__image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero__overlay::after {
    left: 50%;
    transform: translate(-50%, -10px);
  }
}

/* === min-width: 992px (Desktop) === */
@media (min-width: 992px) {
  .hero__title,
  .hero__lead {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.85);
  }

  .hero__title {
    font-size: 62px;
  }

  .hero__title span {
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }

  .hero__lead {
    font-size: 21px;
  }
}

/* === Querformat Phones (landscape & max-height: 500px) === */
@media (orientation: landscape) and (max-height: 500px) {
  .mobile__link {
    font-size: 14px;
  }

  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
  }

  .hero__inner {
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
  }

  .hero__content {
    transform: none;
  }

  .hero__title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hero__lead {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
    min-width: 160px;
  }
}



/* ---------- Section Head (responsiv) ---------- */
.section__head {
  text-align: center;
  margin-bottom: 28px; /* etwas kompakter auf Mobile */
}
.section__head p {
  margin-top: 0.75rem;
  color: #f5f6f8;
}
.section__title {
  font-size: 26px; /* mobile-first */
  font-weight: 800;
}
.section__bar {
  width: 72px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 12px auto 0;
}
.section__sub {
  max-width: 820px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Tablet: 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .section__head {
    margin-bottom: 32px;
  }
  .section__title {
    font-size: 32px;
  }
  .section__bar {
    width: 80px;
    margin-top: 14px;
  }
  .section__sub {
    font-size: 16px;
  }
}

/* Desktop: ≥1024px */
@media (min-width: 1024px) {
  .section__head {
    margin-bottom: 36px;
  }
  .section__title {
    font-size: 40px;
  }
  .section__bar {
    width: 84px;
    margin-top: 14px;
  }
  .section__sub {
    font-size: 17px;
  }
}

/* ---------- Services Grid ---------- */
.services {
  background: #f6f7f9;
  color: #111;
}
.services .section__sub {
  color: #6b7280;
}

/* mobile-first: 1 Spalte */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch; /* Cards gleich hoch per min-height */
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
  .grid {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop: 3 Spalten */
@media (min-width: 1100px) {
  .grid {
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Card (responsiv, ohne starre Breite/Höhe) ---------- */
.card {
  background: #fff;
  width: 100%; /* statt 25rem */
  min-height: 15rem; /* statt fixer Höhe 20rem */
  border-radius: var(--radius);
  padding: 18px; /* mobile kompakter */
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
}

/* Tablet */
@media (min-width: 768px) {
  .card {
    padding: 22px;
    min-height: 18rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .card {
    padding: 26px;
    min-height: 20rem;
  }
}

/* Hover bleibt gleich (greift eh nicht auf Touch) */
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

/* ---------- Card Inhalte ---------- */
.card__icon {
  width: 56px;
  height: 56px; /* mobile kleiner */
  border-radius: 14px;
  background: rgba(255, 30, 30, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .card__icon {
    width: 64px;
    height: 64px;
    font-size: 24px;
    margin-bottom: 12px;
  }
}

.card__title {
  font-size: 18px; /* mobile kleiner */
  font-weight: 800;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .card__title {
    font-size: 20px;
  }
}

.card__text {
  color: #444;
  margin-bottom: 12px;
  line-height: 1.55;
  flex-grow: 1; /* füllt die Karte, Link bleibt unten */
}
.card--dark .card__text {
  color: #d1d5db;
}

.card__link {
  color: #e60000;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto; /* bleibt am unteren Rand */
}
.card__link:hover {
  color: #b30000;
}

/* ---------- Bonus: sehr kleine Landscape-Höhen ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  .section__title {
    font-size: 22px;
  }
  .section__sub {
    font-size: 14px;
  }
  .grid {
    justify-content: center; /* Grid-Inhalt mittig */
    grid-template-columns: 1fr; /* eine Karte pro Zeile */
  }
  .card {
    max-width: 380px; /* etwas breiter als vorher */
    width: 100%;
    margin-inline: auto; /* zentriert */
    min-height: 16rem;
  }
  .card__title {
    font-size: 17px;
  }
  .card__text {
    font-size: 14px;
  }
}

/* ---- Brands Marquee ---- */
.brands {
  /* warmes Gelb/Orange wie in deinem Beispiel */
  background: linear-gradient(180deg, #ffa300 0%, #ffbf26 100%);
  color: #111;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  /* sanfte Kanten mit Mask-Fade */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.brand-track {
  /* Geschwindigkeit anpassen */
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content; /* so breit wie Inhalt */
  animation: marquee 35s linear infinite;
}

/* Hover-Pause nur bei Geräten, die Hover unterstützen */
@media (hover: hover) and (pointer: fine) {
  .brand-marquee:hover .brand-track {
    animation-play-state: paused;
  }
}


@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* weil Inhalt doppelt vorhanden ist */
}

/* Pills / Badges wie im Screenshot */
.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 3px solid #fff;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.brand-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Responsive Tweaks */
@media (max-width: 640px) {
  .brand-pill {
    min-width: 140px;
    padding: 10px 18px;
    border-width: 2px;
  }
}

/* Motion-Preference respektieren */
@media (prefers-reduced-motion: reduce) {
  .brand-track {
    animation: none;
  }
}

/* ---- Gallery ---- */
.gallery__grid {
  display: grid;
  gap: 24px; /* etwas kompakter */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
  margin-bottom: 60px;
}

/* === g-card === */
.g-card {
  background: #111;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.g-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center; /* z.B. Auto weiter oben anzeigen */
  display: block;
}

.g-card-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.g-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
  line-height: 1.4;
}

.g-card-body p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  color: #aaa;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .g-card {
  background: #1f1f1f;
  }
}

.gallery__cta {
  text-align: center;
  margin-top: 30px;
}

.btn--accent {
  background-color: #e00000;
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn--accent:hover {
  background-color: #cc0000;
}

/* ---- FAQ ---- */
.faq-section {
  background: #f6f7f9;
  padding: 60px 20px;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #111;
}

.faq-accordion-item {
  background: #fff;
  border-left: 4px solid var(--accent, #f50);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-accordion-button {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion-button h3 {
  font-size: 16px;
  margin: 0;
  color: #111;
}

.faq-accordion-button i {
  font-size: 18px;
  color: var(--accent, #f50);
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-button i {
  transform: rotate(180deg);
}

.faq-accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  padding: 0 20px;
}

.faq-accordion-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* ================================ */
/* === CONTACT SECTION BASE ====== */
/* ================================ */

.contact {
  background-color: #111;
  padding-bottom: 3rem;
}

.contact__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.form-wrap,
.info {
  background: #1a1a1a;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- FORM STYLES --- */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.form__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 6px;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid #2b2f3b;
  background: #0f1116;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.input:focus,
.textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.btn--full {
  width: 100%;
  background: #e00000;
  color: #fff;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn--full:hover {
  background: #cc0000;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
}

/* --- INFO PANEL --- */
.info__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -0.3px;
}

.info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.info__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15);
}

.info__item h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.ctn-title {
  font-weight: 700;
  color: #b6b5b5;
}

.info__item p {
  margin: 0;
  font-size: 14px;
  color: #c4c4c4;
  line-height: 1.5;
}

.info__item a {
  color: #c4c4c4;
  text-decoration: none;
}

.info__item a:hover {
  color: var(--accent);
}

/* --- Social Links --- */
.info__social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
}

.info__social h4 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  color: #fff;
  transition: all 0.2s;
}

.social a:hover {
  background: var(--accent);
  color: #fff;
}

/* --- MAP --- */
.contact__map {
  grid-column: 1 / -1; /* ganze Breite */
}

.map-wrapper {
  margin: 3rem auto 0;
  width: 75%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#map {
  height: 400px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  position: relative;
}

.map-placeholder {
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

.map-placeholder i {
  font-size: 36px;
  margin-bottom: 6px;
}

/* ================================ */
/* === CONTACT SECTION: TABLET === */
/* ================================ */

@media (min-width: 768px) and (max-width: 991px) {
  .contact__grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .form-wrap {
    width: 600px;
    margin-inline: auto;
  }

  .info {
    width: 400px;
    margin-inline: auto;
  }

  .map-wrapper {
    width: 85%;
  }
}

/* ================================ */
/* === CONTACT SECTION: DESKTOP === */
/* ================================ */

@media (min-width: 992px) {
  .contact {
    padding-left: 48px;
    padding-right: 48px;
  }

  .contact__grid {
    grid-template-columns: 3fr 2fr;
  }

  .form-wrap,
  .info {
    padding-left: 32px;
    padding-right: 32px;
  }

  .map-wrapper {
    width: 75%;
  }
}





/* ---- Footer ---- */
/* === FOOTER BASE === */
.footer {
  background: var(--secondary);
  color: var(--light);
  padding: 60px 0 32px;
  font-size: 15px;
}
.footer a {
  color: #bfc3c9;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover,
.footer a:focus {
  color: var(--accent);
  text-decoration: none;
}
/* Footer Text-Logo */
.fbrand {
  display: inline-flex;
  align-items: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  color: var(--light) !important;
  text-decoration: none;
  margin-bottom: 12px;
}

.fbrand:hover {
  color: var(--light) ;
}

.fbrand-accent {
  color: var(--accent); /* wie das X im Header */
}

/* === GRID === */
.fgrid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr; /* Mobile default */
}
.fcol {
  min-width: 0;
}

.footer img {
  height: 72px;
}

.fabout {
  margin: 12px 0 14px;
  color: #cfd3d8;
}

/* Headings */
.fhead {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0 10px;
}

/* Lists */
.flist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.flist--contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 10px;
}
.flist--contact i {
  color: var(--accent);
}
.flist--hours {
  color: #cfd3d8;
}

/* Social buttons */
.social {
  display: flex;
  gap: 10px;
}
.social__btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #23262e;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.social__btn:hover {
  color: #fff !important;
  background: #2c3140;
  text-decoration: none;
}


/* Kontakt + Öffnungszeiten nebeneinander ab Tablet */
.fcontact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr; /* Mobile: untereinander */
}
.fcontact-grid > * {
  min-width: 0;
} /* verhindert Overflow */

/* "Route planen" als Link */
.froute {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.froute::after {
  font-weight: 600;
  font-size: 0.9em;
}
.froute:hover,
.froute:focus {
  color: #fff;
  text-decoration: none;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid #1f2430;
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.flegal {
  display: flex;
  gap: 10px;
  align-items: center;
}
.flegal span {
  color: #6c7380;
}

/* === RESPONSIVE === */
/* Smartphone: bis 767px */
@media (max-width: 767px) {
  .footer {
    padding: 40px 0 20px;
    font-size: 14px;
  }
  .fgrid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fcol {
    margin-bottom: 24px;
  }
  .social {
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .fbrand img {
    margin: 0 auto;      /* block-Image mittig */
  }
  .flist--contact li {
    /* bleibt Grid, aber nur so breit wie der Inhalt */
    width: max-content;
    justify-self: center;        /* LI mittig in der UL */
    display: grid;
    grid-template-columns: 20px auto; /* feste Icon-Spalte + Text */
    gap: 8px;                     /* kleinerer Abstand */
    align-items: center;
    text-align: left;             /* Text nicht zentrieren */
  }

  .flist--contact i {
    width: 20px;                  /* konsistente Iconbreite */
    text-align: center;
  }
}

/* Tablet: 768px–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer {
    padding: 40px 0 20px;
    font-size: 14px;
  }
  .fgrid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fcol {
    margin-bottom: 24px;
  }
  .social {
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .fbrand img {
    margin: 0 auto;      /* block-Image mittig */
  }
  .flist--contact li {
    /* bleibt Grid, aber nur so breit wie der Inhalt */
    width: max-content;
    justify-self: center;        /* LI mittig in der UL */
    display: grid;
    grid-template-columns: 20px auto; /* feste Icon-Spalte + Text */
    gap: 8px;                     /* kleinerer Abstand */
    align-items: center;
    text-align: left;             /* Text nicht zentrieren */
  }

  .flist--contact i {
    width: 20px;                  /* konsistente Iconbreite */
    text-align: center;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .footer .container {
    padding-inline: 80px;
  }
}



/* Desktop: ab 1024px */
@media (min-width: 1024px) {
  .footer {
    padding: 60px 0 32px;
    font-size: 15px;
  }

  /* Grid neu verteilen */
  .fgrid {
    grid-template-columns: 1.2fr 0.6fr 1.4fr; /* Mitte schmaler, rechts breiter */
    gap: 40px;
  }

  .fcontact-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .footer__bottom {
    justify-content: space-between;
  }
}

/* ---- Back to top ---- */
.back {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  background: var(--primary);
  color: #000;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.back.show {
  display: flex;
}
.back:hover {
  background: #ffea73;
}

/* Utility */
.mt-20 {
  margin-top: 20px;
}


@media (max-width: 767px){
  #main {
  font-size: 0.8rem;
}
}

@media (min-width: 768px) and (max-width: 1023px){
  #main {
  font-size: 0.8rem;
}
}

@media (min-width: 1024px){
  #main {
  font-size: 1rem;
}
}


/* --- Legal / Datenschutz / Impressum --- */
.legal{
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text);
}
.legal h2{
  color:#fff;
  font-weight:800;
  font-size: clamp(18px, 2.6vw, 22px);
  margin: 28px 0 10px;
  line-height:1.3;
}
.legal h3{
  color:#e8eaee;
  font-weight:700;
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 22px 0 8px;
  line-height:1.35;
}
.legal h4{
  color:#e8eaee;
  font-weight:700;
  font-size: clamp(15px, 2vw, 17px);
  margin: 18px 0 6px;
}
.legal p,
.legal li{
  color:#cfd3d8;
}
.legal ul{
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}
.legal a{
  color: #bfc3c9;
}
.legal a:hover{
  color: var(--accent);
}

/* kompakte, linksbündige Meta-Zeile unten */
.legal-meta{
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid #1f2430;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* mobile Feinschliff */
@media (max-width: 480px){
  .legal{ font-size:14px; }
  .legal-meta{ gap:10px; }
}


