/* Schriften liegen im Projekt — kein Abruf bei Google (DSGVO). */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────────────────────
   Diamond Glass — gleiche Handschrift wie diamonddetailing.de:
   Schwarz, Markenblau #346dfa, Montserrat für Überschriften,
   Barlow für Text, zweifarbige Titel, blauer Schein im Dunkel.
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #000;
  --bg-2: #07090d;
  --card: #0c0f15;
  --line: rgba(255, 255, 255, 0.09);
  --text: #fff;
  --muted: #a9b1bd;
  --blue: #346dfa;
  --blue-soft: rgba(52, 109, 250, 0.14);
  --green: #3fce5a;
  --radius: 14px;
  --wrap: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Barlow, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: Montserrat, sans-serif; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.01em; }
h1 .light { font-weight: 500; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
.blue { color: var(--blue); }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); margin-top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--blue); font-size: 15px; letter-spacing: 0.02em; margin-bottom: 16px;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--blue); }

/* Blauer Schein — wie auf der Hauptseite links oben und hinter Abschnitten. */
.glow::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 109, 250, 0.22), transparent 62%);
  left: -380px; top: -380px;
}
.glow > * { position: relative; z-index: 1; }

/* ── Knöpfe ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 6px;
  font: 500 15px/1 Barlow, sans-serif; color: #fff; border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); }
.btn-green { background: var(--green); }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Kopfzeile ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-name { white-space: nowrap; font: 700 17px/1.05 Montserrat, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-sub { display: block; font: 500 11px/1.3 Barlow, sans-serif; letter-spacing: 0.22em; color: var(--blue); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav .btn { min-height: 44px; padding: 0 20px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
/* Kleines DD-Logo neben „Jetzt kontaktieren“: führt zur Hauptseite. */
.dd-link { display: block; flex: none; opacity: .92; transition: opacity .15s ease; }
.dd-link img { height: 28px; width: auto; display: block; }
.dd-link:hover { opacity: 1; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; min-height: min(calc(100vh - 76px), 900px); min-height: min(calc(100svh - 76px), 900px); display: flex; align-items: center; padding: 60px 0; }
.hero .wrap { display: block; }
.hero-text { max-width: 620px; position: relative; z-index: 2; }
.hero-text p { color: #d4d9e0; margin-top: 22px; max-width: 520px; }
.hero .btn-row { margin-top: 32px; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 66vw; z-index: 1; }
/* Hochformat-Foto: Ausschnitt auf die G-Klasse mit der Scheibe davor. */
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
/* Weicher Übergang ins Schwarz, wie das Auto auf der Hauptseite. */
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  /* Das Auto läuft nach links in den Text und unten ins Schwarz aus, wie in der Werbung. */
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.7) 18%, rgba(0,0,0,.25) 34%, transparent 52%), linear-gradient(0deg, #000 0%, rgba(0,0,0,.5) 18%, transparent 40%);
}
.hero-badge {
  position: absolute; right: clamp(20px, 4vw, 64px); bottom: 48px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(0, 0, 0, 0.72); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.35;
}
.hero-badge b { display: block; font-family: Montserrat, sans-serif; font-size: 15px; }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(63, 206, 90, 0.18); flex: none; }

/* ── Zahlenband ── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 30px/1.1 Montserrat, sans-serif; color: var(--blue); }
.stat span { color: var(--muted); font-size: 15px; }

/* ── Warum ── */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; }
.feature { display: flex; gap: 20px; }
.feature + .feature { margin-top: 34px; }
.icon {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); }

/* ── Leistungen ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(52, 109, 250, 0.55); transform: translateY(-3px); }
.card .icon { margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--muted); font-size: 16px; }

/* ── Reparieren oder tauschen ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--card); }
.panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel .tag { font: 600 12px/1 Barlow, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; }
.panel.repair .tag { background: rgba(63, 206, 90, 0.14); color: var(--green); }
.panel.swap .tag { background: var(--blue-soft); color: var(--blue); }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-top: 10px; color: #d4d9e0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ── Versicherung ── */
.insure {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card);
}
.insure-text { padding: 52px; }
.insure-text p { color: var(--muted); margin-top: 16px; }
/* Hochformat-Foto: Ausschnitt auf Scheibe und BMW, nicht auf den Himmel. */
.insure-img { position: relative; min-height: 360px; }
.insure-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

