/* ============================================
   KlangFeeling – Design Tokens
   ============================================ */
:root {
  --bg: #0b0d0f;
  --bg-alt: #14181b;
  --bg-alt-2: #1c2226;
  --fg: #f4f1ea;
  --fg-muted: #a3aab0;
  --fg-faint: #6b7278;
  --accent: #4fb6d1;
  --accent-dim: #35899f;
  --accent-soft: rgba(79, 182, 209, 0.12);
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.18);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1120px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection {
  background: var(--accent);
  color: #0a1f26;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-body);
}

p {
  margin: 0;
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 56ch;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #0a1f26;
}

.btn-primary:hover {
  background: #6fc6dd;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: linear-gradient(to bottom, rgba(11, 13, 15, 0.85), rgba(11, 13, 15, 0));
  backdrop-filter: blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--fg-muted);
  transition: color 0.15s ease;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-left: 1px solid var(--line);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    color: var(--fg);
    font-size: 1.1rem;
    z-index: 110;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 15, 0.55) 45%, rgba(11, 13, 15, 0.35) 100%),
    linear-gradient(to right, rgba(11, 13, 15, 0.5), transparent 60%);
}

.hero-content {
  max-width: 760px;
  padding: 1.8rem 2rem;
  background: rgba(11, 13, 15, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
}

.hero-content .eyebrow {
  color: var(--accent);
}

.hero-content h1 {
  margin-bottom: 1.2rem;
}

.hero-content .lede {
  margin-bottom: 2.2rem;
}

/* ============================================
   Waveform divider
   ============================================ */
.wave-divider {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
}

.wave-divider path {
  stroke: var(--line-strong);
  fill: none;
  stroke-width: 1.5;
}

/* ============================================
   Sections
   ============================================ */
section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.pillar {
  background: var(--bg);
  padding: 2.4rem 2rem;
}

.pillar .index {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1.4rem;
}

.pillar h3 {
  margin-bottom: 0.7rem;
}

.pillar p {
  color: var(--fg-muted);
  font-size: 0.96rem;
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* Statement / quote-like section */
.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.statement h2 {
  color: var(--fg);
}

.statement .body p + p {
  margin-top: 1rem;
}

.statement .body p {
  color: var(--fg-muted);
}

@media (max-width: 820px) {
  .statement {
    grid-template-columns: 1fr;
  }
}

/* Product / feature teaser cards */
.teaser-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.teaser-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.teaser-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 13, 15, 0.55), rgba(11, 13, 15, 0.15));
  z-index: -1;
}

