/* =========================================================
   Die-Gutachter.GmbH — Landingpage
   Farben aus dem bestehenden Logo: Navy #002B65, Gold #FFD400
   ========================================================= */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #002B65;
  --navy-dark: #001A3D;
  --navy-mid: #0B3E82;
  --gold: #FFD400;
  --gold-dark: #E0B800;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --grey-100: #EDF0F4;
  --grey-300: #C9D1DC;
  --grey-600: #5B6675;
  --ink: #101826;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(0, 26, 61, 0.25);
  --max-width: 1160px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-weight: 900; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 14px 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-accent { background: var(--gold); color: var(--navy-dark); box-shadow: 0 8px 20px -6px rgba(255,212,0,.55); }
.btn-accent:hover { background: var(--gold-dark); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-small { padding: 9px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo-link { display: block; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: .96rem;
}
.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover { border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: min(92vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,20,50,.92) 0%, rgba(0,25,60,.78) 42%, rgba(0,30,70,.35) 75%, rgba(0,30,70,.15) 100%),
    linear-gradient(0deg, rgba(0,10,30,.55) 0%, rgba(0,10,30,0) 30%);
}
.hero-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--gold);
  margin: 0 0 .9em;
}
.eyebrow-dark { color: var(--navy-mid); }

.hero h1 { color: var(--white); max-width: 15ch; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; color: var(--grey-100); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0; }

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 2em 0 0;
  padding: 1.4em 0 0;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: .92rem;
  font-weight: 600;
  color: var(--grey-100);
}
.trust-strip li { position: relative; padding-left: 22px; }
.trust-strip li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold); }
.section-lead { font-size: 1.1rem; color: var(--grey-100); max-width: 52ch; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 2.2em;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card .icon { color: var(--navy); display: inline-block; margin-bottom: .6em; }
.card .icon svg { display: block; }
.card p:last-child { margin-bottom: 0; color: var(--grey-600); }

.card-outline {
  background: var(--white);
  border: 2px solid var(--grey-100);
  box-shadow: none;
}
.card-outline h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

.requirements {
  margin-top: 3em;
  padding-top: 2.4em;
  border-top: 1px solid var(--grey-100);
}
.requirements h3 { margin-bottom: .8em; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 7px;
  width: 9px; height: 5px;
  border-left: 2.5px solid var(--navy-dark);
  border-bottom: 2.5px solid var(--navy-dark);
  transform: rotate(-45deg);
}
.section-navy .check-list li::after { border-color: var(--navy-dark); }

/* ---------- Steps (Ablauf) ---------- */
.steps {
  list-style: none;
  margin: 2.4em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 8px; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(100% + 2px);
  width: calc(26px - 4px);
  height: 2px;
  background: rgba(255,255,255,.3);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.steps p { color: var(--grey-100); margin-bottom: 0; }

/* ---------- Split section ---------- */
.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-text .check-list { margin: 1.4em 0 1.8em; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2em; display: grid; gap: 12px; }
.faq-item {
  background: var(--off-white);
  border-radius: 12px;
  padding: 4px 22px;
  border: 1px solid var(--grey-100);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-weight: 700;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; color: var(--grey-600); }

/* ---------- Contact form ---------- */
.contact-form {
  margin-top: 2.4em;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px);
}
.form-row { margin-bottom: 20px; }
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row-half .form-row { margin-bottom: 0; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: .95rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.form-row-captcha input#captchaAnswer { max-width: 140px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent { font-size: .92rem; color: var(--grey-100); }
.checkbox-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.checkbox-label input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.checkbox-label a { color: var(--gold); text-decoration: underline; }

.form-hint { font-size: .85rem; color: var(--grey-300); margin-top: 10px; margin-bottom: 0; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #5a1620; color: #ffd9dd; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--grey-100); padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img { margin-bottom: 14px; }
.footer-note { font-size: .85rem; color: var(--grey-300); max-width: 32ch; }
.footer-contact address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { padding: 20px 24px; font-size: .82rem; color: var(--grey-300); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .split-wrap { grid-template-columns: 1fr; gap: 32px; }
  .split-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--grey-100); }
  .main-nav .btn { margin-top: 14px; }

  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 20px; }
  .hero-content { padding-top: 48px; padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .main-nav { transition: none; }
}
