/* =========================================================
   GdBL – Grad der Behinderung Lexikon
   style.css  |  Version 1
   ========================================================= */

/* ---------- 1. Schriften (selbst gehostet) ---------- */

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */

:root {
  /* Farben */
  --navy: #0b2e55;
  --navy-deep: #072342;
  --blue: #0c5a9d;
  --blue-dark: #084b85;
  --blue-soft: #e7f1f9;
  --teal: #1c7a7f;
  --teal-bright: #26878c;
  --teal-deep: #12545a;
  --teal-soft: #e4f2f2;
  --green: #37784a;
  --green-soft: #e8f3ea;

  --ink: #16283c;
  --muted: #4a5f73;
  --line: #d6e3ee;
  --line-soft: #e8f0f6;

  --bg: #ffffff;
  --bg-soft: #f2f7fb;
  --bg-tint: #e7f1f7;

  /* Schrift */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  /* Maße */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gutter: 24px;
  --radius: 12px;
  --radius-lg: 18px;

  /* Schatten */
  --shadow-sm: 0 1px 3px rgba(11, 46, 85, 0.07), 0 6px 16px rgba(11, 46, 85, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 46, 85, 0.08), 0 14px 34px rgba(11, 46, 85, 0.09);
  --shadow-lift: 0 4px 10px rgba(11, 46, 85, 0.1), 0 20px 44px rgba(11, 46, 85, 0.12);
}

/* ---------- 3. Reset und Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.7;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem);
}
h2 {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
}
h3 {
  font-weight: 600;
  font-size: clamp(1.2rem, 1.08rem + 0.55vw, 1.42rem);
}
h4 {
  font-weight: 600;
  font-size: 1.08rem;
}

h3,
.card p,
.quicknav span,
.scale__note {
  hyphens: auto;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--blue-dark);
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 700;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.skiplink:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 4. Layout ---------- */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 6vw, 84px);
}
.section--soft {
  background: var(--bg-soft);
}
.section--wave-end {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(78px, 14vw, 205px);
}
.section--wave-end::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  aspect-ratio: 2865 / 466;
  background-image: url("/subhero.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
.section--tight {
  padding-block: clamp(32px, 4vw, 52px);
}

.section__head {
  max-width: 900px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section__head p {
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid--panels {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
}

/* ---------- 5. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 15px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
}
.btn--ghost:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--teal-deep);
}
.btn--light:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.btn--wide {
  width: 100%;
  justify-content: center;
}

.arrow::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
}

/* ---------- 6. Header und Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 210px;
  height: 46px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 0;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--blue-dark);
  box-shadow: inset 0 -4px 0 var(--teal);
}
.nav a.active {
  color: var(--blue);
  box-shadow: inset 0 -4px 0 var(--teal);
}
.nav a.nav__cta {
  background: var(--blue);
  color: #fff;
  margin-left: 10px;
  padding: 12px 20px;
  box-shadow: none;
}
.nav a.nav__cta:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: none;
}

.burger {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
}
.burger__bars {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
}
.burger__bars::before {
  top: -6px;
}
.burger__bars::after {
  top: 6px;
}

/* ---------- 7. Hero ---------- */

.hero {
  position: relative;
  background-color: #f2f8fb;
  background-image: url("/hero.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    #ffffff 0%,
    #ffffff 44%,
    rgba(255, 255, 255, 0.95) 53%,
    rgba(255, 255, 255, 0.72) 62%,
    rgba(255, 255, 255, 0.28) 72%,
    rgba(255, 255, 255, 0) 84%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(44px, 6vw, 92px);
}
.hero__col {
  max-width: 660px;
}

.hero__lead {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.7em;
}
.hero__text {
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero__facts li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  hyphens: auto;
}
.hero__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

/* ---------- 8. GdB-Skala (Signature) ---------- */

.scale {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.4vw, 30px);
}

.scale__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.scale__caption h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
}
.scale__caption span {
  color: var(--muted);
  font-size: 0.95rem;
}

.scale__track {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}

.scale__step {
  --c: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 88px;
  padding: 10px 5px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: var(--c);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.scale__step:hover,
.scale__step:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.scale__step--light,
.scale__step--light:hover,
.scale__step--light:focus-visible {
  color: var(--navy);
}
.scale__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.7rem);
  font-feature-settings: "tnum" 1;
  line-height: 1;
  color: inherit;
}
.scale__note {
  font-size: 0.74rem;
  line-height: 1.25;
  text-align: center;
  color: inherit;
}

.scale__bracket {
  grid-column: 5 / -1;
  margin: 10px 0 0;
  border-top: 3px solid var(--teal);
  border-radius: 3px;
  padding-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-deep);
  text-align: center;
}
.scale__bracket-left {
  grid-column: 1 / 5;
  margin: 10px 0 0;
  border-top: 3px solid var(--line);
  border-radius: 3px;
  padding-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.scale__hint {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- 9. Karten ---------- */

.card {
  position: relative;
  background: linear-gradient(160deg, #fff 0%, #f7fbfd 100%);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 26px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.card--teal {
  border-left-color: var(--teal);
}
.card--green {
  border-left-color: var(--green);
}
.card h3 {
  margin-bottom: 0.5em;
}
.card p {
  color: var(--muted);
  font-size: 1rem;
}
.card__link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card__link:hover {
  gap: 12px;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card--teal .card__icon {
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.card--green .card__icon {
  background: var(--green-soft);
  color: var(--green);
}

/* Kompakte Sprungkarten */
.quicknav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quicknav a {
  padding: 20px 18px;
  text-decoration: none;
  border-right: 1px solid var(--line-soft);
  transition: background-color 0.16s ease;
}
.quicknav a:last-child {
  border-right: 0;
}
.quicknav a:hover {
  background: var(--bg-soft);
}
.quicknav strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 3px;
}
.quicknav span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- 10. Listen ---------- */

ul.check {
  list-style: none;
  margin: 0 0 1.1em;
  padding: 0;
  display: grid;
  gap: 9px;
}
ul.check li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--ink);
}
ul.check li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}
ul.check--green li::before {
  color: var(--green);
}

.prose ul:not(.check),
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}

