/* Jasper Balke v0.7 — Wahlkreis-inspiriertes Design-System (site-weit) */

@view-transition {
  navigation: auto;
}

:root {
  --forest: #1c241b;
  --forest2: #2a3329;
  --forest-deep: #101610;
  --sun: #c9b84a;
  --sun-bright: #e8c840;
  --sage: #5a7049;
  --green: #46962b;
  --green-soft: rgba(70, 150, 43, 0.12);
  --cream: #f5f6f2;
  --paper: #fafaf8;
  --mist: #eef0ea;
  --ink: #232a22;
  --ink-soft: #1c241b;
  --muted: rgba(35, 42, 34, 0.58);
  --line: rgba(35, 42, 34, 0.11);
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --radius-sm: 3px;
  --shadow-soft: 0 18px 50px rgba(28, 36, 27, 0.08);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

::selection {
  background: rgba(201, 184, 74, 0.35);
  color: var(--forest);
}

.site-header {
  background: rgba(28, 36, 27, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  background: rgba(28, 36, 27, 0.96);
}

.site-nav a {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sage);
}

.eyebrow.dark {
  color: var(--sage);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--sun);
}

.hero h1,
.page-hero h1,
.archive-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.03em;
}

.hero h1 strong {
  color: var(--sun-bright);
  font-style: italic;
}

.button {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
}

.button-primary {
  background: var(--sun-bright);
  color: var(--forest);
}

.jb-btn-outline-dark {
  border: 1.5px solid rgba(35, 42, 34, 0.22) !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.6) !important;
}

.jb-btn-outline-dark:hover {
  background: #fff !important;
  border-color: var(--sage) !important;
}

.section-head h2,
.profile-grid h2,
.split h2,
.participation h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.profile-band {
  background: var(--forest);
}

.luebeck-stage {
  background: var(--forest2);
}

.participation {
  background: var(--mist);
  color: var(--ink);
}

.participation .eyebrow {
  color: var(--sage);
}

.participation-card {
  border-top-color: var(--green);
  border-right-color: var(--line);
  background: #fff;
}

.participation-card h3 {
  font-family: var(--font-display);
}

.transparency {
  background: var(--forest-deep);
}

.topic-card > span {
  font-family: var(--font-display);
  color: rgba(35, 42, 34, 0.14);
}

.page-hero-overlay {
  background: linear-gradient(105deg, rgba(28, 36, 27, 0.94) 0%, rgba(42, 51, 41, 0.72) 55%, rgba(28, 36, 27, 0.28) 100%);
}

