:root {
  color-scheme: light;
  --navy: #071426;
  --blue-900: #082a4c;
  --blue-700: #0d6798;
  --blue-500: #1fb4df;
  --blue-100: #e7f9fd;
  --aqua: #67eef2;
  --aqua-deep: #16a9d4;
  --ink: #0e1d31;
  --muted: #63758b;
  --line: #cfe3ec;
  --paper: #f3fbfe;
  --white: #ffffff;
  --orange: #ff862f;
  --orange-dark: #ba4f0a;
  --shadow: 0 24px 60px rgba(7, 20, 38, 0.16);
  --radius: 10px;
  --max: 1160px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(7, 20, 38, 0.1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--blue-500) 55%, var(--orange));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 30;
  top: 4px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid rgba(103, 238, 242, 0.25);
  border-radius: var(--radius);
  background: rgba(7, 20, 38, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(7, 20, 38, 0.26);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 22px 60px rgba(7, 20, 38, 0.36);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 58px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(103, 238, 242, 0.28));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 6px;
  font-weight: 750;
  font-size: 0.9rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  background: var(--aqua);
  color: var(--navy);
  transition: background 0.25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #8ff4f7;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(255, 134, 47, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffa05a;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Chapter labels ---------- */

.chapter,
.tag,
.panel-label,
.result-label,
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chapter span {
  display: inline-block;
  margin-right: 12px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.chapter.light {
  color: var(--aqua);
}

.tag.muted {
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px 20px 96px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 62%;
  filter: brightness(1.14) contrast(1.05) saturate(1.12);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.94), rgba(7, 20, 38, 0.55) 52%, rgba(7, 20, 38, 0.1)),
    linear-gradient(0deg, rgba(7, 20, 38, 0.8) 0%, rgba(7, 20, 38, 0.15) 40%, rgba(7, 20, 38, 0.42) 100%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade 0.7s var(--ease-out) 0.1s forwards;
}

@keyframes hero-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--aqua);
}

.hero-copy {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 2px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--aqua), rgba(255, 255, 255, 0.15));
}

/* ---------- Story (Kapitel 01) ---------- */

.story {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(13, 103, 152, 0.4), transparent 62%),
    radial-gradient(900px 500px at 0% 100%, rgba(103, 238, 242, 0.12), transparent 60%),
    var(--navy);
  color: var(--white);
}

.story-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 130px 0 120px;
}

.story .chapter {
  color: var(--aqua);
}

.story-lines {
  display: grid;
  gap: 0.6em;
  max-width: 980px;
  margin-top: 34px;
}

.story-line {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  font-weight: 850;
  line-height: 1.16;
  color: var(--white);
}

.story-line.accent {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 750;
  max-width: 760px;
  margin-top: 0.9em;
  color: var(--aqua);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 72px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(103, 238, 242, 0.16);
  backdrop-filter: blur(12px);
}

.story-stats div {
  padding: 20px;
  background: rgba(7, 20, 38, 0.5);
}

.story-stats dt {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
  color: var(--aqua);
}

.story-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Method (Kapitel 02) ---------- */

.method {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-900) 100%);
  color: var(--white);
}

.method-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.method h2 {
  color: var(--white);
}

.method-copy {
  max-width: 480px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-step {
  padding: 30px;
  border: 1px solid rgba(103, 238, 242, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 20, 38, 0.55);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.method-step:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 238, 242, 0.5);
  box-shadow: 0 30px 70px rgba(3, 10, 20, 0.45);
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1;
}

.method-step h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.6rem;
}

.method-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

/* ---------- Generic sections ---------- */

