@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --orange: #ff6600;
  --grey: #b4b4b4;
  --blue: #1482be;
  --green: #009933;
  --navy-dark: #0b1320;
  --navy-mid: #10192b;
  --white: #ffffff;
  --text: #e9f2ff;
  --muted: #9ab1d1;
  /* Akzentfarben angepasst: Gold aus Logo + kühles Blau, kein Neon-Grün */
  --accent: #c2a678;
  --accent-2: #1482be;
  --border: #233551;
  --max-w: 1200px;
  --header-max: 130px;
  --header-min: 70px;
  --logo-max: 90px;
  --logo-min: 60px;
  --t-fast: 0.18s cubic-bezier(.2, .75, .2, 1);
  --t-mid: 0.26s cubic-bezier(.2, .75, .2, 1);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--navy-dark);
  color: var(--text);
  font: 15px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial;
}

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER + NAV */
.site-header {
  --header-height: var(--header-max);
  position: sticky;
  top: 0;
  z-index: 2000;
  height: var(--header-height);
  background: rgba(17, 28, 48, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  transition: height 0.2s ease;
}

.site-header.shrink {
  --header-height: var(--header-min);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  height: var(--logo-max);
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.site-header.shrink .brand-logo img {
  height: var(--logo-min);
}

nav.primary {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 16px;
  background: transparent;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.nav-btn:hover,
.nav-item.open .nav-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
}

.login-btn {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  padding: 9px 20px;
  background: var(--blue);
  color: #f9fafb;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.login-btn:hover {
  box-shadow: 0 0 14px rgba(20, 130, 190, 0.55);
}

.tool-btn {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 8px 11px;
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  font-size: 15px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.tool-btn:hover {
  background: rgba(125, 125, 125, 1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.8);
}

.hamburger {
  display: none;
  font-size: 20px;
}

/* MEGA MENU */
.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: 100%;
  background: #0b1320;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.95);
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-mid), transform var(--t-mid);
  z-index: 900;
}

.nav-item.open .mega {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mega-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 20px 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.mega-inner.mega-single {
  grid-template-columns: 1fr;
}

.mega-col {
  max-height: 60vh;
  overflow: auto;
  padding-right: 8px;
}

.mega-col+.mega-col {
  border-left: 1px dashed rgba(148, 163, 184, 0.35);
  padding-left: 16px;
  padding-right: 0;
}

.sub-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 0;
  padding: 10px 12px;
  margin-bottom: 4px;
  background: rgba(148, 163, 184, 0.08);
  cursor: pointer;
  transition: background var(--t-fast);
}

.sub-link:hover {
  background: rgba(148, 163, 184, 0.16);
}

.sub-link-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #e2e8f0;
}

.sub-link-desc {
  font-size: 12px;
  color: var(--muted);
}

.tertiary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 2px;
}

.t-card {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.94);
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: border-color var(--t-fast), background var(--t-fast);
  cursor: pointer;
}

.t-card:hover {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: none;
}

.t-card h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.t-card p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

/* Mega-Menüs ohne Tertiary (z. B. Versicherung, Ressourcen, Unternehmen) */
.mega-inner.mega-single {
  grid-template-columns: 1fr;
}

.mega.mega-two .mega-inner.mega-single {
  grid-template-columns: 1fr;
}

.mega.mega-two .mega-col {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding-right: 0;
}

.mega.mega-two .mega-col::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 0;
  border-left: 1px dashed rgba(148, 163, 184, 0.35);
}

.mega.mega-two .sub-link {
  align-items: flex-start;
}

/* MOBILE NAV */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  z-index: 800;
}

.scrim.open {
  display: block;
}

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #0b1320;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  display: none;
  z-index: 850;
  overflow: hidden;
  flex-direction: column;
}

.mobile-panel.open {
  display: flex;
}

/* Mobile Header im Panel */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(17, 28, 48, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  min-height: 70px;
}

.mobile-header-logo img {
  height: 48px;
  width: auto;
}

.mobile-close-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mobile-close-btn:hover {
  background: rgba(125, 125, 125, 1);
}

.mobile-scroll-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 18px 18px;
}

.mobile-group {
  margin-bottom: 12px;
}

