:root {
  --primary: #0b2f4d;
  --secondary: #145374;
  --accent: #00aaff;
  --bg: #f7f9fc;
  --muted: #555;
  --card-bg: #fff;
  --footer-bg: #0f1113;
  --footer-text: #cfcfcf;
  --kpi-ist-bg: #e9f7ff;
  --kpi-ist1-bg: #e0f3ff;
  --kpi-ziel-bg: #e6ffe9;
  --max-width: 1200px;
  --transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-family, 'Inter', sans-serif);
  margin: 0;
  padding: 1px;
  padding-top: 50px;
  overflow-x: hidden;
}

.kontakt {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
a:hover, a:focus { color: var(--accent); outline: none; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: var(--header-bg, #ffffff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header {
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  background-color: var(--text-color, #333);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin: 0;
}
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  padding: 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h2.muted {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.hero-info h2 {
  margin-bottom: 30px;
}

.hero-info p {
  margin-bottom: 40px;
}

.hero-info .hero-cta {
  margin-top: 20px;
}

.hero-info h2,
.hero-info h3,
.kontakt h2,
.kontakt h3,
section h2,
section h3 {
  text-align: center;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-cta .cta {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  background: var(--secondary);
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.hero-cta .cta:hover {
  background: var(--accent);
}
.cta {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  background: var(--secondary);
  color: white;
  transition: var(--transition);
}
.cta:hover, .cta:focus { background: var(--accent); outline: none; }

section {
  padding-top: 50px;
  padding-bottom: 50px;
}

section h1, h2, h3, h4 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.muted {
  text-align: center;
}

.kpi-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  text-align: center;
}

.kpi-section.ist { background: var(--kpi-ist-bg); }
.kpi-section.ziel { background: var(--kpi-ziel-bg); }
.kpi-section.invest { background: var(--kpi-ist1-bg); }

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.kpi-section > div + .kpi-grid {
  margin-top: 100px;
}

.top-banner{background:rgb(240,253,255);color:#333;text-align:center;padding:0.1rem;font-size:0.9rem;}.top-banner u{text-decoration:underline;
}

@media (min-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

.kpi {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 0; /* flach */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  text-align: center;
  transition: var(--transition);
}
.kpi:hover { background: rgba(255,255,255,0.05); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1); }

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 30px 20px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

footer nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

footer nav a {
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--transition);
}

footer nav a:hover, footer nav a:focus {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 1000px) {
  .hero h1 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    flex-direction: column;
    background: var(--header-bg, #fff);
    padding: 80px 20px 20px;
    gap: 1.5rem;
    transition: right 0.35s ease-in-out;
    box-shadow: -3px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    text-align: left;
    padding: 10px 0;
  }

  .burger {
    display: flex;
  }

  .burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.toggle span:nth-child(2) {
    opacity: 0;
  }
  .burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}