@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #040c24;
  --bg-2: #071636;
  --bg-3: #0b1f4a;
  --line: rgba(150, 185, 255, 0.16);
  --line-strong: rgba(150, 185, 255, 0.32);
  --text: #eef3ff;
  --muted: #9db0d8;
  --accent: #3d7dff;
  --accent-2: #7fc8ff;
  --radius: 18px;
  --maxw: 1240px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.hp { position: absolute; left: -9999px; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 18px;
  background: var(--accent);
  color: #04102c;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 16px; color: #04102c; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled,
.legal-page .site-header {
  background: rgba(4, 12, 36, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.26em;
  font-size: 17px;
  text-transform: uppercase;
}
.brand:hover { color: #fff; }
.brand svg { flex: none; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav a:hover { color: #fff; }
.nav .nav-cta {
  padding: 10px 20px;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.nav .nav-cta:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("img/hero-glasfassade.webp") center 35% / cover no-repeat;
  transform: scale(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 12, 36, 0.94) 0%, rgba(4, 12, 36, 0.72) 42%, rgba(4, 12, 36, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 12, 36, 0.55) 0%, rgba(4, 12, 36, 0) 28%, rgba(4, 12, 36, 0) 60%, var(--bg) 100%);
}

.hero .hero-copy { padding-top: calc(var(--header-h) + 72px); padding-bottom: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(4, 12, 36, 0.4);
  color: var(--accent-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(54px, 9.4vw, 148px);
  line-height: 0.93;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.grad {
  background: linear-gradient(100deg, #5a97ff 0%, #8fd4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  max-width: 30ch;
  margin: 36px 0 46px;
  color: #c4d2f2;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #4a8bff, #6fb9ff);
  color: #031029;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 40px -10px rgba(61, 125, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  color: #031029;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -10px rgba(61, 125, 255, 0.85);
}
.btn svg { transition: transform 0.15s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-ghost {
  margin-left: 12px;
  background: rgba(4, 12, 36, 0.35);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn-book { margin-left: 0; padding: 14px 26px; }
.contact-card .book-note { margin-top: 28px; }
.contact-card .fineprint { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.hero-facts {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 12, 36, 0), rgba(4, 12, 36, 0.7));
}
.hero-facts dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 30px 0 38px;
}
.hero-facts dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-facts dd {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Sektionen ---------- */
section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent-2);
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Über uns */
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(24px, 5vw, 80px);
}

.statement {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pillars { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }

.pillar-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 38px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding 0.25s ease;
}
.pillar-row:hover {
  background: linear-gradient(90deg, rgba(61, 125, 255, 0.1), rgba(61, 125, 255, 0));
  padding-left: 22px;
}
.pillar-row .num { color: var(--accent); font-weight: 700; letter-spacing: 0.1em; font-size: 15px; }
.pillar-row h3 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pillar-row p { margin: 0; color: var(--muted); }

/* Struktur */
.structure {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}
.structure::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(52%, 760px);
  z-index: -1;
  background: url("img/glas-reflexion.webp") center / cover no-repeat;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.structure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(700px 400px at 85% 20%, rgba(61, 125, 255, 0.28), transparent 70%);
  mix-blend-mode: screen;
}

.structure-head { max-width: 720px; margin-bottom: clamp(56px, 7vw, 96px); }
.structure-head p { margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); max-width: 44ch; }

.tree { display: flex; flex-direction: column; align-items: center; }

.node {
  width: 100%;
  padding: 30px 32px 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 36, 86, 0.82), rgba(7, 22, 54, 0.82));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.node .icon { color: var(--accent-2); margin-bottom: 22px; display: block; }
.node h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.node p { margin: 0; color: var(--muted); font-size: 16.5px; }

.node-root {
  max-width: 460px;
  text-align: center;
  border-color: rgba(127, 200, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(127, 200, 255, 0.2), 0 30px 80px -30px rgba(61, 125, 255, 0.7);
}
.node-root .icon { margin: 0 auto 18px; }

.stem { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent-2), var(--line-strong)); }

.branches {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 44px;
}
.branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line-strong);
}
.branches .node { position: relative; }
.branches .node::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 50%;
  width: 1px;
  height: 44px;
  background: var(--line-strong);
}

/* Leistungen */
.services-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.services-head p { margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); max-width: 46ch; }

