/* Jasper Balke v0.9.1 — Startseite (Claude Design) */

:root {
  --hero-grad: linear-gradient(100deg, var(--forest-deep) 0%, var(--forest) 28%, var(--sage) 58%, var(--sun) 86%, var(--sun-bright) 100%);
  --leaf: #6aa83a;
  --gutter: clamp(14px, 4vw, 54px);
  --home-ease: cubic-bezier(.2, .8, .2, 1);
}

@keyframes jb-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes jb-pulse {
  0%, 100% { transform: scaleX(.4); opacity: .4; }
  50% { transform: scaleX(1); opacity: 1; }
}

.jb-home { overflow-x: hidden; }

.jb-home-wrap {
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.jb-home-section { padding: clamp(56px, 8vw, 96px) 0; }
.jb-home-section--white { background: #fff; }
.jb-home-section--mist { background: var(--mist); }

.jb-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.jb-kicker span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.jb-kicker--green { color: var(--green); }
.jb-kicker--sun { color: var(--sun-bright); }

.jb-home-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.jb-home-title--light { color: #fff; }

.jb-lead {
  margin: 0 0 16px;
  font-size: 1.06rem;
  line-height: 1.74;
  text-wrap: pretty;
}

.jb-muted {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.74;
  text-wrap: pretty;
}

.jb-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.jb-home-intro { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal].is-visible {
  animation: jb-rise .7s var(--home-ease) both;
}

/* ── Hero ─────────────────────────────────────── */
.jb-home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  color: #fff;
  background: var(--hero-grad);
  overflow: hidden;
  container-type: inline-size;
  container-name: hero;
  /* Portrait: fließend von Desktop (rechts) bis Vollbreite, immer oben verankert */
  --hero-portrait-width: min(620px, max(58%, min(100%, calc(50vw + 50%))));
  --hero-mask-fade: clamp(6%, calc(8% + 6vw), 24%);
  --hero-menu-overlay-h: clamp(160px, 12vh + 8vw, 220px);
  --hero-fade-overlay-h: clamp(90px, 10vh + 5vw, 200px);
}

.jb-home-hero__portrait-img {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: var(--hero-portrait-width);
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 var(--hero-mask-fade), #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 var(--hero-mask-fade), #000 100%);
  pointer-events: none;
}

.jb-home-hero__overlay {
  position: absolute;
  pointer-events: none;
}

.jb-home-hero__overlay--menu {
  top: 0;
  left: 0;
  right: 0;
  height: var(--hero-menu-overlay-h);
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .14) 68%, transparent 100%);
}

.jb-home-hero__overlay--yellow {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(232, 200, 64, .1) 0%, transparent 42%, rgba(232, 200, 64, .16) 100%),
    linear-gradient(100deg, transparent 0%, transparent 56%, rgba(232, 200, 64, .28) 84%, rgba(232, 200, 64, .44) 100%);
  mix-blend-mode: soft-light;
}

.jb-home-hero__overlay--green {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 50, 14, .38) 0%, transparent 48%),
    linear-gradient(100deg, rgba(20, 50, 14, .32) 0%, rgba(60, 100, 40, .1) 36%, transparent 58%);
}

.jb-home-hero__overlay--fade {
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hero-fade-overlay-h);
  z-index: 3;
  background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}

.jb-home-hero__bar {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 20px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jb-home-hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.jb-home-hero__brand img {
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35));
}

.jb-home-hero__brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.jb-home-hero__brand strong {
  font-size: 1.04rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.jb-home-hero__brand small {
  font-size: .68rem;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}

.jb-nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.jb-nav-desktop a {
  padding: 8px 13px;
  color: rgba(255, 255, 255, .95);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  transition: background .2s ease, transform .2s ease;
}

.jb-nav-desktop a:hover { background: rgba(255, 255, 255, .15); }

.jb-nav-desktop__cta {
  margin-left: 6px;
  padding: 8px 18px !important;
  background: rgba(255, 255, 255, .15) !important;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .6);
  font-weight: 700 !important;
}

