/* INITIATOREN – statische Website
   Farben aus der bisherigen Seite: Dunkelblau #003366, Petrol (Logo) #0e5f7e,
   Hellgrau #eeeeee / #cccccc, Text #333333 */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blau: #003366;
  --blau-dunkel: #00264d;
  --petrol: #0e5f7e;
  --hellblau: #99ccff;
  --grau-1: #f4f4f5;
  --grau-2: #eeeeee;
  --grau-3: #cccccc;
  --text: #333333;
  --text-leise: #666666;
  --weiss: #ffffff;
  --max: 1160px;
  --radius: 4px;
  --schrift: "Jost", "Futura", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--blau); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

.sc { font-variant: small-caps; letter-spacing: .02em; }
.nowrap { white-space: nowrap; -webkit-hyphens: none; hyphens: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blau); color: var(--weiss); padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--grau-2);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 84px;
}
.brand img { width: 240px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.nav a {
  display: block; padding: .45rem .9rem; border-radius: var(--radius);
  color: var(--text); text-decoration: none; font-size: 1rem; letter-spacing: .02em;
}
.nav a:hover { background: var(--grau-2); color: var(--blau); }
.nav a[aria-current="page"], .nav a.aktiv { background: var(--blau); color: var(--weiss); }

/* Hero */
.hero {
  position: relative; color: var(--weiss);
  background: var(--blau) url("../img/luftbild-gebirge.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/luftbild-gebirge.webp") type("image/webp"), url("../img/luftbild-gebirge.jpg") type("image/jpeg"));
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,51,102,.94) 0%, rgba(0,51,102,.80) 38%, rgba(0,51,102,.25) 100%);
}
.hero .wrap { padding: clamp(4.5rem, 12vw, 9rem) 0; }
.hero h1 {
  margin: 0 0 .6rem; font-weight: 500; line-height: 1.15;
  font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: .02em;
}
.hero p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 300; max-width: 44ch; }
.hero .linie { width: 72px; height: 4px; background: var(--hellblau); margin: 0 0 1.6rem; border: 0; }

/* Sektionen */
section { scroll-margin-top: 96px; }
.sektion { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.sektion--grau { background: var(--grau-1); }
.sektion--blau { background: var(--blau); color: var(--weiss); }
.sektion--blau a { color: var(--hellblau); }

.kicker {
  display: inline-block; margin: 0 0 .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol);
}
.sektion--blau .kicker { color: var(--hellblau); }
h2 {
  margin: 0 0 1.5rem; font-weight: 500; line-height: 1.2;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--blau);
}
.sektion--blau h2 { color: var(--weiss); }
h3 {
  margin: 2rem 0 .75rem; font-weight: 500; line-height: 1.3;
  font-size: 1.25rem; color: var(--text-leise);
}
.sektion--blau h3 { color: #c9d6e3; }
p { margin: 0 0 1rem; }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1fr; align-items: start; }
.grid-3-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 3fr 2fr; align-items: start; }

.karte {
  background: var(--weiss); border-left: 4px solid var(--blau);
  padding: 1.75rem 1.75rem 1rem; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,51,102,.06);
}
.karte h3:first-child { margin-top: 0; }
.sektion--blau .karte { background: rgba(255,255,255,.06); border-left-color: var(--hellblau); box-shadow: none; }

.bild-rahmen { position: relative; }
.bild-rahmen img { width: 100%; aspect-ratio: 20 / 9; object-fit: cover; border-radius: var(--radius); }
.bild-rahmen::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 60%;
  background: var(--blau); z-index: -1; border-radius: var(--radius);
}
.bild-rahmen { isolation: isolate; }

/* Listen */
.liste { list-style: none; margin: 0 0 1rem; padding: 0; }
.liste li { position: relative; padding: .3rem 0 .3rem 1.4rem; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 7px; background: var(--petrol);
}
.sektion--blau .liste li::before { background: var(--hellblau); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .98rem;
}

.team-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.team-liste li {
  background: var(--weiss); padding: .9rem 1.1rem; border-radius: var(--radius);
  border-left: 3px solid var(--petrol);
}
.team-liste strong { display: block; font-weight: 500; color: var(--blau); }

/* Unterseiten */
.seitenkopf {
  background: var(--blau) url("../img/luftbild-gebirge.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/luftbild-gebirge.webp") type("image/webp"), url("../img/luftbild-gebirge.jpg") type("image/jpeg"));
  position: relative; color: var(--weiss); isolation: isolate;
}
.seitenkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,51,102,.95) 0%, rgba(0,51,102,.82) 50%, rgba(0,51,102,.45) 100%);
}
.seitenkopf .wrap { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.seitenkopf h1 { margin: 0; font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.inhalt { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.inhalt .text { max-width: 76ch; }
.inhalt h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.5rem; }
.inhalt h2:first-child { margin-top: 0; }
.inhalt h3 { color: var(--blau); font-size: 1.15rem; }
.inhalt h4 { margin: 1.25rem 0 .4rem; font-size: 1.02rem; font-weight: 600; }
.inhalt .versal { font-size: .95rem; letter-spacing: .01em; }

.kontakt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.kontakt-box {
  background: var(--grau-1); padding: 1.5rem; border-radius: var(--radius); border-top: 4px solid var(--blau);
}
.kontakt-box h2 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); margin: 0 0 .6rem; }
.kontakt-box p { margin: 0; }
.kontakt-box a { word-break: break-word; }

/* Fuß */
.site-footer { background: var(--blau-dunkel); color: #d5dde6; font-size: .98rem; }
.site-footer .wrap {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2.5rem;
}
.site-footer img { width: 200px; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hellblau); margin: 0 0 .75rem; font-weight: 600; }
.site-footer p { margin: 0 0 .25rem; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #ffffff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer .unten { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .unten .wrap { display: block; padding: 1rem 0; font-size: .88rem; color: #9fb0c2; }

@media (max-width: 900px) {
  .grid-2, .grid-3-2 { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .9rem 0 .75rem; min-height: 0; }
  .brand img { width: 200px; }
  .nav ul { gap: .15rem; margin-left: -.6rem; }
  .nav a { padding: .4rem .6rem; font-size: .98rem; }
  .hero::before { background: linear-gradient(180deg, rgba(0,51,102,.88) 0%, rgba(0,51,102,.78) 100%); }
  .bild-rahmen::after { left: -8px; bottom: -8px; }
  section { scroll-margin-top: 12px; }
}
@media print {
  .site-header, .hero, .seitenkopf { position: static; background: none; color: #000; }
  .hero::before, .seitenkopf::before { display: none; }
}
