/* ===== Theme & Tokens ===== */
:root{
  --header-h: 60px;
  --ink: #0a2035;
  --brand-blue: #bde0fe;
  --brand-blue-2: #cfe8ff;
  --brand-ice: #e6f0ff;
  --brand-pink-1: #ffe6f3;
  --brand-pink-2: #ffd2ea;
  --accent: #0078d7;
  --accent-2: #0066cc;
}

/* ===== Base ===== */
html, body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    var(--brand-blue) 0%,
    var(--brand-blue-2) 40%,
    var(--brand-ice) 70%,
    var(--brand-pink-1) 92%,
    var(--brand-pink-2) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 200%;
  animation: bgDrift 22s ease-in-out infinite alternate;
}
@keyframes bgDrift {
  from { background-position: 50% 0%; }
  to   { background-position: 50% 100%; }
}

/* ✨ leichter Bubble-Layer */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.12;
  background:
    radial-gradient(120px 120px at 10% 20%, #ffffff 0%, transparent 60%),
    radial-gradient(160px 160px at 80% 10%, #ffffff 0%, transparent 65%),
    radial-gradient(100px 100px at 85% 70%, #ffffff 0%, transparent 60%),
    radial-gradient(140px 140px at 20% 85%, #ffffff 0%, transparent 65%);
  filter: blur(1px);
  animation: bubbles 40s ease-in-out infinite alternate;
}
@keyframes bubbles {
  0%   { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-18px) translateX(8px); }
}

/* ===== Header ===== */
header {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(10,32,53,0.12);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 45px; margin-right: 10px; }

/* ===== Nav ===== */
nav a {
  margin: 0 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 6px 2px;
  transition: transform .12s ease;
}
nav a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .25s ease;
  border-radius: 2px;
}
nav a:hover { color: var(--accent-2); transform: translateY(-1px); }
nav a:hover::after { width: 100%; }
nav a.active {
  color: var(--accent);
}
nav a.active::after { width: 100%; }

/* ===== Hero ===== */
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  text-align: center;
  background: transparent;
  padding-top: 60px;
  margin-bottom: 40px;
}
.hero-content { max-width: 700px; }

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,120,215,0.15);
  transition: transform .08s ease, filter .25s ease, box-shadow .25s ease;
}
.btn:hover { filter: brightness(1.05); box-shadow: 0 10px 22px rgba(0,120,215,0.22); }
.btn:active { transform: translateY(1px) scale(0.995); }

/* ===== Sections ===== */
.section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.content.reverse { flex-direction: row-reverse; }

/* Images: leichter Tilt */
.section img {
  width: 45%;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transition: transform .25s ease, box-shadow .25s ease;
  transform-origin: center;
}
.section img:hover {
  transform: translateY(-3px) rotate(-0.8deg);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.section h2 { color: #003366; letter-spacing: .2px; }
.section p { line-height: 1.65; }

/* ===== Pricing ===== */
.pricing {
  text-align: center;
  padding: 70px 20px;
  background: transparent;
}
.pricing-content { max-width: 700px; margin: 0 auto; }
.pricing h2 { color: #003366; font-size: 2em; margin-bottom: 10px; }
.pricing p { margin: 10px 0; line-height: 1.55; }

.price-box {
  margin: 30px auto;
  display: inline-block;
  padding: 28px 42px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}
.price-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.62);
}
.price { font-size: 2.6em; font-weight: 800; color: var(--accent); }
.unit { display: block; margin-top: 5px; font-size: 1.08em; color: #003366; }
.smallprint { font-size: 0.92em; color: #444; margin-top: 10px; }

/* ===== Contact ===== */
.contact {
  text-align: center;
  padding: 60px 20px;
}
.contact h2 { color: #003366; }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 22px;
  background: rgba(255,255,255,0.65);
  color: #444;
  font-size: 0.9em;
  border-top: 1px solid rgba(10,32,53,0.12);
  box-shadow: 0 -6px 18px rgba(0,0,0,0.04);
  margin-top: 40px;
}
footer a { color: var(--accent-2); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ===== Reveal Animation ===== */
.section, .pricing, .contact {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible, .pricing.visible, .contact.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== Legal ===== */
.legal-content {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 20px 60px;
  line-height: 1.65;
}
.legal-content h1 {
  text-align: center;
  color: #003366;
  margin-bottom: 30px;
}
.legal-content h2 { color: var(--accent); margin-top: 30px; }
.legal-content a { color: var(--accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.backlink { text-align: center; margin-top: 40px; }

/* ===== Motion Preferences ===== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}
/* ===== Burger Button ===== */
.burger {
  display: none; /* nur mobil sichtbar */
  position: relative;
  width: 42px; height: 42px;
  border: none;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: #0a2035;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }

/* Animation zum X */
.burger.burger--open span:nth-child(1) {
  top: 20px; transform: rotate(45deg);
}
.burger.burger--open span:nth-child(2) {
  opacity: 0;
}
.burger.burger--open span:nth-child(3) {
  top: 20px; transform: rotate(-45deg);
}

/* ===== Navigation Desktop ===== */
.menu {
  display: flex;
  gap: 14px;
}
.menu a {
  padding: 8px 6px;
}

/* ===== Mobile Layout ===== */
@media (max-width: 900px) {
  .burger { display: block; z-index: 1101; }

  .menu {
    position: fixed;
    top: var(--header-h, 60px);
    right: 0;
    width: min(320px, 86vw);
    height: calc(100dvh - var(--header-h, 60px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    padding: 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(10,32,53,0.12);
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);

    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 1100;
  }
  .menu.menu--open {
    transform: translateX(0);
  }

  /* Nav Links für Touch */
  .menu a {
    width: 100%;
    padding: 14px 10px;
    border-radius: 10px;
    font-size: 1.05em;
  }
  .menu a:hover {
    background: rgba(0,0,0,0.05);
  }

  /* Header-Layout: Logo links, Burger rechts */
  .nav-container {
    justify-content: space-between;
  }
}

/* Scroll-Lock wenn Menü offen */
body.menu-open {
  overflow: hidden;
}
