/* ============================================================
   Galapflege Pongratz - Design System & Styles
   galapflege-pongratz.de

   Fonts: Inter (body) + Outfit (headings) - self-hosted (DSGVO)
   Approach: Mobile-first, CSS custom properties, no frameworks
   Accessibility: WCAG 2.1 AA color contrast verified
   ============================================================ */

/* ------------------------------------------------------------
   0. FONT FACES (self-hosted, DSGVO compliant)
   Download from Google Fonts, host locally in /static/fonts/
   ------------------------------------------------------------ */
/* Outfit - latin-ext */
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Outfit - latin */
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter - latin-ext */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter - latin */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   ------------------------------------------------------------ */
:root {
  /* --- Colors ---
     Primary green matched to the Pongratz logo (#458B2D).
     Contrast ratios verified against backgrounds:
     - --color-primary (#458B2D) on white: 5.2:1
     - --color-primary-dark (#2E6B1E) on white: 7.1:1
     - --color-text (#1A2E12) on white: 14.8:1
     - --color-text-light (#4A5D42) on white: 6.2:1
     - --color-accent (#B8860B) on white: 4.8:1
     - White on --color-primary: 5.2:1
     - White on --color-primary-dark: 7.1:1
     - White on --color-accent: 4.8:1
  */
  --color-primary: #458B2D;
  --color-primary-light: #5AA43E;
  --color-primary-dark: #2E6B1E;
  --color-primary-bg: #EFF6ED;

  --color-secondary: #6B5A3E;
  --color-secondary-light: #8C7A5C;
  --color-secondary-dark: #4A3D2A;
  --color-secondary-bg: #F5F0E8;

  --color-accent: #B5452A;
  --color-accent-light: #D06040;
  --color-accent-dark: #8C3520;

  --color-bg: #FFFFFF;
  --color-bg-alt: #F0F1EE;
  --color-bg-dark: #1A2E12;

  --color-text: #1A2E12;
  --color-text-light: #4A5D42;
  --color-text-muted: #6B7D63;
  --color-text-inverse: #FFFFFF;

  --color-border: #D4DDD0;
  --color-border-light: #E8EDE5;

  --color-success: #2E6B1E;
  --color-error: #C0392B;
  --color-warning: #B8860B;

  /* --- Typography --- */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.775rem + 0.19vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.89rem + 0.24vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 0.99rem + 0.36vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.13rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.55rem + 1.63vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* --- Spacing Scale --- */
  --space-3xs: 0.125rem;  /* 2px */
  --space-2xs: 0.25rem;   /* 4px */
  --space-xs: 0.5rem;     /* 8px */
  --space-sm: 0.75rem;    /* 12px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */

  /* Fluid section padding */
  --section-padding: clamp(3rem, 2rem + 5vw, 6rem);

  /* --- Layout --- */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --content-padding: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(26, 46, 18, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 46, 18, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 46, 18, 0.1);
  --shadow-xl: 0 16px 48px rgba(26, 46, 18, 0.12);
  --shadow-card: 0 2px 8px rgba(26, 46, 18, 0.06), 0 0 1px rgba(26, 46, 18, 0.1);
  --shadow-card-hover: 0 8px 24px rgba(26, 46, 18, 0.12), 0 0 1px rgba(26, 46, 18, 0.1);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* --- Z-Index Scale --- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}

/* ------------------------------------------------------------
   2. CSS RESET & BASE STYLES
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Picture elements are layout-transparent: the img inside behaves as a
   direct child of the picture's parent (needed for %-height image layouts
   like the before/after slider and photo break). */
picture {
  display: contents;
}

a {
  color: var(--color-primary);
  text-decoration-skip-ink: auto;
  transition: color var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
}

/* Remove default fieldset styles */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-md);
}

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

strong,
b {
  font-weight: var(--font-weight-semibold);
}

small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

/* Section headings with decorative underline */
.section-title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s ease 0.3s;
}

.reveal .section-title::after,
.section-title.reveal::after {
  width: 0;
}

.reveal--visible .section-title::after,
.section-title.reveal.reveal--visible::after {
  width: 60px;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
}

/* Lead / intro text */
.text-lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-light);
}

/* Link styles for body text */
.content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--color-primary-dark);
  text-decoration-thickness: 2px;
}

/* Lists in content areas */
.content ul,
.content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content li {
  margin-bottom: var(--space-xs);
}

