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

:root {
  --color-bg: #faf8f4;
  --color-bg-alt: #f3efe8;
  --color-bg-dark: #1c1a16;
  --color-bg-darker: #141210;
  --color-surface: #ffffff;
  --color-surface-warm: #fefcf7;
  --color-primary: #4a7c59;
  --color-primary-dark: #3a6348;
  --color-primary-light: #6a9c79;
  --color-accent: #c8763a;
  --color-accent-dark: #a85e2a;
  --color-accent-light: #e8a06a;
  --color-text: #2a2520;
  --color-text-muted: #6b6159;
  --color-text-light: #9b9188;
  --color-border: #e2ddd6;
  --color-border-light: #ede9e2;

  --shadow-sm: 0 1px 3px rgba(42,37,32,0.08), 0 1px 2px rgba(42,37,32,0.06);
  --shadow-md: 0 4px 12px rgba(42,37,32,0.10), 0 2px 4px rgba(42,37,32,0.07);
  --shadow-lg: 0 12px 32px rgba(42,37,32,0.12), 0 4px 8px rgba(42,37,32,0.08), 0 1px 3px rgba(42,37,32,0.06);
  --shadow-xl: 0 24px 56px rgba(42,37,32,0.14), 0 8px 16px rgba(42,37,32,0.09), 0 2px 4px rgba(42,37,32,0.06);
  --shadow-card-hover: 0 20px 48px rgba(74,124,89,0.14), 0 8px 16px rgba(74,124,89,0.08), 0 2px 4px rgba(42,37,32,0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --nav-height: 72px;
  --content-max: 680px;
  --wide-max: 1200px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }

h1, h2, h3, h4, h5 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.25;
  color: var(--color-text);
  font-weight: 600;
}

.narrow-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.wide-container {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================
   NOISE TEXTURE OVERLAY
   ============================ */
.hero-noise,
.highlight-noise,
.cta-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;

  & .nav-container {
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }

  &.scrolled {
    background: rgba(250, 248, 244, 0.82);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom-color: rgba(226, 221, 214, 0.6);
    box-shadow: 0 2px 16px rgba(42,37,32,0.07);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;

  & .nav-logo { width: 32px; height: 32px; }

  & .nav-brand-name {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;

  & li { display: flex; }

  & .nav-link {
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    white-space: nowrap;

    &:hover {
      color: var(--color-text);
      background: rgba(74,124,89,0.08);
    }

    &.active {
      color: var(--color-primary);
      background: rgba(74,124,89,0.1);
    }
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(74,124,89,0.25), 0 1px 2px rgba(74,124,89,0.15);
  text-decoration: none;

  &:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74,124,89,0.3), 0 2px 6px rgba(74,124,89,0.18);
    color: #fff;
  }

  &:active { transform: translateY(0); }
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;

  &:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
    background: rgba(42,37,32,0.04);
  }
}

.light-ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);

  &:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background 0.2s;

  &:hover { background: rgba(42,37,32,0.06); }

  & span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

/* ============================
   MOBILE CURTAIN MENU
   ============================ */
.mobile-curtain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);

  &.open { transform: translateY(0); }

  & .curtain-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    width: 100%;
    padding: var(--space-xl) var(--space-md);
  }

  & .curtain-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;

    & li {
      opacity: 0;
      transform: translateY(-20px);
      transition: opacity 0.35s ease, transform 0.35s ease;

      &:nth-child(1) { transition-delay: 0.05s; }
      &:nth-child(2) { transition-delay: 0.1s; }
      &:nth-child(3) { transition-delay: 0.15s; }
      &:nth-child(4) { transition-delay: 0.2s; }
      &:nth-child(5) { transition-delay: 0.25s; }
    }

    & a {
      font-family: 'Lora', serif;
      font-size: clamp(1.4rem, 5vw, 2rem);
      font-weight: 600;
      color: rgba(255,255,255,0.9);
      padding: 0.4rem 1rem;
      border-radius: var(--radius-sm);
      display: block;
      text-align: center;
      transition: color 0.2s, background 0.2s;

      &:hover {
        color: #fff;
        background: rgba(255,255,255,0.1);
      }
    }
  }

  &.open .curtain-links li {
    opacity: 1;
    transform: translateY(0);
  }

  & .curtain-close {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s, background 0.2s, border-color 0.2s;

    &:hover {
      background: rgba(255,255,255,0.2);
      border-color: rgba(255,255,255,0.5);
      color: #fff;
    }
  }

  &.open .curtain-close {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #2d4a35 0%, #1e3828 40%, #4a7c59 80%, #3d6b4a 100%);
  overflow: hidden;
  padding-top: var(--nav-height);

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200,118,58,0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 20% 70%, rgba(74,124,89,0.2) 0%, transparent 50%);
    pointer-events: none;
  }

  & .hero-container {
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
  }
}

