/* MARA – Maßnahmenorientiertes Assessment für Risiko und Absicherung
   Statisches Stylesheet, keine externen Ressourcen. Schrift: Libre Franklin (SIL OFL 1.1), lokal. */

@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/libre-franklin-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/libre-franklin-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/libre-franklin-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/libre-franklin-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/libre-franklin-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/libre-franklin-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --teal: #008B93;
  --teal-dark: #006F73;
  --teal-deep: #0B4F53;
  --cyan: #00D7E2;
  --navy: #0F1A2F;
  --ink: #262626;
  --muted: #5F6368;
  --line: #D9D9D9;
  --light: #F2F2F2;
  --red: #C40000;
  --white: #FFFFFF;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: 'Libre Franklin', Arial, Helvetica, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; color: var(--teal-dark); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 46rem; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--grey { background: var(--light); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal .kicker { color: var(--white); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopfzeile ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { font-size: 1.6rem; color: var(--teal); letter-spacing: .02em; }
.brand span { font-size: .8rem; color: var(--muted); line-height: 1.2; max-width: 15rem; }
.nav { display: flex; gap: 22px; font-size: .95rem; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--teal); border-color: var(--teal); }
.nav .nav-cta { color: var(--white); background: var(--teal); padding: 6px 14px; border: 0; border-radius: var(--radius); }
.nav .nav-cta:hover { background: var(--teal-dark); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(90deg, rgba(5,10,20,.92) 0%, rgba(15,26,47,.78) 48%, rgba(0,111,115,.25) 100%), url('../img/hero.webp') center / cover no-repeat, var(--navy);
  padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 96px);
}
.hero .kicker { color: var(--cyan); }
.hero h1 { max-width: 15em; }
.hero .lead { color: #E6EEF0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 3rem; }
.btn { display: inline-block; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--teal); }
.btn--solid { background: var(--teal); color: var(--white); }
.btn--solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn--light:hover { background: #E6F4F5; color: var(--teal-dark); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.5rem; max-width: 60rem; }
.facts div { padding-right: 16px; }
.facts strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--white); line-height: 1.1; }
.facts span { font-size: .9rem; color: #C9D6DA; }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: .9fr 1.1fr; }
.calc { background: var(--white); border-left: 4px solid var(--teal); padding: 24px 28px; margin-bottom: 20px; }
.section--grey .calc { background: var(--white); }
.calc h3 { color: var(--teal-dark); margin-bottom: .4em; }
.calc .eq { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--ink); margin: .2em 0 .3em; line-height: 1.3; }
.calc .eq em { font-style: normal; color: var(--teal); }
.calc .eq .alert { color: var(--red); }
.calc p:last-child { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.figure img { width: 100%; }
.small-note { font-size: .85rem; color: var(--muted); }
.figure { margin: 0; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.figure--white { background: var(--white); padding: 20px; }

.statement { background: var(--teal); color: var(--white); padding: clamp(36px, 5vw, 56px) 0; text-align: center; }
.statement p { margin: 0; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }

.regs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 1.5rem 0 1.5rem; padding: 0; list-style: none; }
.regs li { background: var(--white); padding: 16px 18px; }
.regs b { display: block; color: var(--teal-dark); }
.regs small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: .3rem; }
.regs span { font-size: .92rem; }
.callout { font-size: 1.25rem; font-weight: 700; color: var(--teal-dark); margin-top: 1rem; }

