/* ===========================================================
   Göz Gutachten — KFZ-Sachverständiger
   Brand system & layout
   =========================================================== */

:root {
  /* Brand colors (sampled from business card) */
  --navy:        #1E468B;
  --navy-deep:   #163774;
  --navy-900:    #0E2550;
  --navy-950:    #0A1B३C;
  --blue-mid:    #2E5BB0;
  --blue-bright: #3B73D6;
  --silver:      #9AA6B8;
  --silver-2:    #C7CFDB;
  --silver-soft: #E3E8EF;

  --bg:        #F4F6F9;
  --bg-tint:   #ECF0F6;
  --white:     #FFFFFF;
  --ink:       #15213A;
  --ink-soft:  #3A465C;
  --muted:     #677488;
  --line:      #E1E6EE;

  /* Type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(14, 37, 80, .06);
  --shadow-md: 0 14px 40px rgba(14, 37, 80, .12);
  --shadow-lg: 0 30px 80px rgba(10, 27, 60, .28);

  --header-h: 84px;
}

/* fix accidental unicode in tokens */
:root { --navy-950: #0A1B3C; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.07; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--navy);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--silver-2); }
.eyebrow.on-dark::before { background: var(--blue-bright); }

/* ===== Buttons ===== */
.btn {
  --bg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 11px;
  background: var(--bg);
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,70,139,.32); }
.btn--accent { --bg: var(--blue-bright); }
.btn--accent:hover { box-shadow: 0 12px 26px rgba(59,115,214,.4); }
.btn--ghost {
  background: transparent; color: var(--navy);
  border-color: rgba(30,70,139,.28);
}
.btn--ghost:hover { background: rgba(30,70,139,.06); box-shadow: none; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-900) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 16px rgba(14,37,80,.28);
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 22%;
  height: 2px; background: var(--silver-2); border-radius: 2px;
  box-shadow: 0 5px 0 rgba(199,207,219,.45);
  transform: rotate(-7deg);
}
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.brand__name span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.site-header:not(.scrolled) .brand__name b { color: #fff; }
.site-header:not(.scrolled) .brand__name span { color: rgba(255,255,255,.72); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-weight: 500; font-size: 15.5px; padding: 9px 14px; border-radius: 9px;
  color: #fff; opacity: .92; transition: opacity .15s, background .15s, color .15s;
}
.nav a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.site-header.scrolled .nav a { color: var(--ink-soft); }
.site-header.scrolled .nav a:hover { background: rgba(30,70,139,.07); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15.5px; color: #fff;
}
.site-header.scrolled .header-phone { color: var(--navy); }
.header-phone svg { width: 17px; height: 17px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg image-slot { width: 100%; height: 100%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,21,48,.60) 0%, rgba(8,21,48,.26) 34%, rgba(8,21,48,.40) 55%, rgba(8,21,48,.70) 74%, rgba(8,21,48,.92) 100%),
    linear-gradient(102deg, rgba(11,27,60,.86) 0%, rgba(11,27,60,.40) 42%, rgba(11,27,60,0) 72%);
}
.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: calc(var(--header-h) + clamp(20px, 3vh, 40px));
  padding-bottom: 22px;
  gap: 20px;
  pointer-events: none;
}
.hero__content, .quickform { pointer-events: auto; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__content { max-width: 820px; margin-top: auto; }
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.04;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--silver-2); }
.hero__lead {
  margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
  color: rgba(255,255,255,.9); max-width: 580px; text-wrap: pretty;
}
.hero__cta { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 28px; display: flex; gap: 16px; flex-wrap: nowrap;
  font-size: 19px; color: #fff; font-weight: 500;
  text-shadow: 0 1px 8px rgba(8,21,48,.55);
}
.hero__trust span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__trust svg { width: 23px; height: 23px; color: var(--blue-bright); flex: none; }

