:root {
  --bg: #0f0f10;
  --bg-soft: #17181a;
  --bg-dark: #0b0b0c;
  --bg-dark-2: #131416;
  --card: #18191c;
  --card-2: #1d1f23;
  --text: #f3f3f3;
  --text-soft: #b9bec4;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --white: #ffffff;
  --black: #111111;
  --accent: #ffffff;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(15, 15, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.08rem;
  color: var(--white);
}

.brand-copy span {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.desktop-nav a {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f1f1f1;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: #18191c;
  border: 1px solid var(--line);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #111214;
  padding: 12px 4%;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: #18191c;
  color: #f3f3f3;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* Hintergrundbild */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.hero:hover .hero-bg img {
  transform: scale(1.12);
}

/* 🔥 HAUPT OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.35) 100%
  );
}

/* 🔥 EXTRA DEPTH (FIX für Safari + bessere Optik) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.85)
  );
  z-index: 2;
  pointer-events: none;
}

/* Inhalt */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
}

/* Headline */
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.2;
  font-weight: 800;
}

/* Text */
.hero-text {
  margin-top: 15px;
  color: rgba(255,255,255,0.85);
}

/* Buttons */
.hero-actions {
  margin-top: 25px;
}

/* Wasserzeichen */
.hero-logo-watermark {
  position: absolute;
  right: 5%;
  bottom: 10%;
  font-size: 120px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-logo-watermark {
    font-size: 60px;
    right: 10px;
    bottom: 20px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: #111111;
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-accent {
  background: linear-gradient(180deg, #161719, #0f0f10);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-label {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8e959c;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-head h2,
.section-copy h2,
.section-title h2,
.legal-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-head p,
.section-copy p,
.section-title p,
.legal-box p {
  color: var(--text-soft);
}

.intro-strip {
  padding-top: 26px;
  padding-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.intro-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--white);
}

.intro-card span {
  color: var(--text-soft);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.info-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-panel h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.check-list li:last-child {
  border-bottom: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 26px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  color: rgba(255,255,255,0.76);
}

.legal-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
}

.ba-card {
  margin-bottom: 34px;
}

.ba-header {
  margin-bottom: 18px;
}

.ba-header h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.ba-header p {
  color: var(--text-soft);
}

.before-after-slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 68vh;
  max-height: 760px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #222;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image--after {
  clip-path: inset(0 0 0 50%);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.ba-overlay-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255,255,255,0.96);
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: 0 0 10px rgba(255,255,255,0.18);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,0.98);
  border: 2px solid #111;
  transform: translate(-50%, -50%);
  z-index: 5;
  box-shadow: 0 10px 25px rgba(0,0,0,0.28);
  pointer-events: none;
  animation: baPulse 1.8s infinite ease-in-out;
}

.ba-handle::before {
  content: "↔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 18px;
  font-weight: 800;
}

.ba-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(17,17,17,0.78);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.ba-badge {
  position: absolute;
  top: 18px;
  z-index: 5;
  background: rgba(255,255,255,0.94);
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.ba-badge--left {
  left: 18px;
}

.ba-badge--right {
  right: 18px;
}

@keyframes baPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.24), 0 10px 25px rgba(0,0,0,0.28);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255,255,255,0), 0 10px 25px rgba(0,0,0,0.28);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 10px 25px rgba(0,0,0,0.28);
  }
}

@media (max-width: 760px) {
  .before-after-slider {
    min-height: 340px;
    height: 52vh;
    max-height: 520px;
  }

  .ba-handle {
    width: 46px;
    height: 46px;
  }

  .ba-handle::before {
    font-size: 16px;
  }

  .ba-badge {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .ba-hint {
    bottom: 14px;
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card__body {
  padding: 18px;
}

.project-card__body h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.project-card__body p {
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 26px;
}

.contact-panel,
.form-panel,
.legal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h3,
.form-panel h3,
.legal-box h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.contact-list span {
  color: var(--text-soft);
}

.contact-form {
  display: block;
}

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

.form-grid__full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  background: #101113;
  color: #f3f3f3;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.form-panel .btn-secondary {
  color: #f3f3f3;
  border-color: rgba(255,255,255,0.16);
}

.form-panel .btn-secondary:hover {
  background: rgba(255,255,255,0.06);
}

.legal-section {
  padding-top: 24px;
}

.legal-box a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 26px 0;
  margin-top: 50px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.open {
    display: block;
  }

  .section-grid,
  .services-grid,
  .project-grid,
  .contact-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-watermark {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 110px 0 70px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
  }

  .brand-copy span {
    display: none;
  }
}
.privacy-check {
  margin-top: 8px;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #ffffff;
  flex: 0 0 auto;
}

.privacy-label a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-banner {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10,10,10,0.88);
  color: #fff;
  z-index: 999999;
  display: none;
  pointer-events: auto;
}

.cookie-banner p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 20px;
  text-align: center;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0;
}

.cookie-banner > p,
.cookie-banner > .cookie-buttons {
  position: relative;
  z-index: 2;
}

.cookie-banner {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}
