:root {
  --bg: #f6f9fc;
  --card: #e3f0fa;
  --muted: #5b7083;
  --text: #1f2933;
  --accent: #2c8dd8;
  --accent-2: #00a6d6;
  --border: #c7d7e3;
  --highlight: #d9ecfa;
  --max: 1100px;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(44, 141, 216, 0.15);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}

.container{
  width:100%;
  max-width: 1300px;
  margin-inline:auto;
  padding:0 20px
}

.container.header-inner{
  width:100%;
  max-width: 1380px;
  margin-inline:auto;
  padding:0 20px
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.9}

.logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
.logo-div{
  text-align: center;
}

.logo-full {
  height: 240px;
  width: auto;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: #ffffffcc; /* leicht transparentes Weiß */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font-weight:800;letter-spacing:.5px}
.nav{
  display:flex;
  gap:18px
}
.nav a {
  color: var(--text);
  padding: 4px 16px;
}
.nav a.active{
  background: var(--highlight);
  border-radius: 8px;
  padding: 4px 16px;
  font-weight: bold;
}
.nav a:hover {
  background: var(--highlight);
  border-radius: 8px;
  padding: 4px 16px;
}
.nav-toggle{display:none;background:none;border:0;color:var(--text);font-size:24px}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  padding:64px 0;
  border-bottom:1px solid rgba(255,255,255,.06)
}

.hero-inner {
  margin-bottom: 64px;
}

/* Wasserversorgung */
.page-hero.water {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/wasserversorgung-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Wasserkraft */
.page-hero.hydro {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/wasserkraft-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Turbinen */
.page-hero.turbine {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/turbinen-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Daten */
.page-hero.data {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/daten-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* leichtes Overlay für bessere Lesbarkeit */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* dunkelt das Bild leicht ab */
}
.page-hero .container {
  position: relative; /* Text über dem Overlay */
  z-index: 1;
}

/* Content */
.grid.two {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin: 40px auto;           /* zentriert den Block */
  max-width: 1580px;
  justify-content: center;     /* zentriert das Grid innerhalb des Containers */
}

.content{padding:28px 0 60px}
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:20px 40px;
  box-shadow:var(--shadow)
}
.card.contact p{margin:.25rem 0}
h1{font-size:clamp(64px,4vw,44px);line-height:1.15;margin:0 0 8px}
h2{font-size:clamp(32px,3vw,30px);margin:26px 0 8px}
h3{font-size:clamp(24px,3vw,24px);margin:15px 0 8px}
p{font-size:clamp(18px,2vw,22px);margin:15px 0}
.muted{color:var(--muted)}

.lead{
  font-size:clamp(24px,2vw,28px);
  margin:15px 0
}

.data-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 1rem auto 2rem;
  font-size: 1.2rem;
}

.data-table thead th.table-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--highlight);
  padding: 14px 0;
  border
  letter-spacing: 0.3px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 12px;
}

.data-table th {
  font-weight: 600;
  color: var(--text);
  width: 60%;
}

.data-table td {
  text-align: right;
  white-space: nowrap;
}

.data-table tr:nth-child(even) {
  background: #f2f4f6; /* hellgrau/bläulich */
}
.data-table tr:nth-child(odd) {
  background: #ffffff;
}

.data-table {
  border: 1px solid #dbe3eb;
  border-radius: 6px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: #e8f2fa;                 /* sanftes Wasserblau */
  border-top: 1px solid var(--border); /* feine Linie nach oben */
  color: var(--text);                  /* dunkler Text */
  padding: 32px 0;
  margin-top: 60px;
}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.subnav{display:flex;gap:14px}
.subnav a{color:var(--muted)}
.subnav a:hover{color:var(--text)}

/* Responsive */
@media (max-width: 880px){
  .grid.two{grid-template-columns:1fr}
}
@media (max-width: 700px){
  .nav{display:none}
  .nav.open{display:flex;flex-direction:column;position:absolute;top:64px;right:12px;background:var(--card);padding:10px;border-radius:12px;border:1px solid rgba(255,255,255,.08)}
  .nav-toggle{display:block}
}