.section-pad {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.08;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading .chapter,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p:not(.chapter) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading p:not(.chapter) a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.section-heading.compact p:not(.chapter) {
  margin-top: 18px;
}

/* ---------- Offers ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 38, 74, 0.08);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(8, 38, 74, 0.16);
}

.offer-card.featured {
  background:
    linear-gradient(150deg, rgba(8, 42, 76, 0.98), rgba(7, 20, 38, 0.98)),
    var(--blue-900);
  color: var(--white);
}

.offer-card.featured h3,
.offer-card.featured p {
  color: var(--white);
}

.offer-card.featured .tag {
  color: var(--aqua);
}

.offer-card p {
  margin: 0 0 26px;
  color: var(--muted);
}

.offer-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.offer-card a {
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 900;
}

.offer-card a span {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.offer-card a:hover span {
  transform: translateX(5px);
}

.offer-card.featured a {
  color: var(--orange);
}

/* ---------- Split / Futterpläne ---------- */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  backdrop-filter: blur(14px);
}

.media-note span {
  color: var(--muted);
}

.split-content h2 {
  margin-bottom: 22px;
}

.split-content > p:not(.chapter) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 4px var(--blue-100);
}

/* ---------- Membership ---------- */

.membership {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 28px;
  padding: 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(13, 103, 152, 0.92)),
    var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.membership h2 {
  color: var(--white);
}

.membership-content p:not(.chapter) {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.membership-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.membership-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.membership-panel li::marker {
  color: var(--orange);
}

/* ---------- Mitgliederbereich ---------- */

.member-area {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.member-area-content h2 {
  margin-bottom: 22px;
}

.member-area-content > p:not(.chapter) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.member-window {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.member-window-bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.member-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.member-window-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.member-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 750;
}

.member-row span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.member-row.muted {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}

/* ---------- Fuel-Check / Quiz ---------- */

.tool-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.fuel-form,
.fuel-result {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 38, 74, 0.08);
}

.fuel-form {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.fuel-form label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
}

.fuel-form input[type="range"],
.fuel-form select {
  grid-column: 1 / -1;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--aqua-deep);
}

select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--navy);
  font-weight: 850;
}

.radio-pill {
  display: inline-flex;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.radio-pill input:checked + span {
  border-color: var(--aqua-deep);
  background: var(--blue-100);
  color: var(--blue-700);
}

.fuel-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background:
    linear-gradient(145deg, var(--navy), #073457),
    var(--navy);
  color: var(--white);
}

.fuel-result strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.fuel-result p {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.fuel-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.fuel-result div {
  padding: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.fuel-result dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fuel-result dd {
  margin: 7px 0 0;
  font-weight: 900;
}

.quiz-more {
  margin-top: 56px;
}

.quiz-more-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 750;
}

.quiz-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quiz-card {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.quiz-card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Voice ---------- */

.voice {
  padding-top: 30px;
}

.voice h2 {
  max-width: 780px;
  margin-bottom: 26px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.voice-grid p {
  min-height: 160px;
  margin: 0;
  padding: 24px;
  border-left: 4px solid var(--aqua-deep);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 850;
  box-shadow: 0 18px 50px rgba(8, 38, 74, 0.08);
}

/* ---------- Finale ---------- */

.finale {
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(13, 103, 152, 0.5), transparent 65%),
    var(--navy);
  color: var(--white);
  text-align: center;
}

.finale-inner {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 130px 0;
}

.finale h2 {
  color: var(--white);
}

.finale p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
}

.finale .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--navy);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--blue-700);
  font-weight: 850;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 48px;
  height: 36px;
  object-fit: contain;
}

/* ---------- Blog ---------- */

.blog-page {
  background: var(--paper);
}

.blog-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 62vh;
  overflow: hidden;
  padding: 170px 0 70px;
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.72), rgba(7, 20, 38, 0.38) 45%, rgba(7, 20, 38, 0.86)),
    url("../assets/blog-hero-hunde.jpg") center 38% / cover no-repeat,
    radial-gradient(1100px 520px at 85% 0%, rgba(13, 103, 152, 0.4), transparent 62%),
    var(--navy);
  color: var(--white);
}

.blog-hero-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.blog-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.blog-hero p:not(.chapter) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

/* Filter-Leiste + Suche */

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 40px 0 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.chip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.chip:hover {
  border-color: var(--aqua-deep);
}

.chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.chip.is-active span {
  color: var(--aqua);
}

.blog-search {
  min-height: 42px;
  min-width: 230px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
}

