/* mein Ratgeber – shared site styles */
:root {
  --brand:        #134a82;  /* deep navy – links, brand, headings accent */
  --brand-bright: #1565b0;  /* accent fills – buttons, numbers, eyebrow  */
  --brand-dark:   #0f3c6b;  /* hover / active                            */
  --ink:          #0e1826;  /* headings                                   */
  --body:         #1c2632;  /* body text                                  */
  --muted:        #5b6b7d;  /* secondary text                             */
  --line:         #e4e9f0;  /* borders                                    */
  --surface:      #f2f6fb;  /* light section background                    */
  --surface-2:    #eef4fb;  /* callout background                          */
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 14px;
}
h1 { font-size: 36px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 26px; font-weight: 700; margin-top: 36px; }
h3 { font-size: 19px; font-weight: 700; margin-top: 28px; }
p  { margin: 0 0 16px; }

ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 6px; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--brand-bright);
  margin-bottom: 14px;
}

/* ───── Header ───── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
}
.site-logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.logo-text { font-size: 20px; line-height: 1; white-space: nowrap; }
.logo-text-1 { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--muted); }
.logo-text-2 { font-family: 'Lora', serif; font-weight: 700; color: var(--brand); }

.site-nav {
  display: flex; gap: 22px;
  font-size: 14px; font-weight: 600;
}
.site-nav a { color: var(--body); }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
.site-nav a.active { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
}

/* ───── Layout ───── */
main { flex: 1; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }

/* ───── Hero ───── */
.hero {
  padding: 60px 0 30px;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero h1 { font-size: 42px; }
.hero .lead {
  font-size: 19px; color: #43505f;
  max-width: 640px; margin: 0 auto 28px;
}

.hero-image {
  max-width: 1180px; margin: 36px auto 0;
  padding: 0 20px;
}
.hero-image img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ───── Generic content block ───── */
.prose h1 { margin-bottom: 22px; }
.prose p, .prose li { color: #2a3441; }
.prose .meta {
  color: var(--muted); font-size: 13px;
  margin-bottom: 32px;
}

/* ───── Feature cards (home) ───── */
.feature-grid {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
}
.feature .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-bright); color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700; font-size: 16px;
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { font-size: 15px; color: #43505f; margin: 0; }

/* ───── Value strip ───── */
.values {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 720px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}
.value strong {
  display: block;
  font-family: 'Lora', serif;
  color: var(--brand); font-size: 34px;
  font-weight: 700; line-height: 1; margin-bottom: 8px;
}
.value span { font-size: 13px; color: var(--muted); }

/* ───── Expert cards ───── */
.expert-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .expert-grid { grid-template-columns: 1fr 1fr; }
}
.expert {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.expert img {
  width: 130px; height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.expert h3 { margin: 0 0 4px; font-size: 18px; }
.expert .role {
  color: var(--brand); font-weight: 700;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: .6px; margin-bottom: 10px;
}
.expert p { font-size: 14px; color: #43505f; margin: 0; }

@media (max-width: 480px) {
  .expert { grid-template-columns: 1fr; }
  .expert img { width: 100%; height: 220px; }
}

/* ───── Methodology timeline ───── */
.method-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.method-step:first-of-type { border-top: 0; }
.method-step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-bright); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700; font-size: 18px;
}
.method-step h3 { margin: 4px 0 6px; font-size: 18px; }
.method-step p { margin: 0; color: #43505f; font-size: 15px; }

/* ───── Contact form ───── */
.contact-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  font-size: 15px;
  color: #2a3441;
}
.contact-info h3 { margin-top: 0; }
form.contact-form { display: grid; gap: 14px; }
form.contact-form label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: #2a3441; margin-bottom: 6px;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #cdd6e0;
  border-radius: 8px;
  background: #fff;
  color: var(--body);
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: 2px solid var(--brand-bright);
  outline-offset: 1px;
  border-color: var(--brand-bright);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form .check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #43505f;
}
form.contact-form .check input { width: auto; margin-top: 3px; }
.btn {
  display: inline-block;
  background: var(--brand-bright); color: #fff !important;
  padding: 13px 26px;
  border: 0; border-radius: 8px;
  font: inherit; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  font-size: 14px; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

/* ───── Footer ───── */
.site-footer {
  background: #0e1826;
  color: #a9b6c4;
  padding: 36px 20px;
  font-size: 13px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr auto; }
}
.footer-brand { color: #fff; font-weight: 700; }
.footer-nav a {
  color: #a9b6c4;
  margin: 0 10px;
}
.footer-nav a:hover { color: #fff; }

/* ───── Helpers ───── */
.callout {
  background: var(--surface-2);
  border-left: 4px solid var(--brand-bright);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: #2a3441;
  font-size: 15px;
}
.callout strong { color: var(--brand); }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ───── Cookie banner ───── */
#mr-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100;
  padding: 18px;
  pointer-events: none;
  animation: mr-cb-in .35s ease-out;
}
@keyframes mr-cb-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.mr-cb-inner {
  pointer-events: auto;
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(14, 24, 38, .18), 0 2px 6px rgba(14, 24, 38, .05);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
@media (min-width: 820px) {
  .mr-cb-inner { grid-template-columns: 1fr auto; gap: 28px; }
}
.mr-cb-text strong {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.mr-cb-text p {
  margin: 0;
  font-size: 13.5px;
  color: #43505f;
  line-height: 1.55;
}
.mr-cb-text a { color: var(--brand); }
.mr-cb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
@media (min-width: 820px) {
  .mr-cb-actions { justify-content: flex-end; flex-wrap: nowrap; }
}
.mr-cb-btn {
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.mr-cb-btn-ghost {
  background: transparent;
  color: #43505f;
  border-color: #cdd6e0;
}
.mr-cb-btn-ghost:hover { color: var(--ink); border-color: #8ea0b3; }
.mr-cb-btn-primary {
  background: var(--brand-bright);
  color: #fff;
  border-color: var(--brand-bright);
}
.mr-cb-btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Settings drawer (within the banner) */
.mr-cb-settings {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 14px;
  display: none;
  gap: 10px;
  flex-direction: column;
}
.mr-cb-settings.open { display: flex; }
.mr-cb-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f7;
  font-size: 13px;
}
.mr-cb-row:last-child { border-bottom: 0; }
.mr-cb-row strong { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 3px; }
.mr-cb-row p { margin: 0; color: #6b7888; font-size: 12.5px; line-height: 1.45; }

/* Simple toggle */
.mr-cb-toggle {
  position: relative;
  width: 38px; height: 22px;
  background: #cdd6e0;
  border-radius: 999px;
  transition: background .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.mr-cb-toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.mr-cb-toggle.on { background: var(--brand-bright); }
.mr-cb-toggle.on::after { transform: translateX(16px); }
.mr-cb-toggle.locked { cursor: not-allowed; opacity: .65; }

/* Form status line */
.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 13px;
  color: var(--muted);
}
.form-status.is-error { color: #b3261e; font-weight: 600; }