.hero-left {
  & .hero-label {
    display: inline-block;
    background: rgba(200,118,58,0.2);
    border: 1px solid rgba(200,118,58,0.35);
    color: var(--color-accent-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
  }

  & .hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
  }

  & .hero-body {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 480px;
  }

  & .hero-cta-row {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
  }
}

.hero-right {
  display: flex;
  justify-content: center;
}

.elevated-card {
  background: var(--color-surface-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  max-width: 360px;
  width: 100%;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }

  & .card-badge {
    display: inline-block;
    background: rgba(74,124,89,0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  & .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text);
  }

  & .card-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--space-md);

    & li {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.9rem;
      color: var(--color-text-muted);

      & i {
        color: var(--color-primary);
        font-size: 0.85rem;
        flex-shrink: 0;
      }
    }
  }

  & .card-footer-note {
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border-light);
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
  }
}

/* ============================
   INTRO SECTION
   ============================ */
.intro-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);

  & .intro-lead {
    font-family: 'Lora', serif;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    color: var(--color-text-muted);
    line-height: 1.75;
    text-align: center;
    font-style: italic;
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-md);
    text-align: left;
  }
}

/* ============================
   SECTION SHARED STYLES
   ============================ */
.content-block { padding: var(--space-2xl) 0; }

.section-header {
  margin-bottom: var(--space-xl);

  & .section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.6rem;
  }

  & .section-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  & .section-subtext {
    margin-top: 0.75rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 520px;
  }
}

.light-header {
  & .section-heading { color: #fff; }
  & .section-subtext { color: rgba(255,255,255,0.7); }
}

.light-tag { color: var(--color-accent-light) !important; }

/* ============================
   BENEFITS SECTION
   ============================ */
.benefits-section {
  background: var(--color-bg-alt);

  &::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin-bottom: 0;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.benefit-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(74,124,89,0.2);
  }

  & .benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(74,124,89,0.1), rgba(74,124,89,0.06));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);

    & i {
      font-size: 1.1rem;
      color: var(--color-primary);
    }
  }

  & h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text);
  }

  & p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
  }
}

/* ============================
   HIGHLIGHT / VISUAL BREAK
   ============================ */
.visual-break {
  position: relative;
  background: linear-gradient(150deg, #2d4a35 0%, #1e3828 50%, #3a6348 100%);
  padding: var(--space-3xl) 0;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 80% 30%, rgba(200,118,58,0.1), transparent);
    pointer-events: none;
  }
}

.feature-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;

  &:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-3px);
  }

  & .feature-box-icon {
    width: 48px;
    height: 48px;
    background: rgba(200,118,58,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);

    & i {
      font-size: 1.2rem;
      color: var(--color-accent-light);
    }
  }

  & h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }

  & p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
  }

  & .feature-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-light);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;

    &:hover { gap: 0.55rem; }
  }
}

/* ============================
   SWIPER / BLOG SLIDER
   ============================ */
.swiper-section { background: var(--color-bg); }

