/* =============================================================
   NORDPOOL BERLIN — Stylesheet
   Design-System + Layout + Components + Responsive
   ============================================================= */

/* ── Brand Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --navy-50:   #EAF0F4;
  --navy-100:  #C5D3DE;
  --navy-200:  #9BB3C3;
  --navy-300:  #6F92A7;
  --navy-400:  #47748E;
  --navy-500:  #2B5874;
  --navy-600:  #1C4159;
  --navy-700:  #132F42;
  --navy-800:  #0D1F2D;
  --navy-900:  #060F17;

  --aqua-50:   #EAF9FD;
  --aqua-100:  #CBEFF9;
  --aqua-200:  #A4E3F3;
  --aqua-300:  #7BD4EC;
  --aqua-400:  #4FC3E0;
  --aqua-500:  #2AAFD1;
  --aqua-600:  #1B92B1;
  --aqua-700:  #15748D;
  --aqua-800:  #0F5567;

  --sand-50:   #FAF6EE;
  --sand-100:  #F3EBDA;
  --sand-200:  #EBDFC5;
  --sand-300:  #E5D5B7;

  --sun-300:   #F7CE66;
  --sun-400:   #F4B942;
  --sun-500:   #E49F1F;
  --sun-600:   #B87C15;

  --warm:      #FBF9F4;
  --white:     #FFFFFF;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container:  1280px;

  /* Shadows */
  --shadow-soft:   0 4px 24px -8px rgba(13, 31, 45, 0.12);
  --shadow-strong: 0 20px 60px -20px rgba(13, 31, 45, 0.35);
  --shadow-aqua:   0 12px 40px -12px rgba(79, 195, 224, 0.55);
  --shadow-sun:    0 12px 40px -12px rgba(244, 185, 66, 0.55);

  /* Gradients */
  --gradient-aqua: linear-gradient(135deg, #4FC3E0 0%, #15748D 100%);
  --gradient-sun:  linear-gradient(135deg, #F4B942 0%, #E49F1F 100%);
  --gradient-hero: linear-gradient(135deg, #0D1F2D 0%, #15748D 60%, #4FC3E0 100%);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-800);
  background: var(--warm);
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

::selection {
  background: rgba(79, 195, 224, 0.4);
  color: var(--navy-800);
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

.section {
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-warm { background: var(--warm); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-gradient-warm { background: linear-gradient(180deg, var(--warm) 0%, var(--sand-50) 100%); }

/* ── Typography ──────────────────────────────────────────── */
.headline-xl { font-size: clamp(2.75rem, 6vw, 5rem); }
.headline-lg { font-size: clamp(2.25rem, 5vw, 4rem); }
.headline-md { font-size: clamp(1.875rem, 4vw, 3rem); }
.headline-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-display { font-family: var(--font-display); }
.font-sans    { font-family: var(--font-sans); }

.text-center  { text-align: center; }
.text-white   { color: var(--white); }
.text-navy    { color: var(--navy-800); }
.text-navy-100{ color: var(--navy-100); }
.text-navy-200{ color: var(--navy-200); }
.text-navy-500{ color: var(--navy-500); }
.text-navy-600{ color: var(--navy-600); }
.text-aqua-300{ color: var(--aqua-300); }
.text-aqua-600{ color: var(--aqua-600); }
.text-sun-400 { color: var(--sun-400); }

.gradient-aqua {
  background: var(--gradient-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.gradient-sun {
  background: var(--gradient-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  text-shadow: none;
}
.gradient-aqua { text-shadow: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua-600);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark { color: var(--aqua-300); }
.eyebrow-sun  { color: var(--sun-400); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 9999px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
}

/* Pfeil/Icon im Button leicht animieren */
.btn svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover svg {
  transform: translateX(3px);
}

/* Shared Shimmer für die Premium-Buttons (aqua + sun) */
.btn-primary::after,
.btn-sun::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::after,
.btn-sun:hover::after {
  opacity: 1;
  background-position: -120% 0;
}

.btn-primary {
  background: var(--gradient-aqua);
  color: var(--white);
  box-shadow: var(--shadow-aqua), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.btn-primary:hover {
  box-shadow: 0 18px 36px -12px rgba(79, 195, 224, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-2px);
}

.btn-sun {
  background: var(--gradient-sun);
  color: var(--navy-800);
  font-weight: 600;
  box-shadow: var(--shadow-sun), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.btn-sun:hover {
  box-shadow: 0 18px 36px -12px rgba(244, 185, 66, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(13, 31, 45, 0.15);
  color: var(--navy-800);
}
.btn-secondary:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-secondary-dark:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  padding: 0.625rem 1.25rem;
}
.btn-ghost:hover {
  background: rgba(13, 31, 45, 0.05);
}

.btn-whatsapp {
  background: #25D366;
  color: transparent;
  box-shadow: var(--shadow-soft);
  width: 3rem;
  height: 3rem;
  padding: 0;
  gap: 0;
  font-size: 0;
  flex-shrink: 0;
}
.btn-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}
.btn-whatsapp:hover {
  color: transparent;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-instagram {
  background: linear-gradient(45deg, #833AB4 0%, #E1306C 45%, #F77737 80%, #FCAF45 100%);
  color: transparent;
  box-shadow: var(--shadow-soft);
  width: 3rem;
  height: 3rem;
  padding: 0;
  gap: 0;
  font-size: 0;
  flex-shrink: 0;
}
.btn-instagram svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}
.btn-instagram:hover {
  color: transparent;
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-whatsapp:hover {
  background: #1EA952;
  transform: translateY(-2px) scale(1.02);
}

.btn:active { transform: scale(0.98); }

.btn-full { width: 100%; }

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}
.card-hover:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

/* ── Glass Effects ───────────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
  background: rgba(13, 31, 45, 0.64);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* Sanfter dunkler Gradient über dem Hero — macht die Nav lesbar
     ohne harte Kante, bleibt aber transparent zum Bild hin */
  background: linear-gradient(
    to bottom,
    rgba(13, 31, 45, 0.92) 0%,
    rgba(13, 31, 45, 0.75) 40%,
    rgba(13, 31, 45, 0.4) 75%,
    transparent 100%
  );
  transition: all 0.35s ease;
  animation: nav-slide-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nav-slide-in {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: flex mit Logo links, Toggle rechts */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0 2rem;
  transition: padding 0.35s ease;
}

/* Desktop: sauberes 3-Spalten-Grid — perfekt mittig ausgerichtet */
@media (min-width: 1024px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
  }
  .nav-logo    { justify-self: start; }
  .nav-menu    { justify-self: center; }
  .nav-actions { justify-self: end; }
}

/* Scrolled-state: solid white bar, no gradient */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 20px -8px rgba(13, 31, 45, 0.15);
  border-bottom: 1px solid rgba(13, 31, 45, 0.05);
}
.nav.scrolled .nav-inner {
  padding: 0.75rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo img {
  height: 3.75rem;
  width: auto;
  transition: height 0.35s ease, filter 0.35s ease;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.nav.scrolled .nav-logo img {
  filter: none;
  height: 3.5rem;
}
@media (min-width: 1024px) {
  .nav-logo img { height: 4.5rem; }
  .nav.scrolled .nav-logo img { height: 4rem; }
}

.nav-menu {
  display: none;
  gap: 0.125rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 2px rgba(13, 31, 45, 0.35);
  border-radius: 9999px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  isolation: isolate;
}

/* Pill-Background erscheint on hover — fade + subtle scale */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(79, 195, 224, 0.14) 100%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 4px 14px -8px rgba(79, 195, 224, 0.35);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.nav-link:hover {
  color: #fff;
  text-shadow: none;
}
.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Chevron im Dropdown-Trigger rotiert beim Hover */
.nav-link svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
  opacity: 1;
}

/* Scrolled-state: dunkler Text, frosted-glass Pill mit Aqua-Tint */
.nav.scrolled .nav-link {
  color: var(--navy-700);
  text-shadow: none;
}
.nav.scrolled .nav-link::before {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(234, 249, 253, 0.7) 100%);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 4px 14px -8px rgba(79, 195, 224, 0.25);
}
.nav.scrolled .nav-link:hover {
  color: var(--aqua-700);
}

.nav-phone {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 2px rgba(13, 31, 45, 0.3);
}
.nav-phone svg { color: rgba(255, 255, 255, 0.92); }
.nav.scrolled .nav-phone {
  color: var(--navy-800) !important;
  text-shadow: none;
  background: rgba(13, 31, 45, 0.05);
  border-color: rgba(13, 31, 45, 0.1);
}
.nav.scrolled .nav-phone svg { color: var(--navy-800); }

.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-0.75rem);
  padding-top: 0.875rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 460px;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-sub-inner {
  padding: 0.875rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 30px 60px -15px rgba(13, 31, 45, 0.28),
    0 0 0 1px rgba(13, 31, 45, 0.05);
  display: grid;
  gap: 0.25rem;
}

.nav-sub-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 2.75rem 0.875rem 1rem;
  border-radius: 1rem;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover-Background als ::before, damit wir mehrere Layer animieren können */
.nav-sub-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(
    120deg,
    rgba(79, 195, 224, 0.12) 0%,
    rgba(244, 185, 66, 0.10) 100%
  );
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

/* Pfeil rechts: erscheint und schiebt sich rein beim Hover */
.nav-sub-item::after {
  content: '';
  position: absolute;
  right: 1.125rem;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FC3E0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>") center / contain no-repeat;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-sub-item:hover::before,
.nav-sub-item:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
.nav-sub-item:hover::after,
.nav-sub-item:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-sub-icon {
  position: relative;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.9375rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, var(--aqua-400) 0%, var(--aqua-600) 60%, var(--aqua-700) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 10px 24px -8px rgba(79, 195, 224, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    background 0.45s ease;
}

/* Diagonaler Glanz auf der Kachel — wie auf einer Wasseroberfläche */
.nav-sub-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  background-size: 220% 100%;
  background-position: 130% 0;
  opacity: 0;
  transition: opacity 0.5s ease, background-position 1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-sub-item:hover .nav-sub-icon {
  transform: translateY(-1px) scale(1.04);
}
.nav-sub-item:hover .nav-sub-icon::before {
  opacity: 1;
  background-position: -130% 0;
}

/* SVG im Icon: weichere Stroke */
.nav-sub-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(13, 31, 45, 0.18));
}

.nav-sub-title {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}
.nav-sub-item:hover .nav-sub-title { color: var(--aqua-700); }

.nav-sub-desc {
  font-size: 0.75rem;
  color: var(--navy-500);
  margin-top: 0.125rem;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  position: relative;
}
@media (min-width: 1024px) {
  .nav-actions { display: flex; }
}

/* Feiner vertikaler Separator vor dem Telefon */
.nav-actions::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: background 0.3s ease;
}
.nav.scrolled .nav-actions::before {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(13, 31, 45, 0.18),
    transparent
  );
}

.nav-actions .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 9999px;
  font-size: 0;
  color: transparent;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.nav-phone:hover {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-phone svg {
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-phone:hover svg {
  opacity: 1;
  transform: rotate(-12deg);
}
.nav.scrolled .nav-phone:hover {
  background: rgba(13, 31, 45, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 0.75rem;
}
@media (min-width: 1024px) {
  .nav-mobile-actions { display: contents; }
}
.nav-phone-mobile {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.nav.scrolled .nav-phone-mobile {
  background: rgba(13, 31, 45, 0.05);
  border-color: rgba(13, 31, 45, 0.1);
  color: var(--navy-800);
}
@media (min-width: 1024px) {
  .nav-phone-mobile { display: none; }
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.mobile-social-btn {
  display: flex;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(13, 31, 45, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mobile-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 31, 45, 0.18);
}
.mobile-social-wa {
  background: #25D366;
}
.mobile-social-ig {
  background: linear-gradient(45deg, #833AB4 0%, #E1306C 45%, #F77737 80%, #FCAF45 100%);
}
.nav-toggle {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.25s ease;
}
.nav.scrolled .nav-toggle {
  background: rgba(13, 31, 45, 0.05);
  border-color: rgba(13, 31, 45, 0.1);
  color: var(--navy-800);
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 45, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.mobile-menu.open .mobile-overlay { opacity: 1; }

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 24rem;
  background: var(--warm);
  box-shadow: var(--shadow-strong);
  transform: translateX(100%);
  transition: transform 0.5s ease;
  overflow-y: auto;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(13, 31, 45, 0.05);
}
.mobile-header img { height: 2.5rem; width: auto; }

.mobile-close {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}

.mobile-nav {
  padding: 1.25rem;
}

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy-800);
  transition: color 0.2s ease;
}
.mobile-link:hover { color: var(--aqua-600); }

.mobile-sub {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid var(--aqua-200);
  padding-left: 1rem;
}
.mobile-sub a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--navy-600);
}
.mobile-sub a:hover { color: var(--aqua-600); }

.mobile-actions {
  padding-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(118%) contrast(112%) brightness(102%);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Premium Grain-Textur über dem Hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Dark gradient overlay über Bild — für Text-Lesbarkeit */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(13, 31, 45, 0.88) 0%,
      rgba(13, 31, 45, 0.72) 18%,
      rgba(13, 31, 45, 0.52) 35%,
      rgba(13, 31, 45, 0.32) 55%,
      rgba(13, 31, 45, 0.14) 75%,
      rgba(13, 31, 45, 0.04) 90%,
      transparent 100%),
    radial-gradient(ellipse 80% 70% at 30% 70%,
      rgba(13, 31, 45, 0.35) 0%,
      rgba(13, 31, 45, 0.15) 50%,
      transparent 100%);
}


.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  z-index: 3;
  pointer-events: none;
}
.hero-blob-1 {
  top: 25%;
  right: 10%;
  width: 8rem;
  height: 8rem;
  background: rgba(79, 195, 224, 0.2);
  animation: float 6s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: 33%;
  left: 8%;
  width: 10rem;
  height: 10rem;
  background: rgba(244, 185, 66, 0.15);
  animation: float 6s ease-in-out infinite 2s;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 10rem;
  padding-bottom: 5rem;
  max-width: 56rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeIn 0.6s ease-out;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.02;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}
.hero-sub, .hero-content > p {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-title .hero-line:last-child {
  padding-bottom: 0.5em;
}
.hero-line > * { display: inline-block; }
.hero-line {
  opacity: 0;
  transform: translateY(110%);
  animation: hero-line-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.15s; }
.hero-line:nth-child(2) { animation-delay: 0.32s; }
.hero-line:nth-child(3) { animation-delay: 0.49s; }
@keyframes hero-line-up {
  0%   { opacity: 0; transform: translateY(110%); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-title-underline {
  position: relative;
  display: inline-block;
}
.hero-accent {
  color: var(--aqua-200);
  font-family: 'Satisfy', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2em;
  line-height: 0.95;
  letter-spacing: 0.01em;
  padding: 0 0.08em;
}
.hero-title-underline svg {
  position: absolute;
  bottom: -1.6rem;
  left: 0;
  width: 128%;
  height: 0.35em;
  filter: drop-shadow(0 2px 10px rgba(244, 185, 66, 0.3));
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--navy-100);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeUp 0.8s ease-out 0.6s both;
  text-align: center;
}

.hero-trust .divider {
  width: 1px;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  display: none;
}
@media (min-width: 768px) {
  .hero-trust {
    justify-content: flex-start;
    gap: 2.5rem;
    text-align: left;
  }
  .hero-trust .divider { display: block; }
}

.hero-stars {
  display: flex;
  gap: 0.125rem;
}
.hero-stars svg { color: var(--sun-400); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}
@media (min-width: 768px) {
  .hero-scroll { display: flex; }
}
.hero-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}

/* ── Page Header (for sub pages) ─────────────────────────── */
.page-header {
  padding-top: 10rem;
  padding-bottom: var(--section-py);
  background: var(--warm);
}

/* ── Stats Section ───────────────────────────────────────── */
.stats {
  position: relative;
  margin-top: -4rem;
  z-index: 20;
}

.stats-card {
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.stats-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(79, 195, 224, 0.7) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0) 65%,
    rgba(244, 185, 66, 0.55) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.stat-value {
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .stats-card { padding: 3rem; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.stat {
  text-align: center;
}
@media (min-width: 1024px) {
  .stat {
    padding: 0 1rem;
    border-right: 1px solid rgba(13, 31, 45, 0.1);
  }
  .stat:last-child { border-right: none; }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-weight: 600;
  color: var(--navy-800);
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--navy-500);
  margin-top: 0.25rem;
}

/* ── Services Grid ───────────────────────────────────────── */
.services-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.services-head h2 { margin: 1rem 0 1.5rem; }
.services-head p { font-size: 1.125rem; color: var(--navy-600); }

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .featured { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .services-grid .featured { grid-column: span 2; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  transition: all 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.service-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card.featured .service-card-image {
  aspect-ratio: 16 / 9;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card-image img {
  transform: scale(1.1);
}
.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 45, 0.8), rgba(13, 31, 45, 0.2) 50%, transparent);
}

.badge-new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--sun-400);
  color: var(--navy-800);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-sun);
  letter-spacing: 0.05em;
  z-index: 2;
}

.service-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}
.service-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--aqua-300);
  margin-bottom: 0.5rem;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body p {
  color: var(--navy-600);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}
.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--aqua-600);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.3s ease;
}
.service-card:hover .service-card-more { gap: 0.75rem; }

/* ── Warum Nordpool ──────────────────────────────────────── */
.warum {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .warum {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

.warum-media {
  position: relative;
}
.warum-media-main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.warum-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warum-media-float {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 8px solid var(--warm);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 768px) {
  .warum-media-float { width: 16rem; right: -3rem; }
}
.warum-media-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warum-media-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: var(--gradient-sun);
  box-shadow: var(--shadow-sun);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  animation: float 6s ease-in-out infinite 1s;
  text-align: center;
  color: var(--navy-900);
}
.warum-media-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.warum-media-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.warum-content h2 { margin: 1rem 0 1.5rem; }
.warum-content > p {
  font-size: 1.125rem;
  color: var(--navy-600);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.warum-list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.warum-item {
  display: flex;
  gap: 1rem;
}

.warum-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-aqua);
  flex-shrink: 0;
}

.warum-item h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.warum-item p {
  color: var(--navy-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Prozess (dark) ──────────────────────────────────────── */
.prozess {
  position: relative;
  overflow: hidden;
}
.prozess::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: rgba(42, 175, 209, 0.1);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}
.prozess::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: rgba(228, 159, 31, 0.1);
  border-radius: 9999px;
  filter: blur(120px);
  pointer-events: none;
}

.prozess-inner {
  position: relative;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .prozess-inner {
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }
}

.prozess-left h2 {
  color: var(--white);
  margin: 1rem 0 1.5rem;
}

.prozess-left > p {
  color: var(--navy-200);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .prozess-left {
    position: sticky;
    top: 8rem;
  }
}

.prozess-steps {
  display: grid;
  gap: 1.5rem;
}

.prozess-step {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.5s ease;
}
.prozess-step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.prozess-step-nr {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  background: var(--gradient-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  opacity: 0.9;
  line-height: 1;
}

.prozess-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.prozess-step p {
  color: var(--navy-200);
  line-height: 1.6;
}

/* ── Referenzen Grid ─────────────────────────────────────── */
.ref-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .ref-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.ref-header h2 { margin-top: 1rem; }

.ref-header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: color 0.2s ease;
}
.ref-header-link:hover { color: var(--aqua-600); }

.ref-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ref-grid { grid-template-columns: repeat(4, 1fr); }
}
.ref-grid-large {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ref-grid-large { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .ref-grid-large { grid-template-columns: repeat(3, 1fr); } }

.ref-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s ease;
  display: block;
}
.ref-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}
.ref-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.ref-card:hover img { transform: scale(1.1); }

