/* Garage Limacher AG – Inhalts-/Strukturklon
   Minimale Basis-Styles (Lesbarkeit/Struktur). Das eigentliche Design folgt später. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* === Zentrale Farb-Tokens – überall via var(--…) verwenden === */
  --white:     #ffffff;
  --bg:        #ffffff;   /* heller Seiten-Hintergrund */
  --bg-soft:   #f5f6f8;   /* leichte graue Fläche */

  --gold:      #ffc845;   /* Akzent-Gold (einzig, keine helleren/dunkleren Varianten) */

  --dark:      #02070d;   /* Maserati Dunkel (fast schwarz) */
  --navy:      #0c2340;   /* Maserati Navy */
  --accent:    #0c2340;   /* Alias Navy (Links) */

  --fg:        #16202b;   /* Haupttext auf Hell */
  --muted:     #6b7886;   /* gedämpfter Text auf Hell */
  --on-dark:   #aebccd;   /* Text auf dunklem Grund */

  --line:      #e6e9ed;   /* Linien/Rahmen auf Hell */

  --error:        #b02a2a;
  --error-bg:     #fdeaea;
  --error-border: #f3c0c0;

  --maxw: 1100px;

  /* === Einheitlicher vertikaler Abschnitts-Abstand (überall via var(--section-y)) === */
  --section-y: 120px;
}

/* Konsistente Stufen für alle Breakpoints – greift sitewide über --section-y */
@media (max-width: 980px) { :root { --section-y: 96px; } }
@media (max-width: 700px) { :root { --section-y: 72px; } }
@media (max-width: 480px) { :root { --section-y: 56px; } }

* { box-sizing: border-box; }

/* Hintergrund hinter der Seite (Overscroll/Rand) – gleiche Farbe wie die Navbar */
html { background: var(--dark); }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--dark);
  line-height: 1.6;
}

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

a { color: var(--accent); }

/* Header / Nav */
.site-header {
  background: var(--dark);
  padding: 0 34px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 38px; width: auto; }

.site-header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.site-header nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 25px 0;
  transition: color .2s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.site-header nav a:hover { color: var(--white); }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a.active,
.site-header nav a[aria-current="page"] { color: var(--white); }
.site-header nav a.active::after,
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger – nur mobil sichtbar */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .site-header { padding: 0 20px; min-height: 60px; }
  .nav-burger { display: flex; position: relative; z-index: 1002; }
  .site-header .logo { position: relative; z-index: 1002; }

  /* Vollbild-Overlay-Menü – clean */
  .site-header nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .35s ease, transform .4s ease, visibility .35s;
    overflow-y: auto;
  }
  .nav-toggle:checked ~ nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .site-header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .site-header nav li {
    width: 100%;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
  }
  .nav-toggle:checked ~ nav li { opacity: 1; transform: none; }
  .nav-toggle:checked ~ nav li:nth-child(1) { transition-delay: .12s; }
  .nav-toggle:checked ~ nav li:nth-child(2) { transition-delay: .18s; }
  .nav-toggle:checked ~ nav li:nth-child(3) { transition-delay: .24s; }
  .nav-toggle:checked ~ nav li:nth-child(4) { transition-delay: .30s; }
  .nav-toggle:checked ~ nav li:nth-child(5) { transition-delay: .36s; }
  .nav-toggle:checked ~ nav li:nth-child(6) { transition-delay: .42s; }
  .nav-toggle:checked ~ nav li:nth-child(7) { transition-delay: .48s; }
  .site-header nav a {
    justify-content: center;
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .82);
    border-top: 0;
  }
  .site-header nav a::after { display: none; }
  .site-header nav a:hover,
  .site-header nav a.active,
  .site-header nav a[aria-current="page"] { color: var(--gold); }
}

/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 64px; }
section { margin: 0 0 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: .2em 0 .6em; }
h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
figure { margin: 0 0 24px; }
figure img { border-radius: 4px; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Bild-Galerie / Grid für Modell- und Teambilder */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.gallery figure { margin: 0; }

/* Karten (Team-Mitglieder etc.) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card .card-body { padding: 12px 14px; }
.card h3 { margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Hero */
.hero { position: relative; margin-bottom: 40px; }
.hero img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: 6px; }
.hero-media video { width: 100%; max-height: 70vh; object-fit: cover; border-radius: 6px; display: block; }
.embedded-content-area { min-height: 220px; }
.hero .hero-text { margin-top: 16px; }

