/* Inter – lokal eingebunden (keine Übertragung an Google-Server).
   Schriftdateien: assets/fonts/, Quelle: Fontsource (SIL Open Font License). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-latin-800-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #031025;
  --bg-soft: #071a34;
  --panel: rgba(13, 34, 61, 0.82);
  --panel-strong: rgba(16, 42, 74, 0.92);
  --line: rgba(137, 183, 226, 0.18);
  --text: #f8fbff;
  --muted: #c7d3e3;
  --teal: #27d5c7;
  --teal-dark: #12a89d;
  --blue: #3c8be8;
  --yellow: #ffc400;
  --purple: #9b6df0;
  --green: #22c7a9;
  --orange: #ff7a2f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 10%, rgba(42, 145, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 4%, rgba(39, 213, 199, 0.16), transparent 28rem),
    linear-gradient(180deg, #020b1c 0%, var(--bg) 48%, #04152c 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
main {
  width: min(100% - 32px, 1640px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0 12px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(39, 213, 199, 0.22);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--teal);
}

.brand-mark::before {
  width: 2px;
  height: 66px;
}

.brand-mark::after {
  width: 66px;
  height: 2px;
}

.compass-needle {
  z-index: 1;
  width: 48px;
  height: 48px;
  color: var(--teal);
  transform: rotate(10deg);
  filter: drop-shadow(0 0 8px rgba(39, 213, 199, 0.5));
}

.needle-main {
  fill: rgba(39, 213, 199, 0.16);
  stroke: currentColor;
  stroke-width: 4;
}

.needle-cut {
  fill: var(--teal);
  stroke: currentColor;
  stroke-width: 1.8;
}

.brand strong {
  display: block;
  font-size: 1.48rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand strong span {
  color: var(--teal);
}

.brand small {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 18px 0 22px;
  color: rgba(248, 251, 255, 0.9);
}

.main-nav a:hover,
.main-nav .active {
  color: var(--teal);
}

.main-nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 44px;
  height: 44px;
}

.icon-button svg {
  width: 28px;
  height: 28px;
}

.profile-button,
.primary-button,
.secondary-button,
.accent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

/* Ohne diese Regel bliebe das hidden-Attribut auf Buttons wirkungslos: die
   display-Angabe oben uebersteuert sonst die Standardregel des Browsers. */
.profile-button[hidden],
.primary-button[hidden],
.secondary-button[hidden],
.accent-button[hidden] {
  display: none;
}

.profile-button {
  min-width: 142px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--teal), #21bed0);
  box-shadow: 0 18px 40px rgba(39, 213, 199, 0.24);
}

.profile-button svg {
  fill: currentColor;
  stroke-width: 0;
}

/* "Coming soon"-Markierung für Funktionen, die noch entwickelt werden */
.action-with-badge {
  position: relative;
  display: inline-flex;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), #ff9d2e);
  color: #07203f;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.coming-soon-badge--float {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  font-size: 0.5rem;
  box-shadow: 0 8px 18px rgba(4, 18, 38, 0.45);
  pointer-events: none;
}

.panel-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