.ref-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 45, 0.95), rgba(13, 31, 45, 0.3) 50%, transparent);
}

.ref-card-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-800);
  z-index: 2;
}

.ref-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  z-index: 2;
  transform: translateY(0.5rem);
  transition: transform 0.5s ease;
}
.ref-card:hover .ref-card-caption { transform: translateY(0); }

.ref-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--aqua-300);
  margin-bottom: 0.5rem;
}

.ref-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.ref-card-underline {
  height: 1px;
  width: 0;
  background: var(--sun-400);
  margin-top: 0.75rem;
  transition: width 0.5s ease;
}
.ref-card:hover .ref-card-underline { width: 3rem; }

/* Card ist klickbar */
.ref-card[data-ref] { cursor: pointer; }
.ref-card[data-ref]:focus-visible {
  outline: 2px solid var(--aqua-400);
  outline-offset: 3px;
}

/* Foto-Count-Badge oben links */
.ref-card-count {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-800);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ref-card-count::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--aqua-500);
  box-shadow: 0 0 0 3px rgba(79, 195, 224, 0.25);
}

/* (Featured-Wide-Override entfernt — alle Ref-Karten sind jetzt gleich groß) */

/* ── Lightbox Gallery ────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(6, 15, 23, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lb.is-visible { opacity: 1; }

/* Header: Titel + Counter + Close */
.lb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}
.lb-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.lb-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-300);
}
.lb-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.lb-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.lb-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
.lb-close svg { width: 1.1rem; height: 1.1rem; }

