/* ==========================================================
   Sachverständigenbüro Mustermann – Stylesheet
   Keine externen Schriften (DSGVO): System-Schriftarten
   ========================================================== */

:root {
  --accent: #b80014;
  --dark: #333333;
  --dark-2: #414141;
  --text: #2d2d2d;
  --muted: #666666;
  --light: #f5f5f5;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6em;
}

.section { padding: 90px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: #d9d9d9; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: #b0b0b0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px rgba(184, 0, 20, 0.35); }
.btn--primary:hover { filter: brightness(0.88); }
.btn--insta { background: transparent; color: inherit; border-color: currentColor; }
.btn--insta:hover { background: rgba(128, 128, 128, 0.15); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.4rem;
}
.logo__img { height: 52px; width: auto; }
.footer .logo__img { background: var(--white); padding: 4px 6px; border-radius: 6px; }
.logo__text { line-height: 1.1; }
.logo__name { display: block; font-weight: 800; font-size: 1.25rem; color: var(--dark); }
.logo__sub { display: block; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 600; color: var(--dark); position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.2s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav .btn { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--dark);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, #2c2c2c 0%, #454545 100%);
  color: #d9d9d9;
  overflow: hidden;
  padding: 90px 0 110px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow, .section--dark .eyebrow { color: #9a9a9a; }
.hero h1 em {
  font-style: normal; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 6px; text-underline-offset: 10px;
}
.hero__claim { font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--white); margin: -0.2em 0 1em; }
.hero__lead { font-size: 1.15rem; max-width: 560px; }
.hero__lead strong { color: var(--white); }
.hero .btn-row { margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; font-size: 0.92rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 20px; height: 20px; color: var(--white); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)); }

/* ---------- Cards / Leistungen ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card__icon {
  width: 58px; height: 58px; border-radius: 12px;
  background: var(--light); color: var(--dark);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 30px; height: 30px; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: 4px; }

/* ---------- Warum Gutachten ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 14px; margin-bottom: 16px; }
.checklist svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.highlight-box {
  background: var(--dark); color: #d9d9d9; border-radius: var(--radius);
  padding: 40px; position: relative; overflow: hidden;
}
.highlight-box h3 { color: var(--white); font-size: 1.5rem; }
.highlight-box::before {
  content: "§"; position: absolute; right: -10px; bottom: -60px;
  font-size: 15rem; font-weight: 900; color: rgba(255, 255, 255, 0.05); line-height: 1;
}
.highlight-box p { position: relative; }

/* ---------- Unfall – Schritte ---------- */
.steps { counter-reset: step; }
.step {
  background: var(--dark-2); border-radius: var(--radius); padding: 30px 26px;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.step p { color: #b0b0b0; margin: 0; font-size: 0.97rem; }
.step p + p { margin-top: 10px; }
.step strong { color: var(--white); }
.step ul { margin: 4px 0 12px; padding-left: 1.1em; color: #b0b0b0; font-size: 0.93rem; }
.step li { margin-bottom: 2px; }
.step .step__label { color: var(--white); font-weight: 700; font-size: 0.9rem; margin: 0; }
.step .step__note { font-size: 0.88rem; color: #8a8a8a; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700;
  position: relative; color: var(--dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--muted); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.contact-item {
  background: var(--light); border-radius: var(--radius); padding: 24px 20px;
  text-decoration: none; color: inherit; transition: transform 0.2s ease;
}
a.contact-item:hover { transform: translateY(-3px); }
a.contact-item:hover strong { color: var(--accent); }
.contact-item .contact-item__icon { margin-bottom: 14px; }
.contact-item__icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--dark); color: var(--white);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item strong { display: block; color: var(--dark); }


/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #b0b0b0; padding: 70px 0 0; font-size: 0.95rem; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer h4 { color: var(--white); margin: 0 0 16px; font-size: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .logo__name { color: var(--white); }
.footer .logo__mark { background: var(--accent); color: var(--white); }
.footer .logo { margin-bottom: 18px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 50px; padding: 22px 0;
  font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Mobile Anrufleiste ---------- */
.mobile-cta { display: none; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; }
.legal li { margin-bottom: 4px; }
.notice {
  background: var(--light); border-left: 4px solid var(--accent); padding: 16px 20px;
  border-radius: 6px; margin-bottom: 30px; font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; box-shadow: 0 14px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav .btn { margin-top: 16px; justify-content: center; }

  .hero { padding: 60px 0 80px; }
  .hero .container, .split { grid-template-columns: 1fr; }
  /* Handy: Auto zwischen Spruch und Einleitungstext */
  .hero .container { row-gap: 0; }
  .hero .container > div:first-child { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero__claim { order: 3; }
  .hero__art { order: 4; max-width: 340px; width: 100%; margin: 4px auto 22px; }
  .hero__lead { order: 5; }
  .hero .btn-row { order: 6; }
  .hero__badges { order: 7; }
  .section { padding: 70px 0; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.95rem;
  }
  .mobile-cta svg { width: 20px; height: 20px; }
  .mobile-cta .call { background: var(--accent); color: var(--white); }
  .mobile-cta .insta { background: var(--dark); color: var(--white); }
  body { padding-bottom: 54px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .footer .grid { grid-template-columns: 1fr; }
  .highlight-box { padding: 26px 20px; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .contact-cards { gap: 12px; }
  .contact-item { display: flex; align-items: center; gap: 16px; padding: 16px; }
  .contact-item .contact-item__icon { margin-bottom: 0; }
  .legal h1 { font-size: 1.7rem; overflow-wrap: anywhere; hyphens: auto; }
  .header .btn--outline { padding: 8px 12px; font-size: 0.8rem; white-space: nowrap; }
  .header .logo__sub { display: none; }
}
