/* ==========================================================================
   Design-System – Kfz-Sachverständigenbüro Samet Cetin
   Navy + Gold + Creme, Playfair Display (Headlines) + Inter (Fließtext)
   ========================================================================== */

:root {
  --color-brand-50: #f3eee1;
  --color-brand-100: #e7dfcc;
  --color-brand-200: #d8cfb7;
  --color-brand-300: #c9b893;
  --color-brand-400: #8a94a2;
  --color-brand-500: #4a5567;
  --color-brand-700: #28323f;
  --color-brand-900: #1b2532;
  --color-brand-950: #141c26;

  --color-accent-400: #e8c65a;
  --color-accent-500: #d4af37;
  --color-accent-600: #9e7b1e;

  --color-whatsapp: #15633f;
  --color-whatsapp-hover: #1a7a4d;

  --color-ink: #1b2532;
  --color-muted: #56606f;
  --color-line: #e7dfcc;

  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius: 3px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-muted);
  background: var(--color-brand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-brand-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.accent-word { font-style: italic; font-weight: 500; color: var(--color-accent-500); }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-600);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--color-accent-500); }
.lede { font-size: 1.05rem; line-height: 1.7; max-width: 620px; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.section--white { background: #fff; }
.section--dark { background: var(--color-brand-900); color: var(--color-brand-50); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--color-brand-300); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.99); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--gold { background: var(--color-accent-500); color: var(--color-brand-950); }
.btn--gold:hover { background: var(--color-accent-400); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--color-whatsapp-hover); }
.btn--outline-dark { border-color: rgba(27, 37, 50, 0.25); color: var(--color-brand-900); background: transparent; }
.btn--outline-dark:hover { border-color: var(--color-accent-500); color: var(--color-accent-600); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.3); color: var(--color-brand-50); background: transparent; }
.btn--outline-light:hover { border-color: var(--color-accent-400); color: var(--color-accent-400); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } .btn-row .btn { width: auto; } }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-brand-900);
  color: var(--color-brand-50);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
@media (min-width: 640px) { .site-header .container { height: 88px; } }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--color-accent-500);
  color: var(--color-brand-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  line-height: 1.25;
}
.brand__name small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  color: var(--color-brand-300);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 2px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-300);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--color-accent-400); }
.nav__cta { display: none; align-items: center; gap: 26px; }
.nav__phone { text-align: right; line-height: 1.2; }
.nav__phone span { display: block; }
.nav__phone .label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-brand-300);
}
.nav__phone .number { font-family: var(--font-display); font-size: 15px; color: #fff; margin-top: 2px; }
.nav__toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: 0.2s;
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-brand-900);
}
body.nav-open .mobile-nav { display: block; }
.mobile-nav .container { padding: 12px 20px 20px; display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 13px 4px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-300);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a.is-active { color: var(--color-accent-400); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--color-brand-900); color: var(--color-brand-50); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; }
.hero__glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__glow .g1 { width: 420px; height: 420px; left: -140px; top: -160px; background: rgba(212, 175, 55, 0.18); }
.hero__glow .g2 { width: 380px; height: 380px; right: -140px; top: -20px; background: rgba(47, 79, 134, 0.35); }
.hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 48px 0 64px;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1.05fr; align-items: center; padding: 72px 0 84px; }
}
.hero h1 { color: #fff; margin-top: 16px; }
.hero .lede { color: rgba(232, 226, 210, 0.9); margin-top: 22px; }
.hero .btn-row { margin-top: 30px; }
.hero__hint { margin-top: 16px; font-size: 0.9rem; color: var(--color-brand-300); }
.hero__hint a { font-weight: 600; color: var(--color-accent-400); text-decoration: underline; text-underline-offset: 3px; }
.hero__points { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.hero__points li { display: flex; align-items: baseline; gap: 12px; font-size: 0.92rem; color: var(--color-brand-100, #e8e2d2); }
.hero__points li::before { content: "—"; font-weight: 700; color: var(--color-accent-400); }

.hero__photo {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(160deg, #1e2a3a, var(--color-brand-950));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 640px) { .hero__photo { min-height: 420px; } }
@media (min-width: 1024px) { .hero__photo { min-height: 500px; } }
.hero__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: rgba(232, 226, 210, 0.45);
  font-size: 0.85rem;
}
.hero__photo-placeholder svg { width: 56px; height: 56px; color: rgba(212, 175, 55, 0.55); }
.hero__photo-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  pointer-events: none;
}
.hero__photo-caption {
  position: relative;
  margin: 0 24px 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-brand-100, #e8e2d2);
}

/* Stats band */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-brand-100);
  border: 1px solid var(--color-brand-100);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats__item { background: #fff; padding: 28px 20px; text-align: center; }
.stats__item .v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--color-brand-900); }
.stats__item .l { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); }

/* Section head */
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head--split {
  max-width: none;
  margin: 0 0 40px;
  text-align: left;
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 768px) { .section-head--split { grid-template-columns: 1fr 1fr; } }

/* USP columns */
.usp-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }
.usp-grid .bar { width: 32px; height: 2px; background: var(--color-accent-500); margin-bottom: 16px; }
.usp-grid h3 { font-size: 1.1rem; margin-bottom: 8px; }
.usp-grid p { font-size: 0.92rem; }