.panel-kicker-row .panel-kicker {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(620px, 1.1fr);
  align-items: center;
  gap: 24px;
  min-height: 430px;
  padding: 34px 0 8px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  padding: 12px 18px;
  border: 1px solid rgba(113, 178, 231, 0.33);
  border-radius: 999px;
  color: #edf8ff;
  background: rgba(12, 39, 75, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 28px;
  color: #edf4ff;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.primary-button,
.secondary-button,
.accent-button {
  min-width: 196px;
  padding: 0 28px;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 18px 46px rgba(18, 168, 157, 0.23);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(2, 15, 33, 0.48);
}

.accent-button {
  color: #0b1730;
  background: linear-gradient(135deg, var(--yellow), #f0aa00);
}

.small {
  min-width: 168px;
  min-height: 42px;
  padding: 0 22px;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

/* Banner-Bild (≈2,33:1) mit eigenem dunklen Hintergrund (gleiche Farbwelt wie der
   Hero). Die Gruppe ist bereits nah und auf Hüfthöhe komponiert – es wird das
   komplette Bild gezeigt (kein Beschnitt). Eine dezente Randfeder löst die
   Bildkanten weich in den Hero auf, sodass kein Kasten-Rand sichtbar wird. */
.hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

.section-heading {
  display: none;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.topic-card,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(19, 48, 82, 0.9), rgba(10, 28, 53, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 52px rgba(0, 0, 0, 0.18);
}

.topic-card {
  min-height: 220px;
  padding: 20px 28px 22px;
}

.topic-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}

.topic-icon svg {
  width: 35px;
  height: 35px;
}

.topic-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.topic-card p {
  min-height: 56px;
  margin: 0 0 14px;
  color: #edf4ff;
  font-size: 0.94rem;
  line-height: 1.45;
}

.topic-card a {
  font-weight: 800;
}

.teal .topic-icon { background: linear-gradient(135deg, #12a89d, #30e0cf); }
.blue .topic-icon { background: linear-gradient(135deg, #2d72ce, #58a7ff); }
.yellow .topic-icon { background: linear-gradient(135deg, #ecaa00, #ffd327); }
.purple .topic-icon { background: linear-gradient(135deg, #7751d5, #b38aff); }
.green .topic-icon { background: linear-gradient(135deg, #129f89, #43dfc9); }
.orange .topic-icon { background: linear-gradient(135deg, #e85d21, #ff9d42); }

.teal a,
.green a,
.teal-text { color: var(--teal); }
.blue a { color: #55a9ff; }
.yellow a,
.yellow-text { color: var(--yellow); }
.purple a { color: #b28cff; }
.orange a { color: #ff8a3d; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 18px;
  min-height: 202px;
  padding: 20px 28px;
  overflow: hidden;
}

.panel-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.feature-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
}

.feature-panel p:not(.panel-kicker) {
  max-width: 440px;
  margin: 0 0 18px;
  color: #edf4ff;
  line-height: 1.5;
}

/* Vorschau-Illustrationen der Kacheln: dekoratives Klemmbrett-SVG.
   Identisches Markup in beiden Kacheln; der Akzent kommt aus --accent. */
.panel-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.panel-art svg {
  width: 100%;
  max-width: 290px;
  height: auto;
  fill: none;
  stroke: none;
  overflow: visible;
  filter: drop-shadow(0 10px 16px rgba(0, 8, 20, 0.4));
}

/* Akzentfarbe je Kachel */
.quiz-art {
  --accent: var(--teal);
}

.checklist-art {
  --accent: var(--yellow);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 22px 28px 36px;
}

.trust-row article {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.trust-row svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--teal);
}

.trust-row h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
}

.trust-row p {
  margin: 0;
  color: #edf4ff;
  line-height: 1.45;
}

.topic-page {
  padding: 38px 0 70px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 800;
}

.topic-hero {
  max-width: 900px;
  margin-bottom: 28px;
}

.topic-hero h1,
.article-page h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

.topic-hero p:not(.eyebrow),
.lead {
  max-width: 760px;
  color: #edf4ff;
  font-size: 1.16rem;
  line-height: 1.6;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.lesson-card {
  min-height: 285px;
  padding: 24px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 48, 82, 0.94), rgba(8, 28, 54, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 52px rgba(0, 0, 0, 0.18);
}

.lesson-card span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: #05162d;
  background: var(--teal);
  font-weight: 900;
}

.lesson-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: break-word;
}

.lesson-card p {
  margin: 0 0 20px;
  color: #edf4ff;
  line-height: 1.5;
}

.lesson-card a {
  color: var(--teal);
  font-weight: 900;
}

.article-page {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
  padding: 54px 0 80px;
}

.article-page.wide-article {
  width: min(100% - 40px, 1420px);
}

.article-page.medium-article {
  width: min(100% - 40px, 1080px);
}

.article-page article {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 48, 82, 0.94), rgba(8, 28, 54, 0.94));
  box-shadow: var(--shadow);
}

.article-page h2 {
  margin: 34px 0 10px;
  color: var(--teal);
  font-size: 1.35rem;
}

.article-page p {
  color: #edf4ff;
  font-size: 1.05rem;
  line-height: 1.7;
}

.guide-page article {
  overflow: hidden;
}

.guide-page .lead {
  margin-top: 18px;
  font-size: 1.28rem;
  font-weight: 700;
}

.guide-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 34px;
}

.guide-intro p,
.example-box,
.quote-box,
.info-grid > div,
.story-stack > div,
.step-list > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 24, 48, 0.72);
}

.guide-intro p {
  margin: 0;
  padding: 20px;
}

.guide-section {
  padding: 34px 0;
  border-top: 1px solid rgba(137, 183, 226, 0.14);
}

.guide-section h2 {
  margin-top: 0;
}

.guide-section h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.12rem;
}

/* Quellenlinks auf externe Primaerquellen. Das Pfeilsymbol zeigt an, dass die Seite verlassen wird. */
.external-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.external-link::after {
  content: " \2197";
  font-size: 0.85em;
  text-decoration: none;
}

.external-link:hover,
.external-link:focus-visible {
  color: var(--text);
}

/* Stand-Angabe am Artikelende. Selektor mit .article-page, damit er .article-page p uebersteuert. */
.article-page p.article-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Haftungsausschluss am Ende der Themen-Artikelseiten (Baustein ist auf allen Seiten identisch).
   Selektor bewusst mit .article-page, damit er die spezifischere Regel .article-page p sicher
   uebersteuert - sonst blieben color, font-size und line-height wirkungslos. */
.article-page p.article-disclaimer {
  margin: 0;
  padding: 22px 0 4px;
  border-top: 1px solid rgba(137, 183, 226, 0.14);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.check-list span {
  position: relative;
  min-width: 0;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(39, 213, 199, 0.2);
  border-radius: 8px;
  color: #edf4ff;
  background: rgba(9, 32, 62, 0.7);
  line-height: 1.4;
}

.check-list span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.warning-list span::before {
  background: var(--yellow);
}

.example-box,
.quote-box {
  margin: 18px 0;
  padding: 20px;
}

.example-box strong {
  color: var(--yellow);
}

.quote-box {
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
  border-color: rgba(255, 196, 0, 0.3);
}

.info-grid,
.split-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.split-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-grid > div,
.story-stack > div,
.step-list > div {
  padding: 20px;
}

.split-content ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #edf4ff;
  line-height: 1.7;
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-list > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #04152c;
  background: var(--teal);
  font-weight: 900;
}

.step-list p,
.story-stack p,
.info-grid p {
  margin: 0;
}

.story-stack {
  display: grid;
  gap: 16px;
}

.story-stack strong {
  display: block;
  margin: 14px 0 6px;
  color: var(--yellow);
}

.site-footer {
  width: min(100% - 32px, 1640px);
  margin: 56px auto 0;
  padding: 36px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  text-transform: uppercase;
  line-height: 1;
}

.footer-brand strong span {
  color: var(--teal);
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  font-weight: 700;
}

.footer-nav a {
  color: #6fb1ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(137, 183, 226, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Dezente Unternehmens-Logos auf hellen Kacheln (gute Lesbarkeit auf dunklem
   Grund). Beide gleichwertig: gleiche Kachel-Optik und gleiche Logo-Höhe. */
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(137, 183, 226, 0.16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
  display: block;
  width: auto;
  height: 44px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

@media (max-width: 1180px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 980px);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-visual {
    max-width: 820px;
    margin-top: 8px;
  }

  .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 14px;
  }

  .brand strong {
    font-size: 1.16rem;
  }

  .brand small,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 23, 46, 0.96);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .active::after {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(2.52rem, 12vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .accent-button {
    width: 100%;
  }

  .hero-visual {
    max-width: 100%;
  }

  .section-heading {
    display: block;
    margin-top: 18px;
  }

  .section-kicker {
    margin: 0 0 5px;
    color: var(--teal);
    font-weight: 800;
    text-transform: uppercase;
  }

  .section-heading h2 {
    margin: 0 0 14px;
    font-size: 1.7rem;
  }

  .topic-grid,
  .quick-actions,
  .trust-row,
  .lesson-grid,
  .guide-intro,
  .check-list,
  .info-grid,
  .split-content {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .panel-art {
    min-height: 120px;
  }

  .trust-row {
    padding-inline: 0;
  }

  .article-page {
    width: min(100% - 28px, 720px);
  }

  .step-list > div {
    grid-template-columns: 1fr;
  }

  .footer-logos {
    flex-direction: column;
  }

  .footer-logo img {
    height: 36px;
  }
}

@media (max-width: 460px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 20px, 420px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 8px;
  }

  .topic-card,
  .feature-panel {
    padding-inline: 18px;
  }
}

/* =============================================================================
   Zukunfts-Check (Quiz) – quiz.html
   Nutzt dieselben Farb-Variablen, Karten- und Button-Stile wie der Rest der
   Seite. Mobile-first gedacht, große Touch-Flächen, klar erkennbar auch ohne
   Farbe (Häkchen / Kreuz).
   ============================================================================= */
.quiz-page {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  padding: 38px 0 70px;
}

.quiz-shell {
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 48, 82, 0.94), rgba(8, 28, 54, 0.94));
  box-shadow: var(--shadow);
}

.quiz-shell .eyebrow {
  margin-bottom: 18px;
}

.quiz-shell h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
}

.quiz-intro {
  max-width: 620px;
  margin: 18px 0 28px;
  color: #edf4ff;
  font-size: 1.08rem;
  line-height: 1.6;
}

/* dezenter Hinweis (Checklisten / Themen) */
.quiz-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.quiz-hint--center {
  justify-content: center;
  margin-top: 26px;
  text-align: center;
}

.quiz-hint a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Fortschritt -------------------------------------------------------- */
.quiz-fortschritt {
  margin-bottom: 22px;
}

.quiz-fortschritt-text {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.quiz-fortschritt-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(137, 183, 226, 0.18);
  overflow: hidden;
}

.quiz-fortschritt-balken {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  transition: width 0.35s ease;
}

/* --- Frage -------------------------------------------------------------- */
.quiz-frage-text {
  margin: 0 0 22px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.25;
}

.quiz-frage-text:focus-visible {
  outline: none;
}

.quiz-antworten {
  display: grid;
  gap: 12px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.quiz-antwort {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  background: rgba(6, 24, 48, 0.72);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.05s ease;
}

.quiz-antwort:hover:not(:disabled) {
  border-color: rgba(39, 213, 199, 0.55);
  background: rgba(12, 39, 75, 0.85);
}

.quiz-antwort:active:not(:disabled) {
  transform: translateY(1px);
}

/* ausgewählt, aber noch nicht bestätigt */
.quiz-antwort.is-selected {
  border-color: var(--teal);
  background: rgba(39, 213, 199, 0.16);
  box-shadow: inset 0 0 0 1px rgba(39, 213, 199, 0.5);
}

.quiz-antwort.is-selected .quiz-antwort-icon {
  border-color: var(--teal);
  background: rgba(39, 213, 199, 0.3);
}

.quiz-antwort:disabled {
  cursor: default;
}

.quiz-antwort.is-locked {
  opacity: 0.92;
}

/* runder Marker links – wird nach dem Antworten zu ✓ / ✗ */
.quiz-antwort-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(137, 183, 226, 0.45);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.quiz-antwort-text {
  min-width: 0;
}

/* richtig beantwortet */
.quiz-antwort.is-correct {
  border-color: var(--green);
  background: rgba(34, 199, 169, 0.16);
}

.quiz-antwort.is-correct .quiz-antwort-icon {
  border-color: var(--green);
  color: #04152c;
  background: var(--green);
}

.quiz-antwort.is-correct .quiz-antwort-icon::after {
  content: "✓";
}

/* falsch gewählt */
.quiz-antwort.is-wrong {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}

.quiz-antwort.is-wrong .quiz-antwort-icon {
  border-color: #ff6b6b;
  color: #fff;
  background: #e0524f;
}

.quiz-antwort.is-wrong .quiz-antwort-icon::after {
  content: "✗";
}

/* die korrekte Lösung hervorheben, wenn falsch geraten wurde */
.quiz-antwort.is-solution {
  box-shadow: 0 0 0 2px rgba(34, 199, 169, 0.4);
}

/* --- Feedback / Erklärung ---------------------------------------------- */
.quiz-feedback {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: rgba(6, 24, 48, 0.72);
}

.quiz-feedback.is-correct {
  border-left-color: var(--green);
}

.quiz-feedback.is-wrong {
  border-left-color: #ff6b6b;
}

.quiz-feedback-titel {
  margin: 0 0 6px;
  font-weight: 800;
}

.quiz-feedback.is-correct .quiz-feedback-titel {
  color: var(--green);
}

.quiz-feedback.is-wrong .quiz-feedback-titel {
  color: #ff9d9d;
}

.quiz-feedback-text {
  margin: 0;
  color: #edf4ff;
  line-height: 1.55;
}

/* dezenter Themenlink direkt bei der Frage (nach dem Bestätigen) */
.quiz-feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 800;
}

.quiz-feedback-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Button-Reihe (Bestätigen / Weiter): beide Buttons stehen dauerhaft nebeneinander */
.quiz-frage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* deaktivierter Bestätigen-Button: klar erkennbar nicht klickbar */
.quiz-page .primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
  filter: grayscale(0.3);
}

/* --- Ergebnis ----------------------------------------------------------- */
.quiz-ergebnis-punkte {
  margin: 14px 0 6px;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
}

.quiz-ergebnis-punkte:focus-visible {
  outline: none;
}

.quiz-ergebnis-feedback {
  margin: 0 0 24px;
  color: #edf4ff;
  font-size: 1.12rem;
  line-height: 1.6;
}

.quiz-links-titel {
  margin: 0 0 14px;
  font-weight: 700;
}

/* Ergebnis-Übersicht: alle Fragen mit ✓/✗, Lösung und Nachschlagen-Link */
.quiz-review {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-review-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: rgba(6, 24, 48, 0.72);
}

.quiz-review-item.is-correct {
  border-left-color: var(--green);
}

.quiz-review-item.is-wrong {
  border-left-color: #ff6b6b;
}

.quiz-review-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.quiz-review-item.is-correct .quiz-review-icon {
  color: #04152c;
  background: var(--green);
}

.quiz-review-item.is-wrong .quiz-review-icon {
  color: #fff;
  background: #e0524f;
}

.quiz-review-body {
  min-width: 0;
}

.quiz-review-frage {
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.4;
}

.quiz-review-loesung {
  margin: 0 0 8px;
  color: #edf4ff;
  line-height: 1.5;
}

.quiz-review-loesung strong {
  color: var(--muted);
  font-weight: 700;
}

.quiz-review-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 800;
}

.quiz-review-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-ergebnis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

/* --- Tastatur-Fokus (sichtbar) ----------------------------------------- */
.quiz-antwort:focus-visible,
.quiz-page .primary-button:focus-visible,
.quiz-page .secondary-button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .quiz-page {
    width: min(100% - 28px, 720px);
  }

  .quiz-ergebnis-actions .primary-button,
  .quiz-ergebnis-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .quiz-page {
    width: min(100% - 20px, 420px);
  }
}

/* =============================================================================
   Checklisten – Übersicht (checklisten.html) und Einzelseite (checkliste.html)
   ============================================================================= */
.checklist-overview-page {
  width: min(100% - 32px, 1100px);
  padding: 32px 0 70px;
}

.checklist-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.checklist-intro h1 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.checklist-cross-link {
  margin: 16px 0 0;
  color: var(--muted);
}

.checklist-cross-link a {
  color: var(--teal);
  font-weight: 700;
}

.checklist-cross-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Karten-Grid -------------------------------------------------------- */
.cl-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(19, 48, 82, 0.9), rgba(10, 28, 53, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 52px rgba(0, 0, 0, 0.18);
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

a.cl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 213, 199, 0.5);
}

.cl-card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #05162d;
  background: linear-gradient(135deg, var(--teal), #21bed0);
}

.cl-card-icon svg {
  width: 28px;
  height: 28px;
}

.cl-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cl-card-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.cl-card-head .cl-card-title {
  margin: 0;
}

.cl-card-text {
  flex: 1;
  margin: 0 0 14px;
  color: #edf4ff;
  line-height: 1.5;
}

.cl-card-meta {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.cl-card-cta {
  color: var(--teal);
  font-weight: 800;
}

.cl-card--soon {
  opacity: 0.6;
  cursor: default;
}

.cl-card--soon .cl-card-icon {
  color: #d3dceb;
  background: linear-gradient(135deg, #3a5170, #2a3b54);
}

/* --- Einzelseite: Klemmbrett ------------------------------------------- */
.checklist-page {
  width: min(100% - 32px, 860px);
  padding: 32px 0 70px;
}

.clipboard {
  position: relative;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 34px clamp(14px, 4vw, 32px) 30px;
  border-radius: 20px;
  background: linear-gradient(180deg, #e7c594, #d2a365);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(120, 86, 40, 0.22);
}

.clipboard-clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(180deg, #47576d, #2a3a52);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.32);
}

.clipboard-ring {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #b9c6d6;
  background: #223049;
}

.clipboard-paper {
  position: relative;
  padding: clamp(22px, 4.5vw, 44px);
  border-radius: 8px;
  background: #f8fafc;
  color: #1f2c3f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.cl-titel {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: #15223a;
}

.cl-intro {
  margin: 12px 0 4px;
  color: #46546a;
  font-size: 1.05rem;
  line-height: 1.55;
}

.cl-phase {
  margin-top: 26px;
}

.cl-phase-titel {
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7e0cf;
  color: #b07d00;
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cl-tasks {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.cl-task {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid #eef1f5;
}

.cl-task:last-child {
  border-bottom: 0;
}

.cl-check {
  flex: 0 0 auto;
  display: grid;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 0;
  place-items: center;
  border: 2px solid #b6c0cd;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.cl-check svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.cl-check:hover {
  border-color: #7f8b99;
}

.cl-task.is-done .cl-check {
  border-color: var(--green);
  background: var(--green);
}

.cl-task.is-done .cl-check svg {
  opacity: 1;
}

.cl-check:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.cl-task-body {
  min-width: 0;
}

.cl-task-text {
  color: #28354a;
  line-height: 1.5;
}

.cl-task.is-done .cl-task-text {
  color: #93a0b0;
  text-decoration: line-through;
}

.cl-task-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 10px;
  color: #0e857b;
  font-weight: 700;
  font-size: 0.9em;
  white-space: nowrap;
}

.cl-task-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* dezenter Einordnungs-Hinweis (Übersicht + Einzelseite) */
.checklist-disclaimer {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: center;
}

.checklist-page .primary-button:focus-visible,
.checklist-page .secondary-button:focus-visible,
.cl-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .cl-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .checklist-overview-page,
  .checklist-page {
    width: min(100% - 28px, 720px);
  }

  .cl-overview {
    grid-template-columns: 1fr;
  }

  .checklist-actions .primary-button,
  .checklist-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .checklist-overview-page,
  .checklist-page {
    width: min(100% - 20px, 420px);
  }
}
