/* Stagepoint Bühnenvermietung – Entwurf 2
   Design-Richtung: nüchtern, verlässlich. Leitfarbe Blau (#00408a),
   helle und blaue Abschnitte im Wechsel. Video-Hero, Header
   halbtransparent beim Laden -> solide beim Scrollen. Siehe CLAUDE.md. */

/* ---------- Webfonts ---------- */
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab/roboto-slab-v24-latin-700.woff2") format("woff2"),
       url("../fonts/roboto-slab/roboto-slab-v24-latin-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab/roboto-slab-v24-latin-800.woff2") format("woff2"),
       url("../fonts/roboto-slab/roboto-slab-v24-latin-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans/open-sans-v34-latin-300.woff2") format("woff2"),
       url("../fonts/open-sans/open-sans-v34-latin-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans/open-sans-v34-latin-600.woff2") format("woff2"),
       url("../fonts/open-sans/open-sans-v34-latin-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed/roboto-condensed-v25-latin-regular.woff2") format("woff2"),
       url("../fonts/roboto-condensed/roboto-condensed-v25-latin-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed/roboto-condensed-v25-latin-700.woff2") format("woff2"),
       url("../fonts/roboto-condensed/roboto-condensed-v25-latin-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --color-blue: #00408a;
  --color-blue-deep: #002d5f;
  --color-blue-bright: #2f7fd0;

  --color-surface: #ffffff;
  --color-surface-alt: #f4f7fa;

  --color-text: #1b2733;
  --color-text-muted: #5a6b7b;
  --color-border: #dfe6ee;

  --color-on-blue: #eef4fb;
  --color-on-blue-muted: #b9cde3;
  --color-on-blue-border: rgba(255, 255, 255, 0.22);

  --color-header-load: rgba(0, 64, 138, 0.60);
  --color-header-solid: #00408a;
  --color-bar-load: rgba(0, 45, 95, 0.55);
  --color-bar-solid: #002d5f;

  --color-error: #c0392b;
  --color-success: #1e7a46;

  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-nav: "Roboto Condensed", "Segoe UI", Arial, sans-serif;

  --container-width: 1200px;
  --topbar-height: 38px;
  --header-main-height: 104px;
  --header-height: calc(var(--topbar-height) + var(--header-main-height));
  --logo-height: 124px;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.placeholder-note {
  font-size: 0.85rem;
  color: var(--color-blue);
  border-left: 2px solid var(--color-blue-bright);
  padding-left: 12px;
}
.eyebrow {
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-blue);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* schmale Kontaktzeile ganz oben */
.topbar {
  height: var(--topbar-height);
  background: var(--color-bar-load);
  transition: background-color 0.3s ease;
}
.site-header.is-scrolled .topbar {
  background: var(--color-bar-solid);
}
.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-nav);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--color-on-blue);
  white-space: nowrap;
}
.topbar a:hover {
  color: #fff;
}
.topbar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Hauptleiste mit Logo + Navigation */
.site-header__main {
  height: var(--header-main-height);
  background: var(--color-header-load);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled .site-header__main {
  background: var(--color-header-solid);
  border-bottom-color: var(--color-on-blue-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.site-header__main .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
/* freigestelltes Logo: liegt über Kontaktzeile + Navizeile, vertikal zum
   gesamten Header-Block zentriert */
.site-header__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--container-width);
  padding: 0 24px;
  z-index: 30;
  line-height: 0;
  pointer-events: none;
}
.site-header__logo img {
  height: var(--logo-height);
  width: auto;
  pointer-events: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 10, 30, 0.45));
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--color-on-blue);
}
.site-nav a:hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* Produkte-Untermenü – der mobile Hamburger-Zweig steht im
   @media (max-width: 640px)-Block weiter unten. Der Toggle-Button ist
   grundsätzlich versteckt und wird nur dort eingeblendet. */
.submenu-toggle {
  display: none;
}
.site-nav .submenu {
  list-style: none;
}

/* Desktop: Hover-/Focus-Dropdown (bewusst auf >= 641px begrenzt, damit
   Positionierung/Transform nicht in das mobile Menü durchschlagen) */