.page-hero-intro {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* Kontakt-Button in Navigation */
.site-nav .menu > li:last-child > a,
.site-nav .menu-item-kontakt > a {
  background: var(--sun-bright);
  color: var(--forest) !important;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.site-nav .menu > li:last-child > a:hover {
  background: #fff;
}

/* ── v0.6: Site-weite Typografie & Komponenten ──────────────── */

.section-head h2,
.jb-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.text-link {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-bottom-color: var(--sun-bright);
}

.topic-card {
  border-color: var(--line);
  border-radius: 0;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.topic-card:hover {
  background: var(--mist);
  border-color: rgba(70, 150, 43, 0.2);
}

.topic-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

.fact-card h3,
.profile-cards h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

.archive-hero,
.page-hero {
  background: var(--forest);
}

.page-hero h1,
.archive-hero h1 {
  line-height: 0.95;
}

.site-footer {
  background: var(--forest-deep);
}

.footer-grid h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.contact-stage {
  background: var(--forest2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: var(--radius-sm);
}

.event-card {
  border-radius: 6px;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.event-date {
  background: var(--sun-bright);
  border-radius: var(--radius-sm);
}

.post-card {
  border-radius: 6px;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.list-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.article-header {
  background: var(--cream);
}

.article-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
}

.article-content blockquote,
.page-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  border-left-color: var(--sun-bright);
}

.meta {
  font-family: var(--font-body);
  color: var(--sage);
}

.category-chips a {
  border-radius: var(--radius-sm);
  border-color: var(--line);
}

.page-numbers.current {
  background: var(--forest);
}

/* Showcase-Seiten (Lübeck, Kontakt, Parlament) */
.jb-page-showcase,
.jb-contact-showcase {
  background: var(--cream);
}

.jb-showcase-copy h2,
.jb-contact-card h2,
.jb-form-stage h2,
.jb-newsletter-panel h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.jb-contact-card,
.jb-press-item {
  border-radius: 6px;
  border-color: var(--line);
}

.jb-form-stage {
  background: var(--forest);
  border-radius: 8px;
}

.jb-newsletter-panel {
  background: var(--sun-bright);
  border-radius: 8px;
}

.jb-newsletter-panel h2 {
  font-family: var(--font-display);
}

.jb-floating-label {
  background: var(--sun-bright);
  border-radius: var(--radius-sm);
}

/* Mobile: konsistente Abstände */
@media (max-width: 680px) {
  .participation h2 {
    text-transform: none;
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .profile-grid h2,
  .split h2 {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }
}

/* ── v0.7: gemeinsames Designfundament ───────────────────────── */

:root {
  --line-strong: rgba(35, 42, 34, 0.2);
  --radius-md: 6px;
  --radius-lg: 10px;
  --page-gutter: clamp(18px, 4vw, 54px);
  --section-space: clamp(76px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header: 76px;
}

html {
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

.shell,
.shell-wide,
.shell-narrow {
  width: auto;
  margin-inline: var(--page-gutter);
}

.shell { max-width: 1240px; }
.shell-wide { max-width: 1440px; }
.shell-narrow { max-width: 820px; }

@media (min-width: 1320px) {
  .shell {
    width: calc(100% - 72px);
    margin-inline: auto;
  }
}

@media (min-width: 900px) {
  .shell-narrow {
    width: calc(100% - 72px);
    margin-inline: auto;
  }
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sun-bright);
  outline-offset: 4px;
}

.skip-link {
  border-radius: var(--radius-sm);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.site-header {
  height: var(--header);
  background: rgba(18, 24, 18, 0.76);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(18, 24, 18, 0.96);
  box-shadow: 0 10px 34px rgba(9, 14, 9, 0.16);
}

.header-inner {
  height: 100%;
  gap: 28px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.14));
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.site-nav .menu {
  gap: clamp(16px, 2.2vw, 30px);
}

.site-nav .menu > li > a {
  position: relative;
  padding-block: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav .menu > li:not(:last-child) > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--sun-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.site-nav .menu > li:not(:last-child) > a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.site-nav .sub-menu {
  top: calc(100% + 12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.site-nav .sub-menu a {
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.site-nav .sub-menu a:hover { background: var(--mist); }

.button {
  gap: 9px;
  min-height: 50px;
  padding: 13px 23px;
  border-width: 1.5px;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 36, 27, 0.11);
}

.button-primary:hover {
  background: #f3d548;
}

.button-dark {
  background: var(--forest);
  color: #fff;
}

.button-dark:hover { background: var(--forest2); }

.button-ghost--light {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(9px);
}

.button-ghost--light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.72;
}

.section-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 em,
.jb-section-title em {
  color: var(--green);
  font-weight: inherit;
}

.text-link {
  padding-bottom: 5px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.page-hero {
  min-height: min(72svh, 760px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header) + clamp(80px, 10vw, 130px)) clamp(76px, 9vw, 120px);
  isolation: isolate;
}

.page-hero-media,
.page-hero-overlay { z-index: -1; }

.page-hero h1,
.archive-hero h1 {
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.page-content {
  color: var(--ink);
}

.page-content > p {
  max-width: 72ch;
  line-height: 1.76;
}

.section--flush-top { padding-top: 0; }
.page-hero--compact-bottom { padding-bottom: 48px; }
.jb-lead--spaced { margin-bottom: 2.5rem; }
.jb-ltw-date-name { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.jb-ltw-date-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.jb-stat-unit { color: var(--muted); font-size: 0.85em; }
.jb-wk-highlight--spaced { margin-top: 32px; }
.jb-wk-highlight__meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.jb-press-kit__intro { max-width: 420px; }

.topic-card,
.participation-card,
.home-fact-card,
.jb-contact-hero-card,
.jb-parlament-focus__card {
  transition: transform 0.22s var(--ease), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

:where(.topic-card, .participation-card, .home-fact-card, .jb-contact-hero-card, .jb-parlament-focus__card):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(28, 36, 27, 0.08);
}

.site-footer {
  padding: clamp(66px, 9vw, 104px) 0 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(90, 112, 73, 0.14), transparent 30%),
    var(--forest-deep);
}

.footer-grid {
  grid-template-columns: minmax(280px, 1.7fr) repeat(4, minmax(0, 0.86fr));
  gap: clamp(30px, 3.4vw, 56px);
  align-items: start;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  font-style: normal;
}

.footer-contact-line {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-office-link {
  width: fit-content;
  color: var(--sun-bright) !important;
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-office-link:hover { color: #fff !important; }

.footer-col a { display: block; }

.footer-col .menu a { display: inline-block; }

.brand-footer {
  display: inline-flex !important;
  margin-bottom: 22px !important;
}

.brand-footer .brand-logo {
  width: 52px;
  height: 52px;
}

.footer-intro > p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.72;
}

.footer-label {
  margin: 4px 0 22px !important;
  color: var(--sun-bright) !important;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  width: fit-content;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.footer-grid a:not(.brand):hover { color: #fff; }

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-mail {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(232, 200, 64, 0.5);
}

.footer-social-column .social-links {
  display: grid;
  gap: 2px;
}

.footer-social-column .social-links a { margin-block: 4px; }

.footer-note {
  margin-top: 22px !important;
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 7vw, 76px);
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: minmax(260px, 1.4fr) 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 1099px) {
  :root { --header: 68px; }

  .site-nav .menu > li > a {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav .menu > li:not(:last-child) > a::after { display: none; }

  .site-nav .menu > li:last-child > a {
    width: fit-content;
    margin: 14px 0;
    padding-inline: 18px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --page-gutter: 18px; }

  .section-head { align-items: flex-start; }

  .page-hero { min-height: 62svh; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }

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

@media (prefers-reduced-motion: reduce) {
  .button,
  .site-nav a::after,
  .topic-card,
  .participation-card,
  .home-fact-card,
  .jb-contact-hero-card,
  .jb-parlament-focus__card {
    transition: none !important;
  }
}

/* v0.7.3 — schlanke Mobile-First Hauptnavigation */
:root {
  --header: 64px;
  --nav-drawer-width: min(88vw, 360px);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 999;
  background: rgba(5, 10, 6, 0.42);
}

.site-header {
  height: var(--header);
  color: #fff;
  background: rgba(18, 24, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.12);
}

.site-header::after {
  content: none;
}

.menu-open .site-header::after {
  content: none;
}

.header-inner {
  width: auto;
  max-width: none;
  height: 100%;
  margin-inline: var(--page-gutter);
  padding: 0;
  gap: 12px;
}

.brand {
  min-width: 0;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  max-width: 42vw;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.16s ease;
}

.menu-toggle b {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: var(--header);
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: var(--nav-drawer-width);
  max-width: 100%;
  padding: 14px 16px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(28, 36, 27, 0.98), rgba(18, 24, 18, 0.99));
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.26);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.24s var(--ease);
}

.menu-open .site-nav {
  transform: translate3d(0, 0, 0);
}

.site-nav .menu {
  display: grid;
  width: 100%;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .menu > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-nav .menu > li:not(.menu-item-has-children) {
  grid-template-columns: 1fr;
}

.site-nav .menu > li > a {
  grid-column: 1;
  min-width: 0;
  padding: 13px 8px 13px 0;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
  text-transform: none;
}

.site-nav .menu > li > a::after {
  display: none !important;
}

.site-nav .menu > li:last-child > a,
.site-nav .menu-item-kontakt > a {
  width: 100%;
  margin: 10px 0 2px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--sun-bright);
  color: var(--forest) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.site-nav .submenu-toggle {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.submenu-toggle span {
  position: relative;
  width: 13px;
  height: 13px;
}

.submenu-toggle span::before,
.submenu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s var(--ease);
}

.submenu-toggle span::after {
  transform: rotate(90deg);
}

.submenu-toggle[aria-expanded="true"] span::after {
  transform: rotate(0deg);
}

.site-nav .sub-menu {
  position: static;
  grid-column: 1 / -1;
  display: none !important;
  min-width: 0;
  margin: 0;
  padding: 0 0 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
}

.site-nav .submenu-open > .sub-menu {
  display: grid !important;
}

.site-nav .sub-menu li {
  border: 0;
}

.site-nav .sub-menu a {
  display: block;
  padding: 7px 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-nav .sub-menu a:hover {
  background: transparent;
  color: #fff;
}

@media (max-width: 380px) {
  :root {
    --nav-drawer-width: 100vw;
  }

  .brand-copy strong {
    max-width: 38vw;
  }
}

@media (min-width: 1100px) {
  :root {
    --header: 72px;
  }

  .site-header::after {
    display: none;
  }

  .header-inner {
    max-width: 1240px;
    margin-inline: auto;
    width: calc(100% - 72px);
    gap: 28px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    max-width: none;
    overflow: visible;
    font-size: 1.04rem;
    text-overflow: clip;
  }

  .brand-copy small {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    border-left: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    transition: none;
  }

  .site-nav .menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 26px);
  }

  .site-nav .menu > li,
  .site-nav .menu > li:not(.menu-item-has-children) {
    display: block;
    position: relative;
    border-bottom: 0;
  }

  .site-nav .menu > li > a {
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .site-nav .menu > li:not(:last-child) > a::after {
    display: block !important;
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--sun-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s var(--ease);
  }

  .site-nav .menu > li:not(:last-child) > a:hover::after,
  .site-nav .current-menu-item > a::after,
  .site-nav .current-menu-ancestor > a::after {
    transform: scaleX(1);
  }

  .site-nav .menu > li:last-child > a,
  .site-nav .menu-item-kontakt > a {
    width: auto;
    margin: 0;
    padding: 9px 16px;
  }

  .site-nav .submenu-toggle {
    display: none;
  }

  .site-nav .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -18px;
    display: none !important;
    min-width: 220px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .site-nav li:hover > .sub-menu,
  .site-nav li:focus-within > .sub-menu {
    display: grid !important;
    gap: 3px;
  }

  .site-nav .sub-menu a {
    padding: 8px 9px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.78rem;
  }

  .site-nav .sub-menu a:hover {
    background: var(--mist);
    color: var(--forest);
  }
}

/* v0.7.5 — Navigation auf allen Viewports sichtbar und ohne Layout-Kollisionen */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}

.site-nav {
  visibility: visible;
}

@media (min-width: 1100px) {
  .site-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
  }

  .site-nav .menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 4px;
  }

  .site-nav .menu-item-search {
    display: flex;
    align-items: center;
    border-bottom: 0;
  }
}
