/* ── SHARED STYLES – LKL Lüftung.at Clickdummy ──────────────────────────────
   Adapted from wireframe styles.css. CI colors adjusted for accessibility.
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --blue: #0c8ab3;
  --blue-dark: #0e3151;
  --green: #b3cf36;
  --green-dark: #88a800;
  --bg: #f5f8fb;
  --bg-soft: #edf3f7;
  --border: #d9e3ea;
  --text: #163048;
  --muted: #5d7387;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 32px rgba(15, 48, 81, .08);
  --container: 1200px;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--blue); }

/* ── SKIP LINK ───────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 24px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */

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

/* ── TOPBAR ──────────────────────────────────────────────────────────────── */

.topbar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.topbar a {
  color: rgba(255, 255, 255, .82);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.topbar a:hover { color: #fff; }

/* ── HEADER ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

/* ── LOGO ────────────────────────────────────────────────────────────────── */

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-dark);
  font-weight: 800;
  letter-spacing: .02em;
  flex-shrink: 0;
}

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

.logo small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  color: var(--text);
  font-weight: 650;
  font-size: 15px;
  padding: 11px 14px;
  border-radius: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--bg-soft);
  color: var(--blue);
}

.main-nav a:focus-visible,
.topbar a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── MOBILE NAV TOGGLE ───────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  display: block;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 750;
  transition: .2s ease;
  border: 1px solid transparent;
  font-size: 15px;
  min-height: 36px;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
}

.btn-secondary:hover {
  background: #0a7498;
}

.btn-light {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-light:hover {
  background: var(--bg);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .7);
}

/* ── EYEBROW ─────────────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(12, 138, 179, .08);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 42px;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--blue-dark);
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ── VISUAL (hero image) ────────────────────────────────────────────────── */

.visual {
  border: 1px solid var(--border);
  border-radius: 22px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  padding: 18px;
  border-radius: 16px;
  max-width: 250px;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 18px 38px rgba(14, 49, 81, .16);
  z-index: 1;
}

.visual-card strong {
  display: block;
  color: var(--blue-dark);
  margin-bottom: 4px;
  font-size: 15px;
}

.visual-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* ── CARDS (shared base) ─────────────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

a.card {
  display: block;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}
a.card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* ── QUICK LINKS ─────────────────────────────────────────────────────────── */

.quick-links { padding: 24px 0 0; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 178px;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(179, 207, 54, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 800;
}

.quick-card h3,
.service-card h3,
.news-card h3,
.download-card h3,
.project-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
  color: var(--blue-dark);
}

.quick-card p,
.service-card p,
.news-card p,
.download-card p,
.project-card p,
.body-copy,
.list-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── BREADCRUMB ─────────────────────────────────────────────────────────── */

.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb .container {
  padding-top: 11px;
  padding-bottom: 11px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  color: #93a4b1;
  margin: 0 8px;
}

/* ── ANCHOR NAV ─────────────────────────────────────────────────────────── */

.anchor-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 78px;
  z-index: 20;
}

.anchor-nav .container {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

.anchor-nav a {
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.anchor-nav a:hover {
  background: var(--bg-soft);
  color: var(--blue);
}

/* ── PLACEHOLDER ANNOTATION ─────────────────────────────────────────────── */

.placeholder {
  border: 2px dashed rgba(179, 207, 54, .6);
  background: rgba(179, 207, 54, .06);
  position: relative;
}

.placeholder::before {
  content: "PLATZHALTER";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--green-dark);
  background: rgba(179, 207, 54, .2);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 1;
}

/* ── SECTIONS ────────────────────────────────────────────────────────────── */

.section { padding: 72px 0; }
.section.alt { background: var(--bg); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  color: var(--blue-dark);
  letter-spacing: -.03em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

/* ── SERVICE GRID ────────────────────────────────────────────────────────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-top {
  min-height: 162px;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  background:
    linear-gradient(140deg, rgba(12, 138, 179, .95), rgba(14, 49, 81, .9)),
    linear-gradient(140deg, #3ca4c5, #214a6a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.service-top.green {
  background:
    linear-gradient(140deg, rgba(179, 207, 54, .95), rgba(14, 49, 81, .92)),
    linear-gradient(140deg, #bdd94a, #1f4565);
}

.service-top::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  right: -50px;
  bottom: -60px;
}

.service-top .mini {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.service-top strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  margin-top: 10px;
}

/* ── PROJECT GRID ────────────────────────────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-media {
  min-height: 220px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.meta {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

/* ── DOWNLOAD BAND ───────────────────────────────────────────────────────── */

.download-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.download-card { padding: 20px; }

.download-card .tag {
  display: inline-flex;
  background: rgba(179, 207, 54, .18);
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* ── CTA BAND ────────────────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), #123d61);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 49, 81, .16);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -70px;
  top: -90px;
  background: rgba(179, 207, 54, .18);
}

.cta-band h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.02;
}