/* Hero – Vollbild-Video (Startseite, wie maserati.com) */
.hero-full { position: relative; width: 100%; height: calc(100vh - 70px); min-height: 540px; overflow: hidden; background: var(--dark); margin: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(2,7,13,.15) 0%, rgba(2,7,13,0) 28%, rgba(2,7,13,.35) 70%, rgba(2,7,13,.78) 100%); }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 6vw 7vh; }
.hero-overlay h1, .hero-overlay .hero-cap { margin: 0; color: var(--white);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600; font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.06;
  letter-spacing: .015em; text-transform: uppercase; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.hero-highlights { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 0; }
@media (max-width: 880px) {
  .hero-full { height: calc(100vh - 60px); }
  .hero-overlay { padding: 0 24px 9vh; }
}

/* Hero-Slider */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img, .hero-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 6; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 100px; background: rgba(255,255,255,.45); cursor: pointer;
  transition: width .35s cubic-bezier(.2,.7,.2,1), background .25s ease; }
.hero-dot:hover { background: rgba(255,255,255,.85); }
.hero-dot.active { width: 38px; background: var(--gold); }

/* ----- Seiten-Hero (geteilt; kürzer als der 100vh-Home-Hero) ----- */
.page-hero { position: relative; height: 58vh; min-height: 440px; margin: 0; display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(2,7,13,.35) 0%, rgba(2,7,13,0) 30%, rgba(2,7,13,.55) 64%, rgba(2,7,13,.93) 100%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px 8vh; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { margin: 0; color: var(--white); font-weight: 600; letter-spacing: .015em; line-height: 1.04; font-size: clamp(2.3rem, 5.2vw, 4.4rem); text-transform: uppercase; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
@media (max-width: 880px) { .page-hero { height: 52vh; min-height: 380px; } .page-hero-inner { padding: 0 24px 9vh; } }

/* ===== Kontakt ===== */
.contact-grid { display: flex; flex-direction: column; }
.contact-info { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Info-Spalte */
.contact-info .lead { color: var(--muted); line-height: 1.7; max-width: 430px; margin: 0 0 30px; }
.contact-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
@media (max-width: 860px) { .contact-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-list { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-ic { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--gold); }
.contact-item .ci-ic svg { width: 20px; height: 20px; stroke-linecap: round; stroke-linejoin: round; }
.contact-item h3 { margin: 0 0 5px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item p, .contact-item > div > a { margin: 0; color: var(--fg); font-size: 1.02rem; line-height: 1.55; text-decoration: none; }
.contact-item a:hover { color: var(--gold); }
.contact-item .ci-link { display: inline-block; margin-top: 8px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.contact-hours dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 6px 0 0; }
.contact-hours dt { color: var(--fg); font-weight: 600; margin-top: 8px; }
.contact-hours dt:first-child { margin-top: 0; }
.contact-hours dd { margin: 0; color: var(--muted); }

/* Formular-Karte */
/* Formular – auf weissem Hintergrund (links), Angaben rechts */
.contact-grid .contact-form-card { order: 1; }
.contact-grid .contact-info { order: 2; }
.contact-form-card { background: transparent; color: var(--fg); border: 0; border-radius: 0; padding: 0; }
.home-section .contact-form-card h2 { color: var(--dark); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 8px; }
.contact-form-card .form-sub { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0 0 28px; }
.contact-form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.contact-form-card form > div:has(textarea), .contact-form-card form > button { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-form-card form { grid-template-columns: 1fr; } }
.contact-form-card label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-form-card input, .contact-form-card textarea { width: 100%; box-sizing: border-box; padding: 14px 2px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--fg); font: inherit; transition: border-color .2s ease; }
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: var(--muted); }
.contact-form-card input:focus, .contact-form-card textarea:focus { outline: none; border-top-color: var(--dark); border-bottom-color: var(--dark); }
.contact-form-card textarea { resize: vertical; min-height: 140px; }
.contact-form-card .btn-gold { border: 0; cursor: pointer; width: auto; justify-self: start; margin-top: 10px; font: inherit; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-form-card .form-hint { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }
.contact-form-card .form-hint a { color: var(--navy); text-decoration: none; }
.contact-form-card .form-hint a:hover { text-decoration: underline; }

/* Marken-Lauftext-Banner (endlos, gut lesbar) */
.brand-ribbon { overflow: hidden; background: var(--dark); border-top: 1px solid rgba(255,200,69,.18); border-bottom: 1px solid rgba(255,200,69,.18); padding: 20px 0; }
.ribbon-track { display: inline-flex; align-items: center; white-space: nowrap; gap: 32px; animation: ribbon-scroll 48s linear infinite; will-change: transform; }
.ribbon-item { font-size: 1.2rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); }
.ribbon-dot { color: var(--gold); font-size: 1.1rem; }
@keyframes ribbon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* Kontakt-Intro (volle Breite) */
.contact-intro { margin: 0 0 70px; }
.contact-intro h2 { margin: 0 0 22px; }
.contact-intro p { max-width: 880px; margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.contact-intro p:last-child { margin-bottom: 0; }

/* Standort-Karte */
.contact-map { position: relative; line-height: 0; background: var(--dark); }
.contact-map #lim-map { width: 100%; height: 520px; z-index: 1; }
/* Kartenfarben (Navy-Stil) werden bei MapTiler/MapLibre direkt im JS gesetzt */
.contact-map .maplibregl-map { font-family: inherit; }
.map-card { position: absolute; bottom: 34px; left: max(24px, calc((100% - 1180px) / 2 + 24px)); z-index: 1100; max-width: 300px; background: var(--dark); color: var(--white); padding: 26px 28px; border-radius: 4px; box-shadow: none; line-height: 1.5; }
.map-card h3 { margin: 0 0 4px; color: var(--white); font-size: 1.05rem; }
.map-card p { margin: 0 0 16px; color: var(--on-dark); font-size: .92rem; }
.map-card .btn-gold { margin-top: 0; }
/* Custom Stecknadel: Navy-Pin (#0c2340) mit weissem Maserati-Dreizack */
.lim-pin-wrap { background: transparent; border: 0; }
.lim-pin { position: relative; width: 44px; height: 56px; line-height: 0; }
.lim-pin__pin { display: block; filter: drop-shadow(0 6px 9px rgba(2,7,13,.4)); }
.lim-pin__trident { position: absolute; left: 50%; top: 18px; width: 24px; height: 24px; transform: translate(-50%, -50%); pointer-events: none; }
@media (max-width: 600px) { .contact-map #lim-map { height: 400px; } .map-card { left: 16px; right: 16px; bottom: 16px; max-width: none; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.site-footer::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, rgba(255,200,69,.35) 35%, rgba(255,200,69,0) 75%); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 72px 24px 48px; display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; gap: 50px; }
.footer-brand .footer-logo { display: inline-block; margin-bottom: 22px; }
.footer-brand .footer-logo img { height: 42px; width: auto; }
.footer-brand p { color: var(--muted); line-height: 1.65; max-width: 330px; margin: 0 0 24px; font-size: .92rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: var(--on-dark); text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.footer-social a:hover { color: var(--dark); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-col h3 { color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
.footer-col a, .footer-col p { color: var(--on-dark); font-size: .92rem; line-height: 1.5; text-decoration: none; }
.footer-col a { display: block; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { margin: 0 0 8px; }
.footer-col .footer-addr { margin-top: 18px; color: var(--muted); }
.footer-col a.footer-maps { display: inline-block; margin-top: 12px; padding: 0; color: var(--gold); font-size: .85rem; font-weight: 600; text-decoration: none; transition: opacity .2s ease; }
.footer-col a.footer-maps:hover { color: var(--gold); opacity: .85; }
.footer-col a.footer-maps span { display: inline-block; transition: transform .2s ease; }
.footer-col a.footer-maps:hover span { transform: translateX(4px); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 6px; } }

/* ===== Home (Maserati-Stil) ===== */
main.home { max-width: none; margin: 0; padding: 0; font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
main.home section { margin: 0; }
.home-section { padding: var(--section-y) 0; }
.home-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.home-section.dark { background: var(--dark); color: var(--white); }
.home-section.light { background: var(--white); color: var(--fg); }
.home-section.muted { background: var(--bg-soft); color: var(--fg); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.kicker-navy { color: var(--navy); }
.home-section h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.14; margin: 0 0 24px; color: var(--white); }
.home-section.light h2, .home-section.muted h2, .h2-dark { color: var(--dark); }
.home-section p { line-height: 1.7; }
.home-section.dark p { color: var(--on-dark); }
.lead { font-size: 1.1rem; max-width: 640px; margin: 0 0 40px; color: var(--muted); }

.btn-gold { display: inline-block; margin-top: 16px; background: var(--gold); color: var(--dark); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 16px 36px; border-radius: 0; transition: .25s; }
.btn-gold:hover { background: var(--white); }
.btn-outline { display: inline-block; border: 1px solid var(--navy); color: var(--navy); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 15px 34px; border-radius: 0; transition: .25s; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.home-section.dark:has(.brand-intro-grid) { padding-bottom: 0; }
.brand-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.brand-intro-grid > div:first-child { align-self: start; }
.brand-intro-media { align-self: end; }
.brand-intro-media img { width: 100%; border-radius: 0; display: block; margin: 0; vertical-align: bottom;
  -webkit-mask-image: linear-gradient(to bottom, var(--dark) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, var(--dark) 68%, transparent 100%); }
.brand-cta-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.brand-cta-row .btn-gold { margin-top: 0; }
.brand-signature { width: 150px; height: auto; filter: brightness(0) invert(1); opacity: .9; flex-shrink: 0; }
@media (max-width: 880px) { .brand-intro-grid { grid-template-columns: 1fr; gap: 32px; } .brand-intro-media { display: none; } .home-section.dark:has(.brand-intro-grid) { padding-top: var(--section-y); padding-bottom: var(--section-y); } }
@media (max-width: 600px) {
  .brand-cta-row { gap: 18px; flex-wrap: nowrap; }
  .brand-signature { width: 104px; }
  .brand-cta-row .btn-gold { padding: 13px 22px; font-size: .72rem; letter-spacing: .08em; white-space: nowrap; }
}

.models-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.models-head h2 { margin-bottom: 0; }
.models-nav { display: flex; gap: 10px; flex-shrink: 0; }
.models-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s ease; }
.models-arrow:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.models-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; margin-top: 36px; padding: 4px 0 14px; scrollbar-width: none; -ms-overflow-style: none; }
.models-track::-webkit-scrollbar { display: none; }
.model-card { flex: 0 0 calc((100% - 18px) / 2); scroll-snap-align: start; display: block; margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; background: var(--dark); text-decoration: none; }
.model-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.model-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,7,13,.92) 0%, rgba(2,7,13,.28) 40%, rgba(2,7,13,0) 66%); }
.model-card:hover img { transform: scale(1.05); }
.model-info { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 2; }
.model-cat { display: block; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.model-card h3 { margin: 0; color: var(--white); font-size: 2.1rem; font-weight: 500; letter-spacing: -.015em; }
.model-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--white); font-size: .92rem; font-weight: 600; letter-spacing: .02em; }
.model-link::after { content: "→"; color: var(--gold); transition: transform .3s ease; }
.model-card:hover .model-link { color: var(--gold); }
.model-card:hover .model-link::after { transform: translateX(6px); }
.models-progress { position: relative; height: 2px; background: rgba(12,35,64,.12); border-radius: 2px; margin-top: 30px; }
.models-progress span { display: block; height: 100%; width: 40%; background: var(--dark); border-radius: 2px; transition: width .2s ease; }
@media (max-width: 640px) { .model-card { flex-basis: 86%; } .model-card h3 { font-size: 1.7rem; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; aspect-ratio: 3/2.4; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,7,13,.88), rgba(2,7,13,0) 62%); }
.tile-cap { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: var(--white); font-size: 1.45rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
@media (max-width: 880px) { .tiles { grid-template-columns: 1fr; } }

.services .lead { color: var(--on-dark); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 46px 40px; margin-top: 56px; }
.svc-num { display: block; color: var(--gold); font-size: .95rem; font-weight: 700; letter-spacing: .1em; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); margin-bottom: 18px; }
.svc h3 { color: var(--white); font-size: 1.3rem; font-weight: 500; letter-spacing: -.005em; margin: 0 0 18px; }
.svc ul { list-style: none; padding: 0; margin: 0; }
.svc li { color: var(--on-dark); font-size: .9rem; line-height: 1.5; padding: 5px 0; }
/* Schreibmaschinen-Cursor für die Leistungen-Stichworte */
.tw-caret { display: inline-block; width: 0; height: 1.05em; border-right: 2px solid var(--gold); margin-left: 2px; vertical-align: -0.18em; animation: tw-blink .9s steps(1) infinite; }
@keyframes tw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tw-caret { animation: none; } }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===== Scroll-Reveal (seitenübergreifend; reveal.js toggelt .reveal--in) ===== */
.tm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.tm-reveal.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tm-reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Limacher Classiche – cinematischer Einzelbild-Teaser ===== */
.classiche-teaser { --p: .5; position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); }

/* Bild + sanfte Scroll-Parallaxe */
.cl-stage { position: absolute; inset: -6% 0; z-index: 0; transform: translateY(calc((var(--p) - .5) * 60px)); will-change: transform; }
.cl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.12) contrast(1.05); will-change: transform, filter; }
/* Focus-Pull beim Reinscrollen: unscharf/dunkel -> scharf/lebendig */
.classiche-teaser.reveal .cl-img { transform: scale(1.16); filter: blur(9px) brightness(.5) saturate(.85); transition: transform 1.8s cubic-bezier(.2,.7,.2,1), filter 1.8s cubic-bezier(.2,.7,.2,1); }
.classiche-teaser.reveal--in .cl-img { transform: scale(1.06); filter: saturate(1.12) contrast(1.05); }
.cl-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 60% 45%, transparent 45%, rgba(0,0,0,.55) 100%); } /* Vignette */