.teaser-card > div {
  background: rgba(11, 13, 15, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}

.teaser-card .tag {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.teaser-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.teaser-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

@media (max-width: 820px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* About teaser */
.about-teaser {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-teaser .portrait {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-teaser .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .about-teaser {
    grid-template-columns: 1fr;
  }
  .about-teaser .portrait {
    max-width: 280px;
  }
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cta-band .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 {
  margin-bottom: 1.6rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--bg-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}

.footer-top .logo img {
  height: 30px;
  margin-bottom: 1rem;
}

.footer-top p {
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.footer-nav-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--fg-faint);
  text-transform: none;
  margin: 0 0 0.8rem;
  font-weight: 600;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-nav-col a {
  color: var(--fg-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--fg-faint);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  color: var(--fg-muted);
}

.instagram-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.instagram-link:hover {
  color: var(--accent);
}


/* ============================================
   Referenzen-Galerie (Masonry)
   ============================================ */
/* Referenzen-Galerie */
/* Referenzen-Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  grid-auto-flow: dense;
  align-items: start;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.gallery-item--large {
  grid-column: span 2;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.25s ease;
}

.gallery-item--large img {
  height: 360px;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  display: block;
  padding: 0.7rem 0.1rem 0;
}

.gallery-caption .g-title {
  display: block;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.gallery-caption .g-credit {
  display: block;
  margin-top: 0.15rem;
  color: var(--fg-faint);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--large {
    grid-column: span 2;
  }

  .gallery-item img {
    height: 220px;
  }

  .gallery-item--large img {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item--large {
    grid-column: span 1;
  }

  .gallery-item img,
  .gallery-item--large img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 8, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 88vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-prev {
  left: 1.4rem;
}

.lightbox-next {
  right: 1.4rem;
}

@media (max-width: 700px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ============================================
   Scroll-to-top Button
   ============================================ */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   Partner-Logo-Marquee
   ============================================ */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partner-logo {
  flex: 0 0 auto;
  width: 140px;
  height: 70px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-faint);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============================================
   Pakete (Leistungen)
   ============================================ */
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.package-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.package-card .package-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.package-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.package-card .components {
  font-size: 0.88rem;
  color: var(--fg-faint);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.package-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.package-card .capacity {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 820px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
}

.included-list {
  list-style: none;
  margin: 0;
  padding: 1.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
}

.included-list li {
  padding-left: 1.3rem;
  position: relative;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 600px) {
  .included-list {
    grid-template-columns: 1fr;
  }
}

/* Pult-Vergleich */
.pult-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pult-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
}

.pult-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
  color: var(--fg);
}

.pult-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .pult-compare {
    grid-template-columns: 1fr;
  }
}

/* Feature-Grid (z.B. Alcons-Vorteile) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.feature-grid h4 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 0.5rem;
}

.feature-grid p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Timeline / Vita
   ============================================ */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
  max-width: 680px;
}

.timeline li {
  position: relative;
  padding: 0 0 2.2rem 2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline .year {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.3rem;
}

.timeline .desc {
  color: var(--fg);
  font-size: 1rem;
}

/* ============================================
   Inner-page hero (für Unterseiten)
   ============================================ */
.page-hero {
  padding: 9.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

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

/* Bildcredits auf der Startseite */
.image-credit {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  z-index: 5;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.image-credit::before {
  content: "";
  position: absolute;
  right: -1.2rem;
  bottom: -1rem;
  left: -4rem;
  height: 5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    transparent
  );
  z-index: -1;
}

/* Hero-Bild */
.hero-media {
  position: absolute;
}

.hero-media .image-credit {
  bottom: 1.4rem;
}

/* Yamaha-Bild */
.teaser-card .image-credit {
  bottom: 1rem;
}

/* Porträtbild */
.about-teaser .portrait {
  position: relative;
}

.about-teaser .image-credit {
  bottom: 1rem;
}

@media (max-width: 600px) {
  .image-credit {
    right: 0.8rem;
    bottom: 0.7rem;
    font-size: 0.75rem;
  }
}

/* Bildcredits im Pult-Vergleich */
.pult-image {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 10px;
}

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

.pult-image .image-credit {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  z-index: 2;
  color: #fff;
  font-size: 0.85rem;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.pult-image::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.8)
  );
  pointer-events: none;
}

/* ============================================
   Mobile Optimierung
   ============================================ */

@media (max-width: 760px) {

  /* Grundlayout */
  html,
  body {
    overflow-x: hidden;
  }

  .wrap {
    width: 100%;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  section {
    padding: 3.6rem 0;
  }

  /* Header */
  .site-header {
    padding: 0.7rem 0;
    background: rgba(11, 13, 15, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-header .wrap {
    min-height: 42px;
  }

  .logo img {
    height: 36px;
  }

  .nav-cta {
    display: none;
  }

  /* Mobiles Menü: vollständig deckend */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 105;

    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 6.5rem 1.5rem 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;

    background: #0b0d0f;
    opacity: 1;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 0.25s ease,
      visibility 0.25s ease;

    overflow-y: auto;
    border: 0;
  }

  .nav-links.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    list-style: none;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    color: var(--fg-muted);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  .nav-toggle {
    position: relative;
    z-index: 110;
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    font-size: 1.15rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Hero */
  .hero {
    min-height: 78vh;
    padding-top: 6rem;
    padding-bottom: 2.8rem;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    padding: 1.25rem 1.1rem;
    background: rgba(11, 13, 15, 0.7);
    border-radius: 14px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  .hero-content .lede {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    margin-bottom: 0.65rem;
  }

  .btn-row {
    gap: 0.65rem;
  }

  .btn {
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
  }

  /* Überschriften */
  h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  /* Drei Disziplinen */
  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 1.45rem 1.2rem;
  }

  .pillar .index {
    margin-bottom: 0.8rem;
  }

  /* Statement */
  .statement {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  /* Technik-Teaser */
  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .teaser-card {
    min-height: 390px !important;
    padding: 0.8rem;
    align-items: flex-end;
  }

  .teaser-card > div {
    width: 100%;
    padding: 1rem;
  }

  .teaser-card h3 {
    font-size: 1.2rem;
  }

  .teaser-card p {
    font-size: 0.9rem;
  }

  /* Über-uns-Bereiche */
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .about-teaser .portrait {
    width: 100%;
    max-width: 100%;
  }

  /* Pakete */
  .package-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .package-card {
    padding: 1.35rem;
  }

  .included-list {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  /* Pult-Vergleich */
  .pult-compare {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pult-card {
    padding: 1rem;
  }

  .pult-card h4 {
    font-size: 1.05rem;
  }

  .pult-card p {
    font-size: 0.9rem;
  }

  /* Galerie */
  .gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    columns: auto;
  }

  .gallery-item,
  .gallery-item--large {
    grid-column: span 1;
    width: 100%;
    margin: 0;
  }

  .gallery-item img,
  .gallery-item--large img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
  }

  .gallery-caption {
    padding: 0.65rem 0.1rem 0;
  }

  .gallery-caption .g-title {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .gallery-caption .g-credit {
    font-size: 0.8rem;
  }

  /* Lightbox */
  .lightbox {
    padding: 0.8rem;
  }

  .lightbox-content {
    max-width: 100%;
    max-height: 82vh;
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 68vh;
    border-radius: 8px;
  }

  .lightbox-caption {
    max-width: 85%;
    margin-top: 0.7rem;
    font-size: 0.82rem;
  }

  .lightbox-close {
    top: 0.7rem;
    right: 0.7rem;
    width: 38px;
    height: 38px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-top {
    gap: 1.6rem;
    padding-bottom: 1.8rem;
  }

  .footer-top p {
    font-size: 0.86rem;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.78rem;
  }

  .footer-links {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  /* Zurück-nach-oben-Schaltfläche */
  .to-top {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 42px;
    height: 42px;
  }
}

/* ============================================
   Rechtliche Seiten – flaches Layout
   ============================================ */

.legal-section {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.legal-content {
  max-width: 760px;
}

.legal-block {
  margin: 0 0 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h3 {
  margin: 0 0 0.75rem;
  color: var(--fg);
}

.legal-block p,
.legal-block li {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-block p {
  margin: 0;
}

.legal-block ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.3rem;
}

.legal-block a {
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  color: var(--accent);
}

.legal-note {
  margin-top: 1rem !important;
  color: var(--fg-faint) !important;
  font-size: 0.88rem !important;
}

@media (max-width: 760px) {
  .legal-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .legal-block {
    margin-bottom: 2.2rem;
  }

  .legal-block p,
  .legal-block li {
    font-size: 0.9rem;
  }
}