/* Schriften: Barlow, SIL Open Font License 1.1 (fonts/OFL.txt) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://iso22081.de/fonts/barlow-latin-400-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("https://iso22081.de/fonts/barlow-latin-400-italic.woff2?v=2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://iso22081.de/fonts/barlow-latin-600-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://iso22081.de/fonts/barlow-condensed-latin-600-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://iso22081.de/fonts/barlow-condensed-latin-700-normal.woff2?v=2") format("woff2"); }

/* Layout: eine ruhige Lesespalte, Abschnitte wechseln zwischen Weiß und hellem BeSt-Blau; das Schriftfeld im Kopf ist das einzige laute Element.
   Farben und Schriften aus dem Erscheinungsbild von gps-schulung.de. Bewusst nur ein helles Design, passend zum Logo und zur Schwesterseite. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --band: #F3F8FC;
  --sky: #C9E4F5;
  --ink: #2E3750;
  --muted: #5A6378;
  --brand: #2595D2;
  --line: #1F84C2;
  --mark: #F4B400;
  --mark-hover: #DDA200;
  --rule: #DCE3EA;
  --field: #AEB9C7;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(48px, 7vw, 84px); }
.band { background: var(--band); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); max-width: 26ch; }
h3, h4 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
.prose { max-width: 64ch; display: grid; gap: 1em; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px;
}
.stack { display: grid; gap: 24px; align-content: start; }

/* Kopfleiste */
.top { padding-block: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.top img { height: 44px; width: auto; display: block; }
.top .mail { font-size: 0.95rem; color: var(--muted); }

/* Kopf */
.hero { background: var(--sky); padding-block: clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 60px); align-items: center; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--ink); margin-bottom: 12px; }
.hero .sub { margin-top: 22px; font-size: 1.2rem; max-width: 50ch; }
.hero .price { margin-top: 12px; font-size: 1.2rem; font-weight: 600; }
.cta-row { margin-top: 28px; display: grid; gap: 10px; justify-items: start; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: 4px; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.btn-main { background: var(--mark); color: var(--ink); }
.btn-main:hover { background: var(--mark-hover); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.note { font-size: 0.95rem; color: var(--muted); max-width: 46ch; }

figure.tb { margin: 0; }
.tb img { display: block; width: 100%; }
.tb figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }

/* Zahlenleiste */
.facts { padding-block: 18px; border-bottom: 1px solid var(--rule); }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 34px; font-weight: 600; color: var(--muted); }

/* Lage */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 66ch; }
.points li { padding-left: 20px; border-left: 3px solid var(--brand); }
.points strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; margin-bottom: 2px; }
.aside { max-width: 64ch; font-style: italic; color: var(--muted); }
.stand { font-size: 0.9rem; color: var(--muted); }

ul.list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 64ch; }
.diff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.diff div { border-top: 2px solid var(--brand); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.ref { font-weight: 600; }

/* Preis */
.price-sheet {
  background: var(--paper); border: 1.6px solid var(--ink);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
}
.price-sheet > div { padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.price-sheet > div + div { border-left: 0.9px solid var(--ink); }
.amount { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.small { font-size: 0.93rem; color: var(--muted); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }

/* Team und Stimmen */
.team-grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.photo { position: relative; margin: 0; aspect-ratio: 623 / 900; width: 100%; max-width: 100%; background: var(--band); overflow: hidden; display: grid; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; grid-area: 1 / 1; }
.photo figcaption { grid-area: 1 / 1; align-self: center; text-align: center; color: var(--muted); font-size: 0.9rem; padding: 16px; }
.photo:not(.noimg) figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes figure { margin: 0; display: grid; gap: 12px; align-content: start; padding-top: 14px; border-top: 2px solid var(--brand); }
.quotes blockquote { margin: 0; }
.quotes figcaption { font-size: 0.93rem; color: var(--muted); display: grid; gap: 2px; }
.quotes figcaption b { color: var(--ink); font-weight: 600; }
.clients { display: grid; gap: 14px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
.clients img { height: 34px; width: auto; display: block; filter: grayscale(1); opacity: .8; }
.clients .logo-name { font-weight: 600; color: var(--muted); }

/* FAQ */
.faq { display: grid; max-width: 72ch; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px;
  font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--line);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: 64ch; }

footer { border-top: 1px solid var(--rule); padding-block: 30px 40px; font-size: 0.92rem; color: var(--muted); }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-grid, .two, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .diff, .quotes { grid-template-columns: minmax(0, 1fr); }
  .price-sheet { grid-template-columns: minmax(0, 1fr); }
  .price-sheet > div + div { border-left: 0; border-top: 0.9px solid var(--ink); }
  .team-grid .photo { max-width: 240px; }
  .top img { height: 36px; }
}

/* Rechtsseiten */
.legal h1 { margin-bottom: 0.2em; }
.legal h2 { font-size: 1.45rem; max-width: none; margin-top: 0.8em; }
.legal ul.list { gap: 2px; }


/* ===== iso2768.de: Ergänzungen zur Vorlage von iso22081.de ===== */
p, li, figcaption, summary { text-wrap: pretty; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 920px; }
.compare .box { background: var(--paper); border: 1.6px solid var(--rule); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; align-content: start; }
.compare .box-neu { border-color: var(--ink); }
.compare .box-neu h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--mark); margin-right: 10px; vertical-align: middle; }
.roles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 920px; }
.roles p { border-left: 3px solid var(--brand); padding-left: 18px; }
.tags p:first-child { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); border: 1.6px solid var(--ink); background: var(--paper); padding: 6px 16px; white-space: nowrap; }
.tags { display: grid; gap: 10px; }
.relief { font-weight: 600; }
.form { display: grid; gap: 22px; max-width: 720px; }
.termine { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.termine legend { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin-bottom: 8px; padding: 0; }
.termine label { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1.6px solid var(--rule); padding: 12px 16px; cursor: pointer; }
.termine label:has(input:checked) { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--mark); }
.termine input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.termine b { font-weight: 600; margin-right: 6px; }
.felder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; }
.felder label { display: grid; gap: 6px; font-weight: 600; font-size: 0.98rem; }
.felder input, .felder select { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.6px solid var(--field); border-radius: 3px; padding: 11px 12px; width: 100%; }
.felder input:focus, .felder select:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.btn { font-family: var(--display); }
.diff-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
.points-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 22px 36px; }
.sticky { display: none; }
@media (max-width: 860px) {
  .compare, .roles, .felder, .diff-2, .points-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); border-top: 1px solid var(--rule); }
  .sticky .btn { display: block; text-align: center; }
  footer { padding-bottom: 96px; }
}