/* Main Stage */
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4.5rem;
  min-height: 0;
  overflow: hidden;
}
.lb-main {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.lb-main.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Prev / Next Buttons */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lb-nav.is-prev { left: 1rem; }
.lb-nav.is-next { right: 1rem; }
.lb-nav:hover.is-prev { transform: translateY(-50%) translateX(-3px); }
.lb-nav:hover.is-next { transform: translateY(-50%) translateX(3px); }
.lb-nav svg { width: 1.3rem; height: 1.3rem; }
.lb-nav:disabled { opacity: 0.25; cursor: not-allowed; }

/* Thumbnail Strip */
.lb-thumbs {
  padding: 0.9rem 1.25rem 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.lb-thumbs-inner {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  min-width: min-content;
}
.lb-thumbs::-webkit-scrollbar { height: 6px; }
.lb-thumbs::-webkit-scrollbar-track { background: transparent; }
.lb-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.lb-thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-thumb:hover {
  opacity: 0.9;
  transform: scale(1.04);
}
.lb-thumb.is-active {
  opacity: 1;
  border-color: var(--aqua-400);
  box-shadow: 0 0 0 3px rgba(79, 195, 224, 0.25), 0 8px 20px -6px rgba(79, 195, 224, 0.5);
}

@media (max-width: 640px) {
  .lb-stage { padding: 0 0.5rem; }
  .lb-nav { width: 2.5rem; height: 2.5rem; }
  .lb-nav.is-prev { left: 0.25rem; }
  .lb-nav.is-next { right: 0.25rem; }
  .lb-title { font-size: 1.05rem; }
  .lb-head { padding: 1rem; }
  .lb-thumb { width: 3.5rem; height: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lb, .lb-main { transition: opacity 0.3s ease; }
  .lb-close:hover, .lb-nav:hover.is-prev, .lb-nav:hover.is-next { transform: translateY(-50%); }
  .lb-main { transform: none; }
}

/* ── Testimonials ────────────────────────────────────────── */
.testi-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}
.testi-head h2 { margin: 1rem 0 1.5rem; }
.testi-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-600);
  font-weight: 500;
}
.testi-rating .stars {
  display: flex;
  gap: 0.25rem;
  color: var(--sun-400);
}