body.mobile-nav-open {
  overflow: hidden !important;
}

html.mobile-nav-open {
  overflow: hidden !important;
}

/* Header wird 100vh wenn Menü offen */
body.mobile-nav-open .site-header {
  height: 100vh !important;
  height: 100dvh !important;
}

.mobile-group h4 {
  margin: 6px 0 6px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mobile-link {
  display: block;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 16px;
  color: #e2e8f0;
}

.mobile-link:hover {
  background: rgba(15, 23, 42, 0.9);
}

.mobile-label {
  padding-top: 10px;
  padding-bottom: 4px;
  font-size: 13px;
  color: var(--grey);
}

.mobile-sub {
  padding-left: 16px;
  font-size: 15px;
}

/* HERO */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 120% -10%, rgba(148, 163, 184, 0.25), transparent 60%),
    radial-gradient(circle at 0% 110%, rgba(100, 116, 139, 0.25), transparent 60%),
    var(--navy-dark);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-weight: 500;
}

.hero p {
  font-size: 17px;
  margin: 0 0 22px;
  color: #cbd5f5;
  max-width: 520px;
}

.hero-meta {
  font-size: 12px;
  color: var(--grey);
  margin-top: 10px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Startseite – Video-Hero */
.hero-home-video {
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-height: 80vh;
  overflow: hidden;
  background: #020617;
}

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

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.75) 40%, rgba(15, 23, 42, 0.25) 100%);
}

.hero-video-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 20px 90px;
  display: flex;
  align-items: center;
}

.hero-video-card {
  max-width: 540px;
  background: rgba(15, 23, 42, 0.94);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 22px 22px 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.8);
}

.hero-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.hero-home-video h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin: 0 0 10px;
  color: #f9fafb;
}

.hero-home-video p {
  margin: 0;
  font-size: 15px;
  color: #cbd5f5;
  max-width: none;
}

/* Feature Highlight Section - AI Detection etc. */
.feature-highlight {
  width: 100%;
  background: linear-gradient(135deg, #0e6a9e 0%, #1482be 50%, #1a9ad4 100%);
  padding: 80px 0;
}

.feature-highlight-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-highlight-content {
  color: #ffffff;
}

.feature-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.feature-highlight h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  margin: 0 0 20px;
  color: #ffffff;
}

.feature-lead {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #ffffff;
}

.feature-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  color: #1482be;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.4);
  }
}

.feature-cta:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Coming Soon Badge - Premium Design */
.coming-soon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 4px;
  overflow: hidden;
}

.coming-soon-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: coming-soon-shimmer 3s ease-in-out infinite;
}

@keyframes coming-soon-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.coming-soon-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: 46px;
  padding: 12px 20px 12px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.coming-soon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1482be 0%, #0e6a9e 100%);
  border-radius: 50%;
  color: #ffffff;
  animation: coming-soon-icon-pulse 2s ease-in-out infinite;
}

@keyframes coming-soon-icon-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 130, 190, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(20, 130, 190, 0); }
}

.coming-soon-text {
  font-size: 14px;
  font-weight: 600;
  color: #0e6a9e;
  letter-spacing: 0.02em;
}

.coming-soon-year {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #1482be 0%, #0e6a9e 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .coming-soon-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
  }
  
  .coming-soon-icon {
    width: 28px;
    height: 28px;
  }
  
  .coming-soon-icon svg {
    width: 14px;
    height: 14px;
  }
}

.feature-highlight-image {
  position: relative;
}

.feature-highlight-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .feature-highlight {
    padding: 60px 0;
  }

  .feature-highlight-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-highlight-image {
    order: -1;
  }
}

/* Startseite – Footer-Band & Module */
.home-footer-band {
  width: 100%;
  min-height: 34px;
  background: var(--navy-mid);
}

.home-module-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.home-modules {
  padding: 120px 0 120px 0;
  width: 100%;
  background: #020617;
  color: #f9fafb;
}

.home-modules-row {
  display: flex;
  flex-wrap: wrap;
  min-height: 800px;
}

.home-module {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 26px 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
}

.home-module span {
  display: inline-block;
}

.home-module-terraq {
  background: #002341;
}

.home-module-klina {
  background: #576B8F;
}