@media (min-width: 641px) {
  .site-nav .has-submenu {
    position: relative;
  }
  .site-nav .has-submenu > a::after {
    content: "";
    display: inline-block;
    margin-left: 7px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
  .site-nav .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 230px;
    background: var(--color-header-solid);
    border: 1px solid var(--color-on-blue-border);
    box-shadow: 0 14px 32px rgba(0, 10, 30, 0.35);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 40;
  }
  .site-nav .has-submenu:hover .submenu,
  .site-nav .has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .site-nav .submenu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--color-on-blue);
  }
  .site-nav .submenu a:hover {
    background: var(--color-blue-bright);
    color: #fff;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-blue-deep) url("../img/hero/hero-standbild-v2.jpg") center center / cover no-repeat;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0.45) 0%, rgba(0, 20, 45, 0.62) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-height) + 48px) 0 96px;
  max-width: 760px;
  color: #fff;
}
.hero__slogan {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 18px;
  color: #fff;
}
.hero__lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--color-on-blue);
  margin-bottom: 32px;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  padding: 15px 32px;
  border-radius: 2px;
  border: 1px solid var(--color-blue);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-blue-deep);
  border-color: var(--color-blue-deep);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--color-blue);
}
.btn--ghost:hover {
  background: var(--color-blue);
  color: #fff;
}
.btn--on-blue {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn--on-blue:hover {
  background: #fff;
  color: var(--color-blue);
}

/* ---------- Section basics ---------- */
section {
  padding: 108px 0;
}
.section--tight {
  padding: 72px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-top: 12px;
}

/* Flächen im Wechsel */
.section--light {
  background: var(--color-surface);
}
.section--alt {
  background: var(--color-surface-alt);
}
.section--blue {
  background: var(--color-blue);
  color: var(--color-on-blue);
}
.section--blue h1,
.section--blue h2,
.section--blue h3 {
  color: #fff;
}
.section--blue .eyebrow {
  color: var(--color-on-blue);
}

/* ---------- Product grid ---------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-blue);
  box-shadow: 0 16px 36px rgba(0, 45, 95, 0.12);
}
.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 24px;
}
.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.product-card__link {
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: var(--color-blue);
}

/* ---------- Ablauf / Workflow ---------- */
.workflow__slogan {
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-on-blue);
  margin-bottom: 12px;
}
.workflow__head {
  max-width: 640px;
  margin-bottom: 52px;
}
.workflow__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.workflow__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.workflow__step {
  border-top: 2px solid var(--color-on-blue-border);
  padding-top: 20px;
}
.workflow__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  opacity: 0.65;
}
.workflow__icon {
  margin: 14px 0 12px;
}
.workflow__icon svg {
  width: 34px;
  height: 34px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
}
.workflow__step h3 {
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}
.workflow__step p {
  font-size: 0.9rem;
  color: var(--color-on-blue-muted);
}
@media (max-width: 900px) {
  .workflow__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .workflow__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Flexibilität (Bild + Text) ---------- */
.flexibility__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.flexibility__media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.flexibility__text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 12px 0 20px;
}
.flexibility__text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.flexibility__text p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  background: var(--color-surface-alt);
}
.contact-cta__head {
  text-align: center;
  margin: 0 auto 52px;
}
.contact-cta__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 12px 0 20px;
}
.contact-cta__head p {
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto;
}
.contact-cta__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact-cta__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-cta__info strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  margin-bottom: 6px;
}
.contact-cta__info a,
.contact-cta__info span {
  color: var(--color-text);
  font-size: 1.05rem;
}
.contact-cta__info a:hover {
  color: var(--color-blue);
}

