/* ==========================================================================
   AI-Kollektiv Classy & Elegant Design Stylesheet
   ========================================================================== */

/* Design System Theme Variables */
:root[data-theme="dark"] {
  --bg-deep: #121214;               /* Elegant Charcoal Black */
  --bg-card: #1A1A1E;               /* Warm Soft Dark Gray */
  --bg-card-hover: #222226;         /* Subtle Brightening */
  --text-primary: #F3F4F6;          /* Off-white */
  --text-secondary: #9CA3AF;        /* Soft Gray-Slate */
  --accent-cyan: #C5A880;           /* Elegant Brass/Champagne Gold */
  --accent-violet: #E5D5C0;         /* Light Brass Accent */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --grid-color: rgba(255, 255, 255, 0.005);
  --shadow-color: rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] {
  --bg-deep: #FBFBFA;               /* Warm Alabaster Off-white */
  --bg-card: #F4F4F3;               /* Soft Plaster Gray-White */
  --bg-card-hover: #EAEAEA;         /* Soft Gray Accent */
  --text-primary: #18181B;          /* Zinc Black */
  --text-secondary: #52525B;        /* Muted Charcoal */
  --accent-cyan: #B08E67;           /* Classy Dark Brass/Gold */
  --accent-violet: #8C6D4A;         /* Deep Brass */
  --border-subtle: rgba(0, 0, 0, 0.05);
  --grid-color: rgba(0, 0, 0, 0.012);
  --shadow-color: rgba(0, 0, 0, 0.05);
}

/* Fallback default Variables (Dark Theme) */
:root {
  --bg-deep: #121214;
  --bg-card: #1A1A1E;
  --bg-card-hover: #222226;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --accent-cyan: #C5A880;
  --accent-violet: #E5D5C0;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --grid-color: rgba(255, 255, 255, 0.005);
  --shadow-color: rgba(0, 0, 0, 0.4);
  --font-main: 'Inter', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Elegant Tech Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Full Screen Section Layout */
.section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 0;
  z-index: 2;
  border-bottom: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Common Section Typography */
.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 4px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.7;
}

.section-paragraph {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.highlight-text {
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2rem 0;
}

/* Grids */
.grid-2-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6rem;
  align-items: center;
  width: 100%;
}

/* Classy Buttons */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-cyan);
  color: var(--bg-deep) !important;
  border: 1px solid var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  background-color: transparent;
  color: var(--accent-cyan) !important;
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.15);
}

/* Classy Theme Toggle Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 110;
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  background-color: var(--bg-card-hover);
}

/* Theme Icon switching behavior */
:root[data-theme="dark"] .sun-icon { display: block; }
:root[data-theme="dark"] .moon-icon { display: none; }
:root[data-theme="light"] .sun-icon { display: none; }
:root[data-theme="light"] .moon-icon { display: block; }

/* ==========================================================================
   1. Classy Split Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem 0;
  z-index: 2;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.75;
}

.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 
    0 30px 60px var(--shadow-color),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-premium-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Removed futuristic rotating background orbs and glowing colors */
.hero-orb-container {
  display: none;
}

/* Scroll Mouse Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
}

.scroll-mouse {
  width: 20px;
  height: 34px;
  border: 2px solid var(--text-secondary);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouseWheel 1.8s ease-in-out infinite;
}

@keyframes scrollMouseWheel {
  0% {
    opacity: 0;
    top: 4px;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 18px;
  }
}

/* ==========================================================================
   2. Positionierung (Unser Ansatz)
   ========================================================================== */
.pos-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founders-placeholder {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 30px 60px var(--shadow-color);
  transition: var(--transition-smooth);
}

.founders-img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

.founders-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 90%);
  z-index: 3;
}

.founders-overlay-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.founders-overlay-text p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.founders-placeholder:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.founders-placeholder:hover .founders-img {
  transform: scale(1.02);
}

/* ==========================================================================
   3. Das Leistungsspektrum (Services)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.service-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

/* Removed futuristic colorful glowing backgrounds */
.service-card::after {
  display: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  background-color: var(--bg-card-hover);
  box-shadow: 0 20px 45px var(--shadow-color);
}

.service-visual {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.02);
}

.service-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-text {
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   4. Differenzierungsmerkmal (Venture Studio / Bento)
   ========================================================================== */
.differenzierung {
  background: var(--bg-deep);
}

.bento-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  width: 100%;
}

.bento-col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  background-color: var(--bg-card-hover);
}

.bento-card.item-1 {
  grid-column: span 1;
}

.bento-card.item-2 {
  grid-column: span 1;
}