.content li::marker {
  color: var(--color-primary);
}

/* ------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--primary {
  background-color: var(--color-primary-bg);
}

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

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

.section--dark .section-title::after {
  background-color: var(--color-accent);
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid for service cards */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Primary button (green) */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Accent / CTA button (deep gold) */
.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent:active {
  transform: translateY(0);
  box-shadow: none;
}

/* WhatsApp button (brand green, AA contrast with white text) */
.btn--whatsapp {
  background-color: #128C7E;
  color: var(--color-text-inverse);
  border-color: #128C7E;
}

.btn--whatsapp:hover {
  background-color: #0C6B5F;
  border-color: #0C6B5F;
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--whatsapp .btn__icon {
  flex-shrink: 0;
}

/* Outline / ghost button */
.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* White outline (for dark backgrounds) */
.btn--outline-white {
  background-color: transparent;
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}

.btn--outline-white:hover {
  background-color: var(--color-text-inverse);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Button sizes */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

/* Full-width button (mobile) */
.btn--block {
  display: flex;
  width: 100%;
}

/* Button with icon */
.btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* Phone link button */
.btn--phone {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.btn--phone:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-text-inverse);
}

/* ------------------------------------------------------------
   6. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.nav--scrolled .nav__inner {
  padding-top: var(--space-2xs);
  padding-bottom: var(--space-2xs);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  letter-spacing: var(--tracking-wide);
}

.nav__link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.nav__cta {
  margin-left: var(--space-sm);
}

/* Hamburger / mobile toggle */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav__toggle:hover {
  background-color: var(--color-bg-alt);
}

.nav__toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast);
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base);
}

.nav__toggle-icon::before {
  transform: translateY(-7px);
}

.nav__toggle-icon::after {
  transform: translateY(7px);
}

/* Mobile menu open state */
.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
  background-color: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before {
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after {
  transform: rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-md) var(--content-padding) var(--space-lg);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

.nav__mobile-menu[aria-hidden="false"] {
  display: flex;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__mobile-link:hover,
.nav__mobile-link--active {
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
}

.nav__mobile-cta {
  margin-top: var(--space-sm);
}

/* ------------------------------------------------------------
   7. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.hero--full {
  min-height: 85vh;
}

.hero--compact {
  min-height: 24vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

/* Dark overlay for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 46, 18, 0.75) 0%,
    rgba(26, 46, 18, 0.5) 50%,
    rgba(26, 46, 18, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero__badge {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: rgba(26, 46, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__title {
  font-size: var(--text-4xl);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-lg);
  font-weight: 800;
}

.hero__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ------------------------------------------------------------
   8. SERVICE CARDS
   ------------------------------------------------------------ */
.card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}

.card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(46, 107, 30, 0);
  opacity: 0;
  transition: background-color var(--transition-base), opacity var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

.card:hover .card__image::before {
  background-color: rgba(46, 107, 30, 0.5);
  opacity: 1;
}

.card__image::after {
  content: attr(data-label) '\A Mehr erfahren \2192';
  white-space: pre;
  text-align: center;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
  pointer-events: none;
}

.card:hover .card__image::after {
  opacity: 1;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-lg);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-bg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.card__icon img,
.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card__link:hover {
  color: var(--color-primary-dark);
  gap: var(--space-xs);
}

.card__link::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--transition-fast);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* Compact card variant (icon + text, no image) */
.card--compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.card--compact .card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.card--compact .card__icon img,
.card--compact .card__icon svg {
  width: 32px;
  height: 32px;
}

/* Feature / highlight card */
.card--feature {
  border: 2px solid var(--color-primary-bg);
  box-shadow: none;
}

.card--feature:hover {
  border-color: var(--color-primary-light);
}

/* ------------------------------------------------------------
   9. CTA / CONTACT BANNER
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-text-inverse);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-banner__title {
  font-size: var(--text-3xl);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ------------------------------------------------------------
   10. CONTACT FORM
   ------------------------------------------------------------ */
.form {
  max-width: 640px;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form__label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form__input:hover,
.form__textarea:hover,
.form__select:hover {
  border-color: var(--color-text-muted);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 107, 30, 0.15);
}

.form__input--error,
.form__textarea--error {
  border-color: var(--color-error);
}

.form__input--error:focus,
.form__textarea--error:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.form__error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-2xs);
}