.testi-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}

.testi-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testi-card .testi-author {
  margin-top: auto;
}
.testi-card svg.quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--aqua-100);
}
.testi-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--sun-400);
  margin-bottom: 1.25rem;
}
.testi-card blockquote {
  color: var(--navy-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(13, 31, 45, 0.05);
}
.testi-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testi-name {
  font-weight: 600;
  color: var(--navy-800);
}
.testi-place {
  font-size: 0.75rem;
  color: var(--navy-500);
}
.testi-place .hy {
  display: inline-block;
  transform: translateY(-1px);
}

/* ── Cover / Abdeckung Varianten ───────────────────────── */
.cover-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
}
.cover-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cover-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(13, 31, 45, 0.12));
}
.cover-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cover-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cover-card:hover .cover-card-img img {
  transform: scale(1.04);
}
.cover-card-body {
  padding: 1.75rem 2rem 2rem;
}
.cover-card-body h3 {
  margin: 0 0 0.75rem;
  color: var(--navy-800);
  font-size: 1.25rem;
}
.cover-card-body p {
  color: var(--navy-600);
  line-height: 1.65;
  margin: 0;
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 6rem 0 7rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}
@media (min-width: 768px) { .cta-band { padding: 8rem 0 9rem; } }

.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Bild fadet zum unteren Rand hin ins Navy aus, damit es in die Wellen reinläuft */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 92%);
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 31, 45, 0.9) 0%, rgba(13, 31, 45, 0.65) 45%, rgba(13, 31, 45, 0.3) 78%, rgba(13, 31, 45, 0.08) 100%);
}
.cta-band-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(228, 159, 31, 0.2);
  border-radius: 9999px;
  filter: blur(140px);
  z-index: 1;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  margin: 1.5rem 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.cta-band p {
  color: var(--navy-100);
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 auto 2.5rem;
  max-width: 42rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}
.cta-band-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.cta-band-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cta-band-phone:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--navy-900);
  color: var(--navy-100);
}

.footer-waves {
  display: none;
}

.footer-cta {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-cta { padding: 5rem 0; } }
.footer-cta-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-cta-inner { grid-template-columns: repeat(2, 1fr); }
}
.footer-cta h2 {
  color: var(--white);
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3rem);
}
.footer-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (min-width: 768px) { .footer-cta-buttons { justify-content: flex-end; } }

.footer-main {
  position: relative;
  padding: 5rem 0 4rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding: 6rem 0 4.5rem;
  }
}
@media (min-width: 1280px) {
  .footer-main { gap: 3.25rem; }
}

.footer-logo-box {
  display: block;
  width: fit-content;
  padding: 0;
  background: transparent;
  border-radius: 0;
  margin: 0 auto 1.75rem;
  box-shadow: none;
}
.footer-logo-box img {
  height: 4.75rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}
.footer-logo-box:hover img { opacity: 1; }

.footer-main > div:first-child { text-align: center; }
.footer-about {
  color: var(--navy-200);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 22rem;
  margin: 0 auto;
}
.footer-main > div:first-child .footer-socials { justify-content: center; }

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.footer-socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.footer-socials a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #833AB4 0%, #E1306C 45%, #F77737 80%, #FCAF45 100%);
  border-color: transparent;
}
.footer-socials a.wa:hover { background: #25D366; border-color: #25D366; }
.footer-socials a.tel:hover { background: var(--sun-400); border-color: var(--sun-400); color: var(--navy-800); }
.footer-socials a.mail:hover { background: var(--aqua-400); border-color: var(--aqua-400); }

.footer-col h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}
.footer-col ul { display: grid; gap: 0.95rem; }
.footer-col a {
  color: var(--navy-200);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--aqua-300);
  transform: translateX(2px);
}

.footer-contact ul { gap: 1.1rem; }
.footer-contact li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  line-height: 1.45;
}
.footer-contact li svg {
  color: var(--aqua-400);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-contact li a { line-height: 1.45; }
.footer-contact li a:hover { transform: none; }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--navy-300);
  letter-spacing: 0.01em;
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; }
}
.footer-bottom-links { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { color: var(--navy-300); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--aqua-300); }

/* ── Service Page ────────────────────────────────────────── */
.service-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
}
.service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 45, 0.95), rgba(13, 31, 45, 0.6) 50%, rgba(13, 31, 45, 0.4));
}
.service-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}
.service-hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 1.5rem 0;
  color: var(--white);
}
.service-hero p {
  font-size: 1.25rem;
  color: var(--navy-100);
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-intro p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--navy-800);
  margin-top: 1.5rem;
  max-width: 48rem;
}

.highlights-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .highlights-grid { grid-template-columns: repeat(3, 1fr); } }

.highlight {
  padding: 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
}
.highlight-nr {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-aqua);
  margin-bottom: 1.25rem;
}
.highlight h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.highlight p {
  color: var(--navy-600);
  line-height: 1.6;
}