.cta-band p {
  position: relative;
  color: rgba(255, 255, 255, .8);
  max-width: 55ch;
}

.cta-band .hero-actions {
  position: relative;
  margin-top: 18px;
}

/* ── PAGE GRID (main + sidebar) ──────────────────────────────────────────── */

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 8px;
  max-width: 100%;
  overflow: hidden;
}

/* ── CONTENT CARD ───────────────────────────────────────────────────────── */

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.content-card + .content-card {
  margin-top: 18px;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.08;
  color: var(--blue-dark);
}

.content-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
  color: var(--blue-dark);
}

/* ── BULLETS (2-col list) ───────────────────────────────────────────────── */

.bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 0;
  list-style: none;
  margin: 18px 0 0;
}

.bullets li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

/* ── FACT GRID ──────────────────────────────────────────────────────────── */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fact {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.fact strong {
  display: block;
  font-size: 17px;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

/* ── FAQ GRID ───────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--blue-dark);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── SIDEBAR ────────────────────────────────────────────────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sticky {
  position: static;
}

.sidebar-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.sidebar-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--blue-dark);
}

.sidebar-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* ── LIST STACK ─────────────────────────────────────────────────────────── */

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── NOTE BOX ───────────────────────────────────────────────────────────── */

.note-box {
  padding: 18px;
  border-radius: 16px;
  background: rgba(179, 207, 54, .14);
  border: 1px solid rgba(179, 207, 54, .35);
}

/* ── SEPARATOR ──────────────────────────────────────────────────────────── */

hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

/* ── SMALL TEXT ──────────────────────────────────────────────────────────── */

.small {
  font-size: 14px;
  color: var(--muted);
}

/* ── TEASER LINKS ───────────────────────────────────────────────────────── */

.teaser-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teaser-link {
  display: block;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}

.teaser-link strong {
  display: block;
  color: var(--blue-dark);
  font-size: 17px;
  margin-bottom: 4px;
}

.teaser-link span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.teaser-link:hover {
  background: var(--bg-soft);
}

/* ── SPLIT GRID ─────────────────────────────────────────────────────────── */

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sub-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
}

/* ── HERO COMPACT ───────────────────────────────────────────────────────── */

.hero-compact {
  padding-top: 48px;
  padding-bottom: 42px;
}

.hero-compact h1 {
  max-width: 30ch;
}

.hero-compact .lead {
  max-width: 65ch;
}

/* ── OVERVIEW GRID ──────────────────────────────────────────────────────── */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.overview-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}

.overview-card:hover {
  box-shadow: 0 16px 48px rgba(15, 48, 81, .14);
  transform: translateY(-2px);
}

.overview-media {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.overview-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.overview-card:hover .overview-media img {
  transform: scale(1.03);
}

.overview-media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(12, 138, 179, .15), rgba(14, 49, 81, .1)),
    linear-gradient(135deg, #dbe6ec 0, #a3bac7 56%, #6f8392 100%);
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.overview-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.overview-body .service-top {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 12px;
}

.overview-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  color: var(--blue-dark);
}

.overview-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  font-size: 15px;
  color: var(--blue);
  margin-top: 4px;
}

.overview-link::after {
  content: "\2192";
}

/* ── PROJECT DETAIL ─────────────────────────────────────────────────────── */

.detail-hero-img {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}

.detail-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.gallery-item {
  position: relative;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.detail-meta-item {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 0;
  overflow-wrap: break-word;
}

.detail-meta-item .label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.detail-meta-item .value {
  font-size: 18px;
  font-weight: 750;
  color: var(--blue-dark);
}

/* ── NEWS & WISSEN ──────────────────────────────────────────────────────── */

.news-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.news-featured-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}

a.news-featured-card:hover {
  box-shadow: 0 16px 48px rgba(15, 48, 81, .14);
  transform: translateY(-2px);
}

.news-featured-media {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.news-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

a.news-featured-card:hover .news-featured-media img {
  transform: scale(1.03);
}

.news-featured-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-featured-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  color: var(--blue-dark);
}