/* Leistungen grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-brand-100);
  border: 1px solid var(--color-brand-100);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--color-brand-50);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s ease;
}
.service-card:hover { background: #fff; }
.service-card .num { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; font-weight: 600; color: var(--color-accent-600); }
.service-card h3 { margin: 0; }
.service-card p { font-size: 0.9rem; margin: 0; }
.service-card .tag { margin-top: 6px; font-size: 0.75rem; font-weight: 600; color: var(--color-accent-600); }
.service-card .more { margin-top: 6px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-brand-700); }
.service-card:hover .more { color: var(--color-accent-600); }

/* Process steps */
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 1024px) {
  .steps { flex-direction: row; align-items: flex-start; gap: 4px; }
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 260px;
}
@media (min-width: 1024px) { .step { flex: 1; } }
.step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: var(--color-brand-50);
  display: grid;
  place-items: center;
}
.step__circle span { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; font-weight: 500; color: var(--color-accent-600); }
.step h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.step p { font-size: 0.88rem; margin: 0; }
.step__arrow { color: rgba(212, 175, 55, 0.7); transform: rotate(90deg); }
@media (min-width: 1024px) { .step__arrow { transform: none; margin-top: 24px; } }
.step__arrow svg { width: 44px; height: 14px; }

/* Service detail (Leistungen-Detailseite) */
.service-detail {
  border-top: 1px solid var(--color-line);
  padding: 30px 0;
  display: grid;
  gap: 16px;
}
.service-detail:first-of-type { border-top: none; }
.service-detail .num { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--color-accent-600); font-size: 1.3rem; }
.checklist li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 0.92rem; }
.checklist svg { width: 18px; height: 18px; color: var(--color-accent-600); flex-shrink: 0; margin-top: 2px; }

.legal ul.dash-list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.95rem; color: var(--color-muted); }
.legal ul.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--color-accent-600); font-weight: 700; }

/* Contact CTA */
.contact-cta { text-align: center; }
.contact-cta .container { max-width: 720px; }
.contact-cta .btn-row { justify-content: center; margin-top: 30px; }

/* Footer */
.site-footer { background: var(--color-brand-950); color: #c7cdd6; }
.footer__grid { display: grid; gap: 44px; padding: 56px 0; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent-500);
  margin-bottom: 18px;
}
.footer__col p { font-size: 0.9rem; }
.footer__col li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer__col svg { width: 18px; height: 18px; color: var(--color-accent-500); flex-shrink: 0; margin-top: 2px; }
.footer__col a:hover { color: #fff; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  font-size: 0.78rem;
}
@media (min-width: 640px) { .footer__bottom .container { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a:hover { color: #fff; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: rgba(243, 238, 225, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--color-brand-100);
}
@media (min-width: 1024px) { .mobile-cta { display: none; } }
.mobile-cta .btn { padding: 12px; font-size: 0.9rem; }
body.has-mobile-cta { padding-bottom: 66px; }

/* Page header (inner pages) */
.page-header { background: var(--color-brand-900); color: var(--color-brand-50); text-align: center; }
.page-header .container { max-width: 720px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 640px) { .page-header .container { padding-top: 72px; padding-bottom: 72px; } }
.page-header h1 { color: #fff; margin-top: 14px; }
.page-header .lede { margin: 18px auto 0; color: var(--color-brand-300); }

/* Contact page */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--color-line); border-radius: 6px; padding: 28px; }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--color-brand-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; }
.field-check input { width: auto; margin-top: 4px; }
.field-check a { text-decoration: underline; }
.form-note { font-size: 0.78rem; margin-top: 12px; }
.info-card { background: var(--color-brand-900); color: var(--color-brand-50); border-radius: 6px; padding: 26px; margin-bottom: 18px; }
.info-card h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-accent-500); margin-bottom: 16px; }
.info-card li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; }
.info-card svg { width: 18px; height: 18px; color: var(--color-accent-500); flex-shrink: 0; margin-top: 2px; }
.info-card table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.info-card td { padding: 4px 0; color: var(--color-brand-300); }
.map-placeholder {
  border-radius: 6px;
  border: 1px dashed var(--color-brand-200);
  background: repeating-linear-gradient(45deg, #e9e3d3, #e9e3d3 10px, var(--color-brand-50) 10px, var(--color-brand-50) 20px);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  padding: 20px;
}

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal .placeholder {
  background: #fdeecb;
  border: 1px dashed var(--color-accent-600);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--color-ink);
}
.legal-notice {
  background: #fdf3dd;
  border: 1px solid var(--color-accent-500);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--color-ink);
}