.features-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .features-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: start;
  }
}
.features-head h2 {
  color: var(--white);
  margin: 1rem 0 1.5rem;
}
.features-head > p {
  color: var(--navy-200);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.features-list {
  display: grid;
  gap: 0.75rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}
.feature-item:hover { background: rgba(255, 255, 255, 0.07); }
.feature-item-check {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(42, 175, 209, 0.2);
  color: var(--aqua-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.feature-item span { color: var(--navy-100); }

.faq-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .faq-inner { grid-template-columns: 1fr 1.5fr; gap: 5rem; }
}
.faq-head h2 { margin: 1rem 0 1.5rem; }
.faq-head p {
  color: var(--navy-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--aqua-50);
  color: var(--aqua-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 1rem;
  color: var(--navy-600);
  line-height: 1.6;
}

/* ── Wizard ──────────────────────────────────────────────── */
.wizard-page {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: linear-gradient(180deg, var(--warm) 0%, var(--sand-50) 100%);
}

.wizard-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}
.wizard-intro h1 { margin: 1rem 0 1.25rem; }
.wizard-intro p {
  font-size: 1.125rem;
  color: var(--navy-600);
  line-height: 1.6;
}

.wizard {
  max-width: 44rem;
  margin: 0 auto;
}

.wizard-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
}

.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.wizard-step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid rgba(13, 31, 45, 0.1);
  color: var(--navy-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.4s ease;
}

.wizard-step-indicator.active .wizard-step-circle {
  background: var(--gradient-aqua);
  color: var(--white);
  box-shadow: var(--shadow-aqua);
  border: none;
  transform: scale(1.1);
}
.wizard-step-indicator.done .wizard-step-circle {
  background: var(--gradient-aqua);
  color: var(--white);
  box-shadow: var(--shadow-aqua);
  border: none;
}
.wizard-step-indicator.done .wizard-step-circle::after {
  content: '✓';
}
.wizard-step-indicator.done .wizard-step-circle span { display: none; }

.wizard-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy-400);
}
.wizard-step-indicator.active .wizard-step-label { color: var(--navy-800); }

.wizard-progress-line {
  flex: 1;
  height: 2px;
  margin: 1.25rem 0.75rem 0;
  background: rgba(13, 31, 45, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.wizard-progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: var(--gradient-aqua);
  transition: width 0.5s ease;
}
.wizard-progress-line.filled::after { width: 100%; }

.wizard-card {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  padding: 2rem;
}
@media (min-width: 768px) { .wizard-card { padding: 2.5rem; } }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.4s ease-out; }

.wizard-step h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.5rem;
}
.wizard-step > p {
  color: var(--navy-500);
  margin-bottom: 2rem;
}

.wizard-options {
  display: grid;
  gap: 0.75rem;
}
.wizard-options-cols-2 { grid-template-columns: 1fr; }
.wizard-options-cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .wizard-options-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .wizard-options-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.wizard-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.wizard-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-option-box {
  padding: 1.25rem;
  border: 2px solid rgba(13, 31, 45, 0.1);
  border-radius: 1rem;
  transition: all 0.2s ease;
  text-align: center;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.wizard-option:hover .wizard-option-box { border-color: var(--aqua-200); }
.wizard-option input:checked + .wizard-option-box {
  border-color: var(--aqua-400);
  background: var(--aqua-50);
}

.wizard-option-large {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border: 2px solid rgba(13, 31, 45, 0.1);
  border-radius: 1rem;
  transition: all 0.2s ease;
  text-align: left;
}
.wizard-option:hover .wizard-option-large { border-color: var(--aqua-200); }
.wizard-option input:checked + .wizard-option-large {
  border-color: var(--aqua-400);
  background: var(--aqua-50);
}
.wizard-option-large .dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(13, 31, 45, 0.2);
  flex-shrink: 0;
}
.wizard-option input:checked + .wizard-option-large .dot {
  border-color: var(--aqua-500);
  background: var(--aqua-500);
}

.wizard-field {
  margin-bottom: 1.25rem;
}
.wizard-field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.wizard-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-600);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.wizard-input, .wizard-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(13, 31, 45, 0.1);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--navy-800);
  transition: all 0.2s ease;
}
.wizard-input:focus, .wizard-textarea:focus {
  outline: none;
  border-color: var(--aqua-400);
  box-shadow: 0 0 0 3px var(--aqua-100);
}
.wizard-textarea { resize: vertical; min-height: 6rem; }

.wizard-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.wizard-check {
  position: relative;
  display: block;
  cursor: pointer;
}
.wizard-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-check-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(13, 31, 45, 0.1);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--navy-800);
  transition: all 0.2s ease;
}
.wizard-check:hover .wizard-check-pill { border-color: var(--aqua-300); }
.wizard-check input:checked + .wizard-check-pill {
  border-color: var(--aqua-500);
  background: var(--aqua-500);
  color: var(--white);
}

.wizard-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--navy-600);
  line-height: 1.5;
}
.wizard-privacy input {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--aqua-500);
  flex-shrink: 0;
}
.wizard-privacy a { color: var(--aqua-600); text-decoration: underline; }

.wizard-error {
  font-size: 0.75rem;
  color: #DC2626;
  margin-top: 0.375rem;
}

.wizard-error-box {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  font-size: 0.875rem;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 31, 45, 0.05);
}

.wizard-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 32rem;
  margin: 0 auto;
}
.wizard-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-aqua);
  font-size: 1.75rem;
}
.wizard-success h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
.wizard-success p {
  color: var(--navy-600);
  line-height: 1.6;
}

/* ── Ueber uns Page ──────────────────────────────────────── */
.ueber-hero {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .ueber-hero { grid-template-columns: 1fr 1fr; } }
.ueber-hero h1 { margin: 1rem 0 1.5rem; }
.ueber-hero > div > p {
  font-size: 1.125rem;
  color: var(--navy-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ueber-hero-media {
  position: relative;
}
.ueber-hero-main {
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.ueber-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ueber-hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-strong);
  max-width: 15rem;
}
.ueber-hero-badge strong {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  background: var(--gradient-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.ueber-hero-badge span {
  font-size: 0.875rem;
  color: var(--navy-600);
  display: block;
  margin-top: 0.25rem;
}

.werte-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .werte-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Handwerk & Technik Block (Über Uns) ─────────────────── */
.handwerk-block {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .handwerk-block {
    grid-template-columns: 5fr 6fr;
    gap: 4rem;
  }
}

.handwerk-media {
  position: relative;
}
.handwerk-image {
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}
.handwerk-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(13, 31, 45, 0.25) 100%);
  pointer-events: none;
}
.handwerk-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.handwerk-media:hover .handwerk-image img {
  transform: scale(1.04);
}

.handwerk-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.25rem 0.9rem 1rem;
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow:
    0 20px 50px -15px rgba(13, 31, 45, 0.35),
    0 2px 6px -2px rgba(13, 31, 45, 0.1);
  z-index: 2;
}
.handwerk-badge svg {
  color: var(--aqua-600);
  flex-shrink: 0;
}
.handwerk-badge strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-800);
  display: block;
  line-height: 1;
}
.handwerk-badge span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-500);
  display: block;
  margin-top: 0.2rem;
}

