/* Zielgruppenseiten für QINTSERV.
   Nutzt bewusst dieselben Farb- und Schriftwerte wie die Startseite,
   damit die Seiten nicht wie ein Fremdkörper wirken. */

:root {
  --ink:       #0d1117;
  --ink-2:     #2c3441;
  --muted:     #6b7280;
  --line:      #e8e5df;
  --bg:        #f9f8f5;
  --surface:   #ffffff;
  --navy:      #0c2340;
  --navy-mid:  #1a3a5c;
  --gold:      #9e7e3f;
  --gold-lt:   #c4a05a;
  --shadow-sm: 0 2px 12px rgba(12,35,64,.06);
  --shadow-md: 0 12px 40px rgba(12,35,64,.10);
  --r:         16px;
  --max:       1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- Kopfzeile ---------- */

.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
}

.brand span { color: var(--muted); font-weight: 400; }

.head-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.head-links a {
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
}

.head-links a:hover { color: var(--navy); }

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
}

/* ---------- Zielgruppenschalter, das Kernelement der Seite ----------
   Beide Seiten des Marktplatzes bleiben immer sichtbar. Wer auf der
   falschen Seite gelandet ist, sieht sofort, wo er hin muss. */

.switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 34px 0 0;
}

.switch a {
  display: block;
  padding: 18px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.switch a:hover { border-color: var(--gold-lt); transform: translateY(-2px); }

.switch a.active {
  background: var(--navy);
  border-color: var(--navy);
}

.switch .s-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.switch a.active .s-label { color: var(--gold-lt); }

.switch .s-title {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--navy);
}

.switch a.active .s-title { color: #fff; }

/* ---------- Titelbereich ---------- */

.hero { padding: 52px 0 8px; }
.hero h1 { max-width: 18ch; }

.hero .lead {
  font-size: 1.16rem;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 22px;
}

/* ---------- Abschnitte ---------- */

section { padding: 62px 0; }
section + section { border-top: 1px solid var(--line); }

.section-intro { max-width: 62ch; margin-bottom: 38px; }
.section-intro p { color: var(--ink-2); margin-top: 14px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

/* Ablaufschritte. Die Nummerierung steht hier, weil die Reihenfolge
   tatsächlich eine Bedeutung hat, und nicht als Zierde. */

.steps { counter-reset: step; display: grid; gap: 2px; }

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step:last-child { border-bottom: 0; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); margin: 0; font-size: 0.97rem; }

/* Sorgen und Antworten. Frage in Serife, Antwort nüchtern. */

.qa { border-top: 1px solid var(--line); }

.qa details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.qa summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.32rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  flex: none;
}

.qa details[open] summary::after { content: "\2212"; }

.qa details p {
  color: var(--ink-2);
  max-width: 68ch;
  padding-bottom: 20px;
  margin: 0;
  font-size: 0.99rem;
}

/* ---------- Handlungsaufruf ---------- */

.cta {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 46px 40px;
  margin: 0 0 62px;
}

.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: rgba(255,255,255,.78); max-width: 56ch; margin-top: 14px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background .18s ease, color .18s ease;
}

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-lt); }

.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Fußzeile ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  font-size: 0.86rem;
  color: var(--muted);
}

.site-foot a { color: var(--muted); }
.site-foot .legal { margin-top: 10px; font-size: 0.8rem; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 620px) {
  body { font-size: 16px; }
  .switch { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .cta { padding: 34px 24px; }
  section { padding: 46px 0; }
}

/* ---------- Bedienbarkeit ---------- */

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