.news-featured-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.news-date {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.news-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(12, 138, 179, .08);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  width: fit-content;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-archive-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-archive-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  color: var(--blue-dark);
}

.news-archive-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.presse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.presse-card {
  padding: 28px;
}

.presse-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--blue-dark);
}

.presse-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 4px;
}

.presse-role {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.presse-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.presse-contact a {
  color: var(--blue);
  font-weight: 600;
}

.news-article-hero {
  position: relative;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}

.news-article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.news-article-body h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.1;
  color: var(--blue-dark);
}

.news-article-body p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.news-article-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.news-article-body li + li {
  margin-top: 6px;
}

.news-article-body strong {
  color: var(--blue-dark);
}

.news-article-body .article-img {
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
}

.news-article-body .article-img img {
  display: block;
  width: 100%;
  height: auto;
}

.news-article-body .article-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  margin: 8px 0 16px;
  transition: background .15s;
}

.news-article-body .article-download:hover {
  background: var(--bg-soft);
}

.news-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.news-related h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--blue-dark);
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-related-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}

a.news-related-card:hover {
  box-shadow: 0 8px 32px rgba(15, 48, 81, .1);
  transform: translateY(-2px);
}

.news-related-card .news-related-img {
  position: relative;
  min-height: 140px;
  overflow: hidden;
}

.news-related-card .news-related-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

a.news-related-card:hover .news-related-img img {
  transform: scale(1.03);
}

.news-related-card .news-related-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-related-card h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--blue-dark);
}

/* ── LIGHTBOX ───────────────────────────────────────────────────────────── */

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  cursor: zoom-out;
}

.lb-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .5);
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, .15);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.lb-close:hover {
  background: rgba(255, 255, 255, .3);
}

[data-lightbox] {
  cursor: zoom-in;
}

.gallery-item[data-lightbox] {
  cursor: zoom-in;
  transition: box-shadow .2s, transform .2s;
}

.gallery-item[data-lightbox]:hover {
  box-shadow: 0 8px 32px rgba(15, 48, 81, .15);
  transform: translateY(-2px);
}

.article-img[data-lightbox] {
  max-width: 480px;
}

/* ── KONTAKT ────────────────────────────────────────────────────────────── */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.kontakt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 138, 179, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  cursor: pointer;
}

.kontakt-info-block {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
}

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

.kontakt-info-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.kontakt-info-block a {
  color: var(--blue);
  font-weight: 600;
}

/* ── KONTAKT TABS ──────────────────────────────────────────────────────── */

.kontakt-tabs {
  background: #fff;
  border-bottom: 2px solid var(--border);
}

.kontakt-tabs .container {
  display: flex;
  gap: 0;
}

.kontakt-tab {
  padding: 16px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.kontakt-tab:hover {
  color: var(--blue);
}

.kontakt-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── TEAM GRID ─────────────────────────────────────────────────────────── */

.standort-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info {
  padding: 18px 16px 22px;
}

.team-name {
  display: block;
  font-size: 17px;
  color: var(--blue-dark);
  margin-bottom: 2px;
}

.team-role {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.team-contact a {
  color: var(--blue);
  font-weight: 600;
}

/* ── DOWNLOADS INLINE ───────────────────────────────────────────────────── */

.dl-inline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dl-inline-cat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dl-inline-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dl-inline-head strong {
  font-size: 18px;
  color: var(--blue-dark);
}

.dl-inline-head .dl-count {
  font-size: 13px;
  color: var(--muted);
}

.dl-inline-items {
  border-top: 1px solid var(--border);
}

.dl-inline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  color: var(--text);
  transition: background .15s;
}

.dl-inline-item + .dl-inline-item {
  border-top: 1px solid var(--border);
}

.dl-inline-item:hover {
  background: var(--bg-soft);
}

.dl-inline-item span {
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-dark);
}

/* ── DOWNLOADS MODAL ────────────────────────────────────────────────────── */

.dl-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 49, 81, .5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  padding: 24px;
}

.dl-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.dl-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(14, 49, 81, .24);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform .25s ease;
}

.dl-overlay.open .dl-modal {
  transform: translateY(0);
}

.dl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.dl-header h2 {
  margin: 0;
  font-size: 24px;
  color: var(--blue-dark);
}

.dl-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.dl-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  color: var(--muted);
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.dl-close:hover {
  background: var(--bg);
  color: var(--text);
}

