/* ============================================================
   meinSchadenlotse — Design tokens
   Blueprint-inspired palette: ink navy, hazard amber, cool paper.
   Grounded in the subject: technical assessment, urgency, trust.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root{
  --ink:        #16233A;   /* primary navy — headers, nav */
  --ink-2:      #29415F;   /* secondary blue — links, accents */
  --ink-soft:   #4A5D78;   /* muted blue-grey text */
  --paper:      #F5F6F2;   /* page background */
  --paper-2:    #ECEEE8;   /* section alternation */
  --paper-3:    #FFFFFF;   /* card / form surface */
  --amber:      #C97A2B;   /* alert / CTA accent (hazard-tape derived) */
  --amber-dark: #A6621F;
  --text:       #1E2226;   /* body text */
  --line:       #D8DAD2;   /* hairline borders */
  --line-dark:  #33465F;   /* borders on dark surfaces */

  --serif:  'Source Serif 4', Georgia, serif;
  --sans:   'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3{
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
h1{ font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }
h2{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3{ font-size: 1.2rem; }

p{ margin: 0 0 1em; max-width: 62ch; color: var(--text); }
a{ color: var(--ink-2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--alt{ background: var(--paper-2); }
.section--ink{ background: var(--ink); color: #DCE3EC; }
.section--ink h2, .section--ink h3{ color: #fff; }
.section--ink p{ color: #B9C3D4; }

/* ---------- Header ---------- */
.site-header{
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span{ color: var(--amber); }
.nav-links{
  display: flex; gap: 28px; align-items: center;
  font-size: 0.95rem;
}
.nav-links a{ color: var(--ink-2); text-decoration: none; }
.nav-links a:hover{ text-decoration: underline; }
.nav-cta{
  border: 1px solid var(--ink); border-radius: 3px;
  padding: 8px 16px; color: var(--ink) !important;
  font-weight: 500;
}
.nav-cta:hover{ background: var(--ink); color: #fff !important; }

/* ---------- Hero ---------- */
.hero{
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker{
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1{ margin-bottom: 20px; }
.hero .lede{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-art{ display: flex; justify-content: center; }
.hero-art svg{ width: 100%; max-width: 340px; height: auto; }

/* ---------- Form ---------- */
.lead-form{
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  margin-top: 28px;
  max-width: 480px;
}
.lead-form .row{ display: flex; gap: 12px; }
.field{ margin-bottom: 14px; flex: 1; }
.field label{
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea{
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--sans); font-size: 0.98rem;
  background: #fff; color: var(--text);
}
.field textarea{ resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--ink-2); }
.btn{
  display: inline-block;
  background: var(--amber-dark); color: #fff;
  border: none; border-radius: 4px;
  padding: 13px 22px; font-size: 1rem; font-weight: 600;
  font-family: var(--sans);
  cursor: pointer; width: 100%;
  transition: background 120ms ease;
}
.btn:hover{ background: #7F4C18; }
.btn-outline{
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); width: auto;
}
.btn-outline:hover{ background: var(--ink); color: #fff; }
.form-note{
  font-size: 0.82rem; color: var(--ink-soft);
  margin-top: 10px; margin-bottom: 0;
}
.form-success{
  display: none;
  background: var(--paper-3); border: 1px solid var(--line);
  border-radius: 6px; padding: 24px; margin-top: 28px; max-width: 480px;
}
.form-success h3{ margin-bottom: 8px; }

/* ---------- Trust strip ---------- */
.trust-strip{
  border-bottom: 1px solid var(--line);
}
.trust-strip .wrap{
  display: flex; flex-wrap: wrap; gap: 0;
  padding-top: 28px; padding-bottom: 28px;
}
.trust-item{
  flex: 1; min-width: 220px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child{ border-left: none; padding-left: 0; }
.trust-item h3{
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.trust-item p{ font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Steps ---------- */
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.step-num{
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  color: var(--amber-dark); line-height: 1; margin-bottom: 12px;
}
.step h3{ margin-bottom: 8px; }
.step p{ font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Two column text ---------- */
.two-col{
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3{ font-family: var(--sans); font-size: 1.02rem; margin-bottom: 8px; }
.faq-item p{ font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Partner CTA ---------- */
.partner-box{
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Standorte list ---------- */
.city-list{ margin-top: 32px; border-top: 1px solid var(--line); }
.city-row{
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.city-row .city-name{ font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.city-row .status{ font-size: 0.85rem; font-weight: 600; }
.status--live{ color: #2E7D4F; }
.status--soon{ color: var(--ink-soft); }
.city-row a.city-link{ text-decoration: none; }
.city-row a.city-link:hover .city-name{ text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line-dark);
  background: var(--ink); color: #B9C3D4;
  padding: 48px 0 28px;
}
.site-footer .wrap{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.site-footer a{ color: #DCE3EC; }
.footer-links{ display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; }
.footer-bottom{
  max-width: var(--maxw); margin: 32px auto 0; padding: 20px 24px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem; color: #7C8AA0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .nav-links a:not(.nav-cta){ display: none; }
  .nav-cta{ padding: 7px 12px; font-size: 0.88rem; }
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; max-width: 220px; margin: 0 auto; }
  .steps{ grid-template-columns: 1fr; gap: 28px; }
  .two-col{ grid-template-columns: 1fr; gap: 32px; }
  .trust-strip .wrap{ flex-direction: column; }
  .trust-item{ border-left: none; padding: 14px 0; border-top: 1px solid var(--line); }
  .trust-item:first-child{ border-top: none; }
  .nav-links{ gap: 16px; font-size: 0.88rem; }
  .lead-form .row{ flex-direction: column; }
  .partner-box{ flex-direction: column; align-items: flex-start; }
}