.blog-swiper {
  padding-bottom: 3rem !important;

  & .swiper-pagination-bullet {
    background: var(--color-primary);
    opacity: 0.3;

    &.swiper-pagination-bullet-active { opacity: 1; }
  }

  & .swiper-button-prev,
  & .swiper-button-next {
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;

    &::after { font-size: 0.85rem; font-weight: 700; }
    &:hover { background: var(--color-primary); color: #fff; }
  }
}

.slide-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  & .slide-image-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    &:hover img { transform: scale(1.04); }
  }

  & .slide-content {
    padding: var(--space-md);

    & .slide-tag {
      font-size: 0.73rem;
      font-weight: 600;
      color: var(--color-accent);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      display: block;
      margin-bottom: 0.5rem;
    }

    & h3 {
      font-size: 1.05rem;
      margin-bottom: 0.5rem;
    }

    & p {
      font-size: 0.875rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
  }
}

/* ============================
   TEAM SECTION
   ============================ */
.team-section { background: var(--color-bg-alt); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  & .team-photo-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
  }

  &:hover .team-photo-wrap img { transform: scale(1.04); }

  & .team-info {
    padding: var(--space-md);

    & .team-name {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    & .team-role {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--color-primary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.6rem;
    }

    & .team-bio {
      font-size: 0.85rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
  }
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  & .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;

    & .cta-text {
      & h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
        color: #fff;
        margin-bottom: 0.6rem;
      }

      & p {
        color: rgba(255,255,255,0.7);
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 420px;
      }
    }

    & .cta-buttons {
      display: flex;
      gap: 0.75rem;
      flex-shrink: 0;
      flex-wrap: wrap;
    }
  }
}

/* ============================
   PAGE HERO
   ============================ */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, #2d4a35 0%, #1e3828 60%, #3a6348 100%);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(200,118,58,0.1), transparent);
    pointer-events: none;
  }

  & .breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;

    & a { color: rgba(255,255,255,0.6); &:hover { color: rgba(255,255,255,0.9); } }
    & span { opacity: 0.4; }
  }

  & .page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
  }

  & .page-hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 540px;
    position: relative;
    z-index: 1;
  }

  & .article-meta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    position: relative;
    z-index: 1;

    & span {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.82rem;
      color: rgba(255,255,255,0.55);

      & i { font-size: 0.75rem; }
    }
  }
}

.article-hero { padding-bottom: var(--space-xl); }

/* ============================
   ARTICLE BODY
   ============================ */
.article-container {
  & .article-image-full {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);

    & img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }
  }

  & .article-text {
    & h2 {
      font-size: clamp(1.25rem, 2.5vw, 1.6rem);
      margin-top: var(--space-xl);
      margin-bottom: var(--space-sm);
      color: var(--color-text);
      position: relative;
      padding-left: var(--space-sm);

      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.2em;
        bottom: 0.2em;
        width: 3px;
        background: var(--color-primary);
        border-radius: 2px;
      }
    }

    & p {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--color-text);
      margin-bottom: var(--space-sm);
    }

    & strong { color: var(--color-text); font-weight: 600; }
  }

  & .article-quote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-md) var(--space-md);
    margin: var(--space-xl) 0;
    background: rgba(200,118,58,0.06);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-muted);
    line-height: 1.75;
  }
}

.info-callout {
  display: flex;
  gap: var(--space-sm);
  background: rgba(74,124,89,0.07);
  border: 1px solid rgba(74,124,89,0.18);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-lg) 0;

  & .callout-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(74,124,89,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.95rem;
  }

  & .callout-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-muted);

    & strong { color: var(--color-text); }
  }
}

.article-nav-links {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-light);
  margin-top: var(--space-xl);

  & .article-nav-next {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.25s ease;

    & span { font-size: 0.75rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
    & strong { font-size: 0.95rem; color: var(--color-primary); display: flex; align-items: center; gap: 0.4rem; }

    &:hover {
      border-color: var(--color-primary);
      box-shadow: var(--shadow-md);
      transform: translateX(3px);
    }
  }
}

/* ============================
   ERFAHRUNGSBERICHTE
   ============================ */