.dl-body {
  overflow-y: auto;
  padding: 18px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-cat {
  border: 1px solid var(--border);
  border-radius: 14px;
}

.dl-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  width: 100%;
  text-align: left;
}

a.dl-cat-single {
  color: var(--text);
  transition: background .15s;
}

a.dl-cat-single:hover {
  background: var(--bg-soft);
}

a.dl-cat-single .dl-cat-head {
  cursor: pointer;
}

button.dl-cat-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
  transition: background .15s;
}

button.dl-cat-toggle:hover {
  background: var(--bg-soft);
}

.dl-cat-head strong {
  display: block;
  font-size: 16px;
  color: var(--blue-dark);
}

.dl-cat-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.dl-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  background: rgba(12, 138, 179, .08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.dl-chevron {
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--muted);
}

button.dl-cat-toggle[aria-expanded="true"] .dl-chevron {
  transform: rotate(180deg);
}

.dl-cat-items {
  border-top: 1px solid var(--border);
  display: none;
}

.dl-cat-items.open {
  display: block;
}

.dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--text);
  transition: background .15s;
}

.dl-item + .dl-item {
  border-top: 1px solid var(--border);
}

.dl-item:hover {
  background: var(--bg-soft);
}

.dl-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-item-title {
  font-weight: 650;
  font-size: 15px;
  color: var(--blue-dark);
}

.dl-item-desc {
  font-size: 13px;
  color: var(--muted);
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */

.footer {
  background: #0b2740;
  color: rgba(255, 255, 255, .82);
  margin-top: 72px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 26px;
}

.footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.footer li + li { margin-top: 10px; }

.footer a {
  color: rgba(255, 255, 255, .76);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer a:hover { color: #fff; }
.footer p { margin: 0; color: rgba(255, 255, 255, .68); }

.footer a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.footer .logo img {
  filter: none;
}

/* ── SCREEN READER ONLY ──────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── MOBILE DRAWER ───────────────────────────────────────────────────────── */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(14, 49, 81, .45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(320px, 85vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 40px rgba(14, 49, 81, .18);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 24px;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 16px;
  color: var(--text);
  min-height: 48px;
  transition: background .15s;
}

.drawer-nav a:hover,
.drawer-nav a.active {
  background: var(--bg-soft);
  color: var(--blue);
}

.drawer-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.drawer-links a {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background .15s;
}

.drawer-links a:hover {
  background: var(--bg-soft);
  color: var(--blue);
}

.drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.drawer-contact a {
  color: var(--muted);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.drawer-contact a:hover {
  color: var(--blue);
}

/* ── HAMBURGER ICON STATES ───────────────────────────────────────────────── */

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ── RESPONSIVE: TABLET (≤1100px) ────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hero-inner,
  .download-band {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .quick-grid,
  .download-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standort-header {
    flex-direction: column;
  }

  .standort-img img {
    width: 100% !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dl-inline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    display: none;
  }

  /* Hide desktop nav + CTA, show hamburger */
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ── RESPONSIVE: MOBILE (≤760px) ─────────────────────────────────────────── */

@media (max-width: 760px) {
  .container { padding: 0 18px; }

  .header-inner {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .quick-grid,
  .project-grid,
  .service-grid,
  .download-list,
  .bullets,
  .fact-grid,
  .faq-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-tab {
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-inner {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .hero-compact {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-media {
    min-height: 180px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-img {
    min-height: 220px;
  }

  .news-featured-grid { grid-template-columns: 1fr; }
  .news-featured-media { min-height: 180px; }
  .news-archive-grid { grid-template-columns: 1fr; }
  .news-related-grid { grid-template-columns: 1fr; }
  .presse-grid { grid-template-columns: 1fr; }
  .news-article-hero { min-height: 220px; }
  .news-article-body h2 { font-size: 24px; }
  .dl-inline-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }

  .dl-overlay { padding: 12px; }
  .dl-modal { max-height: 90vh; }
  .dl-header { padding: 22px 20px 16px; }
  .dl-body { padding: 14px 20px 22px; }
  .dl-header h2 { font-size: 20px; }

  .hero p.lead { font-size: 17px; }
  .visual { min-height: 280px; }

  .footer-main { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
  .footer .logo { padding-top: 12px; }
  .footer-bottom { justify-content: center; text-align: center; padding: 20px 0; }
  .cta-band { padding: 28px; }
  .section { padding: 48px 0; }
}
