/* Schichtretter – Website. Bewusst ohne externe Schriften, Skripte oder Tracker (keine Datenübertragung an Dritte). */
:root {
  --navy: #0b2545;
  --blue: #1a63c7;
  --blue-light: #e7f0fc;
  --green: #23802f;
  --green-bright: #2e9b3a;
  --green-light: #e3f4e5;
  --bg: #f3f5f9;
  --card: #ffffff;
  --muted: #5b6474;
  --border: #e5e7eb;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }

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

/* Kopfzeile */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.3px; }
.brand .a { color: var(--navy); }
.brand .b { color: var(--green-bright); }
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--blue); }

/* Startseite */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.8px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hero .logo { max-width: 420px; margin: 0 auto; }

.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: var(--blue); color: #fff; font-size: 17px;
}
.button.secondary { background: var(--blue-light); color: var(--blue); }
.button:hover { filter: brightness(0.95); }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }

section { padding: 48px 0; }
section h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 8px; letter-spacing: -0.4px; }
section .sub { color: var(--muted); margin: 0 0 32px; font-size: 18px; }
section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .step { background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.screens figure { margin: 0; text-align: center; }
.screens img {
  border-radius: 28px; border: 8px solid var(--navy); box-shadow: 0 18px 40px rgba(11, 37, 69, 0.18);
  margin: 0 auto 14px; max-width: 280px; width: 100%;
}
.screens figcaption { font-weight: 600; }
.screens figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; padding: 0; margin: 0; list-style: none; }
.features li { padding-left: 34px; position: relative; }
.features li::before {
  content: '✓'; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-light); color: var(--green); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.features strong { display: block; }
.features span { color: var(--muted); }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column;
}
.plan h3 { margin: 0 0 8px; font-size: 22px; }
.plan .price { margin: 0; font-size: 18px; color: var(--muted); }
.plan .price strong { font-size: 40px; color: var(--navy); letter-spacing: -1px; }
.plan .yearly { margin: 2px 0 18px; color: var(--green); font-weight: 600; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--border); }
.plan li::before { content: '✓'; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.plan .button { text-align: center; }
.plans-note { margin: 24px 0 0; color: var(--muted); font-size: 15px; }

/* Formular „Abo verwalten“ */
.request-link { display: grid; gap: 10px; margin: 20px 0 8px; max-width: 420px; }
.request-link label { font-weight: 700; }
.request-link input[type='email'] {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--navy);
}
.request-link .button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }

details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
section.alt details { background: var(--bg); }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Rechtstexte */
.legal { padding: 40px 0 56px; }
.legal .wrap { max-width: 780px; }
.legal article { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; letter-spacing: -0.5px; line-height: 1.2; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal .stand { color: var(--muted); margin: 0 0 24px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.legal th { background: var(--bg); }
.table-scroll { overflow-x: auto; }
.todo { background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.box { background: var(--blue-light); border-radius: 12px; padding: 14px 18px; margin: 16px 0; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--border); background: var(--card); padding: 28px 0; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .logo { max-width: 300px; order: -1; }
  .steps, .screens, .plans { grid-template-columns: 1fr; }
  .screens img { max-width: 260px; }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 14px; }
  .site-header .hide-small { display: none; }
  .hero { padding-top: 32px; }
  .hero p.lead { font-size: 18px; }
}

/* Einführungsseite: Vorlagen zum Kopieren */
.template { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 12px; padding: 4px 18px 10px; margin: 16px 0 24px; }
.template h3 { margin-top: 18px; }
.template p, .template li { font-size: 16px; }
.template .meta { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.ph { background: #fef3c7; color: #92400e; padding: 0 4px; border-radius: 4px; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 12px 0; }
.steps-list > li { counter-increment: s; position: relative; padding: 4px 0 12px 46px; }
.steps-list > li::before {
  content: counter(s); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.hint { background: var(--blue-light); border-radius: 12px; padding: 14px 18px; margin: 16px 0; }