/* Appointment form bar in lower hero */
.quickform {
  margin-top: auto;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  padding: 20px clamp(20px, 3vw, 32px) 22px;
  border-top: 3px solid var(--blue-bright);
}
.quickform__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.quickform__head h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.quickform__head p { font-size: 14.5px; color: var(--muted); }
.qf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; width: 100%; transition: border .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3b2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,115,214,.16);
}
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
.qf-submit { grid-column: span 2; }
.qf-note { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.qf-note svg { width: 15px; height: 15px; color: var(--navy); }
.qf-success {
  display: none; align-items: center; gap: 14px;
  background: #ECF6EE; border: 1px solid #BFE3C7; color: #1C5B2E;
  border-radius: 12px; padding: 16px 18px; font-size: 15.5px; font-weight: 500;
}
.qf-success.show { display: flex; }
.qf-success svg { width: 22px; height: 22px; flex: none; }

/* ===== Section scaffolding ===== */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.section--tint { background: var(--bg-tint); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }
.section__head h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 18px; color: var(--ink); }
.section--navy .section__head h2 { color: #fff; }
.section__head p { margin-top: 18px; font-size: 19px; color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.section--navy .section__head p { color: rgba(255,255,255,.78); }

/* ===== Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 32px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--silver-2); }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--navy); margin-bottom: 22px;
}
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.svc-card p { margin-top: 12px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.svc-card__no { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--silver-2); }

/* ===== Process / Ablauf ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 16px; }
.step__no {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22);
}
.step h3 { font-size: 20px; font-weight: 700; color: #fff; }
.step p { margin-top: 11px; font-size: 16px; color: rgba(255,255,255,.74); line-height: 1.6; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 60px; right: -11px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.05));
}

/* ===== About ===== */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media image-slot { display: block; width: 100%; height: 100%; }
.about__photo { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-tint); }
.about__badge {
  position: absolute; right: -22px; bottom: 30px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 22px;
  box-shadow: var(--shadow-md); max-width: 230px;
}
.about__badge b { font-family: var(--font-display); font-size: 17px; display: block; }
.about__badge span { font-size: 13.5px; color: rgba(255,255,255,.8); }
.about__body h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 18px; }
.about__body > p { margin-top: 20px; font-size: 18px; color: var(--ink-soft); line-height: 1.7; }
.about__list { margin-top: 28px; display: grid; gap: 16px; }
.about__list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--ink-soft); }
.about__list .tick { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); color: var(--navy); display: grid; place-items: center; flex: none; margin-top: 1px; }
.about__list .tick svg { width: 15px; height: 15px; }

/* ===== Promise (value strip) ===== */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
}
.promise__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.promise__icon svg { width: 25px; height: 25px; }
.promise h3 { font-size: 19px; font-weight: 700; }
.promise p { margin-top: 11px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact__info .eyebrow { margin-bottom: 18px; }
.contact__info h2 { font-size: clamp(30px, 3.6vw, 46px); }
.contact__info > p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 460px; line-height: 1.65; }
.contact__rows { margin-top: 34px; display: grid; gap: 4px; }
.crow { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crow__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.crow__icon svg { width: 22px; height: 22px; }
.crow__k { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.crow__v { font-size: 18px; font-weight: 600; color: var(--ink); }
.contact__hours { margin-top: 26px; font-size: 15.5px; color: var(--ink-soft); }
.contact__hours b { font-family: var(--font-display); }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-md);
}
.contact-card h3 { font-size: 24px; font-weight: 800; }
.contact-card > p { margin-top: 8px; font-size: 15.5px; color: var(--muted); margin-bottom: 22px; }
.contact-card .qf-grid { gap: 14px; }

/* ===== Footer ===== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name b { color: #fff; }
.footer .brand__name span { color: rgba(255,255,255,.6); }
.footer__about { margin-top: 20px; font-size: 15px; line-height: 1.65; max-width: 340px; }
.footer h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 15px; transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; font-size: 15px; }
.footer__contact a { display: flex; gap: 11px; align-items: center; }
.footer__contact svg { width: 17px; height: 17px; color: var(--blue-bright); flex: none; }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Mobile nav drawer ===== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--navy-950);
  display: flex; flex-direction: column; padding: 28px var(--gutter);
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav__close { background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.mobile-nav a { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 28px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .btn { margin-top: 28px; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .nav, .header-actions .header-phone { display: none; }
  .menu-toggle { display: block; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .about__badge { right: 16px; }
  .contact { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .qf-grid { grid-template-columns: repeat(2, 1fr); }
  .col-3, .col-4, .col-6, .qf-submit { grid-column: span 2; }
  .col-2 { grid-column: span 1; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .qf-grid { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-4, .col-6, .qf-submit { grid-column: span 1; }
  .hero__trust { gap: 14px 22px; }
  .quickform { border-radius: 16px 16px 0 0; }
}