@media (max-width: 720px) {
  .home-modules-row {
    flex-direction: column;
  }
}

.btn {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
}

.btn:hover {
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.btn-primary {
  background: var(--blue);
  color: #f9fafb;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(20, 130, 190, 0.45);
  font-weight: 500;
}

.btn-primary:hover {
  background: #1b8fd0;
  color: #f9fafb;
  box-shadow: 0 0 14px rgba(20, 130, 190, 0.55);
  transform: none;
}

.hero-visual {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, .1), transparent 60%), rgba(15, 23, 42, 0.96);
  padding: 16px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* VALUE SECTION */
.value-section {
  position: relative;
  margin: 56px auto 80px;
  max-width: var(--max-w);
  padding: 0 20px;
}

.value-inner {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  background:
    radial-gradient(circle at 120% -10%, rgba(148, 163, 184, 0.18), transparent 60%),
    radial-gradient(circle at -10% 110%, rgba(100, 116, 139, 0.18), transparent 60%),
    var(--navy-mid);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
  padding: 64px 24px 70px;
}

.wind-simulation {
  position: absolute;
  inset: 0;
  opacity: .7;
  pointer-events: none;
  overflow: hidden;
}

.wind-layer {
  position: absolute;
  inset: 0;
  opacity: .16;
  background: linear-gradient(45deg, transparent 0%, rgba(148, 163, 184, .35) 40%, transparent 70%);
  animation: windFlow 8s ease-in-out infinite;
}

.wind-layer:nth-child(1) {
  animation-duration: 7s;
}

.wind-layer:nth-child(2) {
  animation-duration: 9s;
  animation-delay: -2s;
}

.wind-layer:nth-child(3) {
  animation-duration: 11s;
  animation-delay: -4s;
}

.wind-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #94a3b8;
  opacity: 0;
  animation: particleFlow 12s linear infinite;
}

.particle:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 38%;
  animation-delay: -1.4s;
}

.particle:nth-child(3) {
  top: 55%;
  animation-delay: -2.8s;
}

.particle:nth-child(4) {
  top: 72%;
  animation-delay: -4.2s;
}

.particle:nth-child(5) {
  top: 28%;
  animation-delay: -5.6s;
}

.particle:nth-child(6) {
  top: 46%;
  animation-delay: -7s;
}

.particle:nth-child(7) {
  top: 64%;
  animation-delay: -8.4s;
}

.particle:nth-child(8) {
  top: 82%;
  animation-delay: -9.8s;
}

.wind-landscape {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 6px;
  height: 70px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.wind-landscape svg {
  height: 52px;
  width: auto;
}

.tree {
  transform-origin: bottom center;
  animation: treeSway 5.5s ease-in-out infinite;
}

.tree:nth-child(1) {
  animation-delay: 0s;
}

.tree:nth-child(2) {
  animation-delay: -1.3s;
}

.tree:nth-child(3) {
  animation-delay: -2.1s;
}

.tree:nth-child(4) {
  animation-delay: -2.9s;
}

.tree:nth-child(5) {
  animation-delay: -3.7s;
}

.tree-snap .crown-collision {
  transform-origin: bottom center;
  animation: crownCollision 8s ease-in-out infinite;
}

.house-main {
  transform-origin: bottom center;
  animation: houseShake 4s ease-in-out infinite;
}

.roof-main {
  transform-origin: center bottom;
  animation: roofCollisionFly 8s ease-in-out infinite;
}

.tree-fly {
  transform-origin: bottom center;
  animation: treeFly 9s ease-in-out infinite;
}

.value-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.value-content h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 40px);
  color: #e5edff;
}

.value-subtitle {
  margin: 0 auto 32px;
  max-width: 640px;
  font-size: 16px;
  color: #cbd5f5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.value-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.92);
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
}

.value-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #e5edff;
}

/* Produkt – Vision-Band */
.vision-band {
  position: relative;
  padding: 80px 0;
  background-color: #020617;
  /* Bild liegt unter dem dunklen Overlay */
  background-image: url("../img/vision-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
}

.vision-band::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Dunkelblaues Overlay mit leichter Transparenz über dem Bild */
  background: rgba(12, 16, 32, 0.78);
}