/* ---------- Idee ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; align-items: center; gap: 16px; margin: 2.5rem 0 2rem; }
.flow-box { background: var(--white); padding: 22px; text-align: center; font-weight: 700; border: 1px solid var(--line); }
.flow-core { background: var(--teal); color: var(--white); padding: 28px 22px; text-align: center; }
.flow-core strong { display: block; font-size: 1.7rem; line-height: 1.15; }
.flow-core span { display: block; font-size: .9rem; margin-top: .5rem; color: #DDF2F3; }
.flow-arrow { font-size: 2rem; color: var(--teal); line-height: 1; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flow-list li { background: var(--white); border: 1px solid var(--line); padding: 10px 14px; font-weight: 600; text-align: center; }
.big-claim { background: var(--teal-dark); color: var(--white); padding: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.big-claim strong { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.2; }
.big-claim span { color: #DDF2F3; max-width: 30rem; }

/* ---------- Funktionsweise ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 2rem 0 1.5rem; }
.principle { background: var(--white); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 0 20px; }
.principle .no { font-size: 2.6rem; font-weight: 700; color: var(--teal); line-height: 1; grid-row: span 2; }
.principle h3 { margin: .15em 0 .35em; }
.principle p { margin: 0; color: #3A3A3A; align-self: start; }
.note-band { border-left: 4px solid var(--teal); background: #E6F4F5; padding: 16px 22px; font-weight: 600; }

.block { margin-top: clamp(48px, 6vw, 80px); }
.block h3 { font-size: 1.45rem; color: var(--teal-dark); }
.block-intro { max-width: 48rem; }

.crit { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .98rem; }
.crit th { background: var(--teal); color: var(--white); text-align: left; padding: 12px 16px; font-weight: 600; }
.crit td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.crit td.n { font-size: 1.6rem; font-weight: 700; color: var(--teal); }
.crit tr:nth-child(even) td { background: #FAFAFA; }

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 1rem; }
.mod-base { grid-column: 1 / -1; border: 2px solid var(--teal); background: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mod-base b { display: block; }
.mod-base small { color: var(--muted); }
.mod { background: var(--white); padding: 14px 18px; display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 10px; }
.mod i { font-style: normal; font-size: 1.6rem; font-weight: 700; color: var(--teal); }
.mod span { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.num { font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.mod .num { font-size: 1.15rem; color: var(--ink); }
.total { display: flex; align-items: baseline; gap: 12px; margin-top: 1rem; }
.total strong { font-size: 3rem; color: var(--teal); line-height: 1; }

.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; margin: 1.5rem 0 1rem; max-width: 40rem; }
.lvl { text-align: center; color: var(--ink); background: var(--line); padding: 12px 0; font-size: 1.6rem; font-weight: 700; }
.lvl small { display: block; font-size: .8rem; font-weight: 600; }
.lvl-a { height: 70px; } .lvl-b { height: 110px; }
.lvl-c { height: 150px; background: var(--teal); color: var(--white); }
.lvl-d { height: 190px; background: var(--teal-dark); color: var(--white); }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); padding: 24px 26px; border-top: 4px solid var(--teal); }
.section--grey .card { background: var(--white); }
.section:not(.section--grey) .card { background: var(--light); }
.card h3 { color: var(--teal-dark); margin-bottom: .4em; }
.card p { margin: 0; font-size: .97rem; }
.card .num { display: block; font-size: 2.2rem; line-height: 1.1; margin-bottom: .2em; }

/* ---------- Vorteile ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2rem; }
.benefit { background: var(--light); padding: 24px 26px; }
.benefit h3 { color: var(--teal-dark); margin-bottom: .3em; }
.benefit p { margin: 0; font-size: .97rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .4rem; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Arbeitskreis ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.logos li { background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 18px 22px; min-height: 110px; }
.logos img { max-height: 64px; width: auto; }
.logos--two { grid-template-columns: repeat(2, minmax(0, 280px)); }
.logos--two + .small-note { margin-top: .8rem; }
.people { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 1rem 0 0; }
.people li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.people b { display: block; font-weight: 600; }
.people span { font-size: .9rem; color: var(--muted); }
.principles-ak { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.principles-ak li { background: var(--white); padding: 18px 22px; }
.principles-ak b { display: block; color: var(--teal-dark); }

/* ---------- Mitmachen ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2rem 0; }
.step { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); padding: 24px; }
.step .no { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--cyan); }
.step h3 { margin: .5em 0 .3em; }
.step p { margin: 0; color: #E3F2F3; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact p { margin: 0; color: #E3F2F3; }
.contact a.mail { color: var(--white); font-weight: 700; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--navy); color: #B9C3CC; font-size: .9rem; padding: 40px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.footer a { color: #E2E8EE; }
.footer nav { display: flex; gap: 20px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 52rem; }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--teal-dark); margin-top: .5em; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal address { font-style: normal; }
mark.ph { background: #FFE699; color: var(--ink); padding: 0 .2em; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .nav a:not(.nav-cta) { display: none; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .figure { order: -1; }
  .benefits, .three, .steps { grid-template-columns: 1fr 1fr; }
  .logos, .principles-ak { grid-template-columns: repeat(2, 1fr); }
  .logos--two { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .flow { grid-template-columns: 1fr; text-align: center; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand span { display: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .principles, .benefits, .three, .steps, .checks, .principles-ak { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .levels { gap: 6px; }
  .crit th:nth-child(3), .crit td:nth-child(3) { display: none; }
  .crit th, .crit td { padding: 10px 8px; }
  .logos li { min-height: 90px; padding: 12px; }
  .logos img { max-height: 52px; }
}
@media print {
  .header, .hero-actions, .nav { display: none; }
  .hero { background: none; color: var(--ink); }
  .hero .lead, .facts span, .facts strong { color: var(--ink); }
}