/* Gold-Lichtsweep (einmalig beim Reinscrollen) */
.cl-sweep { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cl-sweep::before { content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 45%; transform: translateX(-220%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 42%, rgba(255,200,69,.16) 60%, transparent); }
.classiche-teaser.reveal--in .cl-sweep::before { animation: cl-sweep 1.5s cubic-bezier(.2,.7,.2,1) .55s forwards; }
@keyframes cl-sweep { to { transform: translateX(420%) skewX(-18deg); } }

/* Text-Scrim links für Lesbarkeit */
.cl-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(2,7,13,.92) 0%, rgba(2,7,13,.6) 42%, rgba(2,7,13,.12) 72%, rgba(2,7,13,0) 100%); }

/* Edler Gold-Rahmen */
.classiche-teaser::before { content: ""; position: absolute; inset: 20px; z-index: 4; pointer-events: none; border: 1px solid rgba(255,200,69,.28); }

/* ----- Textspalte ----- */
.classiche-overlay { position: relative; z-index: 3; width: 100%; max-width: none; margin: 0; box-sizing: border-box; color: var(--white); padding: 56px clamp(24px, 5vw, 56px) 56px clamp(24px, 7vw, 130px); }
.classiche-rule { display: block; width: 0; height: 2px; background: var(--gold); margin-bottom: 24px; transition: width 1s ease .35s; }
.classiche-teaser.reveal--in .classiche-rule { width: 64px; }
.classiche-overlay .kicker { color: var(--gold); }
.classiche-overlay h2 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -.015em; margin: 0 0 18px; }
.classiche-overlay .cl-lead { color: var(--on-dark); max-width: 480px; line-height: 1.6; }
.cl-stats { list-style: none; display: flex; flex-wrap: wrap; margin: 30px 0 32px; padding: 0; }
.cl-stats li { display: flex; flex-direction: column; padding: 0 22px; }
.cl-stats li:first-child { padding-left: 0; }
.cl-stats li + li { border-left: 1px solid rgba(255,255,255,.16); }
.cl-stats strong { color: var(--white); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
.cl-stats span { color: var(--on-dark); font-size: .8rem; letter-spacing: .04em; margin-top: 4px; }

/* Inhalt gestaffelt einblenden (reveal.js) */
.classiche-teaser.reveal .kicker, .classiche-teaser.reveal h2, .classiche-teaser.reveal .cl-lead, .classiche-teaser.reveal .cl-stats, .classiche-teaser.reveal .btn-gold { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.classiche-teaser.reveal--in .kicker { transition-delay: .15s; }
.classiche-teaser.reveal--in h2 { transition-delay: .28s; }
.classiche-teaser.reveal--in .cl-lead { transition-delay: .42s; }
.classiche-teaser.reveal--in .cl-stats { transition-delay: .56s; }
.classiche-teaser.reveal--in .btn-gold { transition-delay: .70s; }
.classiche-teaser.reveal--in .kicker, .classiche-teaser.reveal--in h2, .classiche-teaser.reveal--in .cl-lead, .classiche-teaser.reveal--in .cl-stats, .classiche-teaser.reveal--in .btn-gold { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .classiche-teaser { min-height: 64vh; }
  .classiche-teaser::before { inset: 12px; }
  .classiche-overlay { padding-top: 48px; padding-bottom: 48px; }
  /* Kennzahlen kompakt untereinander */
  .cl-stats { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; margin: 16px 0 22px; }
  .cl-stats li { padding: 8px 0; }
  .cl-stats li:first-child { padding-top: 0; }
  .cl-stats li:last-child { padding-bottom: 0; }
  .cl-stats li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .cl-stats strong { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-stage { transform: none; }
  .classiche-teaser.reveal .cl-img { transform: scale(1.06); filter: saturate(1.12) contrast(1.05); transition: none; }
  .cl-sweep { display: none; }
  .classiche-rule { width: 64px; transition: none; }
  .classiche-teaser.reveal .kicker, .classiche-teaser.reveal h2, .classiche-teaser.reveal .cl-lead, .classiche-teaser.reveal .cl-stats, .classiche-teaser.reveal .btn-gold { opacity: 1; transform: none; transition: none; }
}

.center-link { text-align: center; margin-top: 42px; }

/* Team (Querformat) */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 42px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .35s ease, transform .35s ease; }
.team-card:hover { box-shadow: none; transform: translateY(-4px); }
.team-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.team-body { padding: 26px 28px 30px; }
.team-body::before { content: ""; display: block; width: 42px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
.team-body h3 { margin: 0 0 7px; font-size: 1.4rem; color: var(--dark); font-weight: 600; letter-spacing: -.01em; }
.team-role { margin: 0 0 16px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.team-quote { margin: 0; color: var(--muted); line-height: 1.65; font-style: italic; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.cta-band { text-align: center; }
.cta-band .home-wrap { max-width: 720px; }

/* ===== Footer-Rechtslinks ===== */
.footer-legal a { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: var(--gold); }

/* ===== Rechtsseiten (Impressum / Datenschutz) ===== */
.legal-hero { background: var(--dark); color: var(--white); padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -.015em; margin: 8px 0 0; }
.legal { padding: var(--section-y) 0; background: var(--white); color: var(--fg); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal-wrap h2 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin: 38px 0 12px; }
.legal-wrap h2:first-of-type { margin-top: 28px; }
.legal-wrap p, .legal-wrap li { line-height: 1.7; color: var(--muted); }
.legal-wrap ul { margin: 8px 0 8px 1.1em; }
.legal-wrap a { color: var(--navy); }
.legal-wrap .legal-note { font-size: .9rem; color: var(--muted); }
.legal-ph { background: var(--gold); color: var(--dark); padding: 0 5px; border-radius: 3px; }

/* ===== Kontakt – "Get in touch"-Layout ===== */
.home-section .cf-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--dark); margin: 0 0 56px; }
.cform-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }

/* Linke Spalte: Formular */
.cform-h { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 0 0 12px; }
.cform-lead { color: var(--muted); line-height: 1.7; max-width: 520px; margin: 0 0 36px; font-size: .95rem; }
.cform-error { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error); padding: 11px 14px; font-size: .9rem; margin: 0 0 22px; }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 28px; }
.cform-field { display: flex; flex-direction: column; }
.cform-msg { margin-bottom: 22px; }
.cform label { font-size: .82rem; font-weight: 700; color: var(--fg); margin-bottom: 9px; }
.cform input, .cform select, .cform textarea { width: 100%; box-sizing: border-box; border: 0; border-bottom: 1.5px solid var(--fg); background: transparent; padding: 9px 2px; font: inherit; color: var(--fg); }
.cform input::placeholder, .cform textarea::placeholder { color: var(--muted); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-bottom-color: var(--gold); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.cform-actions { text-align: right; margin-top: 6px; }
.cform-submit { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: var(--white); border: 0; cursor: pointer; padding: 15px 28px; font: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s ease, color .2s ease; }
.cform-submit:hover { background: var(--gold); color: var(--dark); }
.cform-thanks h3 { color: var(--dark); font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; }
.cform-thanks p { color: var(--muted); margin: 0 0 20px; }

/* Rechte Spalte: Angaben mit Trennlinie */
.cform-right { border-left: 1px solid var(--line); padding-left: 56px; }
.cinfo { margin-bottom: 36px; }
.cinfo:last-child { margin-bottom: 0; }
.cinfo h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.cinfo p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0 0 12px; max-width: 320px; }
.cinfo-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; text-decoration: none; font-size: .95rem; }
.cinfo-link:hover { color: var(--navy); text-decoration: underline; }
.cinfo-link svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--gold); stroke-linecap: round; stroke-linejoin: round; }
.cinfo-hours { display: grid; gap: 7px; font-size: .9rem; max-width: 340px; }
.cinfo-hours div { display: flex; justify-content: space-between; gap: 16px; }
.cinfo-hours span:first-child { color: var(--fg); font-weight: 600; }
.cinfo-hours span:last-child { color: var(--muted); }

