/* Michel Autohandel – Stylesheet
   Keine externen Schriften oder Skripte: Die Seite lädt nichts von Drittservern. */

:root {
  --ink: #0e1317;
  --ink-2: #172027;
  --ink-3: #24303a;
  --paper: #f5f3ee;
  --card: #ffffff;
  --line: #e2ded5;
  --text: #1b2229;
  --muted: #5d6770;
  --on-dark: #eef1f3;
  --on-dark-muted: #a9b4bd;
  --accent: #d63a1f;
  --accent-dark: #b52d15;
  --wa: #128c4b;
  --wa-dark: #0d6f3b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 19, 23, .06), 0 12px 32px -12px rgba(14, 19, 23, .18);
  --wrap: 1180px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(214, 58, 31, .22), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35));
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #ff8a70; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; margin: 18px 0 22px; color: #fff; }
.hero h1 em { font-style: normal; color: #ff8a70; }
.hero .lead { font-size: 19px; color: var(--on-dark-muted); max-width: 56ch; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 36px; margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); list-style: none; }
.hero-facts b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.hero-facts span { font-size: 14.5px; color: var(--on-dark-muted); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  font-size: 14.5px; line-height: 1.3; font-weight: 600;
}
.hero-badge svg { width: 34px; height: 34px; color: var(--wa); flex: none; }
.hero-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-dark .eyebrow { color: #ff8a70; }
.section-dark h2 { color: #fff; }

/* Vorteile */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: #fbe9e4; color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 22px; font-weight: 750; margin-bottom: 18px; }
.feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature li { padding-left: 28px; position: relative; color: var(--muted); font-size: 16px; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) scale(.8); transform-origin: left top; top: 12px;
}
.feature li strong { color: var(--text); display: block; font-weight: 650; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); overflow: hidden; }
.steps li { counter-increment: step; padding: 36px 32px 38px; background: var(--ink-2); border-right: 1px solid rgba(255, 255, 255, .12); }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: #ff8a70; line-height: 1; margin-bottom: 22px; }
.steps h3 { font-size: 21px; color: #fff; margin-bottom: 10px; }
.steps p { color: var(--on-dark-muted); font-size: 16px; }

.services { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.services-label { font-weight: 700; color: #fff; margin-right: 6px; }
.chip { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--on-dark); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { padding: 0; border: 0; background: var(--ink-3); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: block; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; }
.gallery-cta h3 { font-size: 21px; margin-bottom: 4px; }
.gallery-cta p { color: var(--muted); font-size: 16px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 11, 14, .9); }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

/* Bewertungen */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; box-shadow: var(--shadow); margin-bottom: 28px; }
.rating-score { display: flex; align-items: center; gap: 16px; }
.rating-score b { font-family: var(--font-display); font-size: 54px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stars { display: block; color: #e8a400; font-size: 24px; letter-spacing: 2px; line-height: 1.2; }
.rating-score small { color: var(--muted); font-size: 14.5px; }
.rating-themes { flex: 1 1 340px; font-size: 15.5px; }
.rating-themes > span { font-weight: 700; display: block; margin-bottom: 8px; }
.rating-themes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rating-themes li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14.5px; }
.reviews-note { margin-top: 8px; font-size: 13.5px; color: var(--muted); max-width: 80ch; }
.form-note a { color: inherit; }
.reviews { columns: 3; column-gap: 22px; }
.review { break-inside: avoid; margin: 0 0 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px; box-shadow: var(--shadow); }
.review::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 60px; line-height: 1; height: 38px; color: var(--accent); }
.review blockquote { margin: 0 0 20px; font-size: 16px; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15.5px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--muted); display: grid; gap: 12px; font-size: 16.5px; }
.faq .answer ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.faq .answer strong { color: var(--text); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 36px; }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14.5px; font-weight: 650; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
  padding: 13px 14px; border: 1.5px solid #cfcabf; border-radius: 10px; background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 19, 23, .12); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

.contact-side { display: grid; gap: 18px; }
.info-card { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 28px 30px; }
.info-card h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; margin-bottom: 16px; font-family: var(--font); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: #ff8a70; flex: none; margin-top: 3px; }
.info-list a { color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-list a.mail { font-size: 17px; word-break: break-all; }
.info-list small { display: block; color: var(--on-dark-muted); font-size: 14.5px; }
.info-list address { font-style: normal; color: #fff; font-weight: 600; }
.info-list .link { font-size: 15px; font-weight: 600; color: #ff8a70; }
.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr { background: #fff; border-radius: var(--radius); padding: 10px; text-align: center; color: var(--ink); font-size: 13.5px; font-weight: 650; line-height: 1.3; }
/* Die QR-Bilder enthalten unten eine Textzeile – der Rahmen schneidet sie weg und zentriert den Code. */
.qr-img { aspect-ratio: 1; overflow: hidden; border-radius: 8px; margin-bottom: 6px; }
.qr-img img { width: 106.667%; max-width: none; height: auto; margin: -3.2% 0 0 -3.333%; }

/* ---------- Footer ---------- */
.footer { background: #080b0e; color: var(--on-dark-muted); padding: 56px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { height: 62px; width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--accent-dark); }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
/* Auffällige Markierung für Angaben, die vor der Veröffentlichung noch eingetragen werden müssen */
.todo { background: #ffe14d; color: #1b2229; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back-link:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: grid; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open a:last-child { border-bottom: 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 64px; }
  .hero-badge { left: 14px; bottom: 14px; }
  .features, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps li { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .steps li:last-child { border-bottom: 0; }
  .reviews { columns: 2; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 72px; }
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .header .wrap { height: 64px; }
  .brand img { height: 42px; }
  .nav.open { top: 64px; padding-inline: 18px; }
  .header-cta .btn { display: none; }
  .hero h1 { margin-top: 14px; }
  .hero .lead { font-size: 17.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px 16px; justify-content: stretch; }
  .hero-facts b { font-size: 21px; }
  .hero-facts span { font-size: 13px; line-height: 1.35; display: block; }
  .hero-badge { position: static; margin-top: 14px; }
  .feature { padding: 26px 22px; }
  .steps li { padding: 28px 24px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reviews { columns: 1; }
  .form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { flex: 1 1 100%; }
  .info-card { padding: 24px 22px; }
  .gallery-cta { padding: 22px; }
  .gallery-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 13px 10px; font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