/* Checkbox / consent */
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form__checkbox label {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  cursor: pointer;
}

/* Success / error messages */
.form__message {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-lg);
}

.form__message--success {
  background-color: var(--color-primary-bg);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
}

.form__message--error {
  background-color: #FDF2F2;
  color: var(--color-error);
  border: 1px solid #F5C6C6;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form__input--invalid {
  border-color: var(--color-error);
}

.form__input--invalid:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Section CTA (centered button below section content) */
.section__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Prose text max-width */
.about__text,
.community__text {
  max-width: 70ch;
}

/* ------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: var(--space-3xl);
  padding-bottom: 0;
  border-top: 2px solid var(--color-border);
}

.footer a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-wide);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__list a {
  font-size: var(--text-sm);
  padding: var(--space-2xs) 0;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ------------------------------------------------------------
   12. COOKIE CONSENT BANNER
   ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(26, 46, 18, 0.12);
  /* Compact on mobile so the banner doesn't dominate the viewport */
  padding: var(--space-sm) var(--content-padding);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner[aria-hidden="false"],
.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-banner__text {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: var(--leading-normal);
}

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

.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-xs);
}

.cookie-banner__actions .btn {
  flex: 1;
  justify-content: center;
}

/* ------------------------------------------------------------
   13. ABOUT / TEAM SECTION
   ------------------------------------------------------------ */
.about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stats / trust signals */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat {
  text-align: center;
  padding: var(--space-md);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* Testimonials */
.testimonial {
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary-light);
  opacity: 0.4;
  margin-bottom: var(--space-xs);
}

.testimonial__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin-top: auto;
}

.testimonial__name {
  font-weight: 700;
  color: var(--color-text);
}

.testimonial__location {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* About content */
.about__content {
  display: flex;
  flex-direction: column;
}

.about__text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  max-width: 70ch;
}

.about__author {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

/* ------------------------------------------------------------
   14. GALLERY
   ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ------------------------------------------------------------
   14b. PROJECT GALLERY PAGE
   ------------------------------------------------------------ */

/* Filter buttons */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.gallery-filter__btn {
  padding: var(--space-xs) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-light);
  background-color: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter__btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  background-color: var(--color-primary-bg);
}

