/* ==========================================================
   Online Pflegeschule – Parkinson · Baustellenseite
   Stil angelehnt an pflegeschule.thynk.rocks
   Schriften lokal eingebunden (keine Verbindung zu Google)
   ========================================================== */

@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/heebo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/heebo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/heebo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-latin-500-normal.woff2") format("woff2"); }

:root {
  --teal: #007880;
  --teal-dark: #004a50;
  --teal-deep: #004d52;
  --teal-light: #13968f;
  --berry: #9f2039;
  --text: #4a5e61;
  --heading: #0b2f31;
  --muted-bg: #f2f8f9;
  --white: #ffffff;
  --border: rgba(0, 120, 128, 0.12);
  --shadow: 0 24px 60px -24px rgba(0, 74, 80, 0.28), 0 6px 18px -8px rgba(0, 74, 80, 0.12);
  --font-head: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--muted-bg);
  background-image:
    radial-gradient(55% 70% at 88% 12%, rgba(0, 120, 128, 0.14) 0, rgba(0, 120, 128, 0) 70%),
    radial-gradient(45% 60% at 0 100%, rgba(159, 32, 57, 0.07) 0, rgba(159, 32, 57, 0) 70%);
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff; padding: 8px 16px; z-index: 10;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header { padding: 28px 0 0; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.site-header .logo { display: inline-block; line-height: 0; }
.site-header .logo img { height: 52px; width: auto; }

/* ---------- Main ---------- */
main { flex: 1 0 auto; display: flex; align-items: center; padding: 48px 0 72px; }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 64px 64px 56px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--teal-dark) 0, var(--teal) 50%, var(--teal-light) 100%);
}

.card--center { text-align: center; max-width: 860px; margin: 0 auto; }
.card--center .card-logo { width: min(100%, 440px); height: auto; margin: 0 auto 40px; display: block; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  background-image: linear-gradient(120deg, #004a50 0, #007880 25%, #13968f 50%, #007880 75%, #004a50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 44px 0 12px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 24px 0 6px;
  color: var(--heading);
}

.lead { font-size: 20px; line-height: 1.7; max-width: 640px; margin: 0 auto 36px; }
.lead strong { color: var(--heading); font-weight: 500; }

.divider {
  width: 64px; height: 3px; border: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  margin: 0 auto 32px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600; line-height: 48px;
  padding: 0 36px;
  border-radius: 500px;
  text-decoration: none;
  color: #fff;
  background: var(--teal);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -12px rgba(0, 120, 128, 0.7);
  max-width: 100%;
  word-break: break-word;
}
.button:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.button svg { width: 20px; height: 20px; flex: none; }

.contact-note { margin: 18px 0 0; font-size: 15px; color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { text-align: left; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; margin: 0 0 14px; }
.legal .back { display: flex; width: fit-content; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 28px; }
.legal .back:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: 240px 1fr; gap: 6px 28px; margin: 0 0 14px; }
.facts dt { font-weight: 500; color: var(--heading); }
.facts dd { margin: 0 0 10px; }

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0, var(--teal-deep) 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  padding: 22px 0;
}
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .site-header { padding-top: 20px; }
  .site-header .logo img { height: 40px; }
  main { padding: 28px 0 48px; }
  .container { padding: 0 16px; }
  .card { padding: 40px 22px 36px; border-radius: 18px; }
  .card--center .card-logo { margin-bottom: 28px; }
  .lead { font-size: 18px; }
  .button { padding: 0 24px; font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 12px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