.vision-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.vision-copy {
  max-width: 640px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  border: 1px solid rgb(255, 255, 255);
  padding: 24px 22px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}

.vision-copy h2 {
  margin: 0 0 14px;
  font-size: 26px;
  color: #e5edff;
}

.vision-copy p {
  margin: 0 0 10px;
  max-width: none;
  font-size: 15px;
  color: #cbd5f5;
}

/* WHITE / CONTENT SECTIONS */
.section {
  background: #ffffff;
  color: #020617;
  padding: 100px 0;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section h2 {
  font-size: 30px;
  margin: 0 0 24px;
}

.section p {
  font-size: 16px;
  max-width: 720px;
  margin: 0;
  color: #4b5563;
}

.section-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-top: 16px;
}

.section-col {
  flex: 1 1 260px;
}

.section-img {
  flex: 1 1 260px;
  max-width: 420px;
  border-radius: 18px;
  height: 260px;
}

.section-img-card {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.section-img-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-map {
  width: 100%;
  min-height: 720px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #020617;
  box-sizing: border-box;
}

.partner-map::before {
  content: none;
}

.partner-frame {
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.partner-map-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(12, 24, 40, 0.95);
  box-sizing: border-box;
}

.pmc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
  margin-right: 4px;
}

.pmc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #e5e7eb;
  cursor: pointer;
}

.pmc-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pmc-box {
  width: 14px;
  height: 14px;
  border: 1px solid #9ca3af;
  background: transparent;
  box-sizing: border-box;
}

.pmc-toggle input:checked+.pmc-box {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.pmc-text {
  font-size: 13px;
}

/* Leaflet-Karte – Rahmen wie Map-Control */
.leaflet-container {
  outline-offset: 1px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: transparent !important;
}

.partner-overview.section {
  padding: 0;
  background: #020617;
  color: var(--text);
  padding-bottom: 100px;
}

.partner-overview.section .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.partner-map .leaflet-top,
.partner-map .leaflet-bottom {
  z-index: 100;
}

#partner-map .leaflet-tile {
  filter: hue-rotate(20deg) saturate(1.1) brightness(0.9);
}

.bottom-spacer.section {
  background: var(--navy-mid);
  color: var(--text);
  padding: 0;
}

.bottom-spacer.section .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 10px;
  min-height: 20px;
}

.partner-overview-spacer.section {
  background: #020617;
  color: var(--text);
  padding: 0;
}

.partner-overview-spacer.section .section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 120px;
}

/* Breadcrumbs für Unterseiten */
.breadcrumb {
  background: #020617;
  color: #9ca3af;
  font-size: 12px;
}

.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6px 20px 8px;
}

.breadcrumb a {
  color: #e5e7eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* „Nach oben“-Icon in Spacer-Section */
.section {
  position: relative;
}

.page-bottom-anchor .to-top-icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-bottom-anchor .to-top-icon img {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.9;
  transition: opacity .15s ease, transform .15s ease;
}

.page-bottom-anchor .to-top-icon:hover img {
  opacity: 1;
  transform: translateY(-5px);
}

/* Produkt-Band dunkler Hintergrund */
#produkt.section {
  background: #0c1828;
  color: var(--text);
}

#produkt.section h2,
#produkt.section h3 {
  color: var(--text);
}

#produkt.section p {
  color: var(--muted);
}


/* Flood Lab – gleicher Hintergrund wie Produktband */
#flood.section {
  background: #0c1828;
  color: var(--text);
}

#flood.section h2,
#flood.section h3 {
  color: var(--text);
}

#flood.section p {
  color: var(--muted);
}

/* Flood Lab – Notizen / Chat mit eigenem Hintergrund */
#flood-notes.section {
  background: #020617;
  color: var(--text);
}

#flood-notes.section h2,
#flood-notes.section h3 {
  color: var(--text);
}

#flood-notes.section p {
  color: var(--muted);
  max-width: none;
}


/* Produkt-Band dunkler Hintergrund */
#geoengine.section {
  background: #0c1828;
  color: var(--text);
}

#geoengine.section h2,
#geoengine.section h3 {
  color: var(--text);
}

#geoengine.section p {
  color: var(--muted);
}