/* ---------- Kontaktformular ---------- */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 32px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group {
  margin-bottom: 20px;
}
.form__group label {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.form__group input[type="text"],
.form__group input[type="email"],
.form__group input[type="tel"],
.form__group select,
.form__group textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form__group textarea {
  resize: vertical;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}
.form__group input.has-error,
.form__group textarea.has-error {
  border-color: var(--color-error);
}
.form__error {
  display: block;
  min-height: 1.2em;
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 6px;
}
.form__hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: normal;
}
.form__checkbox input {
  margin-top: 4px;
}
.form__checkbox a {
  color: var(--color-blue);
  text-decoration: underline;
}
.form__success {
  color: var(--color-success);
  margin-top: 20px;
}
.form__fail {
  color: var(--color-error);
  margin-top: 20px;
}
.form__fail a {
  color: inherit;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .contact-cta__grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .flexibility__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Product detail pages ---------- */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  background-color: var(--color-blue-deep);
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0.35) 0%, rgba(0, 20, 45, 0.55) 55%, rgba(0, 20, 45, 0.85) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  color: #fff;
}
.page-hero__content .eyebrow {
  color: var(--color-on-blue);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-top: 12px;
  color: #fff;
}
.breadcrumb {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  color: var(--color-on-blue-muted);
  margin-bottom: 80px;
}
.breadcrumb a:hover {
  color: #fff;
}
.product-intro {
  background: var(--color-surface);
}
.product-intro .container {
  max-width: 760px;
}
.product-intro p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.specs {
  background: var(--color-surface-alt);
}
.specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.specs__group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px;
}
.specs__group h3 {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  margin-bottom: 16px;
}
.specs__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}
.specs__row:first-of-type {
  border-top: 0;
}
.specs__row dt {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.specs__row dd {
  font-family: var(--font-nav);
  font-weight: 700;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}
.specs__footnote {
  margin-top: 24px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.gallery {
  background: var(--color-surface);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery__item {
  display: block;
  cursor: zoom-in;
}
.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  transition: opacity 0.15s ease;
}
.gallery__item:hover img {
  opacity: 0.85;
}

.product-note {
  margin: 32px auto 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(0, 20, 45, 0.92);
  cursor: zoom-out;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-on-blue-border);
  background: var(--color-blue-deep);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover {
  background: var(--color-blue);
}
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--color-on-blue-border);
  background: var(--color-blue-deep);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.lightbox__nav:hover {
  background: var(--color-blue);
}
.lightbox__nav--prev {
  left: 24px;
}
.lightbox__nav--next {
  right: 24px;
}
@media (max-width: 640px) {
  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }
  .lightbox__nav--prev {
    left: 10px;
  }
  .lightbox__nav--next {
    right: 10px;
  }
}
.product-cta {
  background: var(--color-surface);
  text-align: center;
}
.product-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
/* "im Einsatz"-Sektion am Seitenende (nur die vier Bühnen):
   Bild auf Inhaltsbreite, Überschrift oberhalb im Datenbox-Stil */
.product-showcase {
  background: var(--color-surface);
}
.product-showcase__img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-hero {
  padding: calc(var(--header-height) + 56px) 0 44px;
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-top: 12px;
}
.legal-hero .breadcrumb {
  color: var(--color-text-muted);
  margin-bottom: 0;
}
.legal-hero .breadcrumb a:hover {
  color: var(--color-blue);
}
.legal {
  background: var(--color-surface);
}
.legal .container {
  max-width: 760px;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 44px 0 16px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-size: 1rem;
}
.legal strong {
  color: var(--color-text);
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal a {
  color: var(--color-blue);
  text-decoration: underline;
}
.legal .placeholder-note {
  margin: 16px 0;
}

/* ---------- Über uns ---------- */
.company-intro {
  background: var(--color-surface);
}
.company-intro .container {
  max-width: 760px;
}
.company-intro h2 {
  font-size: 1.3rem;
  margin: 44px 0 16px;
}
.company-intro h2:first-child {
  margin-top: 0;
}
.company-intro p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-size: 1rem;
}