.handwerk-block h2 { margin: 1rem 0 1.25rem; }
.handwerk-block .text-xl {
  color: var(--navy-600);
  margin-bottom: 1rem;
}
.handwerk-block > div > p:not(.text-xl) {
  color: var(--navy-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.handwerk-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.handwerk-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  border: 1px solid rgba(79, 195, 224, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.handwerk-feature:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(79, 195, 224, 0.35);
  transform: translateX(4px);
}
.handwerk-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-aqua);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-aqua);
}
.handwerk-feature strong {
  font-weight: 700;
  color: var(--navy-800);
  display: block;
  margin-bottom: 0.2rem;
}
.handwerk-feature span {
  font-size: 0.9rem;
  color: var(--navy-600);
  line-height: 1.5;
  display: block;
}

.werte-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  display: flex;
  gap: 1.25rem;
}
.werte-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-aqua);
  flex-shrink: 0;
}
.werte-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.werte-card p {
  color: var(--navy-600);
  line-height: 1.6;
}

.tino-quote {
  position: relative;
}
.tino-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 1.5rem 0 2rem;
  max-width: 48rem;
}
.tino-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tino-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}
.tino-author-name { color: var(--white); font-weight: 600; }
.tino-author-role { color: var(--navy-300); font-size: 0.875rem; }

/* ── Aktuelles Placeholder ───────────────────────────────── */
.aktuelles-card {
  padding: 3rem;
  text-align: center;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .aktuelles-card { padding: 4rem; } }
.aktuelles-card-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: var(--gradient-aqua);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-aqua);
}
.aktuelles-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}
.aktuelles-card p {
  color: var(--navy-600);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ── Post Grid (Aktuelles / Blog) ────────────────────────── */
.post-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  /* Erster Post ist automatisch Featured, zusätzlich kann .post-card-wide genutzt werden */
  .post-grid > .post-card:first-child,
  .post-grid > .post-card.post-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 5fr 6fr;
  }
  .post-grid > .post-card:first-child .post-card-image,
  .post-grid > .post-card.post-card-wide .post-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 22rem;
  }
  .post-grid > .post-card:first-child .post-card-body,
  .post-grid > .post-card.post-card-wide .post-card-body { padding: 2.5rem; }
  .post-grid > .post-card:first-child .post-card-title,
  .post-grid > .post-card.post-card-wide .post-card-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
  }
}

.post-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13, 31, 45, 0.04);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.post-card-image {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--aqua-50);
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-400);
}
.post-card-category {
  color: var(--aqua-700);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(79, 195, 224, 0.1);
  border: 1px solid rgba(79, 195, 224, 0.22);
}
.post-card-meta time {
  font-weight: 500;
  letter-spacing: 0.1em;
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
  margin-bottom: 0.85rem;
}

.post-card-body p {
  color: var(--navy-600);
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--aqua-700);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.post-card-link svg {
  transition: transform 0.3s ease;
}
.post-card-link:hover {
  border-bottom-color: var(--aqua-400);
  gap: 0.6rem;
}
.post-card-link:hover svg {
  transform: translateX(3px);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Reveal on Scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scrollbar ───────────────────────────────────────────── */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--warm); }
  ::-webkit-scrollbar-thumb {
    background: var(--gradient-aqua);
    border-radius: 5px;
    border: 2px solid var(--warm);
  }
}

/* ── Legal Pages (Impressum, Datenschutz, AGB) ───────────── */
.legal {
  padding-top: 10rem;
  padding-bottom: var(--section-py);
  background: var(--warm);
}
.legal-inner {
  max-width: 48rem;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 1rem 0 2.5rem;
}
.legal h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy-800);
}
.legal h3 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy-700);
}
.legal p {
  color: var(--navy-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal a {
  color: var(--aqua-600);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.legal a:hover { color: var(--aqua-700); }
.legal ul {
  color: var(--navy-700);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal ul li { margin-bottom: 0.25rem; }
.legal strong { color: var(--navy-800); font-weight: 600; }
.legal address {
  font-style: normal;
  line-height: 1.7;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid rgba(13, 31, 45, 0.06);
  margin: 1rem 0 2rem;
}

/* ── Utilities ───────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Cookie Consent ──────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  max-width: 28rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 70px -20px rgba(13, 31, 45, 0.45),
    0 2px 6px -2px rgba(13, 31, 45, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(130%) scale(0.96);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}
.cookie-consent.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cookie-consent.is-hiding {
  transform: translateY(130%) scale(0.96);
  opacity: 0;
}

/* dekorativer Aqua-Glow oben */
.cookie-consent::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(79, 195, 224, 0.35) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.cookie-consent > * { position: relative; z-index: 1; }

.cookie-consent-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cookie-consent-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--gradient-aqua);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-aqua);
  animation: cookie-wiggle 3s ease-in-out 0.8s infinite;
}
.cookie-consent-icon svg { width: 1.5rem; height: 1.5rem; }
.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy-800);
}
.cookie-consent-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--navy-700);
  margin-bottom: 1.1rem;
}
.cookie-consent-text a {
  color: var(--aqua-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-text a:hover { color: var(--aqua-600); }

.cookie-consent-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.cookie-consent-actions button {
  flex: 1 1 auto;
  padding: 0.75rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--gradient-aqua);
  color: #fff;
  box-shadow: var(--shadow-aqua);
}
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -12px rgba(79, 195, 224, 0.75);
}
.cookie-btn-decline {
  background: rgba(13, 31, 45, 0.06);
  color: var(--navy-700);
  border: 1px solid rgba(13, 31, 45, 0.08);
}
.cookie-btn-decline:hover {
  background: rgba(13, 31, 45, 0.1);
  transform: translateY(-2px);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--navy-700);
  border: 1px solid rgba(13, 31, 45, 0.16);
}
.cookie-btn-settings:hover {
  background: rgba(13, 31, 45, 0.05);
  transform: translateY(-2px);
}

/* ── Cookie-Einstellungen (granularer Consent-Manager) ───── */
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(13, 31, 45, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cookie-settings.is-visible { opacity: 1; }
.cookie-settings-card {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 40px 100px -20px rgba(13, 31, 45, 0.55);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease;
}
.cookie-settings.is-visible .cookie-settings-card {
  transform: none;
  opacity: 1;
}
.cookie-settings-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(13, 31, 45, 0.06);
  display: grid;
  place-items: center;
  color: var(--navy-700);
  transition: background 0.25s ease, transform 0.25s ease;
}
.cookie-settings-close:hover { background: rgba(13, 31, 45, 0.12); transform: rotate(90deg); }
.cookie-settings-close svg { width: 1.1rem; height: 1.1rem; }
.cookie-settings-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy-800);
  margin-bottom: 0.6rem;
}
.cookie-settings-intro {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--navy-700);
  margin-bottom: 1.25rem;
}
.cookie-cat {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(79, 195, 224, 0.05);
  border: 1px solid rgba(79, 195, 224, 0.16);
  margin-bottom: 0.75rem;
}
.cookie-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat-name { font-weight: 700; color: var(--navy-800); font-size: 0.98rem; }
.cookie-cat-desc { font-size: 0.82rem; line-height: 1.5; color: var(--navy-600); margin-top: 0.25rem; }
.cookie-toggle {
  flex-shrink: 0;
  width: 3rem;
  height: 1.7rem;
  border-radius: 9999px;
  background: rgba(13, 31, 45, 0.18);
  position: relative;
  transition: background 0.25s ease;
  margin-top: 0.1rem;
}
.cookie-toggle.is-on { background: var(--gradient-aqua); }
.cookie-toggle.is-locked { background: var(--gradient-aqua); opacity: 0.55; cursor: not-allowed; }
.cookie-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(13, 31, 45, 0.3);
  transition: transform 0.25s ease;
}
.cookie-toggle.is-on .cookie-toggle-knob,
.cookie-toggle.is-locked .cookie-toggle-knob { transform: translateX(1.3rem); }
.cookie-settings-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.cookie-settings-actions button {
  flex: 1 1 auto;
  padding: 0.75rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

@keyframes cookie-wiggle {
  0%, 92%, 100% { transform: rotate(0deg); }
  94% { transform: rotate(-12deg); }
  96% { transform: rotate(10deg); }
  98% { transform: rotate(-6deg); }
}

@media (max-width: 480px) {
  .cookie-consent { padding: 1.25rem; border-radius: 1.25rem; }
  .cookie-consent-title { font-size: 1.15rem; }
  .cookie-consent-actions button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity 0.3s ease; transform: none; }
  .cookie-consent.is-hiding { transform: none; }
  .cookie-consent-icon { animation: none; }
}