.erfahrung-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease;

  &:hover { box-shadow: var(--shadow-md); }

  & .erfahrung-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-md) 0;

    & .erfahrung-icon {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      background: rgba(74,124,89,0.1);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-primary);
      font-size: 1.2rem;
    }

    & h2 {
      font-size: 1.2rem;
      margin-bottom: 0.25rem;
    }

    & .erfahrung-tag {
      font-size: 0.78rem;
      color: var(--color-text-light);
      font-style: italic;
    }
  }

  & .erfahrung-content {
    padding: var(--space-md) var(--space-md) var(--space-md);

    & p {
      font-size: 0.95rem;
      line-height: 1.75;
      color: var(--color-text-muted);
      margin-bottom: var(--space-sm);

      &:last-child { margin-bottom: 0; }
    }
  }

  & .erfahrung-image {
    margin-top: var(--space-sm);
    border-radius: var(--radius-md);
    overflow: hidden;

    & img {
      width: 100%;
      aspect-ratio: 16/7;
      object-fit: cover;
    }
  }
}

/* ============================
   QUELLEN PAGE
   ============================ */
.quellen-intro {
  margin-bottom: var(--space-xl);

  & p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
  }
}

.quellen-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.quellen-card {
  display: flex;
  gap: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;

  &:hover {
    border-color: rgba(74,124,89,0.25);
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
  }

  & .quellen-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(74,124,89,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.3rem;
  }

  & .quellen-card-body {
    & h3 {
      font-size: 1.05rem;
      margin-bottom: 0.2rem;
    }

    & .quellen-subtitle {
      font-size: 0.8rem;
      color: var(--color-text-light);
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.875rem;
      line-height: 1.65;
      color: var(--color-text-muted);
      margin-bottom: 0.6rem;
    }
  }

  & .quellen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;

    & span {
      font-size: 0.73rem;
      font-weight: 500;
      background: rgba(74,124,89,0.08);
      color: var(--color-primary);
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-full);
    }
  }
}

.quellen-hinweis {
  display: flex;
  gap: var(--space-md);
  background: rgba(200,118,58,0.06);
  border: 1px solid rgba(200,118,58,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-xl);

  & .hinweis-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(200,118,58,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1rem;
  }

  & .hinweis-text {
    & h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
    & p { font-size: 0.875rem; line-height: 1.65; color: var(--color-text-muted); }
  }
}

.apps-section {
  & .section-heading {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
  }

  & .section-intro-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.app-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  & .app-icon {
    width: 48px;
    height: 48px;
    background: rgba(74,124,89,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
  }

  & h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  & p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
  }

  & .app-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(74,124,89,0.08);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
  }
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-section { padding: var(--space-2xl) 0; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  min-height: 600px;
}

.contact-map-side {
  display: flex;
  flex-direction: column;

  & .map-wrap {
    flex: 1;
    min-height: 350px;
    border-radius: var(--radius-lg) 0 0 0;
    overflow: hidden;

    & iframe { height: 100%; min-height: 300px; }
  }

  & .contact-info-box {
    background: var(--color-bg-alt);
    padding: var(--space-md);
    border-radius: 0 0 0 var(--radius-lg);
    border: 1px solid var(--color-border-light);
    border-right: none;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  & .contact-info-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;

    & i {
      width: 20px;
      text-align: center;
      color: var(--color-primary);
      margin-top: 3px;
      flex-shrink: 0;
    }

    & strong {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--color-text-light);
      margin-bottom: 0.15rem;
    }

    & p, & a {
      font-size: 0.9rem;
      color: var(--color-text-muted);
    }

    & a:hover { color: var(--color-primary); }
  }
}

.contact-form-side {
  background: var(--color-surface);
  padding: var(--space-xl) var(--space-xl);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);

  & .form-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
  }
}

.form-group {
  margin-bottom: var(--space-md);

  & label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
  }

  & .required-star { color: var(--color-accent); }

  & input,
  & textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: all 0.25s ease;
    outline: none;
    resize: vertical;

    &::placeholder { color: var(--color-text-light); }

    &:focus {
      border-color: var(--color-primary);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(74,124,89,0.1);
    }
  }

  & textarea { min-height: 120px; }
}