.blog-search:focus {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 1px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-section .blog-grid {
  width: auto;
  margin: 0;
  padding: 0;
}

/* Icon-Band oben auf Karten ohne Foto */

.card-band {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: color-mix(in srgb, var(--cat) 10%, var(--white));
  color: var(--cat);
}

.card-band svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

/* Foto-Vorschau auf Karten mit Bild */

.card-photo {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.blog-card:hover .card-photo img {
  transform: scale(1.05);
}

.card-photo .tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--white);
  color: var(--cat);
  box-shadow: 0 6px 18px rgba(7, 20, 38, 0.28);
}

.blog-card.has-image.featured .card-photo {
  aspect-ratio: 21 / 9;
}

.card-band .tag {
  margin: 0;
}

.blog-card.featured .card-band {
  background: rgba(103, 238, 242, 0.1);
}

/* Eingestreute Conversion-Banner */

.blog-cta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(7, 20, 38, 0.97), rgba(13, 103, 152, 0.9)),
    var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.blog-cta .tag.light {
  color: var(--aqua);
}

.blog-cta h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.5rem;
}

.blog-cta p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.blog-more-wrap {
  display: flex;
  justify-content: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0 0 96px;
}

.blog-card {
  --cat: var(--aqua-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 38, 74, 0.08);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(8, 38, 74, 0.16);
}

.blog-card .tag {
  color: var(--cat);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 26px;
}

.cat-timing { --cat: var(--orange); }
.cat-energie { --cat: var(--aqua-deep); }
.cat-menge { --cat: var(--blue-700); }
.cat-wasser { --cat: var(--blue-500); }
.cat-regeneration { --cat: var(--orange-dark); }
.cat-naehrstoffe { --cat: #7c6ff0; }
.cat-gesundheit { --cat: #e0526e; }
.cat-praxis { --cat: var(--muted); }
.cat-guide { --cat: var(--aqua); }

.blog-card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.18;
}

.blog-card h3 a:hover {
  color: var(--blue-700);
}

.blog-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.blog-card-more {
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 0.92rem;
}

.blog-card-more span {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.blog-card:hover .blog-card-more span {
  transform: translateX(4px);
}

/* Themen-Blöcke */

.blog-featured {
  width: min(calc(100% - 40px), var(--max));
  margin: 36px auto 0;
}

.blog-sections {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0 0 40px;
}

.blog-section {
  padding: 44px 0 8px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.section-head h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy);
}

.section-head h2 span {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cat, var(--muted));
}

.section-jump {
  flex: 0 0 auto;
  border: 0;
  background: none;
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
}

.section-jump span {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.section-jump:hover span {
  transform: translateX(4px);
}

.blog-cta-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 24px auto;
}