/* Produkt-Band dunkler Hintergrund */
#risk-prediction.section {
  background: #ff6600;
  color: #ffffff;
}

#risk-prediction.section h2,
#risk-prediction.section h3 {
  color: #ffffff;
  font-weight: 400;
}

#risk-prediction.section p {
  color: #ffffff;
}

#risk-prediction.section .risk-panel-left {
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 16px;
}

/* Risk Prediction – zweite Sektion (invertiert) */
#risk-prediction-details.section {
  background: #0c1828;
  color: #ffffff;
}

#risk-prediction-details.section h2,
#risk-prediction-details.section h3 {
  color: #ffffff;
  font-weight: 400;
}

#risk-prediction-details.section p {
  color: #ffffff;
}

#risk-prediction-details .risk-panel-right {
  background: #ff6600;
  color: #ffffff;
  padding: 16px;
  border-radius: 10px;
}

#risk-prediction-details .risk-panel-right h3 {
  color: #ffffff;
  font-weight: 300;
}




/* Integration-Band: grauer Hintergrund + helle Karten */
#integration.section,
#branchen.section {
  background: #d1d5db;
  color: #020617;
  padding: 90px 0;
}

#integration.section h2,
#branchen.section h2 {
  color: #020617;
  margin-bottom: 20px;
}

#integration.section p,
#branchen.section p {
  color: #4b5563;
}

#integration.section .section-inner,
#branchen.section .section-inner {
  max-width: 1100px;
}

#integration.section .section-row,
#branchen.section .section-row {
  align-items: stretch;
}

#integration.section .section-col,
#branchen.section .section-col {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 20px 18px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

#integration.section .section-col+.section-col,
#branchen.section .section-col+.section-col {
  background: #ffffff;
}

#integration.section .section-col h3,
#branchen.section .section-col h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #111827;
}

#integration.section .section-col p+p,
#branchen.section .section-col p+p {
  margin-top: 10px;
}

/* Branchen-Detail: dunkles Band mit hellen Texten */
#branchen-detail.section {
  background: #0c1828;
  color: var(--text);
  padding: 90px 0;
}

#branchen-detail.section h2,
#branchen-detail.section h3 {
  color: var(--text);
}

#branchen-detail.section p {
  color: var(--muted);
}

#branchen-detail.section .section-row {
  align-items: stretch;
}

#branchen-detail.section .section-col {
  background: #10192b;
  border-radius: 16px;
  border: 1px solid #233551;
  padding: 20px 18px 18px;
}

/* Werte-Band: rosa Hintergrund, warme Schrift */
#comandments.section {
  background: #009933;
  color: #ffffff;
}

#comandments.section h2 {
  color: #ffffff;
}

#comandments.section h3 {
  color: #ffffff;
}

#comandments.section p {
  color: #ffffff;
}

#comandments.section .values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px 40px;
}

@media (min-width: 900px) {
  #comandments.section .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#comandments.section .values-item {
  padding: 16px 18px;
  background: transparent;
}

#comandments.section .values-item h3 {
  font-weight: 400;
  margin-bottom: 4px;
}

/* Wissenschaft-Band: schwarzer Hintergrund, goldene Schrift */
#wissenschaft.section {
  background: #000000;
  color: var(--accent);
}

#wissenschaft.section h2,
#wissenschaft.section h3 {
  color: var(--accent);
}

#wissenschaft.section p {
  color: var(--accent);
}

/* Impressum: dunkles Band, volle Breite */
#impressum.section {
  background: #0c1828;
  color: var(--text);
}

#impressum.section .section-inner {
  max-width: 860px;
}

#impressum.section h2 {
  color: #e5edff;
  margin-bottom: 18px;
}

#impressum.section h3,
#impressum.section h4 {
  color: #e5edff;
  margin-top: 22px;
  margin-bottom: 6px;
}

#impressum.section p {
  color: #cbd5f5;
  max-width: none;
}

#impressum .legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 14px;
}

#impressum .legal-grid h3,
#impressum .legal-grid h4 {
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#impressum .legal-block p {
  margin: 0;
}

#impressum .legal-block+.legal-block {
  margin-top: 10px;
}