.form-checkbox-group {
  & .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);

    & input[type="checkbox"] {
      width: 18px;
      height: 18px;
      min-width: 18px;
      margin-top: 2px;
      accent-color: var(--color-primary);
      cursor: pointer;
    }

    & a { color: var(--color-primary); text-decoration: underline; }
  }
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.contact-faq {
  background: var(--color-bg-alt);

  & .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
  }

  & .faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s;

    &:hover { box-shadow: var(--shadow-md); }

    & .faq-q {
      font-weight: 600;
      font-size: 0.92rem;
      color: var(--color-text);
      margin-bottom: 0.6rem;
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;

      & i { color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }
    }

    & .faq-a {
      font-size: 0.875rem;
      color: var(--color-text-muted);
      line-height: 1.65;
    }
  }
}

/* ============================
   THANKS PAGE
   ============================ */
.thanks-page { min-height: 100vh; display: flex; flex-direction: column; }

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(74,124,89,0.06), transparent);
    pointer-events: none;
  }
}

.thanks-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%234a7c59'/%3E%3C/svg%3E");
}

.thanks-card-wrap { position: relative; z-index: 1; width: 100%; max-width: 480px; }

.thanks-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);

  & .thanks-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  }

  & .thanks-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
  }

  & .thanks-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-xs);
  }

  & .thanks-subtext {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
  }

  & .thanks-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal-hero {
  background: var(--color-bg-alt);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  border-bottom: 1px solid var(--color-border);

  & .legal-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
  }

  & .legal-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
  }
}

.legal-container {
  & .legal-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: rgba(74,124,89,0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
  }

  & h2 {
    font-size: 1.15rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
  }

  & h3 {
    font-size: 1rem;
    margin-top: var(--space-md);
    margin-bottom: 0.5rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;

    & i { color: var(--color-primary); font-size: 0.9rem; }
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
  }

  & a { color: var(--color-primary); text-decoration: underline; &:hover { color: var(--color-primary-dark); } }

  & strong { color: var(--color-text); font-weight: 600; }
}

.legal-qa {
  margin-bottom: var(--space-xl);

  & h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
  }

  & a { color: var(--color-primary); text-decoration: underline; }
  & strong { color: var(--color-text); font-weight: 600; }
}

.impressum-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;

  & tr { border-bottom: 1px solid var(--color-border-light); }
  & td {
    padding: 0.6rem 0.75rem;
    line-height: 1.6;

    &:first-child {
      width: 200px;
      color: var(--color-text-light);
      font-size: 0.82rem;
      white-space: nowrap;
    }

    &:last-child { color: var(--color-text-muted); }

    & a { color: var(--color-primary); &:hover { text-decoration: underline; } }
  }
}

.cookie-section {
  margin-bottom: var(--space-xl);

  & h2 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
  }
}

.cookie-category-block {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border-light);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-sm);
  font-size: 0.85rem;

  & th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    background: rgba(74,124,89,0.06);
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  & td {
    padding: 0.5rem 0.75rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border-light);
  }
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--color-bg-dark);
  position: relative;

  &::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  }

  & .footer-container {
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
  }

  & .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  & .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--space-sm);
    text-decoration: none;

    & .footer-logo { width: 28px; height: 28px; filter: brightness(1.3); }

    & span {
      font-family: 'Lora', serif;
      font-weight: 700;
      font-size: 1.05rem;
      color: rgba(255,255,255,0.9);
    }
  }

  & .footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 280px;
  }

  & .footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: var(--space-md);
  }

  & .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    & a {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.55);
      transition: color 0.2s;

      &:hover { color: var(--color-accent-light); }
    }
  }

  & .footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    & p {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.875rem;
      color: rgba(255,255,255,0.55);

      & i { color: var(--color-accent); margin-top: 3px; flex-shrink: 0; font-size: 0.8rem; }
    }

    & a { color: rgba(255,255,255,0.55); &:hover { color: var(--color-accent-light); } }
  }

  & .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);

    & .footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
    & .footer-note { font-size: 0.78rem; color: rgba(255,255,255,0.2); font-style: italic; }
  }
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 800;

  &.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  &:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
  }
}