.jb-nav-desktop__cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .25) !important;
}

.jb-hamburger {
  display: none;
  position: relative;
  z-index: 12;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.jb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.jb-home-hero__content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(20px, 4vh + 2vw, 80px) var(--gutter) clamp(72px, 10vh + 4vw, 180px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.jb-home-hero__copy {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  min-height: 0;
}

.jb-home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 3vw, 30px);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.jb-home-hero__eyebrow span {
  width: 28px;
  height: 2px;
  background: #fff;
  opacity: .8;
}

.jb-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .9;
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  text-shadow: 0 3px 28px rgba(0, 0, 0, .35);
}

.jb-h1 span { display: block; }
.jb-h1 span:first-child { color: #fff; font-style: italic; }
.jb-h1__accent { color: var(--sun-bright); padding-left: .02em; }

.jb-hero-text {
  margin: clamp(22px, 3.5vw, 36px) 0 0;
  max-width: 540px;
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: #fff;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.jb-hero-text__du { font-weight: 600; font-style: italic; }

.jb-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 42px);
}

.jb-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .8rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: transform .15s var(--home-ease), box-shadow .15s ease, background .2s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 6px 16px rgba(0, 0, 0, .2);
}

.jb-hero-btn:hover { transform: translateY(-2px); }

.jb-hero-btn--primary {
  background: var(--forest);
  color: #fff;
}

.jb-hero-btn--primary:hover {
  box-shadow: 0 6px 0 rgba(0, 0, 0, .3), 0 10px 22px rgba(0, 0, 0, .22);
}

.jb-hero-btn--light {
  background: rgba(255, 255, 255, .95);
  color: var(--forest);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18), 0 6px 16px rgba(0, 0, 0, .18);
}

.jb-hero-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .65);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .15);
}

.jb-hero-btn--ghost:hover { background: rgba(255, 255, 255, .14); }

.jb-home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 4vw, 52px);
  margin-top: clamp(40px, 7vw, 76px);
  padding-top: clamp(20px, 3.5vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, .28);
  max-width: 720px;
}

.jb-stat-item {
  display: grid;
  gap: 5px;
  min-width: 120px;
}

.jb-stat-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1;
  color: #fff;
}

.jb-stat-item span {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.jb-home-hero__discover {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 5vh, 56px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--sun-bright);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}

.jb-home-hero__discover i {
  display: block;
  width: 52px;
  height: 2px;
  background: var(--sun-bright);
  transform-origin: left center;
  animation: jb-pulse 2.6s ease-in-out infinite;
}

/* ── Steckbrief ───────────────────────────────── */
.jb-steck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.jb-steck-table { border-top: 1px solid var(--line); }

.jb-steck-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.jb-steck-row span:first-child {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.jb-steck-row span:last-child {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: right;
}

/* ── Motivation ───────────────────────────────── */
.jb-home-motiv {
  background: linear-gradient(130deg, var(--forest-deep) 0%, var(--forest) 34%, #6b7a18 68%, var(--sun) 88%, var(--sun-bright) 100%);
  color: #fff;
  padding: clamp(44px, 6vw, 76px) 0;
}

.jb-motiv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(200px, .85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.jb-motiv-quote {
  margin: 0;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.08rem, 1.9vw, 1.45rem);
  line-height: 1.65;
  color: #fff;
  border-left: 3px solid var(--sun-bright);
  padding-left: clamp(16px, 2.5vw, 24px);
}

.jb-motiv-figure { margin: 0; }

.jb-motiv-figure__frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .14);
}

.jb-motiv-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.jb-motiv-figure figcaption {
  margin-top: 12px;
  font-size: .74rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}

/* ── Social Cards ─────────────────────────────── */
.jb-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 13px;
}