/* ── Ablauf ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; font: 700 38px/1 Montserrat, sans-serif; color: var(--blue); margin-bottom: 18px;
}
.step:first-child { border-top-color: var(--blue); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* ── Galerie ── */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
/* Das Foto füllt seine Kachel immer ganz — egal wie hoch die Zeile wird. */
.gallery figure { aspect-ratio: 3 / 4; max-width: 100%; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent); font-size: 15px; color: #d4d9e0;
}

/* ── Instagram ── */
.ig { border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.ig-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ig-head img { width: 46px; height: 46px; padding: 6px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #e1306c; }
.ig-head b { display: block; font-family: Montserrat, sans-serif; font-size: 16px; }
.ig-head span { color: var(--muted); font-size: 14px; }
.ig-follow { margin-left: auto; background: #e1306c; min-height: 42px; padding: 0 18px; }
.ig-consent { text-align: center; padding: 56px 24px 60px; max-width: 620px; margin: 0 auto; }
.ig-consent p { color: var(--muted); font-size: 15px; margin: 18px 0 26px; }
.ig-consent a { color: var(--blue); text-decoration: underline; }
.ig-big { width: 54px; height: 54px; color: #e1306c; }
#ig-feed:not(:empty) { padding: 18px; }

/* ── FAQ ── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font: 600 18px/1.4 Montserrat, sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 28px/1 Barlow, sans-serif; color: var(--blue); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 760px; }

/* ── Kontakt ── */
.contact {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(52, 109, 250, 0.35);
  background: radial-gradient(circle at 0% 0%, rgba(52, 109, 250, 0.28), transparent 55%), var(--card);
}
.contact-main { padding: 56px; }
.contact-main p { color: #d4d9e0; margin: 18px 0 30px; max-width: 520px; }
.contact-info { padding: 56px; border-left: 1px solid var(--line); display: grid; gap: 22px; align-content: center; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .icon { width: 44px; height: 44px; border-radius: 10px; }
.info-row .icon svg { width: 20px; height: 20px; }
.info-row small { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.info-row a:hover { color: var(--blue); }

/* Rechtlicher Hinweis unten im Kontaktkasten: über beide Spalten, ruhig gesetzt. */
.contact-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 28px 56px 34px; display: grid; gap: 10px; }
.contact-note h3 { font-size: 15px; color: #d4d9e0; }
.contact-note p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 920px; }

/* ── Fußzeile ── */
footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 96px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot p, .foot a { color: var(--muted); font-size: 15px; }
.foot a:hover { color: #fff; }
.foot h4 { font: 600 14px/1 Montserrat, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: #6b7380; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Unterseiten (Impressum, Datenschutz) ── */
.legal { max-width: 800px; margin: 0 auto; padding: 72px 20px 0; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p { color: #d4d9e0; margin-bottom: 10px; }
.note { border-left: 3px solid #f39a00; background: rgba(243, 154, 0, 0.08); padding: 16px 18px; border-radius: 6px; color: #f5d7a8 !important; }

/* ── Handy ── */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav-links, .nav .btn-desk { display: none; }
  .menu-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: #000; border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: #fff; font-size: 17px; }
  .hero { padding: 0 0 64px; min-height: 0; display: block; }
  .hero-text { max-width: none; }
  .hero .wrap, .why, .split, .insure, .contact, .gallery { grid-template-columns: 1fr; }
  /* Wie die Werbung: hohes Foto, oben abgedunkelt, unten ins Schwarz,
     der Text beginnt mitten im Verlauf. */
  .hero-img { position: relative; width: 100%; aspect-ratio: 4 / 5; max-width: 100%; margin-bottom: -84px; }
  .hero-img img { object-position: center 54%; }
  .hero-img::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 48%, rgba(0,0,0,.85) 76%, #000 86%); }
  .hero-badge { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .insure-text, .contact-main, .contact-info { padding: 32px 24px; }
  .contact-info { border-left: 0; border-top: 1px solid var(--line); }
  .contact-note { padding: 24px; }
  .gallery figure { aspect-ratio: 4 / 5; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .dd-link img { height: 20px; }
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .stat b { font-size: 26px; }
}
