* { box-sizing: border-box; }

:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --text: #1c2329;
  --muted: #66717a;
  --line: #dfe4e7;
  --accent: #e87522;
  --accent-dark: #bf5710;
  --dark: #182026;
  --dark-2: #11171b;
  --whatsapp: #25d366;
  --max: 1180px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: 116px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text small { color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; font-weight: 700; }
.nav-cta {
  padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #fff;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--text); }

.hero {
  padding: 72px 0 60px;
  background: linear-gradient(130deg, #f8f9fb 0%, #eef2f5 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center;
}
.eyebrow {
  margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.13em;
  font-size: .78rem; font-weight: 800; color: var(--accent);
}
h1, .section h2 { margin: 0; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 780px; }
.hero-text { max-width: 700px; font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 50px; padding: 12px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 800; transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border: 1px solid var(--line); background: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.hero-visual img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px;
  box-shadow: 0 22px 60px rgba(24,32,38,.14);
}
.contact-mini {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 26px;
}
.contact-mini div {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.contact-mini strong, .contact-mini span { display: block; }
.contact-mini span { color: var(--muted); }

.stats-strip { padding: 0 0 40px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stats-grid div {
  padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { font-size: 1.4rem; }
.stats-grid span { color: var(--muted); }

.section { padding: 86px 0; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading > p:last-child, .availability > div > p, .location-grid p, .contact-grid p { color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.card-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; }
.card p { margin-bottom: 0; color: var(--muted); }

.section-dark { background: var(--dark); color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.05);
}
.feature-icon { width: 68px; height: 68px; object-fit: contain; margin-bottom: 14px; }
.feature strong, .feature span { display: block; }
.feature span { color: #bec7cc; margin-top: 6px; }

.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }
.gallery-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(24,32,38,.05);
}
.gallery-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gallery-card figcaption { padding: 14px 16px; font-weight: 700; }

.availability, .location-grid, .contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.availability-box, .contact-box {
  padding: 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(24,32,38,.08);
}
.status-dot { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; background: #2ea44f; }
.stack-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

.section-muted { background: #e9edef; }
.address-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0;
}
.address-box div {
  padding: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(0,0,0,.06); border-radius: 16px;
}
.address-box strong, .address-box span { display: block; }
.address-box span { color: var(--muted); }
.map-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px;
  box-shadow: 0 18px 50px rgba(24,32,38,.12);
}

.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item strong { font-size: .95rem; }
.contact-item a { text-decoration: none; font-weight: 800; color: var(--accent-dark); }
.contact-item span { color: var(--muted); }
.top-gap { margin-top: 22px; }

.site-footer { padding: 34px 0; background: var(--dark-2); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.site-footer p { margin: 4px 0 0; color: #aeb8bd; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #fff; text-decoration: none; }

.legal-page { padding: 72px 0; }
.legal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; max-width: 880px;
}
.legal-card h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 18px; }
.legal-card h2 { margin-top: 28px; font-size: 1.4rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.back-link { display: inline-block; margin-top: 22px; font-weight: 700; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    padding: 20px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .hero-grid, .availability, .location-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .feature-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 74px; }
  .main-nav { top: 74px; }
  .brand-logo { width: 100px; }
  h1 { font-size: 3rem; }
  .section { padding: 64px 0; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .contact-mini, .card-grid, .feature-grid, .stats-grid, .address-box { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .legal-card { padding: 24px; }
}

.location-map-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(24,32,38,.12);
}
.location-map-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.map-caption {
  padding: 16px 18px 18px;
}
.map-caption strong, .map-caption span { display: block; }
.map-caption span { color: var(--muted); margin-top: 4px; }


.auto-section { background: #fff; }
.auto-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.auto-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(24,32,38,.12);
}
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list span {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.check-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}
.availability-facts {
  display: grid;
  gap: 9px;
  margin: 20px 0 4px;
}
.availability-facts span {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6f7;
  color: var(--muted);
  font-size: .95rem;
}
.faq-section { background: #f0f3f5; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}
.faq-grid details[open] summary::after { content: "–"; }
.faq-grid p { margin-bottom: 0; color: var(--muted); }
.mobile-contact-bar { display: none; }

@media (max-width: 980px) {
  .auto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .faq-grid { grid-template-columns: 1fr; }
  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(24,32,38,.12);
  }
  .mobile-contact-bar a {
    min-height: 58px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: .92rem;
    border-right: 1px solid var(--line);
  }
  .mobile-contact-bar a:nth-child(2) {
    background: var(--whatsapp);
    color: #fff;
  }
  .mobile-contact-bar a:last-child { border-right: 0; }
}


.usecases-section { background: #f8f9fb; }
.pill-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700;
  box-shadow: 0 8px 24px rgba(24,32,38,.04);
}
.process-section { background: #fff; }
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.process-card {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 36px rgba(24,32,38,.05);
}
.process-number {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.15rem; font-weight: 800;
}
.process-card h3 { margin: 0 0 8px; }
.process-card p { margin: 0; color: var(--muted); }
.cta-band {
  padding: 34px 0; background: linear-gradient(135deg, var(--dark), #24303a); color: #fff;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-band h2 { margin: 4px 0 8px; }
.cta-band p:last-child { margin: 0; color: #c8d0d5; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}


/* Korrektur: heller Button im dunklen Schnellkontakt-Bereich */
.cta-band .btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: #ffffff;
}
.cta-band .btn-secondary:hover {
  background: #f1f3f4;
  color: var(--text);
}

/* Seite freie Garagen */
.subpage-hero {
  padding: 70px 0 54px;
  background: linear-gradient(130deg, #f8f9fb 0%, #eef2f5 100%);
}
.subpage-hero h1 { max-width: 850px; }
.listing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.listing-card {
  overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 36px rgba(24,32,38,.06);
}
.listing-image {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}
.listing-content { padding: 24px; }
.listing-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.listing-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px;
  border-radius: 999px; background: #edf8f0; color: #26713a; font-size: .85rem; font-weight: 800;
  white-space: nowrap;
}
.listing-status::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: #2ea44f;
}
.listing-content h2 { margin: 0 0 8px; font-size: 1.45rem; }
.listing-content p { color: var(--muted); }
.listing-facts {
  display: grid; gap: 8px; margin: 18px 0;
}
.listing-facts span {
  position: relative; padding-left: 20px; color: var(--muted);
}
.listing-facts span::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}
.listing-note {
  margin-top: 26px; padding: 22px; border-radius: 16px; background: #fff7f1; border: 1px solid #f4d7c3;
}
.empty-state {
  text-align: center; padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
@media (max-width: 980px) {
  .listing-grid { grid-template-columns: 1fr; }
}


.availability-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.availability-type-card {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(24,32,38,.07);
}
.availability-type-card.available { border-top: 5px solid #2ea44f; }
.availability-type-card.rented { border-top: 5px solid #9aa4aa; }
.availability-type-head {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.availability-type-head img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.availability-type-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.type-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.available .type-status { background: #e8f7ed; color: #1f7a38; }
.rented .type-status { background: #eef1f3; color: #68737a; }
@media (max-width: 850px) {
  .availability-type-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .availability-type-head { grid-template-columns: 64px 1fr; }
  .availability-type-head img { width: 64px; height: 64px; }
  .type-status { grid-column: 1 / -1; justify-self: start; }
}

.copyright { font-size: .86rem; color: #8f9aa0 !important; }


.footer-settings { padding: 0; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.footer-settings:hover { text-decoration: underline; }
.footer-copyright { font-size: .85rem; }
.privacy-open { overflow: hidden; }
.privacy-consent[hidden] { display: none; }
.privacy-consent { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: end center; padding: 20px; background: rgba(8,13,17,.58); backdrop-filter: blur(4px); }
.privacy-consent-card { width: min(100%,780px); padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.privacy-consent-card h2 { margin: 0 0 12px; font-size: clamp(1.6rem,4vw,2.3rem); line-height: 1.12; }
.privacy-consent-card > p:not(.eyebrow) { color: var(--muted); }
.privacy-option { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f7f8f9; }
.privacy-option label { display: flex; align-items: flex-start; gap: 12px; }
.privacy-option input { margin-top: 5px; accent-color: var(--accent); }
.privacy-option span, .privacy-option strong, .privacy-option small { display: block; }
.privacy-option small { margin-top: 3px; color: var(--muted); }
.privacy-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
@media (max-width: 620px) {
  .privacy-consent { place-items: end stretch; padding: 10px; }
  .privacy-consent-card { padding: 22px; }
  .privacy-consent-actions, .privacy-consent-actions .btn { width: 100%; }
}

.photo-credit { margin: 18px 0 0; color: var(--muted); font-size: .9rem; text-align: right; }
@media (max-width: 620px) { .photo-credit { text-align: left; } }

.protected-email, .protected-email-link { cursor: pointer; }


/* Dezente Scroll-Animationen */
.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(.22, .61, .36, 1),
    transform 700ms cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .scroll-reveal.reveal-from-left {
  transform: translateX(-26px);
}

.motion-ready .scroll-reveal.reveal-from-right {
  transform: translateX(26px);
}

.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .scroll-reveal,
  .motion-ready .scroll-reveal.reveal-from-left,
  .motion-ready .scroll-reveal.reveal-from-right {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