.bento-card.item-3 {
  grid-column: span 2;
  padding: 2.25rem 2.25rem 0 2.25rem;
  overflow: hidden;
}

.bento-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.bento-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-icon {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.bento-icon svg {
  stroke: var(--accent-cyan);
}

.bento-image-wrapper {
  margin-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-img {
  transform: scale(1.02);
}

/* ==========================================================================
   5. Call to Action & Kontakt
   ========================================================================== */
/* ==========================================================================
   5. Call to Action & Kontakt
   ========================================================================== */
.kontakt {
  background: var(--bg-deep);
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: start;
  width: 100%;
}

.kontakt-text {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.direct-contact p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-email {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.contact-email:hover {
  border-bottom-color: var(--accent-cyan);
}

/* Contact Form container */
.kontakt-form-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

/* Interest selection chips */
.interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.chip-label {
  cursor: pointer;
}

.chip-label input[type="checkbox"] {
  display: none;
}

.chip-text {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.chip-label:hover .chip-text {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.chip-label input[type="checkbox"]:checked + .chip-text {
  background-color: rgba(197, 168, 128, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Form submission and state feedbacks */
.form-submit-row {
  margin-top: 1rem;
}

.btn-submit {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--bg-deep);
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-feedback {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
  line-height: 1.4;
}

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

.success-feedback {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.error-feedback {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

/* Client validation styles */
.form-group .error-msg {
  display: none;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 0.25rem;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #EF4444 !important;
}

.form-group.has-error .error-msg {
  display: block;
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-domain {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.impressum-box {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.impressum-box h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.impressum-box p {
  margin-bottom: 0.25rem;
}

.legal-disclaimer {
  margin-top: 2rem !important;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* CSS Scroll-Driven Animations for supported browsers */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .scroll-reveal {
      animation: fadeUp linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 30%;
      opacity: 1;
      transform: none;
    }
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
  .grid-2-col, .bento-layout, .hero-container {
    gap: 4rem;
  }
  .services-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .section, .hero {
    min-height: auto;
    padding: 6rem 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-text-col {
    align-items: center;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .bento-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pos-media {
    order: -1; /* Image first on tablet/mobile */
  }
  .founders-placeholder {
    max-width: 100%;
  }
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bento-col-right {
    grid-template-columns: 1fr;
  }
  .bento-card.item-3 {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  .btn-primary-glow {
    width: 100%;
  }
  .highlight-text {
    padding-left: 1rem;
  }
}

/* ==========================================================================
   7. GDPR Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 480px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px var(--shadow-color);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cb-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cb-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cb-text a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.cb-text a:hover {
  border-bottom-color: var(--accent-cyan);
}

.cb-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cb-btn {
  flex: 1 1 calc(50% - 0.5rem);
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
}

.cb-text-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: var(--transition-smooth);
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

.cb-text-btn:hover {
  color: var(--text-primary);
}

/* Second Layer (Settings Panel) */
.cb-settings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.cb-setting-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cb-setting-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cb-setting-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cb-setting-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cb-setting-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Switch styling */
.cb-switch-container {
  position: relative;
  display: inline-block;
  margin-top: 0.25rem;
}

.cb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cb-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  transition: .4s;
  border-radius: 24px;
}

.cb-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .4s;
  border-radius: 50%;
}

.cb-switch input:checked + .cb-switch-slider {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.cb-switch input:checked + .cb-switch-slider:before {
  transform: translateX(20px);
  background-color: var(--bg-deep);
}

/* Disabled/Required essential switch */
.cb-switch-slider.disabled {
  background-color: rgba(197, 168, 128, 0.15);
  border-color: transparent;
  cursor: not-allowed;
  display: inline-block;
  width: 44px;
  height: 24px;
  position: relative;
  border-radius: 24px;
}

.cb-switch-slider.disabled:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 25px;
  bottom: 4px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
}

.cb-settings-buttons {
  flex-direction: column;
  gap: 0.75rem;
}

.cb-settings-buttons .cb-btn {
  width: 100%;
}

.cb-settings-buttons .cb-text-btn {
  margin-top: 0;
}

/* Reopen Consent Widget */
.reopen-cookie-settings {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: 0 10px 25px var(--shadow-color);
  transition: var(--transition-smooth);
  opacity: 1;
  pointer-events: all;
}

.reopen-cookie-settings.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.reopen-cookie-settings:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Footer link styling */
.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 1.75rem;
  }
  .cb-btn {
    flex: 1 1 100%;
  }
  .reopen-cookie-settings {
    bottom: 16px;
    left: 16px;
  }
}