.jb-social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--home-ease), box-shadow .2s ease, border-color .2s ease;
}

.jb-social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28, 36, 27, .1);
  border-color: var(--social-color);
}

.jb-social-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--social-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jb-social-card__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.jb-social-card__copy strong { font-size: .96rem; }
.jb-social-card__copy small { color: var(--muted); font-size: .78rem; }

/* ── Blog auf Startseite ─────────────────────── */
.jb-home-blog-list { margin-top: 8px; }

@media (max-width: 680px) {
  .jb-home-blog .jb-home-section-head .text-link {
    font-size: .68rem;
    letter-spacing: .06em;
  }

  .jb-home-blog-list .blog-list-item__link {
    padding: 9px 0;
  }

  .jb-kalender-row > span {
    flex: 0 0 64px;
    font-size: .88rem;
  }
}

/* ── Fachthemen ───────────────────────────────── */
.jb-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.jb-topic-card {
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--home-ease), box-shadow .2s ease;
}

.jb-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28, 36, 27, .12);
}

.jb-topic-card__bar {
  width: 34px;
  height: 3px;
  background: var(--topic-accent, var(--green));
  margin-bottom: auto;
}

.jb-topic-card h3 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

.jb-topic-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.jb-topic-more {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

/* ── Parlament ────────────────────────────────── */
.jb-ausschuss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.jb-ausschuss-card {
  padding: 26px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--accent, var(--green));
}

.jb-ausschuss-card span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.jb-ausschuss-card p {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

/* ── Mitmachen ────────────────────────────────── */
.jb-home-demo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest2) 100%);
  color: #fff;
}

.jb-home-demo__sunflower {
  position: absolute;
  bottom: -12vw;
  right: -9vw;
  width: min(46vw, 520px);
  opacity: .06;
  pointer-events: none;
}

.jb-home-demo__lead {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 1.06rem;
  line-height: 1.74;
}

.jb-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}

.jb-demo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: clamp(196px, 18vw, 228px);
  padding: 24px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-top: 3px solid var(--demo-accent, var(--sun-bright));
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, transform .2s var(--home-ease);
}

.jb-demo-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}

.jb-demo-card > span {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--demo-accent, var(--sun-bright));
  margin-bottom: 12px;
}

.jb-demo-card h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
}

.jb-demo-card p {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  line-height: 1.5;
}

.jb-demo-card b {
  margin-top: auto;
  padding-top: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--demo-accent, var(--sun-bright));
}

.jb-demo-card--accent {
  background: var(--sun-bright);
  border-color: var(--sun-bright);
  color: var(--forest);
}

.jb-demo-card--accent > span { color: var(--forest); opacity: .5; }
.jb-demo-card--accent p { color: rgba(28, 36, 27, .72); }

.jb-kalender-panel {
  margin-top: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
}

.jb-kalender-panel[hidden] { display: none !important; }

.jb-kalender-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.jb-kalender-panel__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.jb-kalender-panel__head a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sun-bright);
  text-decoration: none;
}

.jb-kalender-row-wrap {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.jb-kalender-row-wrap:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.jb-kalender-maps {
  display: inline-flex;
  margin: 0 0 12px 98px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sun-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 184, 74, .35);
}

.jb-kalender-maps:hover {
  border-bottom-color: var(--sun-bright);
}

.jb-kalender-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0 8px;
  color: inherit;
  text-decoration: none;
  transition: padding-left .18s ease, background .18s ease;
}

.jb-kalender-row:hover {
  padding-left: 6px;
  background: rgba(255, 255, 255, .04);
}

.jb-kalender-row:last-child { border-bottom: 0; }

.jb-kalender-row > span {
  flex: 0 0 80px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sun-bright);
}

.jb-kalender-row strong { font-weight: 600; }
.jb-kalender-row p { margin: 4px 0 0; color: rgba(255, 255, 255, .55); font-size: .88rem; }