.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.service-main,
.service-side {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 31, 74, 0.7), rgba(7, 22, 54, 0.7));
}
.service-main {
  background:
    radial-gradient(500px 280px at 0% 0%, rgba(61, 125, 255, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(11, 31, 74, 0.9), rgba(7, 22, 54, 0.9));
}
.service-main h3 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.service-main > p { margin: 0 0 28px; color: #c4d2f2; max-width: 42ch; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(127, 200, 255, 0.16)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%237fc8ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.service-side h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.service-side p { margin: 0 0 14px; color: var(--muted); font-size: 16.5px; }
.service-side p:last-child { margin-bottom: 0; }
.small-note { font-size: 14px !important; color: #7f93bf !important; }

/* Landschaftsband */
.band {
  position: relative;
  min-height: clamp(380px, 56vw, 640px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("img/landschaft.webp") center 60% / cover no-repeat;
  filter: grayscale(0.85) contrast(1.05);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(24, 64, 160, 0.72);
  mix-blend-mode: multiply;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(4, 12, 36, 0.1) 30%, rgba(4, 12, 36, 0.35) 65%, var(--bg) 100%);
}
.band .wrap { padding-top: 120px; padding-bottom: clamp(56px, 8vw, 110px); }
.band h2 { max-width: 12ch; }
.band p { margin: 22px 0 0; max-width: 36ch; color: #c4d2f2; font-size: clamp(18px, 1.8vw, 22px); }

/* Kontakt */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(61, 125, 255, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(11, 31, 74, 0.85), rgba(7, 22, 54, 0.85));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}
.contact-card h2 { font-size: clamp(34px, 4.6vw, 62px); margin-bottom: 24px; }
.contact-card .contact-copy p { color: var(--muted); max-width: 30ch; margin: 0 0 20px; }
.contact-card .mail { font-weight: 600; word-break: break-word; }

form { display: grid; gap: 20px; }

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 17px 19px;
  background: rgba(4, 12, 36, 0.7);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
input::placeholder, textarea::placeholder { color: #6f82ad; }
textarea { min-height: 150px; resize: vertical; }
input:hover, textarea:hover { border-color: rgba(150, 185, 255, 0.5); }
input:focus, textarea:focus {
  outline: 3px solid rgba(127, 200, 255, 0.55);
  outline-offset: 1px;
  border-color: var(--accent-2);
  background: rgba(4, 12, 36, 0.95);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}
.consent input { margin-top: 5px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }
.consent label { margin: 0; font-weight: 400; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 60px;
  color: var(--muted);
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav { display: flex; gap: 26px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--header-h) + clamp(48px, 7vw, 100px)) 0 clamp(64px, 8vw, 120px); }
.legal .wrap { max-width: 840px; }
.legal h1 { max-width: none; font-size: clamp(38px, 6vw, 68px); margin-bottom: 40px; line-height: 1; }
.legal h2 { max-width: none; font-size: 26px; margin: 46px 0 12px; letter-spacing: -0.015em; line-height: 1.2; }
.legal h3 { margin: 28px 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.note {
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  color: var(--text) !important;
  font-size: 16px;
}

/* ---------- Einblend-Effekte ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; }
.js .reveal.d2 { transition-delay: 0.2s; }
.js .reveal.d3 { transition-delay: 0.3s; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: 56px 1fr; row-gap: 10px; }
  .pillar-row p { grid-column: 2 / 3; grid-row: 2; }
  .contact-card, .service-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  :root { --header-h: 68px; }
  .nav { gap: 18px; }
  .nav .nav-link-extra { display: none; }
  .hero-facts dl { grid-template-columns: 1fr; gap: 18px; padding: 26px 0 30px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(4, 12, 36, 0.7) 0%, rgba(4, 12, 36, 0.55) 40%, rgba(4, 12, 36, 0.85) 80%, var(--bg) 100%);
  }
  .btn-ghost { margin: 14px 0 0; }
  .hero .hero-copy { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; padding: 7px 14px; margin-bottom: 24px; }
  .branches { grid-template-columns: 1fr; gap: 20px; padding-top: 0; padding-left: 28px; }
  .branches::before { top: 0; bottom: 40px; left: 0; right: auto; width: 1px; height: auto; }
  .branches .node::before { top: 50%; left: -28px; width: 28px; height: 1px; }
  .stem { height: 28px; }
  .structure::before { width: 100%; opacity: 0.12; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .brand { font-size: 15px; letter-spacing: 0.22em; gap: 10px; }
  .nav .nav-cta { padding: 9px 16px; font-size: 14px; }
  h1 { font-size: clamp(44px, 14vw, 54px); }
  .service-main h3 { font-size: clamp(26px, 8vw, 30px); overflow-wrap: anywhere; hyphens: auto; }
  .node { padding: 24px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg, .pillar-row, .pillar-row .arrow, .site-header { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Logo-Zusatz */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { margin-top: 4px; font-size: 0.56em; font-weight: 500; letter-spacing: 0.3em; color: var(--accent); }

.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 42px; } }

@media (min-width: 761px) and (max-width: 1100px) { .branches .node { padding: 22px 18px 24px; } .branches .node p { font-size: 15px; } }

/* Weitere Arbeitsfelder */
.fields { margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.fields-title { margin: 0 0 18px; color: var(--muted); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(7, 22, 54, 0.6); color: var(--text); font-weight: 500; font-size: 16px; }