/* ── Scroll Progress Bar ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--aqua-400) 0%, var(--aqua-600) 50%, var(--sun-400) 100%);
  box-shadow: 0 0 12px rgba(79, 195, 224, 0.6);
  transition: width 0.08s linear;
}

/* ── Service Cards Polish ────────────────────────────────── */
.service-card .service-card-image {
  overflow: hidden;
}
.service-card .service-card-image img {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
.service-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(13, 31, 45, 0.35);
}
.service-card:hover .service-card-image img {
  transform: scale(1.08);
  filter: saturate(115%);
}

/* Reduced Motion — alle „Pfiff" Animationen aus */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-line { opacity: 1; transform: none; animation: none; }
  .service-card .service-card-image img { transition: none; }
  .scroll-progress-bar { transition: none; }
}

/* ── Credits Line (Footer ganz unten) ────────────────────── */
.footer-credits {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credits-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  transition: color 0.3s ease, background 0.3s ease;
}
.footer-credits-link:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}
.footer-credits-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(120deg, var(--aqua-400) 0%, var(--aqua-300) 50%, var(--sun-400) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  transition: filter 0.3s ease;
}
.footer-credits-link:hover .footer-credits-brand {
  filter: brightness(1.15) saturate(1.15);
}

/* ── EVERSPICE Modal ─────────────────────────────────────── */
.es-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(13, 31, 45, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.es-modal.is-visible { opacity: 1; }

.es-modal-card {
  position: relative;
  max-width: 34rem;
  width: 100%;
  padding: 2.75rem 2.25rem 2rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 40px 100px -20px rgba(13, 31, 45, 0.55),
    0 6px 24px -8px rgba(79, 195, 224, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transform: translateY(30px) scale(0.94);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.5s ease;
}
.es-modal.is-visible .es-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Aqua-Glow oben rechts — Marken-Akzent */
.es-modal-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(79, 195, 224, 0.45) 0%, rgba(244, 185, 66, 0.18) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.es-modal-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 240px;
  height: 240px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.22) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.es-modal-card > * { position: relative; z-index: 1; }

.es-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(13, 31, 45, 0.06);
  display: grid;
  place-items: center;
  color: var(--navy-700);
  z-index: 2;
  transition: background 0.25s ease, transform 0.25s ease;
}
.es-modal-close:hover {
  background: rgba(13, 31, 45, 0.12);
  transform: rotate(90deg);
}
.es-modal-close svg { width: 1.1rem; height: 1.1rem; }

.es-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-700);
  margin-bottom: 1rem;
}
.es-modal-eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua-400), var(--sun-400));
  border-radius: 2px;
}

.es-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: 1.1rem;
}
.es-modal-title .es-spice {
  background: linear-gradient(120deg, var(--aqua-400) 0%, var(--aqua-300) 45%, var(--sun-400) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-style: italic;
}

.es-modal-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-700);
  margin-bottom: 0.85rem;
}
.es-modal-question {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy-800);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

/* Divider mit Label in der Mitte */
.es-modal-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.75rem;
}
.es-modal-divider::before,
.es-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 31, 45, 0.18));
}
.es-modal-divider::after {
  background: linear-gradient(90deg, rgba(13, 31, 45, 0.18), transparent);
}
.es-modal-divider-label {
  padding: 0 0.9rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 31, 45, 0.4);
  white-space: nowrap;
}

.es-modal-reveal {
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Echtes EVERSPICE-Logo (weiß) auf dunklem Marken-Chip */
.es-modal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 1rem;
  background: #0e0e0e;
  box-shadow:
    0 14px 34px -12px rgba(13, 31, 45, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 0.85rem;
}
.es-modal-logo img {
  height: 1.9rem;
  width: auto;
  display: block;
}
.es-modal-reveal .es-modal-brand-sub {
  text-align: center;
  margin: 0 0 1.35rem;
}

/* Brand: Logomark + Name nebeneinander */
.es-modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.es-modal-logomark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua-400) 0%, var(--aqua-600) 60%, var(--sun-500) 130%);
  box-shadow:
    var(--shadow-aqua),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  letter-spacing: -0.02em;
}
.es-modal-brand-text {
  text-align: left;
  line-height: 1;
}
.es-modal-brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(120deg, var(--aqua-400) 0%, var(--aqua-300) 50%, var(--sun-400) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}
.es-modal-brand-sub {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 31, 45, 0.45);
}

/* Service-Grid: 3 Mini-Cards */
.es-modal-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.es-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 1rem;
  background: rgba(79, 195, 224, 0.06);
  border: 1px solid rgba(79, 195, 224, 0.18);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.es-service:hover {
  background: rgba(79, 195, 224, 0.12);
  border-color: rgba(79, 195, 224, 0.35);
  transform: translateY(-2px);
}
.es-service svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--aqua-600);
}
.es-service span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.es-modal-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--navy-700);
  max-width: 27rem;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .es-modal-brand { gap: 0.65rem; }
  .es-modal-logomark { width: 2.5rem; height: 2.5rem; font-size: 1.3rem; }
  .es-modal-brand-name { font-size: 1.4rem; }
  .es-service { padding: 0.85rem 0.3rem; }
}

.es-modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.es-modal-actions > * {
  flex: 1 1 auto;
  text-align: center;
}
.es-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--gradient-aqua);
  color: #fff;
  box-shadow: var(--shadow-aqua), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.es-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 50px -12px rgba(79, 195, 224, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.es-btn-primary svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}
.es-btn-primary:hover svg { transform: translateX(3px); }

.es-btn-ghost {
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(13, 31, 45, 0.05);
  color: var(--navy-700);
  border: 1px solid rgba(13, 31, 45, 0.08);
  cursor: pointer;
  transition: background 0.25s ease;
}
.es-btn-ghost:hover { background: rgba(13, 31, 45, 0.09); }

.es-modal-footer {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 31, 45, 0.4);
  text-align: center;
}

