/* ============================================
   Schiesser Automobile · Soft Wellness
   ============================================ */

:root {
  --bg: #FAF6F0;
  --surface: #F3EDE3;
  --sand: #EAE0D1;
  --sand-deep: #DCCDBC;
  --sage: #9DAB90;
  --sage-soft: #DDE3D5;
  --sage-deep: #5C6B53;
  --clay: #C79F85;
  --clay-soft: #EBD9CB;
  --ink: #3C3831;
  --muted: #7E766A;
  --white: #FFFFFF;
  --line: rgba(60, 56, 49, 0.10);

  --font-display: "Cormorant Infant", Georgia, serif;
  --font-body: "DM Sans", -apple-system, sans-serif;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-soft: 0 24px 60px -28px rgba(92, 107, 83, 0.28);
  --shadow-card: 0 14px 40px -20px rgba(60, 56, 49, 0.18);

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, .brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-deep);
}

section { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tint { background: var(--surface); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 1rem; }
.section-intro { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft),
              background-color 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
  will-change: transform;
}

.btn-primary {
  background: var(--sage-deep);
  color: #F6F3EA;
  box-shadow: 0 14px 30px -16px rgba(92, 107, 83, 0.55);
}
.btn-primary:hover { background: #4E5C46; transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(92,107,83,.6); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--sand-deep);
}
.btn-ghost:hover { background: var(--sage-soft); border-color: var(--sage); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 246, 240, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-soft), background-color 0.4s var(--ease-soft);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 240, 0.92);
}

.header-inner {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--clay) 0%, var(--sage) 78%);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.5rem; }
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.8rem; }
.main-nav a:not(.btn) {
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-soft);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 0.7rem 1.5rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-soft), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -12%;
  right: -14%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  background: linear-gradient(150deg, var(--sage-soft) 0%, var(--clay-soft) 90%);
  border-radius: 56% 44% 58% 42% / 48% 56% 44% 52%;
  opacity: 0.75;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-copy { padding-top: clamp(0rem, 3vw, 2.5rem); }
.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  margin-bottom: 1.4rem;
  max-width: 13ch;
}
.lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.stars { color: var(--clay); letter-spacing: 0.14em; font-size: 0.95rem; }
.stars-lg { font-size: 1.35rem; display: inline-block; margin-bottom: 1.6rem; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-media { position: relative; }
.hero-figure {
  position: relative;
  overflow: hidden;
  border-radius: 190px 190px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-soft);
}
.hero-media:hover .hero-figure img { transform: scale(1.06); }

.hero-card {
  position: absolute;
  left: -1.8rem;
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.hero-card-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px var(--sage-soft);
  flex-shrink: 0;
}
.hero-card strong { display: block; font-size: 0.95rem; }
.hero-card span:not(.hero-card-dot) { font-size: 0.82rem; color: var(--muted); }

/* ---------- Angebot · Service list ---------- */
.service-list { border-bottom: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0.5rem;
  border-top: 1px solid var(--line);
  transition: background-color 0.5s var(--ease-soft), padding 0.5s var(--ease-soft);
  border-radius: var(--radius-sm);
}
.service-row:hover { background: var(--surface); padding-left: 1.4rem; padding-right: 1.4rem; }

.service-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--clay);
}
.service-body h3 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.service-body p { color: var(--muted); max-width: 62ch; font-size: 0.99rem; }
.service-arrow {
  font-size: 1.3rem;
  color: var(--sage-deep);
  justify-self: end;
  transition: transform 0.5s var(--ease-soft);
}
.service-row:hover .service-arrow { transform: translateX(6px); }

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.about-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about-media figcaption {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.about-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.2rem; }
.about-copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 56ch; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--sage-deep);
  line-height: 1;
}
.stat-suffix { font-size: 1.4rem; color: var(--clay); }
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Ablauf · Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 4%;
  right: 4%;
  border-top: 2px dashed var(--sand-deep);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 0.4rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--sage-deep);
  margin-bottom: 1.3rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Stimmen · Quote ---------- */
.quote-wrap { max-width: 780px; text-align: center; }
.quote-wrap blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.quote-wrap blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 2rem;
}
.quote-name { font-weight: 600; font-size: 0.95rem; }
.quote-meta { font-size: 0.85rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.gallery-item:nth-child(2) { transform: translateY(2.2rem); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2.4;
  object-fit: cover;
  transition: transform 1.4s var(--ease-soft);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  padding: 1.1rem 1.3rem 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Kontakt · Form ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
form fieldset { border: none; margin-bottom: 2.2rem; }
form fieldset:last-of-type { margin-bottom: 0; }
form legend {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.5rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field input[type="month"],
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.05rem;
  transition: border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), background-color 0.35s;
  appearance: none;
  width: 100%;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C6B53' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--sage-soft);
}
.field ::placeholder { color: #B4AA9B; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.3rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.check:hover { border-color: var(--sage); background: var(--sage-soft); }
.check input { accent-color: var(--sage-deep); width: 16px; height: 16px; flex-shrink: 0; }
.check-consent { background: transparent; border: none; padding: 0.3rem 0; align-items: flex-start; }
.check-consent:hover { background: transparent; }
.check-consent a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}
.form-note { font-size: 0.85rem; color: var(--muted); }

.form-success { text-align: center; padding: clamp(2rem, 5vw, 4rem) 1rem; }
.success-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  color: var(--sage-deep);
  font-size: 2rem;
  margin-bottom: 1.4rem;
}
.form-success h3 { font-size: 1.9rem; margin-bottom: 0.8rem; }
.form-success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.form-success a { color: var(--sage-deep); font-weight: 600; }

/* ---------- Kontakt · Info & Map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: stretch;
}
.contact-info {
  background: var(--sage-deep);
  color: #EFF1E8;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-info h3 { font-size: 1.7rem; color: #F6F3EA; }
.contact-info address { font-style: normal; line-height: 1.75; color: #D9DECF; }
.contact-info address strong { color: #F6F3EA; }
.contact-line { display: flex; flex-direction: column; }
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.contact-line a { font-size: 1.15rem; font-weight: 500; color: #F6F3EA; }
.contact-line a:hover { color: var(--clay-soft); }
.contact-hours { font-size: 0.92rem; color: #CBD3C0; }
.contact-info .btn-primary {
  background: #F6F3EA;
  color: var(--sage-deep);
  align-self: flex-start;
  margin-top: 0.4rem;
}
.contact-info .btn-primary:hover { background: var(--clay-soft); }

.contact-map iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  filter: saturate(0.82) sepia(0.06);
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #4E5946;
  color: #DDE2D4;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { font-size: 1.8rem; color: #F6F3EA; display: block; }
.footer-brand .brand-sub { color: var(--sage); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: #BFC8B4; max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: flex-start; }
.footer-nav a { font-size: 0.92rem; color: #DDE2D4; }
.footer-nav a:hover { color: var(--clay-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
  font-size: 0.85rem;
  color: #AFBAA3;
}
.footer-bottom a:hover { color: #F6F3EA; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 246, 240, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), visibility 0.5s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: center; gap: 1.6rem; }
  .main-nav ul a { font-size: 1.35rem; font-family: var(--font-display); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
  .hero-card { left: 1rem; }
  .hero-copy h1 { max-width: 100%; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .about-media img { aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(2) { transform: none; }
  .gallery-item:nth-child(3) { grid-column: 1 / -1; }

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

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .form-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(3) { grid-column: auto; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-arrow { display: none; }
  .service-num { font-size: 1.35rem; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}