/* ---------- 11. Tabellen ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
  margin: 0 0 14px;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 520px;
}
table.data caption {
  text-align: left;
  padding: 16px 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}
table.data th,
table.data td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.data thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 0;
}
table.data tbody tr:nth-child(even) {
  background: #f8fbfd;
}
table.data tbody tr:hover {
  background: var(--blue-soft);
}
table.data td.num,
table.data th.num {
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  font-weight: 600;
  color: var(--navy);
}
table.data tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.6em;
}

/* ---------- 12. Hinweise und Badges ---------- */

.badge-stand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tint);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-stand::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.note {
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  background: #fbfdfe;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 1.6em;
}
.note h3,
.note h4 {
  margin-bottom: 0.4em;
}
.note p:last-child {
  margin-bottom: 0;
}
.note--warn {
  border-left-color: #b8562f;
  background: #fdf8f5;
}

.disclaimer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 22px;
}
.disclaimer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 12px;
  margin-bottom: 28px;
}

/* ---------- 13. Trust-Leiste ---------- */

.trustbar {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 22px;
}
.trustbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.trustbar svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- 14. Panels ---------- */

.panel {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.panel--teal {
  background: linear-gradient(150deg, var(--teal-deep) 0%, #1a6d73 100%);
  color: #e6f4f4;
}
.panel--teal h2,
.panel--teal h3 {
  color: #fff;
}
.panel--teal a:not(.btn) {
  color: #cfeaea;
}
.panel--teal a:not(.btn):hover {
  color: #fff;
}
.panel--teal ul.check li {
  color: #e6f4f4;
}
.panel--teal ul.check li::before {
  color: #8fd3d3;
}

.panel--calc {
  background: linear-gradient(160deg, #fff 0%, var(--blue-soft) 100%);
  border: 1px solid var(--line);
}

.calc-preview {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 22px;
  align-items: center;
}
.calc-dial {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--teal) 0turn 0.5turn, var(--bg-tint) 0.5turn 1turn);
  position: relative;
}
.calc-dial::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #fff;
}
.calc-dial > span {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.calc-dial small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- 15. Beiträge ---------- */

.postlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.postlist li {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 16px;
}
.postlist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.postlist a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}
.postlist a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.postlist time {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- 16. FAQ ---------- */

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  background: var(--bg-soft);
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq .faq__body p:last-child {
  margin-bottom: 0;
}
.faq h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  display: inline;
}

/* ---------- 17. Fließtext ---------- */

