/* Bau-H s.r.o. - Stylesheet */

/* ---------- Fonts (lokal eingebunden, Inter, latin, SIL OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }
/* Latin Extended (č š ž ľ ť ď ň ĺ ŕ fuer Slowakisch), gleiche Inter-Familie, SIL OFL */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("fonts/inter-latin-ext-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("fonts/inter-latin-ext-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("fonts/inter-latin-ext-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("fonts/inter-latin-ext-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url("fonts/inter-latin-ext-800-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --navy: #003060;
  --navy-deep: #001a38;
  --navy-ink: #0b1f33;
  --text: #1f2a37;
  --muted: #5a6677;
  --line: #dde3ec;
  --line-strong: #c5d0de;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --accent: #F2B705;
  --accent-hover: #f7c42a;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 51, 0.06), 0 4px 16px rgba(11, 31, 51, 0.06);
  --container: 1180px;
  --gutter: 16px;
  --header-h: 72px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--navy); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  color: var(--navy-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

[hidden] { display: none !important; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(11, 31, 51, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 50px; width: auto; margin-left: -6px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(11, 31, 51, 0.10);
}
.site-nav a:not(.btn) {
  padding: 14px 4px;
  color: var(--navy-ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav .btn { margin-top: 16px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .site-nav a:not(.btn) {
    position: relative;
    padding: 6px 0;
    border: 0;
    font-size: 0.95rem;
    text-decoration: none;
  }
  .site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }
  .site-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .site-nav .btn { margin: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 56px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: 9%;
  width: 6px;
  height: 120%;
  background: var(--accent);
  opacity: 0.85;
  transform: skewX(-14deg);
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) {
  .hero::after { display: block; }
}
.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  max-width: 18ch;
  text-wrap: balance;
}
.hero-lead {
  max-width: 60ch;
  margin: 20px 0 32px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #d5e2f1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.fact-value {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.fact-label {
  font-size: 0.95rem;
  color: #bcd0e6;
  line-height: 1.35;
}
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .fact { display: block; }
  .fact-label { display: block; margin-top: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* ---------- Leistungen ---------- */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) {
  .grid-services > .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service:hover {
  transform: translateY(-3px);
  border-color: #c8d3e2;
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.10);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: #e9eff7;
  color: var(--navy);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Referenzen ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.chip {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.grid-refs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .grid-refs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-refs { grid-template-columns: repeat(3, 1fr); } }

.ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px 28px 24px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ref-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--navy);
}
.ref-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}
.ref-type {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ref-ort {
  margin: 0 0 6px;
  padding-top: 28px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.ref-name { margin: 0; color: var(--muted); font-size: 0.98rem; }
.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.scope-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: #e9eff7;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}
@media (min-width: 640px) and (max-width: 959px) {
  .ref-card.is-featured { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .ref-card.is-featured { grid-column: span 2; }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.refs-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- So arbeiten wir ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.work-intro { font-size: 1.05rem; color: var(--text); }
.work-points { list-style: none; margin: 0; padding: 0; }
.work-points li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.work-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--navy);
}
.work-points li:first-child { border-top: 1px solid var(--line); }
.work-points strong { color: var(--navy-ink); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Unterlagen auf Anfrage ---------- */
.docs-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .docs-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}
.docs-title { margin: 0 0 12px; font-size: 1.05rem; color: var(--navy-ink); }
.docs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-chip {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.docs-link { flex-shrink: 0; align-self: flex-start; }
@media (min-width: 900px) { .docs-link { align-self: center; } }

/* ---------- Einsatzgebiet ---------- */
.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.region-chip {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.region-chip.is-priority {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.region-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}
.region-legend::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--navy);
}

/* ---------- Kontakt ---------- */
.section-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d5e2f1;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 56px);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: #cfe0f5; }
.section-dark .section-head p { color: #c3d5ea; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.contact-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.contact-person {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.contact-role { margin: 0 0 8px; color: #c3d5ea; }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9cde3;
}
.contact-line a {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-line a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-card .btn { margin-top: 12px; width: 100%; }
.contact-note { margin: 16px 0 0; font-size: 0.92rem; color: #b9cde3; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b9cbe0;
  padding: 40px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-logo { height: 44px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a { color: #e6eef8; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.footer-meta { margin: 0; color: #9fb4cc; }
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 64px 0 96px; }
.legal-content { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.6em; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 0.6em; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }
.legal .lead { color: var(--muted); font-size: 1.05rem; }
.legal-block { margin: 0 0 1em; }
.legal-sub { color: var(--muted); font-size: 0.92rem; margin-top: 2.6em; }
.legal a { color: var(--navy); text-underline-offset: 3px; }

/* ---------- Scroll-Reveal ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .service:hover { transform: none; }
}

/* ---------- Sprachumschalter SK | DE ---------- */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  background: var(--white);
  color: var(--navy);
  border: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line-strong); }
.lang-btn:hover { background: var(--bg-soft); }
.lang-btn[aria-pressed="true"] { background: var(--accent); color: var(--navy); }
.lang-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.site-nav .lang-switch { margin-top: 16px; align-self: flex-start; }
@media (min-width: 900px) {
  .site-nav .lang-switch { margin: 0; }
}

/* ---------- Hero-Visual (Desktop, schräge Maske aus Unterverteilung) ---------- */
.hero-visual { display: none; }
@media (min-width: 1024px) {
  .hero::after { display: none; }
  .facts { max-width: 640px; }
  .hero-visual {
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 6%;
    width: clamp(240px, 26vw, 340px);
    height: 360px;
    transform: translateY(-50%);
    isolation: isolate;
    pointer-events: none;
  }
  .hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent);
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
    transform: translate(-14px, 14px);
  }
  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  }
}

/* ---------- Einblicke (Fotogalerie): 3 Fotos ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-ink);
}
.shot-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: zoom-in;
}
.shot-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shot-btn:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 14px 12px;
  background: linear-gradient(to top, rgba(0, 26, 56, 0.9), rgba(0, 26, 56, 0));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Lightbox (nativer dialog) ---------- */
.lightbox {
  width: min(1100px, 94vw);
  max-width: 94vw;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 26, 56, 0.9); }
.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lb-img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
}
.lb-cap {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  color: #d5e2f1;
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 26, 56, 0.7);
  color: var(--white);
  cursor: pointer;
}
.lb-btn:hover { background: var(--navy); border-color: var(--white); }
.lb-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-btn:focus-visible { outline-color: var(--accent); }