/* ============================
   COOKIE CONSENT PANEL
   ============================ */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,26,22,0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);

  &.active { opacity: 1; visibility: visible; }
}

.cookie-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--color-surface-warm);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(42,37,32,0.2);
  border-left: 1px solid var(--color-border-light);

  &.active { transform: translateX(0); }

  & .cookie-panel-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-bg-alt);

    & .cookie-shield-icon {
      width: 36px;
      height: 36px;
      background: rgba(74,124,89,0.1);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-primary);
      font-size: 1rem;
      flex-shrink: 0;
    }

    & h3 {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--color-text);
    }

    & p {
      font-size: 0.75rem;
      color: var(--color-text-light);
    }
  }

  & .cookie-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    & .cookie-intro {
      font-size: 0.82rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }

    & .cookie-intro a { color: var(--color-primary); text-decoration: underline; }
  }

  & .cookie-category {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: var(--space-sm);

    & .cookie-cat-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.4rem;

      & strong { font-size: 0.85rem; color: var(--color-text); }
    }

    & p { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.5; }
  }

  & .cookie-toggle {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;

    & input { opacity: 0; width: 0; height: 0; position: absolute; }

    & .toggle-track {
      position: absolute;
      inset: 0;
      background: var(--color-border);
      border-radius: 11px;
      cursor: pointer;
      transition: background 0.25s;

      &::before {
        content: '';
        position: absolute;
        left: 3px;
        top: 3px;
        width: 16px;
        height: 16px;
        background: #fff;
        border-radius: 50%;
        transition: transform 0.25s;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
      }
    }

    & input:checked + .toggle-track { background: var(--color-primary); }
    & input:checked + .toggle-track::before { transform: translateX(16px); }
    & input:disabled + .toggle-track { opacity: 0.6; cursor: not-allowed; }
  }

  & .cookie-panel-footer {
    padding: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    & .cookie-btn-accept {
      width: 100%;
      padding: 0.7rem;
      background: var(--color-primary);
      color: #fff;
      border: none;
      border-radius: var(--radius-md);
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.25s;
      font-family: 'Inter', sans-serif;

      &:hover { background: var(--color-primary-dark); }
    }

    & .cookie-btn-reject {
      width: 100%;
      padding: 0.7rem;
      background: transparent;
      color: var(--color-text-muted);
      border: 1.5px solid var(--color-border);
      border-radius: var(--radius-md);
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.25s;
      font-family: 'Inter', sans-serif;

      &:hover { border-color: var(--color-text-muted); color: var(--color-text); }
    }
  }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-section .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-left .hero-cta-row { justify-content: center; }
  .hero-left .hero-body { margin: 0 auto var(--space-lg); }
  .hero-right { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .apps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .benefits-grid { grid-template-columns: 1fr; }
  .feature-boxes-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }

  .contact-split {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .contact-map-side {
    & .map-wrap {
      min-height: 250px;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    & .contact-info-box {
      border-radius: 0;
      border-right: 1px solid var(--color-border-light);
    }
  }

  .contact-form-side {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
  }

  .contact-faq .faq-grid { grid-template-columns: 1fr; }

  .cta-banner .cta-inner {
    flex-direction: column;
    text-align: center;
    & .cta-text p { margin: 0 auto; }
    & .cta-buttons { justify-content: center; }
  }

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

  .back-to-top { bottom: 1.5rem; right: 1.5rem; }

  .cookie-panel { width: 100%; }

  .impressum-table td:first-child { width: 140px; }
}

@media (max-width: 480px) {
  .narrow-container { padding: 0 var(--space-sm); }
  .hero-section .hero-container { padding: calc(var(--nav-height) + var(--space-xl)) var(--space-sm) var(--space-xl); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .article-nav-links { justify-content: stretch; }
  .article-nav-next { width: 100%; }
}