/* ============================================ */
/* L&B CARCARE - DESIGN SYSTEM v2                 */
/* Hell, hochwertig, klar.                        */
/* ============================================ */

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

:root {
  /* Helles Theme */
  --bg: #f8f6f3;          /* Off-white, warm */
  --bg-alt: #ffffff;
  --bg-dark: #0a0a0c;     /* Tiefdunkel für Akzent-Sektionen */
  --bg-dark-alt: #14141a;

  /* Text */
  --text: #14141a;        /* Fast schwarz, weicher als #000 */
  --text-soft: #4a4a52;
  --text-muted: #8a8a92;
  --text-on-dark: #f5f5f7;
  --text-on-dark-soft: #b0b0ba;

  /* Akzent (CI-Rot vom Logo) */
  --accent: #d92128;
  --accent-bright: #ef2a32;
  --accent-dark: #a8181e;
  --accent-soft: rgba(217, 33, 40, 0.06);

  /* Linien & Schatten */
  --border: rgba(20, 20, 26, 0.08);
  --border-strong: rgba(20, 20, 26, 0.14);
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 20, 26, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 20, 26, 0.06);
  --shadow-lg: 0 20px 40px -10px rgba(20, 20, 26, 0.12);
  --shadow-xl: 0 30px 60px -15px rgba(20, 20, 26, 0.18);

  /* Layout */
  --container: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============================================ */
/* NAVIGATION — floating pill                     */
/* ============================================ */

.nav {
  position: fixed;
  top: 18px;
  left: max(24px, calc(50vw - 600px));
  right: max(24px, calc(50vw - 600px));
  z-index: 100;
  padding: 12px 18px 12px 26px;
  background: rgba(16, 5, 8, 0.88);
  border: 1px solid rgba(217, 33, 40, 0.22);
  border-radius: 100px;
  transition: top 0.4s cubic-bezier(0.16,1,0.3,1),
              background 0.3s ease,
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

/* backdrop-filter on ::before avoids creating a containing block for fixed children */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  z-index: -1;
  pointer-events: none;
}

.nav--scrolled {
  top: 12px;
  background: rgba(12, 3, 5, 0.97);
  border-color: rgba(217, 33, 40, 0.32);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-progress { display: none; }

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

.nav-logo {
  display: flex;
  align-items: center;
  height: 34px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

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

.nav-links > li > a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.2s ease;
  letter-spacing: 0.015em;
}

.nav-links > li > a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links > li > a.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 100px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(217, 33, 40, 0.4) !important;
  color: white !important;
}

.nav-cta svg {
  width: 13px;
  height: 13px;
}

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.82);
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Backdrop — created by nav.js */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav {
    top: 14px;
    left: 16px;
    right: 16px;
    padding: 11px 14px 11px 20px;
    border-radius: 18px;
  }

  .nav--scrolled { top: 10px; }

  .nav-logo { height: 30px; }

  /* Slide-in drawer from right */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 300px);
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background: #110406;
    padding: 100px 32px 60px;
    gap: 0;
    transform: translateX(105%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: none;
    border-left: 1px solid rgba(217, 33, 40, 0.18);
  }

  .nav-links.active {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-links > li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.active > li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
  .nav-links.active > li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.16s; }
  .nav-links.active > li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }
  .nav-links.active > li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.28s; }
  .nav-links.active > li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.34s; }

  .nav-links > li > a {
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .nav-links > li:last-child > a {
    border-bottom: none;
  }

  .nav-links > li > a:hover {
    color: white;
    background: none;
    padding-left: 8px;
  }

  .nav-links > li > a.active {
    color: var(--accent);
    font-weight: 700;
  }

  .nav-cta {
    font-size: 0.9rem !important;
    padding: 14px 24px !important;
    margin-top: 28px !important;
    justify-content: center !important;
    border-radius: 100px !important;
    width: 100%;
    display: flex !important;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 201;
    position: relative;
  }
}

/* ============================================ */
/* BUTTONS                                        */
/* ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--text);
  color: white;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 33, 40, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(217, 33, 40, 0.25);
}

.btn-accent:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 33, 40, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background: white;
  color: var(--text);
  border-color: white;
}

.btn svg.arrow {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

.btn:hover svg.arrow {
  transform: translateX(3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1da955;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* ============================================ */
/* SECTIONS                                       */
/* ============================================ */

section {
  position: relative;
}

.section {
  padding: 100px 28px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-dark .eyebrow {
  color: var(--accent-bright);
}

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-on-dark-soft);
}

/* ============================================ */
/* FOOTER                                         */
/* ============================================ */

.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 28px 32px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
  height: 44px;
  margin-bottom: 20px;
}

.footer-logo img { height: 100%; width: auto; }

.footer-text {
  color: var(--text-on-dark-soft);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-on-dark-soft);
  font-size: 14.5px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13.5px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 15px; height: 15px;
  fill: white;
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================ */
/* WHATSAPP FLOAT                                 */
/* ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: white;
}

@media (max-width: 640px) {
  .section { padding: 72px 24px; }
  .section-header { margin-bottom: 40px; }
  .whatsapp-float {
    width: 52px; height: 52px;
    bottom: 18px; right: 18px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 380px) {
  .section { padding: 60px 20px; }
}

/* ============================================ */
/* ANIMATIONS                                     */
/* ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================ */
/* COOKIE BANNER                                  */
/* ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 40px);
  max-width: 680px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  pointer-events: none;
}

.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner--hiding {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  background: rgba(14, 14, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-banner__content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.cookie-banner__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--accent);
}

.cookie-banner__icon svg {
  width: 100%;
  height: 100%;
}

.cookie-banner__title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cookie-banner__text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
}

.cookie-banner__btn--decline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: #ffffff;
}

.cookie-banner__btn--accept:hover {
  background: #b81920;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 33, 40, 0.4);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 24px);
  }
  .cookie-banner__inner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}

/* ============================================ */
/* NAV — mobile contact button                    */
/* ============================================ */

.nav-mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    position: relative;
    z-index: 201;
    flex-shrink: 0;
  }
  .nav-mobile-cta:hover {
    background: var(--accent-bright);
    transform: translateY(-1px);
  }
}

/* ============================================ */
/* PACKAGES — zweite Karte mid-dark               */
/* ============================================ */

.pkg.pkg-mid {
  background: #1a0d0e;
  color: white;
  border-color: #1a0d0e;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.pkg.pkg-mid .pkg-name { color: rgba(255,255,255,0.45); }
.pkg.pkg-mid .pkg-title { color: white; }
.pkg.pkg-mid .pkg-price-prefix { color: rgba(255,255,255,0.45); }
.pkg.pkg-mid .pkg-price-amount { color: var(--accent); }
.pkg.pkg-mid .pkg-price-currency { color: var(--accent); }

.pkg.pkg-mid ul li {
  color: rgba(255,255,255,0.72);
  border-bottom-color: rgba(255,255,255,0.06);
}

.pkg.pkg-mid ul li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d92128' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.pkg.pkg-mid .btn-secondary {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.22);
  background: transparent;
}

.pkg.pkg-mid .btn-secondary:hover {
  background: white;
  color: var(--text);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