.prose {
  max-width: none;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose > :first-child {
  margin-top: 0;
}

.cols-2 {
  display: block;
}

.aside-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(30px, 4vw, 48px);
}
.aside-box__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 16px;
}
.aside-box h3 {
  font-size: 1.15rem;
}
.aside-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 30px;
}
.aside-box a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  gap: 8px;
}
.aside-box a::before {
  content: "\2192";
  color: var(--teal);
}
.aside-box a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .aside-box ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .aside-box ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- 18. Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #c2d6e6;
  padding-top: clamp(44px, 5vw, 68px);
  font-size: 1rem;
}
.site-footer h2,
.site-footer .footer-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-bottom a {
  text-decoration: underline;
}
.site-footer a {
  color: #c2d6e6;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer p {
  color: #b3cadd;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 40px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-brand img {
  width: 190px;
  height: 41px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-legal-note {
  font-size: 0.9rem;
  color: #9db8ce;
  border-left: 3px solid #1f4a72;
  padding-left: 14px;
  margin-top: 18px;
}

.footer-bottom {
  border-top: 1px solid #143354;
  padding-block: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 26px;
  font-size: 0.92rem;
  color: #9db8ce;
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* ---------- 19. Responsive ---------- */

@media (max-width: 1080px) {
  .quicknav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quicknav a {
    border-bottom: 1px solid var(--line-soft);
  }
  .quicknav a:nth-child(3n) {
    border-right: 0;
  }
  .grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav a.nav__cta {
    margin: 14px 0 0;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
  }
  .burger {
    display: inline-flex;
  }
  .site-header__inner {
    position: relative;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__facts {
    position: static;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
  }
}

@media (max-width: 900px) {
  .grid--4,
  .grid--3,
  .grid--5,
  .grid--panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scale__track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  .scale__bracket,
  .scale__bracket-left {
    display: none;
  }
  .calc-preview {
    grid-template-columns: 1fr;
  }
  .calc-dial {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .quicknav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quicknav a:nth-child(3n) {
    border-right: 1px solid var(--line-soft);
  }
  .quicknav a:nth-child(2n) {
    border-right: 0;
  }
  .trustbar ul {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5,
  .grid--panels {
    grid-template-columns: 1fr;
  }
  .hero__facts {
    grid-template-columns: 1fr;
  }
  .hero::before {
    background: linear-gradient(
      170deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.93) 55%,
      rgba(255, 255, 255, 0.8) 100%
    );
  }
  .hero {
    background-position: 60% center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .brand img {
    width: 170px;
    height: 37px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quicknav {
    grid-template-columns: 1fr;
  }
  .quicknav a {
    border-right: 0;
  }
  .scale__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scale__step {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px;
  }
  .scale__note {
    text-align: left;
  }
}

/* ---------- 20. Motion und Druck ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .card:hover,
  .scale__step:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__media,
  .burger {
    display: none;
  }
  body {
    font-size: 11pt;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ---------- 21. Unterseiten (v2) ---------- */

.page-hero {
  background: linear-gradient(170deg, #f4fafc 0%, var(--bg-tint) 100%);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(28px, 4vw, 48px);
}
.page-hero h1 {
  margin-bottom: 0.35em;
}
.page-hero .lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  margin-bottom: 0;
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 14px;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.breadcrumb span[aria-hidden] {
  margin-inline: 6px;
}
.page-hero .byline {
  border: 0;
  padding: 14px 0 0;
  margin: 0;
}

/* ---------- 22. Rechner (v2) ---------- */

.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.6vw, 32px);
}
.calc__rows {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.calc-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 10px;
  align-items: center;
}
.calc select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.calc select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
}
.calc-row__remove {
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.calc-row__remove:hover {
  border-color: #b8562f;
  color: #b8562f;
}
.calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.btn--add {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--navy);
}
.btn--add:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.calc-result {
  display: none;
  margin-top: 22px;
  border-top: 2px solid var(--line-soft);
  padding-top: 22px;
}
.calc-result.visible {
  display: block;
}
.calc-result__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 8px;
}
.calc-result__value em {
  font-style: normal;
  color: var(--teal-deep);
}
.calc-result ul.check {
  margin-top: 14px;
}
.calc-note {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .calc-row {
    grid-template-columns: 1fr;
  }
  .calc-row__remove {
    width: 100%;
  }
}

/* Legal-Seiten */
.prose address {
  font-style: normal;
  line-height: 1.7;
}

/* ---------- 23. Rechner mit Label-Zeilen (v3) ---------- */

.calc-row--two {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.calc-row--two label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}
@media (max-width: 640px) {
  .calc-row--two {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