/* Lightbox: Zaehler (z. B. "3 / 6") */
.lb-count {
  margin: 0;
  font-size: 0.85rem;
  color: #d5e2f1;
  font-variant-numeric: tabular-nums;
}

/* Einblicke: Link zur Galerie */
.gallery-more { margin-top: 32px; text-align: center; }

/* ---------- Galerie-Seite (galerie.html): Masonry ohne Beschnitt ---------- */
.masonry {
  column-count: 1;
  column-gap: 16px;
}
@media (min-width: 480px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-ink);
}
.masonry-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: zoom-in;
}
.masonry-btn img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.masonry-btn:hover img { transform: scale(1.03); }
.masonry-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 14px 12px;
  background: linear-gradient(to top, rgba(0, 26, 56, 0.9), rgba(0, 26, 56, 0));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

/* Header-Navigation: fuenf Punkte bei schmalen Desktop-Breiten */
@media (min-width: 900px) and (max-width: 1119px) {
  .site-nav { gap: 18px; }
  .site-nav a:not(.btn) { font-size: 0.9rem; }
}

/* Sprachumschalter immer sichtbar in der Kopfzeile */
.header-inner > .lang-switch { order: 2; margin-left: auto; }
.nav-toggle { order: 3; }
.site-nav { order: 1; }
@media (min-width: 900px) {
  .header-inner > .site-nav { margin-left: auto; }
  .header-inner > .lang-switch { margin-left: 8px; }
}