.blog-empty {
  width: min(calc(100% - 40px), var(--max));
  margin: 20px auto 80px;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Featured-Kachel (Cornerstone-Guide) */

.blog-card.featured {
  background:
    linear-gradient(150deg, rgba(8, 42, 76, 0.98), rgba(7, 20, 38, 0.98)),
    var(--blue-900);
  border-color: rgba(103, 238, 242, 0.3);
}

.blog-card.featured h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.blog-card.featured h3 a,
.blog-card.featured p {
  color: var(--white);
}

.blog-card.featured p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.blog-card.featured h3 a:hover {
  color: var(--aqua);
}

.blog-card.featured .blog-card-meta {
  color: rgba(255, 255, 255, 0.62);
}

.blog-card.featured .blog-card-more {
  color: var(--orange);
}

/* Artikelseite */

.article-main {
  padding: 150px 0 40px;
}

.article {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
}

.article h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.article-meta {
  margin: 0 0 30px;
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

.article-hero {
  margin: 0 0 36px;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-inline-image {
  margin: 2em 0;
}

.article-inline-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(8, 38, 74, 0.1);
}

.article p {
  margin: 0 0 1.15em;
  font-size: 1.06rem;
  line-height: 1.75;
}

.article > p:first-of-type ~ * {
  /* nur Platzhalter, keine Regel nötig */
}

.article h2 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.article h3 {
  margin: 1.4em 0 0.5em;
  font-size: 1.25rem;
}

.article ul,
.article ol {
  margin: 0 0 1.15em;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.article li::marker {
  color: var(--orange);
  font-weight: 800;
}

.article blockquote {
  margin: 0 0 1.15em;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(8, 38, 74, 0.07);
}

.article blockquote p {
  margin: 0;
}

.article a {
  color: var(--blue-700);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-cta {
  margin: 2.2em 0 0;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(8, 42, 76, 0.97), rgba(7, 20, 38, 0.97)),
    var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.article-cta h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.4rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.article-cta p:last-child {
  margin-bottom: 0;
}

.article-cta a {
  display: inline-block;
  margin: 4px 0;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.article-cta a:hover {
  background: #ffa05a;
}

.article-cta em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.article-back {
  margin: 40px 0 60px;
}

.article-back a {
  color: var(--blue-700);
  font-weight: 850;
  text-decoration: none;
}

/* ---------- Freebie-Opt-in-Popup ---------- */

.optin-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 20, 38, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.optin-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.optin-card {
  position: relative;
  width: min(100%, 460px);
  padding: 42px 32px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(8, 42, 76, 0.98), rgba(7, 20, 38, 0.98)),
    var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.optin-overlay.is-open .optin-card {
  transform: none;
}

.optin-card .eyebrow {
  margin-bottom: 12px;
  color: var(--aqua);
}

.optin-card h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  line-height: 1.08;
}

.optin-card > p:not(.eyebrow):not(.optin-note) {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.optin-card .button {
  width: 100%;
}

.optin-form {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.optin-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
}

.optin-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.optin-form input[type="email"]:focus {
  outline: 2px solid var(--aqua);
  outline-offset: 1px;
}

.optin-error {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.82rem;
  color: #ffb4a6;
  text-align: left;
}

.optin-success .optin-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(103, 238, 242, 0.16);
  color: var(--aqua);
  font-size: 1.8rem;
}

.optin-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.optin-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.optin-close:hover,
.optin-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .optin-overlay,
  .optin-card {
    transition: none;
  }
}

/* ---------- Reveal: einmaliges, ruhiges Einblenden ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .method-step,
  .hero-content {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand span:last-child {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    padding-top: 6px;
  }

  .site-header.is-open .header-cta {
    grid-column: 1 / -1;
    display: inline-flex;
    justify-content: center;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 24, 47, 0.96), rgba(7, 24, 47, 0.46)),
      linear-gradient(90deg, rgba(7, 24, 47, 0.74), rgba(7, 24, 47, 0.2));
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading,
  .split,
  .membership,
  .member-area,
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .section-heading p:not(.chapter) {
    grid-column: auto;
    grid-row: auto;
  }

  .offer-grid,
  .voice-grid,
  .quiz-more-grid {
    grid-template-columns: 1fr;
  }

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

  .story-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .hero {
    padding: 112px 16px 70px;
  }

  .scroll-cue {
    display: none;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .fuel-result dl {
    grid-template-columns: 1fr;
  }

  .section-pad,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .section-pad {
    padding: 64px 0;
  }

  .story-inner {
    width: min(calc(100% - 28px), var(--max));
    padding: 90px 0;
  }

  .membership {
    padding: 24px;
  }

  .offer-card,
  .fuel-form,
  .fuel-result,
  .voice-grid p,
  .method-step,
  .quiz-card {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .finale-inner {
    padding: 90px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), var(--max));
  }

  .blog-card.featured {
    grid-column: auto;
  }

  .blog-toolbar {
    width: min(calc(100% - 28px), var(--max));
  }

  .blog-search {
    width: 100%;
  }

  .blog-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .card-band {
    padding: 12px 22px;
  }

  .card-body {
    padding: 22px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }

  .blog-hero {
    padding: 140px 0 60px;
  }

  .blog-hero > * {
    width: min(calc(100% - 28px), var(--max));
  }

  .article-main {
    padding: 130px 0 20px;
  }

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