.team {
  background: var(--color-surface-alt);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.team__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  background: var(--color-border);
}
.team__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.team__photo img.team__photo--hover {
  opacity: 0;
}
.team__photo:hover img.team__photo--default {
  opacity: 0;
}
.team__photo:hover img.team__photo--hover {
  opacity: 1;
}
.team__card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team__role {
  color: var(--color-blue);
  font-family: var(--font-nav);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.team__contact {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.team__contact a:hover {
  color: var(--color-blue);
}

.crew-closing {
  padding: 0;
  background: var(--color-blue-deep);
}
.crew-closing__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.crew-closing__slogan {
  padding: 56px 24px;
  text-align: center;
  background: var(--color-blue-deep);
}
.crew-closing__slogan img {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- Downloadbereich ---------- */
.downloads-login {
  background: var(--color-surface-alt);
}
.downloads-login__card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.downloads-login__card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.downloads-login__card .form__group {
  text-align: left;
}
.downloads-login__card .btn {
  width: 100%;
}
.downloads-login__card .form__fail {
  margin: 0 0 20px;
}
.downloads-login__hint {
  margin: 24px 0 0;
  font-size: 0.85rem;
}
.downloads-login__hint a {
  color: var(--color-blue);
}

.downloads-list {
  background: var(--color-surface);
}
.downloads-list .container {
  max-width: 900px;
}
.downloads-list__intro {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.downloads-list__intro a {
  color: var(--color-blue);
}
.downloads-list__group {
  margin-bottom: 24px;
}
.downloads-list__files {
  list-style: none;
}
.downloads-list__files li {
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}
.downloads-list__files li:first-child {
  border-top: 0;
}
.downloads-list__files a {
  color: var(--color-text);
}
.downloads-list__files a:hover {
  color: var(--color-blue);
}
.downloads-list__missing {
  color: var(--color-text-muted);
  font-style: italic;
}
.downloads-list__logout {
  margin-top: 32px;
  text-align: center;
}
.downloads-list__logout a {
  color: var(--color-text-muted);
  font-family: var(--font-nav);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.downloads-list__logout a:hover {
  color: var(--color-blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-blue-deep);
  color: var(--color-on-blue);
  padding: 64px 0 32px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer__brand img {
  height: 52px;
  margin-bottom: 16px;
}
.site-footer__brand p {
  color: var(--color-on-blue-muted);
  font-size: 0.9rem;
  max-width: 32ch;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer nav a {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  color: var(--color-on-blue-muted);
}
.site-footer nav a:hover {
  color: #fff;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-on-blue-muted);
}
.site-footer__contact strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-on-blue);
  margin-bottom: 4px;
}
.site-footer__contact a:hover {
  color: #fff;
}
.site-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-on-blue-border);
  text-align: center;
  color: var(--color-on-blue-muted);
  font-size: 0.8rem;
}
.site-footer__bottom a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  :root {
    --topbar-height: 40px;
    --header-main-height: 68px;
    --logo-height: 74px;
  }
  /* Kontaktzeile mobil: nur ein antippbares Telefon-Icon (Hauptnummer, rechts).
     Alle übrigen Einträge (Mobil, Fax, Mail) inkl. ihrer Icons entfernt. */
  .topbar .container {
    gap: 0;
  }
  .topbar .container > * {
    display: none;
  }
  .topbar .container > a[href^="tel"]:first-child {
    display: inline-flex;
    height: 100%;
    padding: 0 14px;
  }
  .topbar .container > a[href^="tel"]:first-child span {
    display: none;
  }
  .topbar .container > a[href^="tel"]:first-child svg {
    width: 18px;
    height: 18px;
  }
  /* Kontaktzeile beim Scrollen ausblenden (nur mobil) */
  .topbar {
    overflow: hidden;
    transition: height 0.3s ease, background-color 0.3s ease;
  }
  .site-header.is-scrolled .topbar {
    height: 0;
  }
  .site-header.is-scrolled .site-nav {
    top: var(--header-main-height);
    height: calc(100vh - var(--header-main-height));
  }
}
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-header-solid);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 24px;
  }
  .site-nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-on-blue-border);
    font-size: 1.1rem;
  }

  /* Produkte-Untermenü – Mobile: antippbar aufklappen */
  .site-nav .has-submenu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .site-nav .has-submenu > a {
    flex: 1;
  }
  .site-nav .has-submenu > a::after {
    display: none;
  }
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-on-blue-border);
    color: var(--color-on-blue);
    cursor: pointer;
  }
  .submenu-toggle::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .site-nav .has-submenu.is-open .submenu-toggle::before {
    transform: translateY(2px) rotate(225deg);
  }
  .site-nav .submenu {
    flex-basis: 100%;
    padding: 0;
    background: rgba(0, 0, 0, 0.16);
    display: none;
  }
  .site-nav .has-submenu.is-open .submenu {
    display: block;
  }
  .site-nav .submenu li {
    width: 100%;
  }
  .site-nav .submenu a {
    padding: 14px 0 14px 24px;
    border-bottom: 1px solid var(--color-on-blue-border);
    font-size: 1rem;
    white-space: normal;
  }
  .products__grid {
    grid-template-columns: 1fr;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  section {
    padding: 72px 0;
  }
}