@media (max-width: 720px) {
  #impressum .legal-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #impressum .legal-block+.legal-block {
    margin-top: 24px;
  }

  #impressum .legal-spacer {
    height: 60px;
  }
}

#impressum .legal-spacer {
  height: 120px;
}

#impressum .legal-invert {
  margin-top: 4px;
  padding-top: 22px;
  padding-bottom: 4px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #cbd5f5;
}

#impressum .legal-invert h3,
#impressum .legal-invert h4 {
  color: #e5edff;
  margin-top: 18px;
  margin-bottom: 6px;
}

#impressum .legal-invert h3:first-of-type {
  margin-top: 0;
}

#impressum .legal-invert p {
  color: #cbd5f5;
  max-width: none;
}

/* Team-Seite: dunkler Hintergrund + Cards */
.team-section.section {
  background: #111827;
  color: var(--text);
}

.team-section .section-inner {
  max-width: var(--max-w);
}

.team-section h2 {
  color: #e5edff;
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.team-card {
  border-radius: 0;
  border: 1px solid #1f2937;
  background: #020617;
  overflow: hidden;
}

.team-card-header {
  background: #0c1828;
  padding: 12px 18px;
  border-bottom: 1px solid #1f2937;
}

.team-card-header h3 {
  margin: 0;
  font-size: 15px;
  color: #e5edff;
}

.team-card-body {
  padding: 18px 18px 20px;
}

.team-role {
  margin: 0 0 6px;
  font-size: 14px;
  color: #cbd5f5;
}

.team-mail {
  margin: 0 0 6px;
  font-size: 13px;
}

.team-mail a {
  color: #9ca3af;
  text-decoration: none;
}

.team-mail a:hover {
  color: #e5edff;
  text-decoration: underline;
}

.team-quote {
  margin: 4px 0 0;
  font-size: 12px !important;
  color: #9ca3af;
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Panels / Cards */
.panel {
  background: #111c30;
  border: 1px solid #233551;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  color: #e9f2ff;
}

.panel.accent {
  background: #0f172a;
  border-color: #2b3d5a;
}

.panel a {
  color: #c7e8ff;
}

.panel a:hover {
  color: #ffffff;
}

/* Flood Lab – Chat */
.floodlab-chat {
  margin-top: 24px;
  padding: 18px 18px 14px;
  border-radius: 10px;
  border: 1px solid #233551;
  background: #020617;
  color: #e5e7eb;
}

.floodlab-heading {
  font-size: 18px;
  margin: 26px 0 14px;
  font-weight: 400;
}

.floodlab-chat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floodlab-msg {
  display: flex;
  gap: 10px;
}

.floodlab-msg-author {
  flex: 0 0 70px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
}

.floodlab-msg-body {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.5;
}

.floodlab-msg-body p {
  margin: 0;
}

/* Flood Lab – Boxen */
#flood.section .panel,
#flood-notes.section .floodlab-chat {
  background: transparent;
  border-radius: 10px;
  border: 1px solid #ffffff;
  box-shadow: none;
  color: var(--text);
  padding: 30px;
}

#flood-notes.section .floodlab-msg-author {
  color: var(--muted);
}

#flood-notes.section .floodlab-msg-body {
  color: var(--text);
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 12px;
  padding: 12px 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.input-field label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
  display: block;
  color: #e5e7eb;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #e5edff;
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.input-field select {
  background-color: #020617;
}

.input-field select option {
  background-color: #020617;
  color: #e5edff;
}

.input-field {
  padding: 10px 10px 8px;
  border-radius: 6px;
  background: #0b1120;
  border: 1px solid #1f2937;
  transition: background .18s ease, border-color .18s ease;
}

.input-field.active {
  background: #0c1828;
  border-color: #2563eb;
}

.input-field.completed {
  background: #0c1828;
  border-color: #1f2937;
}

.input-field textarea {
  min-height: 120px;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  border-color: transparent;
}

.input-field input.invalid,
.input-field select.invalid,
.input-field textarea.invalid {
  border-color: transparent;
  background-image: linear-gradient(to right, transparent 0, transparent 2px, #ef4444 2px, #ef4444 4px, transparent 4px);
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 8px 2px;
}

.form-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-message {
  font-size: 13px;
  min-height: 18px;
}

.form-message[data-state="success"],
.form-message[data-state="error"] {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.form-message[data-state="success"] {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.4);
  color: #16a34a;
}

.form-message[data-state="error"] {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(248, 113, 113, 0.7);
  color: #fecaca;
}

/* Formularideen */
.form-variant-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: flex-start;
}