body.is-home-integrated-nav .site-header { display: none; }

/* ── Hero: kompaktes Text-Layout (Container, kein Bild-Sprung) ── */
@container hero (max-width: 680px) {
  .jb-home-hero__bar {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: 8px;
  }

  .jb-home-hero__content {
    justify-content: flex-start;
    padding-top: 8px;
    padding-bottom: clamp(72px, 11vh, 110px);
  }

  .jb-home-hero__copy {
    flex: 1 1 auto;
    max-width: none;
  }

  .jb-home-hero__eyebrow {
    display: none;
  }

  .jb-h1 {
    order: 1;
    margin-top: 0;
    padding-top: 0;
    font-size: clamp(2.6rem, 13vw, 5rem);
  }

  .jb-home-hero__copy > div:has(.jb-hero-text) {
    order: 2;
    flex-shrink: 0;
    margin-top: 10px;
  }

  .jb-hero-text {
    margin: 0;
    max-width: 100%;
    padding-top: 0;
  }

  .jb-home-hero__discover {
    display: none;
  }

  .jb-home-hero__stats {
    display: none;
  }

  .jb-home-hero__brand strong,
  .jb-home-hero__brand small {
    white-space: normal;
  }

  .jb-home-hero__brand small {
    font-size: .58rem;
    line-height: 1.2;
  }

  .jb-home-hero__actions {
    display: none;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 680px) {
    .jb-home-hero__bar {
      padding-top: max(16px, env(safe-area-inset-top));
      padding-bottom: 8px;
    }

    .jb-home-hero__content {
      justify-content: flex-start;
      padding-top: 8px;
      padding-bottom: clamp(72px, 11vh, 110px);
    }

    .jb-home-hero__copy {
      flex: 1 1 auto;
      max-width: none;
    }

    .jb-home-hero__eyebrow { display: none; }

    .jb-h1 {
      order: 1;
      margin-top: 0;
      padding-top: 0;
      font-size: clamp(2.6rem, 13vw, 5rem);
    }

    .jb-home-hero__copy > div:has(.jb-hero-text) {
      order: 2;
      flex-shrink: 0;
      margin-top: 10px;
    }

    .jb-hero-text { margin: 0; max-width: 100%; padding-top: 0; }

    .jb-home-hero__discover { display: none; }
    .jb-home-hero__stats { display: none; }
    .jb-home-hero__actions { display: none; }
  }
}

/* ── Tablet/Mobile: einheitliche Vollbild-Navigation wie Unterseiten ── */
@media (max-width: 1099px) {
  .jb-nav-desktop { display: none !important; }
  .jb-hamburger { display: flex !important; }
}

@media (max-width: 900px) {
  .jb-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .jb-topic-desc,
  .jb-topic-more { display: none !important; }
  .jb-social-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .jb-topic-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .jb-topic-card { min-height: 100px !important; padding: 18px 16px !important; }
  .jb-topic-card h3 { font-size: 1.1rem !important; margin: 14px 0 0 !important; }
  .jb-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .jb-demo-card { padding: 18px 16px !important; height: 100%; }
  .jb-demo-card h3 { font-size: 1.1rem !important; }
  .jb-demo-card p { font-size: .85rem !important; }
  .jb-ausschuss-grid { grid-template-columns: 1fr !important; }
  .jb-steck-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .jb-motiv-grid { grid-template-columns: 1fr !important; }
  .jb-motiv-figure { order: -1; }
  .jb-motiv-figure img { aspect-ratio: 4/3 !important; }
  .jb-hero-text { font-size: clamp(.95rem, 3.8vw, 1.15rem) !important; }

  .jb-home-section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .jb-hero-btn,
  .jb-social-card,
  .jb-topic-card,
  .jb-demo-card { animation: none !important; transition: none !important; }
  .jb-home-hero__discover i { animation: none !important; }
}
