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

:root {
  --bg-primary: #141414;
  --bg-secondary: #1c1c1c;
  --bg-card: #222222;
  --accent: #8bc34a;
  --accent-dark: #6d9b2e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;
  --border: #333333;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 80px;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-squares {
  display: flex;
  gap: 4px;
}

.logo-sq {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.logo-sq:first-child { background: #5a7a2e; }
.logo-sq:nth-child(2) { background: var(--accent); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-links .btn-nav {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-links .btn-nav:hover { background: var(--accent-dark); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* PAGE HEADER (sub-pages) */
.page-header {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.page-header-content {
  position: relative;
  z-index: 2;
  padding: 0 30px;
}
.page-header-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 10px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  filter: brightness(0.3);
}
.hero-slide.active {
  opacity: 1;
}
.hero-arrow-left,
.hero-arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(4px);
}
.hero-arrow-left:hover,
.hero-arrow-right:hover {
  background: rgba(139,195,74,0.3);
  border-color: var(--accent);
}
.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 30px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 8px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
}

.btn-outline:hover { border-color: var(--accent); transform: translateY(-2px); }

.hero-scroll-hint {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-arrow {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 28px;
  animation: bounceDown 2s infinite;
  line-height: 1;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* SECTIONS COMMON */
.section { padding: 80px 60px; }
.section-label {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 6px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 700px;
  line-height: 1.8;
}

/* LEISTUNGEN */
.leistungen { text-align: center; padding-bottom: 50px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 30px;
  text-align: left;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(139, 195, 74, 0.12);
  border: 1px solid rgba(139, 195, 74, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ENERGIEBERATUNG SECTION */
.section-energieberatung {
  padding-top: 40px;
  padding-bottom: 50px;
  text-align: left;
}
.section-energieberatung .section-desc {
  margin-left: 0;
}

/* ENERGIEBERATUNG CARDS */
.eb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.eb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.eb-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.eb-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.eb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.eb-card:hover .eb-card-img img {
  transform: scale(1.05);
}
.eb-card-body {
  padding: 28px 24px;
}
.eb-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.eb-card-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.eb-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s;
}
.eb-card-link:hover {
  gap: 10px;
}

/* PROZESS FLOW */
.prozess-wrap {
  margin: 32px 0 44px;
}
.prozess-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.prozess-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 18px;
}
.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.prozess-icon {
  width: 60px;
  height: 60px;
  background: rgba(139,195,74,0.10);
  border: 1.5px solid rgba(139,195,74,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.prozess-icon:hover {
  background: rgba(139,195,74,0.2);
  border-color: var(--accent);
}
.prozess-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.45;
}
.prozess-arrow {
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  opacity: 0.7;
}
.prozess-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(139,195,74,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.prozess-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(139,195,74,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.prozess-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.prozess-info p strong {
  color: var(--text-primary);
}
@media (max-width: 600px) {
  .prozess-flow { padding: 20px 12px; gap: 4px; }
  .prozess-icon { width: 48px; height: 48px; border-radius: 10px; }
  .prozess-label { font-size: 10px; }
  .prozess-arrow { font-size: 16px; }
}

/* FULL-WIDTH BANNER */
.banner {
  background: linear-gradient(135deg, rgba(139,195,74,0.08), rgba(139,195,74,0.03));
  border: 1px solid rgba(139,195,74,0.15);
  border-radius: 8px;
  padding: 50px 40px;
  margin: 20px auto 0;
  max-width: 1280px;
  width: calc(100% - 120px);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.banner-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(139,195,74,0.12);
  border: 1px solid rgba(139,195,74,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.banner h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.banner p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* UBER MICH */
.about { display: flex; gap: 60px; align-items: flex-start; }

.about-portrait {
  flex: 0 0 380px;
  border-radius: 8px;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.about-content { flex: 1; }
.about-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content strong { color: var(--text-primary); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 30px;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-item:not(:last-child) { border-right: 1px solid var(--border); }

.stat-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* REFERENZEN / SCHWERPUNKTE */
.schwerpunkte { text-align: center; padding-bottom: 60px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 50px;
}

.project-card {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.project-overlay h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-overlay p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* REFERENZEN DETAIL */
.referenzen-section { background: var(--bg-secondary); }

.ref-intro {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 900px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}

.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.ref-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.ref-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.ref-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ref-card:hover .ref-img img { transform: scale(1.05); }

.ref-body { padding: 28px; }

.ref-card h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.ref-detail {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}

.ref-detail:last-child { border-bottom: none; }

.ref-detail .label { color: var(--text-muted); }
.ref-detail .value { color: var(--text-secondary); font-weight: 500; }

/* KONTAKT */
.kontakt-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.kontakt-info h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.kontakt-info > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(139,195,74,0.12);
  border: 1px solid rgba(139,195,74,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
}

.contact-item .cl { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item .cv { font-size: 13px; color: var(--text-muted); }

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

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

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s;
  width: 100%;
}

.btn-submit:hover { background: var(--accent-dark); }

/* FOOTER */
.footer {
  background: var(--bg-secondary);
  padding: 70px 60px 30px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 20px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.3s;
}

.footer-bottom a:hover { color: var(--accent); }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s, border-color 0.3s;
  z-index: 10000;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(139,195,74,0.3);
  border-color: var(--accent);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* DATENSCHUTZ */
.datenschutz-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.datenschutz-content h2:first-child {
  margin-top: 0;
}
.datenschutz-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.datenschutz-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.datenschutz-content strong {
  color: var(--text-secondary);
}
.datenschutz-content ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
  padding-left: 24px;
}
.datenschutz-content li {
  margin-bottom: 4px;
}

/* SCROLL ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .section { padding: 70px 30px; }
  .navbar { padding: 0 30px; }
  .about { flex-direction: column; }
  .about-portrait { flex: none; width: 100%; max-width: 360px; }
  .kontakt-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { margin: 15px 30px 0; }
  .eb-grid { grid-template-columns: repeat(2, 1fr); }
  .section-energieberatung { padding-top: 30px; padding-bottom: 50px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .section { padding: 50px 20px; }
  .navbar { padding: 0 20px; height: 70px; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 0 20px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; margin-bottom: 28px; }
  .hero-badge { font-size: 10px; padding: 6px 16px; letter-spacing: 2px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-arrow-left,
  .hero-arrow-right { display: none; }
  .hero-dots { bottom: 18px; gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 300px; justify-content: center; padding: 14px 24px; font-size: 12px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .eb-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 22px; }
  .section-energieberatung { padding-top: 20px; padding-bottom: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-prev { left: 12px; width: 40px; height: 40px; font-size: 16px; }
  .lightbox-next { right: 12px; width: 40px; height: 40px; font-size: 16px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { height: 220px; }

  .ref-grid { grid-template-columns: 1fr; gap: 16px; }
  .ref-body { padding: 20px; }
  .ref-img { height: 160px; }
  .ref-card h3 { font-size: 14px; }
  .ref-detail { font-size: 12px; flex-wrap: wrap; gap: 4px; }

  .about-portrait { flex: none; width: 100%; max-width: 320px; margin: 0 auto; }
  .about-content h2 { font-size: 22px; }
  .about-content p { font-size: 14px; }

  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stat-item { padding: 20px 10px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 10px; }

  .kontakt-section { gap: 40px; }
  .kontakt-info h2 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input, .form-group textarea { padding: 12px 14px; font-size: 13px; }

  .banner { flex-direction: column; margin: 10px 20px 0; padding: 30px 22px; width: calc(100% - 40px); }
  .banner h3 { font-size: 17px; }
  .banner p { font-size: 13px; }

  .section-title { font-size: 24px; }
  .section-desc { font-size: 14px; }
  .section-label { font-size: 10px; padding: 5px 16px; }

  .footer { padding: 50px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom a { margin-left: 16px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .logo-name { font-size: 14px; letter-spacing: 1.5px; }
  .logo-sub { font-size: 8px; }
  .stat-num { font-size: 20px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
  .ref-detail { flex-direction: column; gap: 2px; }
}