.form-variant-copy h2 {
  font-weight: 400;
  margin-bottom: 10px;
}

.form-variant-copy p {
  color: var(--muted);
}

.form-variant-panel {
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 20px 22px;
}

.contact-form--compact .field-required {
  margin-left: 4px;
  color: #f97373;
  font-size: 11px;
}

.form-stepper-head {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.form-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
}

.form-step-dot--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #f9fafb;
}

.form-stepper-step {
  display: none;
}

.form-stepper-step--active {
  display: block;
}

.form-summary-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.form-stepper-footer {
  justify-content: flex-end;
}

.form-convo {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
}

.form-convo-inner {
  padding: 10px 10px 6px;
}

.convo-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 12px 18px;
  align-items: flex-start;
  padding: 8px 4px;
}

.convo-label {
  font-size: 13px;
  color: var(--muted);
}

.convo-fields .input-field {
  background: #020617;
}

.contact-form--priority .pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-form--priority .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
}

.contact-form--priority .pill input {
  display: none;
}

.contact-form--priority .pill span {
  color: #e2e8f0;
}

.contact-form--priority .pill input:checked+span {
  color: #020617;
  font-weight: 500;
}

.contact-form--priority .pill input:checked~span,
.contact-form--priority .pill input:checked+span {
  background: none;
}

.contact-form--priority .pill input:checked+span {
  padding-left: 0;
}

.contact-form--priority .pill input:checked+span::before {
  content: "● ";
}

.contact-form--priority .pill input:checked+span {
  background: none;
}

.contact-form--priority .pill input:checked+span {
  background-color: #f9fafb;
  border-radius: 999px;
  padding: 2px 6px;
}

.contact-form--priority .pill input:checked~span {
  color: #020617;
}

.contact-form--priority .pill-group--tight {
  gap: 6px;
}

.contact-form--schedule .schedule-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-form--modular .modular-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 16px;
}

.contact-form--modular .modular-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
}

.contact-form--modular .modular-item input {
  margin-top: 3px;
}


@media (max-width: 900px) {
  .form-variant-wrap {
    grid-template-columns: 1fr;
  }

  .convo-row {
    grid-template-columns: 1fr;
  }
}

.contact-section.section {
  background: #b4b4b3;
}

/* FOOTER */
footer {
  background: var(--navy-mid);
  padding: 32px 0 0;
  color: #e2e8f0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-col h5 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #9ca3af;
  letter-spacing: .08em;
}