.gallery-filter__btn--active {
  color: var(--color-text-inverse);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.gallery-filter__btn--active:hover {
  color: var(--color-text-inverse);
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* Gallery grid (masonry via CSS columns) */
.gallery-grid {
  columns: 1;
  column-gap: var(--space-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 107, 30, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__category {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  z-index: 2001;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  z-index: 2001;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: var(--space-md);
}

.lightbox__nav--next {
  right: var(--space-md);
}

/* Service detail page */
.service-detail__content {
  margin-bottom: var(--space-2xl);
}

.service-detail__content .text-lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  max-width: 70ch;
}

/* Benefit checklist on service detail pages */
.service-benefits {
  list-style: none;
  margin: 0 0 var(--space-2xl);
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: var(--leading-normal);
}

.service-benefits svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.15em;
}

/* Customer quote on service detail pages */
.service-quote {
  margin: var(--space-2xl) 0 0;
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--color-primary-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.service-quote__text {
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.service-quote__author {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
}

/* FAQ accordion */
.faq {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.faq__item {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--color-primary-dark);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition-base, 0.2s ease);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  max-width: 75ch;
}

.card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card--link:hover {
  color: inherit;
}

/* ------------------------------------------------------------
   15. PAGE-SPECIFIC STYLES
   ------------------------------------------------------------ */

/* Legal pages (Impressum, Datenschutz) */
.legal {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.legal h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xl);
}

.legal h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal p {
  margin-bottom: var(--space-md);
  line-height: var(--leading-relaxed);
  max-width: 70ch;
}

.legal ul,
.legal ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal li {
  margin-bottom: var(--space-xs);
}

.legal a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact page */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact__info-card {
  background-color: var(--color-primary-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.contact__sidebar-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.contact__info-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.contact__info-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact__info-item a:hover {
  text-decoration: underline;
}

/* Card title link (unstyled link for card headings) */
.card__title-link {
  color: inherit;
  text-decoration: none;
}

/* Section with compact padding */
.section--compact {
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0;
}

/* Sticky mobile CTA bar */
.sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: var(--space-sm) var(--space-md);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 90;
    text-align: center;
  }
  .sticky-cta__inner {
    display: flex;
    gap: var(--space-xs);
  }
  .sticky-cta__main {
    flex: 1;
    min-width: 0;
  }
  .sticky-cta__whatsapp {
    flex-shrink: 0;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  /* Add padding to body to prevent sticky bar from covering content */
  body {
    padding-bottom: 70px;
  }
}

/* ------------------------------------------------------------
   16. MISCELLANEOUS COMPONENTS
   ------------------------------------------------------------ */

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.breadcrumb__separator {
  color: var(--color-border);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: var(--z-toast);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Divider */
.divider {
  border: none;
  height: 1px;
  background-color: var(--color-border-light);
  margin: var(--space-xl) 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-dropdown);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

/* Loading / skeleton states */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-alt) 25%,
    var(--color-border-light) 50%,
    var(--color-bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Sponsor section */
.sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.sponsor__logo {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  filter: grayscale(50%);
}

.sponsor__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ------------------------------------------------------------
   17. RESPONSIVE: TABLET (768px+)
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  /* Grid adjustments */
  .grid--services {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  /* Project gallery page */
  .gallery-grid {
    columns: 2;
  }

  /* Footer grid */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Cookie banner */
  .cookie-banner {
    padding: var(--space-lg) var(--content-padding);
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
  }

  .cookie-banner__text {
    flex: 1;
    font-size: var(--text-sm);
  }

  .cookie-banner__actions {
    flex-direction: row;
    flex-shrink: 0;
  }

  .cookie-banner__actions .btn {
    flex: 0 0 auto;
    width: auto;
  }

  /* About layout */
  .about__layout:not(.about__layout--no-image) {
    grid-template-columns: 1fr 1fr;
  }

  .about__layout--no-image {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact layout */
  .contact__layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Stats */
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Hero */
  .hero {
    min-height: 75vh;
  }

  .hero__actions {
    flex-wrap: nowrap;
  }

  /* Button block override */
  .btn--block {
    display: inline-flex;
    width: auto;
  }
}

/* ------------------------------------------------------------
   18. RESPONSIVE: LAPTOP (1024px+)
   ------------------------------------------------------------ */
@media (min-width: 1024px) {
  /* Show desktop nav, hide hamburger */
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .nav__mobile-menu {
    display: none !important;
  }

  .nav__logo img {
    height: 56px;
  }

  /* Grid adjustments */
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Project gallery page */
  .gallery-grid {
    columns: 3;
  }

  /* Footer grid */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ------------------------------------------------------------
   19. RESPONSIVE: DESKTOP (1280px+)
   ------------------------------------------------------------ */
@media (min-width: 1280px) {
  /* Service cards: 4 columns at full desktop */
  .grid--services {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Hero */
  .hero__content {
    max-width: 800px;
  }
}

/* ------------------------------------------------------------
   20. SELECTION STYLE
   ------------------------------------------------------------ */
::selection {
  background-color: var(--color-primary-bg);
  color: var(--color-primary-dark);
}

/* ------------------------------------------------------------
   21. SCROLL-REVEAL ANIMATIONS
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 500ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 600ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 700ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 800ms; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: opacity 0.4s ease;
  }

  .reveal--visible {
    transform: none;
  }

  .reveal-stagger > * {
    transition-delay: 0ms !important;
  }

  .hero__badge,
  .hero__title,
  .hero__text,
  .hero__actions {
    animation: none !important;
  }
}

/* ------------------------------------------------------------
   22. HERO ENTRANCE ANIMATION
   ------------------------------------------------------------ */
@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero--full .hero__badge {
  animation: heroFadeSlideUp 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero--full .hero__title {
  animation: heroFadeSlideUp 0.7s ease forwards;
  animation-delay: 0.25s;
  opacity: 0;
}

.hero--full .hero__text {
  animation: heroFadeSlideUp 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero--full .hero__actions {
  animation: heroFadeSlideUp 0.7s ease forwards;
  animation-delay: 0.55s;
  opacity: 0;
}

/* ------------------------------------------------------------
   23. SEASONAL BANNER
   ------------------------------------------------------------ */
.seasonal-banner {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  padding: var(--space-xs) 0;
  position: relative;
  z-index: var(--z-base);
}

.seasonal-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.seasonal-banner__text {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-bottom: 0;
}

.seasonal-banner__link {
  color: var(--color-text-inverse);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: var(--space-xs);
  white-space: nowrap;
}

.seasonal-banner__link:hover {
  color: var(--color-text-inverse);
  opacity: 0.9;
}

.seasonal-banner__close {
  position: absolute;
  right: var(--content-padding);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-inverse);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: var(--space-2xs) var(--space-xs);
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.seasonal-banner__close:hover {
  opacity: 1;
}

/* ------------------------------------------------------------
   24. GOOGLE REVIEWS BADGE
   ------------------------------------------------------------ */
.google-badge {
  text-align: center;
  margin-top: var(--space-xl);
}

.google-badge__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--color-bg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.google-badge__link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.google-badge__stars {
  color: #F4B400;
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.google-badge__rating {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.google-badge__separator {
  color: var(--color-border);
}

.google-badge__count {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* ------------------------------------------------------------
   25. PROCESS / TIMELINE SECTION
   ------------------------------------------------------------ */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 var(--space-md);
}

.process__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: var(--z-base);
  flex-shrink: 0;
}

.process__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-relaxed);
  max-width: 240px;
  margin: 0 auto;
}

/* Connector line between steps (vertical on mobile) */
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: calc(-1 * var(--space-xl) / 2 - 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--space-lg);
  background-color: var(--color-primary-light);
  opacity: 0.4;
}

/* ------------------------------------------------------------
   26. COMMUNITY / SPONSORSHIP SECTION
   ------------------------------------------------------------ */
.community__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.community__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.community__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community__content {
  display: flex;
  flex-direction: column;
}

.community__text {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  max-width: 70ch;
}

.community__caption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-sm);
}

/* ------------------------------------------------------------
   27. TESTIMONIALS GOOGLE LINK
   ------------------------------------------------------------ */
.testimonials__google-link {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ------------------------------------------------------------
   28. RESPONSIVE ADDITIONS: TABLET (768px+)
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Connector hidden on multi-column since layout changes */
  .process__step::after {
    display: none;
  }

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

/* ------------------------------------------------------------
   29. RESPONSIVE ADDITIONS: LAPTOP (1024px+)
   ------------------------------------------------------------ */
@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process__step {
    padding: 0 var(--space-lg);
  }

  /* Horizontal connector line between steps */
  .process__step:not(:last-child)::after {
    display: block;
    top: 28px;
    left: calc(50% + 36px);
    bottom: auto;
    width: calc(100% - 72px);
    height: 2px;
    transform: none;
  }
}

/* ------------------------------------------------------------
   30. PRINT STYLES
   ------------------------------------------------------------ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .cookie-banner,
  .back-to-top,
  .hero__overlay,
  .btn,
  .footer {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .whatsapp-float {
    display: none !important;
  }
}

/* ============================================================
   25. WHATSAPP FLOATING BUTTON
   ============================================================ */
@keyframes whatsappPulse {
  0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: whatsappPulse 2.5s ease-in-out 1s 3;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

/* ============================================================
   26. PHOTO BREAK (Full-width image strip)
   ============================================================ */
.photo-break {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

@media (min-width: 768px) {
  .photo-break {
    height: 350px;
  }

  .photo-break img {
    /* Subtle parallax via fixed attachment */
    position: absolute;
    top: 0;
    left: 0;
    min-height: 120%;
  }
}

@media (min-width: 1024px) {
  .photo-break {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-break img {
    position: static;
    min-height: auto;
  }
}

/* ============================================================
   27. BEFORE/AFTER SLIDER
   ============================================================ */
.ba-slider {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.ba-slider__images {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider__after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ba-slider__before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.ba-slider__before {
  display: block;
  width: 800px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  z-index: 3;
  cursor: ew-resize;
}

.ba-slider__handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.ba-slider__handle-circle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ba-slider__label {
  position: absolute;
  top: var(--space-md);
  z-index: 2;
  padding: var(--space-2xs) var(--space-sm);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.ba-slider__label--before {
  left: var(--space-md);
}

.ba-slider__label--after {
  right: var(--space-md);
}

.ba-slider__caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-sm);
}

@media (max-width: 480px) {
  .ba-slider__images {
    aspect-ratio: 3 / 2;
  }

  .ba-slider__before {
    width: 100vw;
  }
}

/* ============================================================
   28. HERO PARALLAX (reduced motion override)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    height: 100% !important;
    transform: none !important;
    will-change: auto;
  }
}