@media (max-width: 480px) {
  .es-modal-card { padding: 2rem 1.5rem 1.5rem; border-radius: 1.5rem; }
  .es-modal-actions > * { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .es-modal, .es-modal-card { transition: opacity 0.3s ease; transform: none; }
  .es-modal-close:hover { transform: none; }
}

/* ── Before/After Slider ─────────────────────────────────── */
.ba-slider {
  max-width: 48rem;
  margin: 0 auto;
}
.ba {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(13, 31, 45, 0.35);
  user-select: none;
  touch-action: pan-y;
  background: var(--navy-800);
}
@media (min-width: 768px) {
  .ba { aspect-ratio: 4 / 5; }
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
}
.ba-label {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 9999px;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(13, 31, 45, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 3;
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 12px rgba(13, 31, 45, 0.35);
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 31, 45, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  border: none;
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════
   CHAT-ASSISTENT (Floating-Widget)
   ═══════════════════════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 9500;
  font-family: var(--font-sans);
}

/* ── FAB-Button ───────────────────────────────────────── */
.chat-fab {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-aqua);
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-aqua);
  display: grid;
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: chat-fab-pulse 2.4s ease-in-out infinite;
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab:active { transform: scale(0.96); }
.chat-fab svg { position: absolute; transition: opacity .2s ease, transform .2s ease; }
.chat-fab .chat-fab-icon-close { opacity: 0; transform: rotate(-45deg); }
.chat-fab.active { animation: none; }
.chat-fab.active .chat-fab-icon-chat  { opacity: 0; transform: rotate(45deg); }
.chat-fab.active .chat-fab-icon-close { opacity: 1; transform: rotate(0); }

@keyframes chat-fab-pulse {
  0%, 100% { box-shadow: var(--shadow-aqua), 0 0 0 0 rgba(79, 195, 224, 0.5); }
  50%      { box-shadow: var(--shadow-aqua), 0 0 0 14px rgba(79, 195, 224, 0); }
}

.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--sun-500);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.chat-fab.active .chat-fab-badge { display: none; }

/* ── Panel ────────────────────────────────────────────── */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(380px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 120px));
  background: var(--warm);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  border: 1px solid rgba(13, 31, 45, 0.06);
}
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Kopfzeile ────────────────────────────────────────── */
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  color: white;
  flex-shrink: 0;
}
.chat-head-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.chat-head-avatar img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}
.chat-head-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--aqua-200);
  margin-top: 3px;
}
.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: chat-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes chat-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.chat-head-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.chat-head-close:hover { background: rgba(255,255,255,0.2); }

/* ── Body (Nachrichten) ───────────────────────────────── */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 195, 224, 0.08), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(244, 185, 66, 0.06), transparent 40%),
    var(--warm);
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb {
  background: var(--navy-200);
  border-radius: 3px;
}

/* ── Nachrichten-Blasen ───────────────────────────────── */
.chat-msg {
  display: flex;
  max-width: 85%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.chat-msg.chat-msg-in {
  opacity: 1;
  transform: translateY(0);
}
.chat-msg-bot  { align-self: flex-start; }
.chat-msg-user { align-self: flex-end; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-line;
}
.chat-msg-bot .chat-bubble {
  background: white;
  color: var(--navy-800);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-soft);
}
.chat-msg-user .chat-bubble {
  background: var(--gradient-aqua);
  color: white;
  border-bottom-right-radius: 4px;
}

/* ── Tipp-Animation ───────────────────────────────────── */
.chat-typing .chat-bubble {
  padding: 14px 16px;
  display: inline-flex;
  gap: 4px;
}
.chat-typing .chat-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-300);
  animation: chat-typing 1.2s ease-in-out infinite;
}
.chat-typing .chat-bubble span:nth-child(2) { animation-delay: .15s; }
.chat-typing .chat-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-typing {
  0%, 60%, 100% { transform: translateY(0);   opacity: .4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

/* ── Auswahl-Buttons ──────────────────────────────────── */
.chat-choices {
  align-self: stretch;
  margin-top: 4px;
  animation: chat-choices-in .3s ease both;
}
@keyframes chat-choices-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-choices-prompt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-500);
  margin-bottom: 8px;
  padding-left: 4px;
}
.chat-choices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chat-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: white;
  border: 1.5px solid var(--navy-100);
  color: var(--navy-800);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all .18s ease;
  font-family: inherit;
}
.chat-choice:hover {
  border-color: var(--aqua-400);
  background: var(--aqua-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(79, 195, 224, 0.3);
}
.chat-choice-emoji {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.chat-choice-label { flex: 1; }

/* Multi-Select (Extras) */
.chat-choice-multi {
  position: relative;
  padding-right: 32px;
}
.chat-choice-check {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--aqua-500);
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform .18s ease;
}
.chat-choice-multi.picked {
  border-color: var(--aqua-500);
  background: var(--aqua-50);
}
.chat-choice-multi.picked .chat-choice-check {
  transform: translateY(-50%) scale(1);
}

.chat-choices-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.chat-action-primary,
.chat-action-secondary {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s ease;
  border: 1.5px solid transparent;
}
.chat-action-primary {
  background: var(--navy-100);
  color: var(--navy-500);
}
.chat-action-primary.is-ready {
  background: var(--gradient-aqua);
  color: white;
}
.chat-action-primary.is-ready:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-aqua);
}
.chat-action-secondary {
  background: transparent;
  color: var(--navy-500);
  border-color: var(--navy-100);
}
.chat-action-secondary:hover {
  background: var(--navy-50);
  color: var(--navy-700);
}

/* ── Kontakt-Formular ─────────────────────────────────── */
.chat-form {
  align-self: stretch;
  background: white;
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: chat-choices-in .3s ease both;
}
.chat-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.chat-field input {
  padding: 10px 12px;
  border: 1.5px solid var(--navy-100);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy-800);
  background: var(--warm);
  transition: border-color .18s ease, background .18s ease;
}
.chat-field input:focus {
  outline: none;
  border-color: var(--aqua-500);
  background: white;
}
.chat-consent {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--navy-600);
  line-height: 1.45;
  align-items: flex-start;
  cursor: pointer;
}
.chat-consent input {
  margin-top: 2px;
  accent-color: var(--aqua-500);
  flex-shrink: 0;
}
.chat-consent a { color: var(--aqua-700); text-decoration: underline; }
.chat-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.chat-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: var(--gradient-sun);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  margin-top: 4px;
}
.chat-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sun);
}
.chat-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.chat-form-error {
  background: #FEE2E2;
  color: #991B1B;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.chat-fallback {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}
.chat-fallback-btn {
  padding: 11px 14px;
  border-radius: 12px;
  background: white;
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease;
}
.chat-fallback-btn:hover { transform: translateY(-1px); }

/* ── Fußzeile ─────────────────────────────────────────── */
.chat-foot {
  padding: 8px 14px;
  font-size: 11px;
  color: var(--navy-500);
  text-align: center;
  background: white;
  border-top: 1px solid var(--navy-100);
  flex-shrink: 0;
}

/* ── Mobile: Vollbild ─────────────────────────────────── */
@media (max-width: 560px) {
  .chat-panel {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  body.chat-open { overflow: hidden; }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .chat-fab { animation: none; }
  .chat-dot { animation: none; }
  .chat-typing .chat-bubble span { animation: none; }
}