@media (max-width: 820px) {
  .cform-grid { grid-template-columns: 1fr; gap: 44px; }
  .cform-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
}
@media (max-width: 520px) {
  .cform-row { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Limacher Classiche – Seite ===== */
.cl-prose { max-width: 760px; }
.cl-prose p { color: var(--muted); line-height: 1.85; margin: 0 0 18px; }
.cl-prose p:last-child { margin-bottom: 0; }
.cl-quote { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.42; letter-spacing: -.01em; max-width: 880px; margin: 0 0 46px; }
.cl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; margin-top: 36px; }
.cl-proj { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); transition: transform .25s ease, border-color .25s ease; }
.cl-proj:hover { transform: translateY(-4px); border-color: var(--gold); }
.cl-proj img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cl-proj:hover img { transform: scale(1.05); }
.cl-proj figcaption { padding: 18px 20px 20px; }
.cl-proj figcaption h3 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.cl-proj figcaption span { color: var(--muted); font-size: .85rem; }
.cl-note { color: var(--muted); margin: 30px 0 0; max-width: 620px; line-height: 1.7; }

/* ===== Mobile: große Display-Headlines verkleinern (kein Überlauf) ===== */
@media (max-width: 600px) {
  .hero-overlay h1, .hero-overlay .hero-cap { font-size: 1.7rem; letter-spacing: .01em; }
  .page-hero h1 { font-size: 1.9rem; }
  .home-section h2 { font-size: 1.6rem; }
  .home-section .cf-title { font-size: 1.9rem; }
  .classiche-overlay h2 { font-size: 1.7rem; }
  .cl-quote { font-size: 1.3rem; margin-bottom: 30px; }
  /* Seite kompakter auf Mobile: flacherer Hero + straffere Classiche-Abstände */
  .page-hero { height: 42vh; min-height: 300px; }
  .cl-prose p { margin-bottom: 14px; }
  .cl-stats { gap: 20px 28px; }
  .cl-gallery { margin-top: 24px; }
  .cl-note { margin-top: 22px; }
}