.footer-link {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #e5e7eb;
  opacity: .85;
  transition: opacity var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-copy {
  margin-top: 14px;
  background: #002341;
  padding: 25px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* Global Scrollbar Styling – dezent im Dark-Theme */
html {
  scrollbar-width: thin;
  scrollbar-color: #576b8f #020617;
}

html::-webkit-scrollbar {
  width: 8px;
  background-color: #020617;
}

html::-webkit-scrollbar-track {
  background-color: #020617;
}

html::-webkit-scrollbar-thumb {
  background-color: #576b8f;
  border-radius: 999px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav.primary {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .mobile-panel {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 800px) {
  .mega-inner {
    grid-template-columns: 1fr;
  }

  .mega-col+.mega-col {
    border-left: none;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    padding-left: 0;
    padding-top: 12px;
  }

  .value-inner {
    padding: 56px 18px 64px;
  }

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

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

  .section-row {
    flex-direction: column;
  }

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

/* Mobile Header: nur Logo + Burger */
@media (max-width: 600px) {
  /* Header Layout fixieren */
  .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 16px !important;
  }
  
  /* Logo links, normale Größe */
  .header-inner .brand {
    flex: 0 0 auto !important;
    order: 1 !important;
  }
  
  .brand-logo img {
    height: 48px !important;
  }
  
  /* Burger rechts */
  .header-inner .hamburger {
    flex: 0 0 auto !important;
    order: 3 !important;
    margin-left: auto !important;
  }
  
  /* Login Button verstecken */
  .header-inner > a.login-btn,
  .header-inner > a:has(.login-btn),
  .header-inner .login-btn {
    display: none !important;
  }
  
  /* Language Switcher im Header verstecken */
  .header-inner .lang-switcher {
    display: none !important;
  }
  
  /* Nav verstecken */
  .header-inner nav.primary {
    display: none !important;
  }
  
  /* Mobile Panel volle Breite und Höhe */
  .mobile-panel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
  }
  
  /* Top Bar: Language + Login */
  .mobile-top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148,163,184,0.2);
  }
  
  /* Language Switcher im Mobile Menu */
  .mobile-lang-switcher {
    display: flex;
    gap: 6px;
  }
  
  .mobile-lang-switcher .lang-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  /* Divider */
  .mobile-divider {
    width: 1px;
    height: 28px;
    background: rgba(148,163,184,0.4);
  }
  
  /* Login Button im Mobile Menu */
  .mobile-login-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--blue);
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
  }
  
  .mobile-login-btn:hover {
    background: #1a9ad4;
  }
  
  /* Mobile Panel linksbündig */
  .mobile-panel {
    text-align: left;
  }
  
  .mobile-group {
    text-align: left;
  }
  
  .mobile-group h4 {
    text-align: left;
  }
  
  .mobile-link {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes windFlow {
  0% {
    transform: translateX(-110%) skewX(-10deg);
    opacity: 0;
  }

  20% {
    opacity: .16;
  }

  50% {
    transform: translateX(0) skewX(0deg);
    opacity: .26;
  }

  80% {
    opacity: .14;
  }

  100% {
    transform: translateX(110%) skewX(10deg);
    opacity: 0;
  }
}

@keyframes particleFlow {
  0% {
    left: -20px;
    opacity: 0;
    transform: translateY(0) scale(.6);
  }

  10% {
    opacity: 1;
    transform: translateY(-16px) scale(1);
  }

  50% {
    transform: translateY(-38px) scale(1.12);
  }

  90% {
    opacity: 1;
    transform: translateY(-18px) scale(1);
  }

  100% {
    left: calc(100% + 20px);
    opacity: 0;
    transform: translateY(0) scale(.6);
  }
}

@keyframes treeSway {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(8deg);
  }

  55% {
    transform: rotate(16deg);
  }

  80% {
    transform: rotate(6deg);
  }
}

@keyframes crownCollision {

  0%,
  50% {
    transform: rotate(0deg) translateX(0);
  }

  60% {
    transform: rotate(10deg) translateX(2px);
  }

  70% {
    transform: rotate(22deg) translateX(7px);
  }

  75% {
    transform: rotate(30deg) translateX(11px);
  }

  85% {
    transform: rotate(40deg) translateX(18px) translateY(-2px);
    opacity: .7;
  }

  100% {
    transform: rotate(55deg) translateX(30px) translateY(-4px);
    opacity: 0;
  }
}

@keyframes houseShake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-1.6deg);
  }

  50% {
    transform: rotate(1.2deg);
  }

  75% {
    transform: rotate(-0.8deg);
  }
}

@keyframes roofCollisionFly {

  0%,
  70% {
    transform: translateY(0) rotate(0);
    opacity: .9;
  }

  72% {
    transform: translateY(-2px) rotate(-1.5deg);
  }

  74% {
    transform: translateY(0) rotate(1deg);
  }

  78% {
    transform: translateY(-4px) rotate(-0.8deg);
  }

  82% {
    transform: translateY(-12px) translateX(10px) rotate(10deg);
  }

  88% {
    transform: translateY(-32px) translateX(30px) rotate(26deg);
    opacity: .6;
  }

  94% {
    transform: translateY(-62px) translateX(60px) rotate(46deg);
    opacity: .3;
  }

  100% {
    transform: translateY(-94px) translateX(90px) rotate(68deg);
    opacity: 0;
  }
}

@keyframes treeFly {

  0%,
  78% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }

  88% {
    transform: translateY(-20px) translateX(10px) rotate(18deg);
    opacity: .7;
  }

  100% {
    transform: translateY(-40px) translateX(24px) rotate(40deg);
    opacity: .25;
  }
}