/* passt24 – Holding-Seite
   Schriften lokal (keine Verbindung zu Google oder anderen Drittanbietern) */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #222e4a;
  --navy-deep: #18233a;
  --yellow: #fac407;
  --text: #222e4a;
  --muted: #5a6478;
  --line: #e3e6ec;
  --soft: #f5f6f8;
  --white: #ffffff;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6, b, strong { font-weight: 500; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* ---------- Kopf ---------- */
.site-header { padding: 28px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.centered .wrap { justify-content: center; }
@media (min-width: 901px) {
  .site-header.centered { padding: 64px 0 40px; }
}
.logo img { width: 220px; height: auto; }

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero .wrap { padding: 32px 0 88px; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  background: #fff8dc;
  border: 1px solid #f6df8a;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 22px 0 18px;
}
.hero h1 .accent { color: var(--yellow); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin: 0 auto 30px; }
.slogan {
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.2;
  color: var(--navy);
  display: inline-block;
  transform: rotate(-2.5deg);
  transform-origin: center;
  margin: 0 0 36px;
  position: relative;
}
.slogan .swoosh {
  position: absolute; left: 47%; right: 0; bottom: -10px; height: 14px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 16px/1 var(--font);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-primary:hover { background: #ffd23a; }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); padding: 14px 22px; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }


/* ---------- Brief ---------- */
.letter-section { background: var(--soft); padding: 96px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 32px; font-weight: 500; }
.letter {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(32, 46, 75, .06), 0 20px 50px -24px rgba(32, 46, 75, .25);
  padding: clamp(28px, 5vw, 64px);
  max-width: 880px;
  margin-inline: auto;
}
.letter p { margin: 0 0 18px; }
.letter .salutation { font-weight: 500; }
.fact { border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 22px; margin: 30px 0; }
.letter-sub { font-size: 18px; margin: 0 0 8px; }
.fact h3 { font-size: 18px; margin: 0 0 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23222e4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checklist li.strong { font-weight: 500; }
.signature { margin-top: 30px; }
.signature .greeting { margin: 0; }
.signature .name { font-weight: 500; font-size: 18px; color: var(--navy); margin: 14px 0 0; }
.signature .role { color: var(--muted); margin: 0; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--navy-deep); color: #c6cddc; padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--yellow); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 24px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; margin: 24px 0 32px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal h2.legal-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; margin: 88px 0 32px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal ol { padding-left: 1.3em; }
.legal ol li { margin-bottom: 10px; }
.legal p, .legal li { color: #2f3a52; }
.legal a { color: var(--navy); text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.back { font-weight: 500; text-decoration: none; }
.back:hover { color: var(--yellow); }
mark.todo { background: #ffe2b3; color: #6b3d00; padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .slogan { font-size: 32px; }
  .logo img { width: 170px; }
  .letter-section { padding: 64px 0; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
