@import "tailwindcss";

/* ================================================
   REGIOS DESIGN SYSTEM
   Based on https://www.regios.at/
   ================================================ */

/* ================================================
   FONT FACES
   ================================================ */

/* Gilroy - for headings (h1, h2, h3, h4) */
@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Thin.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-UltraLight.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-UltraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Light.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Regular.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Medium.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-SemiBold.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Bold.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-ExtraBold.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/gilroy/Gilroy-Black.woff2') format('woff2'),
       url('/fonts/gilroy/Gilroy-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Raleway - for body text (p, etc.) */
@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway-Light.woff2') format('woff2'),
       url('/fonts/raleway/Raleway-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway.woff2') format('woff2'),
       url('/fonts/raleway/Raleway.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway-Medium.woff2') format('woff2'),
       url('/fonts/raleway/Raleway-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway-SemiBold.woff2') format('woff2'),
       url('/fonts/raleway/Raleway-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway-Bold.woff2') format('woff2'),
       url('/fonts/raleway/Raleway-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/fonts/raleway/Raleway-ExtraBold.woff2') format('woff2'),
       url('/fonts/raleway/Raleway-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@theme {
  /* Colors - Official Regios Brand */
  --color-regios-white: #FEF9EB;       /* rgb(254, 249, 235) - Warm white/cream background */
  --color-regios-green: #70FF4D;       /* rgb(112, 255, 77) - Bright green accent */
  --color-regios-yellow: #F8C23A;      /* rgb(248, 194, 58) - Yellow/gold accent */
  --color-regios-purple: #9C69FF;      /* rgb(156, 105, 255) - Purple accent */
  --color-regios-black: #626262;       /* hsl(0, 0%, 38.43%) - Dark gray/black */

  /* Extended palette for UI needs */
  --color-regios-purple-dark: #7B4FD9;
  --color-regios-purple-light: #B78FFF;
  --color-regios-green-dark: #5ACC3D;
  --color-regios-green-light: #8FFF70;
  --color-regios-yellow-dark: #D9A82E;
  --color-regios-yellow-light: #FFDA6A;
  --color-regios-gray: #6B7280;
  --color-regios-gray-light: #9CA3AF;
  --color-regios-gray-dark: #374151;

  /* Font families */
  --font-sans: "Raleway", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Raleway", ui-sans-serif, system-ui, sans-serif;
  --font-gilroy: "Gilroy", ui-sans-serif, system-ui, sans-serif;

  /* Fluid font sizes using clamp(min, preferred, max) */
  --text-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);      /* 40px → 72px */
  --text-h2: clamp(2rem, 4vw + 0.5rem, 3.5rem);      /* 32px → 56px */
  --text-h3: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem);  /* 24px → 35px */
  --text-h4: clamp(1.2rem, 1.5vw + 0.5rem, 1.4rem);  /* 19px → 22px */
  --text-large: clamp(1.5rem, 2vw + 0.5rem, 2.2rem); /* 24px → 35px */
  --text-normal: clamp(1rem, 1vw + 0.5rem, 1.25rem); /* 16px → 20px */
  --text-body: clamp(0.95rem, 0.8vw + 0.5rem, 1.1rem); /* 15px → 18px */
  --text-small: clamp(0.85rem, 0.5vw + 0.5rem, 0.95rem); /* 14px → 15px */
  --text-meta: clamp(0.875rem, 0.6vw + 0.5rem, 1rem);  /* 14px → 16px */

  /* Fluid icon/SVG sizes */
  --icon-sm: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);     /* 16px → 24px */
  --icon-md: clamp(1.5rem, 2vw + 0.5rem, 2.5rem);     /* 24px → 40px */
  --icon-lg: clamp(3rem, 4vw + 1rem, 5rem);           /* 48px → 80px */
  --icon-xl: clamp(4rem, 6vw + 1rem, 8rem);           /* 64px → 128px */

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-section: 6rem;
  --spacing-content: 4rem;
}

/* ================================================
   BASE STYLES
   ================================================ */

@layer base {
  html {
    @apply antialiased;
    /* Fluid font-size: scales from 14px at 320px viewport to 20px at 1920px viewport */
    /* Formula: 14px + (20 - 14) * ((100vw - 320px) / (1920 - 320)) */
    /* Simplified: 14px + 6 * ((100vw - 320px) / 1600) = 14px + 0.375vw - 0.75px */
    font-size: calc(13.25px + 0.375vw);
    scroll-behavior: smooth;
  }

  /* Scroll offset for fixed header in style guide */
  [id] {
    scroll-margin-top: 6rem;
  }

  /* Lock at minimum on small screens */
  @media (max-width: 320px) {
    html {
      font-size: 14px;
    }
  }

  /* Lock at maximum on large screens */
  @media (min-width: 1920px) {
    html {
      font-size: 20px;
    }
  }

  body {
    @apply bg-regios-purple text-regios-gray-dark font-sans;
    font-weight: 400;
    line-height: 1.4em;
  }

  /* Headings: Gilroy Black (900 = the absolute boldest!), uppercase */
  h1, h2, h3, h4, h5, h6 {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 900 !important;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 2rem 0;
  }

  /* Fluid heading sizes */
  h1 {
    font-size: var(--text-h1);
    line-height: 0.86;
  }

  h2 {
    font-size: var(--text-h2);
    line-height: 0.9;
  }

  h3 {
    font-size: var(--text-h3);
    line-height: 0.95;
  }

  h4 {
    font-size: var(--text-h4);
    line-height: 0.98;
  }

  p {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-normal);
    font-weight: 300;
    line-height: 1.4;
  }

  /* Large text (p.large) */
  .text-large {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-large);
    font-weight: 300;
    line-height: 1.4;
  }

  /* Small text utility */
  .text-small {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 300;
    line-height: 1.4;
  }

  a {
    @apply text-regios-purple hover:text-regios-purple-dark transition-colors;
  }
}

/* ================================================
   COMPONENT STYLES
   ================================================ */

@layer components {
  /* Brand Bubbles - decorative blob shapes */
  /* Bubble 1 shape */
  .bubble-1 {
    display: inline-block;
    aspect-ratio: 1289.63 / 1079.59;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1289.63 1079.59'%3E%3Cpath d='M447.5,69.05c168.48,99.11,201.83-145.08,382.15-44.02,178.75,100.17,10.97,191.43,240.89,221.16,182.82,23.64,250.33,222.88,205.9,352-66.99,194.65-108.37,127.81-166.66,287.32-24.77,67.79-39.05,130.42-149.06,170.84-236.14,86.75-250.46-102.4-409.02-33.03-164,71.75-341.02,40.9-429.62-24.38-73.05-63.73-154.56-210.76-108.8-341.94,108.7-239.39,24.39-245.84,27.96-376.38C46.45,89.93,303.2-15.83,447.5,69.05Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1289.63 1079.59'%3E%3Cpath d='M447.5,69.05c168.48,99.11,201.83-145.08,382.15-44.02,178.75,100.17,10.97,191.43,240.89,221.16,182.82,23.64,250.33,222.88,205.9,352-66.99,194.65-108.37,127.81-166.66,287.32-24.77,67.79-39.05,130.42-149.06,170.84-236.14,86.75-250.46-102.4-409.02-33.03-164,71.75-341.02,40.9-429.62-24.38-73.05-63.73-154.56-210.76-108.8-341.94,108.7-239.39,24.39-245.84,27.96-376.38C46.45,89.93,303.2-15.83,447.5,69.05Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  /* Bubble 2 shape */
  .bubble-2 {
    display: inline-block;
    aspect-ratio: 1286.62 / 1079.84;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1286.62 1079.84'%3E%3Cpath d='M444.29,69.07c168.51,99.13,201.87-145.11,382.23-44.03,178.79,100.19,10.97,191.48,240.95,221.22,182.86,23.64,250.39,222.93,205.95,352.07-67.01,194.7-108.39,127.85-166.7,287.39-24.78,67.82-39.06,130.46-149.1,170.88-236.19,86.76-250.51-102.43-409.12-33.04-164.04,71.77-341.1,40.91-429.71-24.38-73.07-63.74-145.84-187.24-108.82-342.02,108.73-239.44,24.39-245.89,27.97-376.47C43.15,89.95,299.95-15.83,444.29,69.07Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1286.62 1079.84'%3E%3Cpath d='M444.29,69.07c168.51,99.13,201.87-145.11,382.23-44.03,178.79,100.19,10.97,191.48,240.95,221.22,182.86,23.64,250.39,222.93,205.95,352.07-67.01,194.7-108.39,127.85-166.7,287.39-24.78,67.82-39.06,130.46-149.1,170.88-236.19,86.76-250.51-102.43-409.12-33.04-164.04,71.77-341.1,40.91-429.71-24.38-73.07-63.74-145.84-187.24-108.82-342.02,108.73-239.44,24.39-245.89,27.97-376.47C43.15,89.95,299.95-15.83,444.29,69.07Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  /* Bubble 3 shape */
  .bubble-3 {
    display: inline-block;
    aspect-ratio: 1313.46 / 1079.32;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1313.46 1079.32'%3E%3Cpath d='M976.56,988.78c-217.71-20.44-123.67,122.65-381.25,83.81-173.08-55.2-87.01-186.35-353.23-118.75C-15.55,1019.27-49.41,787.97,55.66,664.14c122.37-144.22-44.11-153.94,9.48-348.63,17.6-63.94,77.5-127.72,178.57-164.86,216.97-79.7,223.01,22.75,364.34-61.38C749.39,5.15,780.46-23.02,925.46,19.82c72.87,21.53,169.29,104.88,164.86,251-4.43,146.12,106.27,177.12,106.27,177.12,0,0,221.24,112.8,54.92,285.32-161.66,167.7-71.55,275.97-274.95,255.53Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1313.46 1079.32'%3E%3Cpath d='M976.56,988.78c-217.71-20.44-123.67,122.65-381.25,83.81-173.08-55.2-87.01-186.35-353.23-118.75C-15.55,1019.27-49.41,787.97,55.66,664.14c122.37-144.22-44.11-153.94,9.48-348.63,17.6-63.94,77.5-127.72,178.57-164.86,216.97-79.7,223.01,22.75,364.34-61.38C749.39,5.15,780.46-23.02,925.46,19.82c72.87,21.53,169.29,104.88,164.86,251-4.43,146.12,106.27,177.12,106.27,177.12,0,0,221.24,112.8,54.92,285.32-161.66,167.7-71.55,275.97-274.95,255.53Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  /* Bubble 4 shape */
  .bubble-4 {
    display: inline-block;
    aspect-ratio: 1201.24 / 1079.27;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1201.24 1079.27'%3E%3Cpath d='M839.25,1032.05c-158.77-94.51-246.37,107.62-387.82,28.35-140.21-78.58,11.89-270.33-215.4-212.62-219.96,55.85-248.87-141.62-159.17-247.34C181.34,477.32-39.42,469.54,6.33,303.32c15.03-54.59,66.17-109.05,152.47-140.74,185.23-68.04,269.02,18.9,389.68-52.92C669.14,37.83,689.65-25.94,813.44,10.65c62.21,18.38,150.56,129.25,146.78,254-3.78,124.75,90.73,151.21,90.73,151.21,0,0,248.46,73.16,106.46,220.45-138.03,143.17-109.22,184.87-87.53,223.59,73.2,130.67-71.85,266.66-230.63,172.15Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1201.24 1079.27'%3E%3Cpath d='M839.25,1032.05c-158.77-94.51-246.37,107.62-387.82,28.35-140.21-78.58,11.89-270.33-215.4-212.62-219.96,55.85-248.87-141.62-159.17-247.34C181.34,477.32-39.42,469.54,6.33,303.32c15.03-54.59,66.17-109.05,152.47-140.74,185.23-68.04,269.02,18.9,389.68-52.92C669.14,37.83,689.65-25.94,813.44,10.65c62.21,18.38,150.56,129.25,146.78,254-3.78,124.75,90.73,151.21,90.73,151.21,0,0,248.46,73.16,106.46,220.45-138.03,143.17-109.22,184.87-87.53,223.59,73.2,130.67-71.85,266.66-230.63,172.15Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  /* Bubble 5 shape */
  .bubble-5 {
    display: inline-block;
    aspect-ratio: 1234.62 / 1079.93;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1234.62 1079.93'%3E%3Cpath d='M386.8,50.02c168.2,100.12,261-114.01,410.85-30.03,148.54,83.24,3.5,180,228.19,225.24,183.17-10.98,263.65,150.03,168.62,262.02-110.68,130.44,70.32,155.36,21.86,331.44-15.92,57.84-76.47,94.17-167.89,127.74-196.23,72.08-231.68-87.04-359.5-10.95-73,41.97-144.41,155.24-275.56,116.49-65.9-19.47-183.26-53.68-179.25-185.83,4.01-132.16-96.11-160.19-96.11-160.19,0,0-238.67-100.66-88.25-256.7,146.22-151.67,115.71-195.84,92.73-236.86C64.93,93.96,218.6-50.1,386.8,50.02Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1234.62 1079.93'%3E%3Cpath d='M386.8,50.02c168.2,100.12,261-114.01,410.85-30.03,148.54,83.24,3.5,180,228.19,225.24,183.17-10.98,263.65,150.03,168.62,262.02-110.68,130.44,70.32,155.36,21.86,331.44-15.92,57.84-76.47,94.17-167.89,127.74-196.23,72.08-231.68-87.04-359.5-10.95-73,41.97-144.41,155.24-275.56,116.49-65.9-19.47-183.26-53.68-179.25-185.83,4.01-132.16-96.11-160.19-96.11-160.19,0,0-238.67-100.66-88.25-256.7,146.22-151.67,115.71-195.84,92.73-236.86C64.93,93.96,218.6-50.1,386.8,50.02Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  /* Bubble color variants */
  .bubble-purple { background-color: var(--color-regios-purple); }
  .bubble-green { background-color: var(--color-regios-green); }
  .bubble-yellow { background-color: var(--color-regios-yellow); }
  .bubble-white { background-color: #fff; }
  .bubble-black { background-color: #000; }

  /* OÖE Shapes - decorative shapes with flowing line and logo accent */
  .ooe-shape {
    display: inline-block;
    aspect-ratio: 385.82 / 362;
    --shape-fill: var(--color-regios-green);
    --shape-stroke: var(--color-regios-purple);
    --shape-line-width: 0.3rem;
    --shape-logo-stroke-width: 0.4rem;
  }

  .ooe-shape svg {
    width: 100%;
    height: 100%;
  }

  .ooe-shape .shape-line {
    fill: none;
    stroke: var(--shape-fill);
    stroke-width: var(--shape-line-width);
  }

  .ooe-shape .shape-logo {
    fill: var(--shape-fill);
    stroke: var(--shape-stroke);
    stroke-width: var(--shape-logo-stroke-width);
    stroke-miterlimit: 10;
  }

  /* OÖE shape fill color variants */
  .ooe-shape-fill-green { --shape-fill: var(--color-regios-green); }
  .ooe-shape-fill-yellow { --shape-fill: var(--color-regios-yellow); }
  .ooe-shape-fill-purple { --shape-fill: var(--color-regios-purple); }
  .ooe-shape-fill-white { --shape-fill: #fff; }
  .ooe-shape-fill-black { --shape-fill: #000; }

  /* OÖE shape stroke color variants */
  .ooe-shape-stroke-purple { --shape-stroke: var(--color-regios-purple); }
  .ooe-shape-stroke-green { --shape-stroke: var(--color-regios-green); }
  .ooe-shape-stroke-yellow { --shape-stroke: var(--color-regios-yellow); }
  .ooe-shape-stroke-white { --shape-stroke: #fff; }
  .ooe-shape-stroke-black { --shape-stroke: #000; }

  /* OÖE shape line thickness variants (the flowing line) */
  .ooe-shape-line-hairline { --shape-line-width: 0.1rem; }
  .ooe-shape-line-extra-thin { --shape-line-width: 0.15rem; }
  .ooe-shape-line-thin { --shape-line-width: 0.2rem; }
  .ooe-shape-line-normal { --shape-line-width: 0.3rem; }
  .ooe-shape-line-thick { --shape-line-width: 0.5rem; }
  .ooe-shape-line-bold { --shape-line-width: 0.75rem; }

  /* OÖE shape logo stroke thickness variants (stroke around the bolt icon) */
  .ooe-shape-logo-stroke-thin { --shape-logo-stroke-width: 0.25rem; }
  .ooe-shape-logo-stroke-normal { --shape-logo-stroke-width: 0.4rem; }
  .ooe-shape-logo-stroke-thick { --shape-logo-stroke-width: 0.6rem; }
  .ooe-shape-logo-stroke-bold { --shape-logo-stroke-width: 0.85rem; }

  /* OÖE Shape 2 - larger variant with different design */
  .ooe-shape-2 {
    display: inline-block;
    aspect-ratio: 1431.87 / 1325.58;
    --shape-line-width: 10px;
  }

  .ooe-shape-2 svg {
    width: 100%;
    height: 100%;
  }

  .ooe-shape-2 .shape-line {
    fill: none;
    stroke: var(--shape-stroke, var(--color-regios-green));
    stroke-width: var(--shape-line-width);
    stroke-linecap: round;
    stroke-miterlimit: 10;
  }

  .ooe-shape-2 .shape-logo {
    fill: var(--shape-fill, var(--color-regios-green));
  }

  /* Buttons - matching Squarespace design */
  .btn-primary {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply inline-flex items-center justify-center px-6 py-3 cursor-pointer bg-regios-green text-regios-purple hover:opacity-90;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(156, 105, 255, 0.3);
  }

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

  .btn-secondary {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply inline-flex items-center justify-center px-6 py-3 cursor-pointer bg-transparent border-2 border-regios-green text-regios-green hover:bg-regios-green hover:text-regios-purple;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .btn-secondary:hover {
    transform: translateY(-1px);
  }

  .btn-secondary:active {
    transform: translateY(0);
  }

  .btn-purple {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply inline-flex items-center justify-center px-6 py-3 cursor-pointer bg-regios-purple text-white hover:opacity-90;
    border-radius: 10px;
    transition: opacity 0.1s linear;
  }

  .btn-outline-purple {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply inline-flex items-center justify-center px-6 py-3 cursor-pointer bg-transparent border-2 border-regios-purple text-regios-purple hover:bg-regios-purple hover:text-white;
    border-radius: 10px;
    transition: all 0.1s linear;
  }

  .btn-white {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply inline-flex items-center justify-center px-6 py-3 cursor-pointer bg-regios-white text-regios-purple hover:opacity-90;
    border-radius: 10px;
    transition: opacity 0.1s linear;
  }

  .btn-lg {
    @apply px-8 py-4;
    font-size: var(--text-normal);
  }

  .btn-sm {
    @apply px-4 py-2;
    font-size: clamp(0.75rem, 0.5vw + 0.5rem, 0.85rem);
  }

  /* Cards - matching Squarespace design */
  .card {
    @apply bg-regios-white text-regios-black overflow-hidden;
    padding: 6%;
    border-radius: 0;
  }

  .card-purple {
    @apply bg-regios-purple text-white overflow-hidden;
    padding: 6%;
    border-radius: 0;
  }

  .card-green {
    @apply bg-regios-green text-regios-black overflow-hidden;
    padding: 6%;
    border-radius: 0;
  }

  .card-yellow {
    @apply bg-regios-yellow text-regios-black overflow-hidden;
    padding: 6%;
    border-radius: 0;
  }

  .card-black {
    @apply bg-regios-black text-white overflow-hidden;
    padding: 6%;
    border-radius: 0;
  }

  /* Contact Cards Grid - 3 columns with edge-to-edge outer boxes */
  .contact-cards-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5vw;
    min-height: 12vw;
  }

  .contact-card h3 {
    margin: 0;
    text-align: left;
    line-height: 1.2;
  }

  .contact-card-content {
    display: flex;
    align-items: center;
    gap: 1.5vw;
  }

  .contact-card-icon {
    width: 4vw;
    height: 4vw;
    flex-shrink: 0;
    color: white;
  }

  .contact-card .card-arrow {
    margin: 0;
    margin-top: 4vw;
    align-self: flex-end;
  }

  /* First card: extra padding on left to align content with 8vw margin */
  .contact-cards-grid .contact-card:first-child {
    padding-left: 8vw;
  }

  /* Last card: extra padding on right to align content with 8vw margin */
  .contact-cards-grid .contact-card:last-child {
    padding-right: 8vw;
  }

  /* Pastel card colors */
  .card-pastel-purple {
    background-color: #E2D4FF;
  }

  .card-pastel-green {
    background-color: #D3FEC5;
  }

  .card-pastel-green .card-arrow {
    @apply text-regios-green;
  }

  .card-pastel-yellow {
    background-color: #FFF0C5;
  }

  .card-pastel-yellow .card-arrow {
    @apply text-regios-yellow;
  }

  /* Footer social icons - consistent sizing and stroke weight */
  .footer-social-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
  }

  /* Contact social icons */
  .contact-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    padding: 2vw 0;
    background-color: var(--color-regios-purple);
  }

  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3vw;
    height: 3vw;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .social-icon svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.2s ease;
  }

  .social-icon:hover {
    transform: scale(1.1);
  }

  .social-icon:hover svg {
    fill: var(--color-regios-green);
  }

  /* Card with image on top */
  .card-with-image {
    @apply overflow-hidden flex flex-col;
    border-radius: 0;
  }

  .card-with-image .card-image {
    @apply w-full overflow-hidden;
  }

  .card-with-image .card-image img {
    @apply w-full h-auto object-cover;
    display: block;
  }

  .card-with-image .card-content {
    padding: 6%;
  }

  /* Card link styling */
  .card a,
  .card-purple a,
  .card-green a,
  .card-yellow a,
  .card-black a {
    @apply text-inherit no-underline;
  }

  /* Cards with arrow need flex layout to push arrow to bottom */
  .card-purple,
  .card-green,
  .card-yellow,
  .card-black,
  .card {
    @apply flex flex-col;
  }

  /* Card arrow - Gilroy Black (900) for extra bold arrow */
  .card-arrow {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-h3);
    font-weight: 900;         /* Black - the boldest */
    line-height: 0.95;
    @apply block no-underline mt-auto text-right;
  }

  .card-arrow:hover {
    @apply opacity-80;
  }

  /* Arrow colors based on card background */
  .card-purple .card-arrow {
    @apply text-regios-green;
  }

  .card-green .card-arrow {
    @apply text-regios-purple;
  }

  .card-yellow .card-arrow {
    @apply text-regios-purple;
  }

  .card-black .card-arrow {
    @apply text-regios-yellow;
  }

  .card .card-arrow {
    @apply text-regios-purple;
  }

  /* Card content hover zoom effect */
  .card-purple h3,
  .card-green h3,
  .card-yellow h3,
  .card-black h3,
  .card-purple .card-arrow,
  .card-green .card-arrow,
  .card-yellow .card-arrow,
  .card-black .card-arrow {
    transition: transform 0.3s ease;
  }

  .card-purple:hover h3,
  .card-green:hover h3,
  .card-yellow:hover h3,
  .card-black:hover h3,
  .card-purple:hover .card-arrow,
  .card-green:hover .card-arrow,
  .card-yellow:hover .card-arrow,
  .card-black:hover .card-arrow {
    transform: scale(1.1);
  }

  /* Contact Icon Panels */
  .contact-panels-container {
    @apply grid md:grid-cols-3 gap-0 relative;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .contact-icon-panel {
    @apply block w-full relative;
    padding: 3vw 4vw;
    z-index: 1;
  }

  @media (min-width: 768px) {
    .contact-icon-panel {
      overflow: visible;
      transition: z-index 0s 0.5s;
    }

    .contact-icon-panel:hover {
      z-index: 10;
      transition: z-index 0s 0s;
    }
  }

  .contact-panel-content {
    @apply flex items-center relative;
    z-index: 2;
    gap: 3vw;
  }

  .contact-panel-text {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .contact-icon-panel-black {
    @apply bg-regios-black;
  }

  .contact-icon-panel-black .contact-icon {
    @apply text-regios-yellow;
  }

  .contact-icon-panel-black .contact-panel-text {
    @apply text-white;
  }

  .contact-icon-panel-purple {
    @apply bg-regios-purple;
  }

  .contact-icon-panel-purple .contact-icon {
    @apply text-white;
  }

  .contact-icon-panel-purple .contact-panel-text {
    @apply text-white;
  }

  .contact-icon {
    width: 6vw;
    height: 6vw;
    min-width: 2.5rem;
    min-height: 2.5rem;
    max-width: 5rem;
    max-height: 5rem;
    flex-shrink: 0;
    stroke-width: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* Hover: icon zooms and tilts */
  .contact-icon-panel:hover .contact-icon {
    transform: scale(1.5) rotate(-12deg);
  }

  /* Hover: text tilts clockwise and zooms */
  .contact-icon-panel:hover .contact-panel-text {
    transform: rotate(12deg) scale(1.2);
  }


  /* Hero variant - all purple backgrounds, green icons, white text */
  .contact-panels-hero {
    overflow: visible; /* Allow icons to overflow into hero */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: transparent; /* Let wrapper background show through */
  }

  .contact-panels-hero .contact-icon-panel {
    background: transparent; /* Transparent to show hero bg SVG through */
    overflow: visible; /* Allow icons to overflow upward */
  }

  .contact-panels-hero .contact-icon {
    @apply text-regios-green;
  }

  .contact-panels-hero .contact-panel-text {
    @apply text-white;
  }

  /* Desktop: no expansion background for hero variant */
  @media (min-width: 768px) {
    .contact-panels-hero .contact-icon-panel::before {
      display: none; /* No expansion effect - keep background SVG visible */
    }

    /* Allow icons to overflow upward into hero on hover */
    .contact-panels-hero .contact-icon-panel:hover .contact-icon {
      transform: scale(2.5) rotate(-12deg) translateY(-30%);
    }
  }

  /* Sections */
  .section {
    @apply py-16 md:py-24 px-4 md:px-8;
  }

  .section-purple {
    @apply py-16 md:py-24 px-4 md:px-8 bg-regios-purple text-white;
  }

  /* Footer with inline SVG background */
  .footer {
    @apply py-16 md:py-24 px-4 md:px-8 bg-regios-purple text-white;
    position: relative;
    overflow: hidden;
  }

  .footer-ooe-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    /* Mobile positioning */
    width: 130%;
    left: -3.5rem;
    top: 12rem;
  }

  @media (min-width: 768px) {
    .footer-ooe-shape {
      /* Desktop positioning */
      width: 54vw;
      left: -11vw;
      top: 1vw;
    }
  }


  .section-black {
    @apply py-16 md:py-24 px-4 md:px-8 bg-regios-black text-white;
  }

  /* Container */
  .container-narrow {
    @apply max-w-4xl mx-auto;
  }

  .container-wide {
    @apply max-w-7xl mx-auto;
  }

  /* Container with hero-matching margins (8vw left/right) */
  .container-hero {
    padding-left: 8vw;
    padding-right: 8vw;
    width: 100%;
  }

  /* Text highlights */
  .text-highlight-green {
    @apply text-regios-green;
  }

  .text-highlight-yellow {
    @apply text-regios-yellow;
  }

  .text-highlight-purple {
    @apply text-regios-purple;
  }

  /* Navigation */
  .nav-link {
    @apply text-white font-medium uppercase tracking-wide text-sm hover:opacity-80 transition-opacity;
  }

  .nav-link-active {
    @apply text-white font-medium uppercase tracking-wide text-sm hover:opacity-80 transition-opacity underline underline-offset-4;
  }

  /* Forms — default (light background, used in modals etc.) */
  .input {
    @apply w-full px-4 py-3 border border-regios-gray-light focus:outline-none focus:ring-2 focus:ring-regios-purple focus:border-transparent;
    border-radius: 10px;
    background-color: white;
  }

  .label {
    @apply block text-sm font-medium text-regios-gray-dark mb-2;
  }

  /* intl-tel-input overrides */
  .iti {
    width: 100%;
  }

  .iti .iti__tel-input {
    @apply w-full px-4 py-3 border border-regios-gray-light focus:outline-none focus:ring-2 focus:ring-regios-purple focus:border-transparent;
    border-radius: 10px;
    background-color: white;
    padding-left: 52px;
  }

  .iti--allow-dropdown .iti__country-container {
    border-radius: 10px 0 0 10px;
  }

  /* Custom Checkbox - Brand styled (default light) */
  .checkbox-brand {
    @apply flex items-start gap-3 cursor-pointer;
  }

  .checkbox-brand input[type="checkbox"] {
    @apply sr-only; /* Hide native checkbox */
  }

  .checkbox-brand .checkbox-box {
    @apply flex-shrink-0 w-6 h-6 border-2 border-regios-purple rounded-md transition-all duration-200;
    background-color: white;
  }

  .checkbox-brand input[type="checkbox"]:checked + .checkbox-box {
    @apply bg-regios-purple border-regios-purple;
  }

  .checkbox-brand .checkbox-box::after {
    content: '';
    @apply block w-full h-full opacity-0 transition-opacity duration-200;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2370FF4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .checkbox-brand input[type="checkbox"]:checked + .checkbox-box::after {
    @apply opacity-100;
  }

  .checkbox-brand input[type="checkbox"]:focus + .checkbox-box {
    @apply ring-2 ring-regios-purple ring-offset-2;
  }

  .checkbox-brand .checkbox-label {
    @apply text-sm text-regios-gray-dark leading-tight;
  }

  .checkbox-brand .checkbox-label a {
    @apply text-regios-purple underline hover:text-regios-purple-dark;
  }

  /* Forms — dark variant (on purple backgrounds like join form) */
  .bg-regios-purple .input {
    @apply border-white/20 focus:ring-regios-green text-white;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .bg-regios-purple .input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .bg-regios-purple .input option {
    background-color: #7B4FD9;
    color: white;
  }

  .bg-regios-purple .input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
  }

  /* IBAN validation status icon */
  /* Upload dropzone */
  .upload-dropzone {
    @apply border-2 border-dashed border-white/20 rounded-xl p-6 text-center transition-all duration-200;
  }

  .upload-dropzone:hover,
  .upload-dropzone-active {
    @apply border-regios-green bg-regios-green/5;
  }

  .upload-dropzone-content {
    @apply cursor-pointer;
  }

  .upload-dropzone-file {
    @apply flex items-center gap-3 text-left;
  }

  .iban-status {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
  }

  .bg-regios-purple .label {
    @apply text-white/80;
  }

  .bg-regios-purple .iti .iti__tel-input {
    @apply border-white/20 focus:ring-regios-green text-white;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .bg-regios-purple .iti .iti__tel-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .bg-regios-purple .checkbox-brand .checkbox-box {
    @apply border-white/40;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .bg-regios-purple .checkbox-brand input[type="checkbox"]:checked + .checkbox-box {
    @apply bg-regios-green border-regios-green;
  }

  .bg-regios-purple .checkbox-brand .checkbox-box::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C69FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  }

  .bg-regios-purple .checkbox-brand input[type="checkbox"]:focus + .checkbox-box {
    @apply ring-regios-green ring-offset-regios-purple;
  }

  .bg-regios-purple .checkbox-brand .checkbox-label {
    @apply text-white/80;
  }

  .bg-regios-purple .checkbox-brand .checkbox-label a {
    @apply text-regios-green hover:text-regios-green-dark;
  }

  /* Help button — fixed top-right */
  /* Accessibility button */
  .a11y-btn {
    position: fixed;
    top: 1.25rem;
    right: 7.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
  }

  .a11y-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-regios-green);
  }

  .a11y-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  @media (max-width: 640px) {
    .a11y-btn {
      right: 4rem;
    }
  }

  /* Accessibility panel */
  .a11y-panel {
    position: fixed;
    top: 4rem;
    right: 6rem;
    z-index: 60;
    width: 220px;
    padding: 1rem;
    background: #2D1B69;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: tooltipFadeIn 0.15s ease;
  }

  .a11y-panel.hidden {
    display: none;
  }

  @media (max-width: 640px) {
    .a11y-panel {
      right: 1rem;
      top: 4rem;
    }
  }

  .a11y-panel-title {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
  }

  .a11y-toggle {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    cursor: pointer;
    color: white;
    font-size: 0.875rem;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  }

  .a11y-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .a11y-toggle-box {
    flex-shrink: 0;
    width: 2.5rem;
    height: 1.375rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    position: relative;
    transition: background 0.2s ease;
  }

  .a11y-toggle-box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.125rem;
    height: 1.125rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
  }

  .a11y-toggle input:checked + .a11y-toggle-box {
    background: var(--color-regios-green);
  }

  .a11y-toggle input:checked + .a11y-toggle-box::after {
    transform: translateX(1.125rem);
  }

  /* =========================================================
     HIGH CONTRAST MODE
     ========================================================= */
  .a11y-contrast .bg-regios-purple {
    background-color: #000 !important;
  }

  .a11y-contrast .text-regios-green,
  .a11y-contrast .text-highlight-green {
    color: #fff !important;
  }

  .a11y-contrast .text-white\/80,
  .a11y-contrast .text-white\/70,
  .a11y-contrast .text-white\/60,
  .a11y-contrast .text-white\/50 {
    color: #ccc !important;
  }

  .a11y-contrast .bg-regios-purple .input {
    background-color: #111 !important;
    border-color: #888 !important;
    color: #fff !important;
  }

  .a11y-contrast .bg-regios-purple .input:focus {
    border-color: #fff !important;
    box-shadow: 0 0 0 2px #fff !important;
  }

  .a11y-contrast .bg-regios-purple .input::placeholder {
    color: #888 !important;
  }

  .a11y-contrast .bg-regios-purple .input option {
    background-color: #111 !important;
    color: #fff !important;
  }

  .a11y-contrast .product-card {
    background-color: #111 !important;
    border-color: #555 !important;
  }

  .a11y-contrast .product-card:hover {
    border-color: #aaa !important;
    box-shadow: none !important;
  }

  .a11y-contrast .product-card.card-selected {
    border-color: #fff !important;
    box-shadow: 0 0 0 1px #fff !important;
    background-color: #222 !important;
  }

  .a11y-contrast .product-card .text-regios-green {
    color: #ccc !important;
  }

  .a11y-contrast .product-card .card-arrow {
    color: #999 !important;
  }

  .a11y-contrast .product-card.card-selected .card-arrow {
    color: #fff !important;
  }

  .a11y-contrast .btn-primary {
    background-color: #fff !important;
    color: #000 !important;
  }

  .a11y-contrast .btn-primary:hover {
    background-color: #ddd !important;
    box-shadow: none !important;
  }

  .a11y-contrast .btn-primary.opacity-40 {
    background-color: #555 !important;
    color: #999 !important;
  }

  .a11y-contrast .btn-secondary,
  .a11y-contrast .bg-regios-purple .btn-secondary {
    background-color: #222 !important;
    border-color: #fff !important;
    color: #fff !important;
  }

  .a11y-contrast .btn-secondary:hover,
  .a11y-contrast .bg-regios-purple .btn-secondary:hover {
    background-color: #444 !important;
    border-color: #fff !important;
    color: #fff !important;
  }

  .a11y-contrast .btn-secondary:active,
  .a11y-contrast .bg-regios-purple .btn-secondary:active {
    background-color: #555 !important;
  }

  .a11y-contrast .bg-white\/20,
  .a11y-contrast .bg-white\/10 {
    background-color: #222 !important;
  }

  /* Progress bar */
  .a11y-contrast [data-join-wizard-target="progressBar"] {
    background-color: #fff !important;
  }

  .a11y-contrast .bg-white\/20.rounded-full {
    background-color: #333 !important;
  }

  /* Summary pills */
  .a11y-contrast .summary-pill {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #666 !important;
  }

  /* Help & a11y buttons */
  .a11y-contrast .help-btn,
  .a11y-contrast .a11y-btn {
    background: #222 !important;
    border-color: #666 !important;
  }

  .a11y-contrast .help-btn:hover,
  .a11y-contrast .a11y-btn:hover {
    background: #333 !important;
    border-color: #fff !important;
  }

  /* Panels */
  .a11y-contrast .help-panel,
  .a11y-contrast .a11y-panel,
  .a11y-contrast .missing-fields-tooltip {
    background: #111 !important;
    border-color: #666 !important;
  }

  /* Checkboxes */
  .a11y-contrast .checkbox-brand .checkbox-box {
    border-color: #888 !important;
    background-color: #111 !important;
  }

  .a11y-contrast .checkbox-brand input[type="checkbox"]:checked + .checkbox-box {
    background-color: #fff !important;
    border-color: #fff !important;
  }

  .a11y-contrast .checkbox-brand input[type="checkbox"]:checked + .checkbox-box::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
  }

  .a11y-contrast .checkbox-brand .checkbox-label {
    color: #ddd !important;
  }

  .a11y-contrast .checkbox-brand .checkbox-label a {
    color: #fff !important;
    text-decoration: underline !important;
  }

  /* Member lookup section */
  .a11y-contrast .member-lookup-section {
    background-color: #181818 !important;
  }

  /* Links */
  .a11y-contrast .help-link-icon {
    color: #fff !important;
  }

  .a11y-contrast .a11y-toggle-box {
    background: #444 !important;
  }

  .a11y-contrast .a11y-toggle input:checked + .a11y-toggle-box {
    background: #fff !important;
  }

  .a11y-contrast .a11y-toggle input:checked + .a11y-toggle-box::after {
    background: #000 !important;
  }

  /* Modal overrides */
  .a11y-contrast .modal {
    background: #111 !important;
    color: #fff !important;
  }

  .a11y-contrast .modal h3 {
    color: #fff !important;
  }

  .a11y-contrast .modal p {
    color: #ccc !important;
  }

  /* Footer */
  .a11y-contrast .footer {
    background-color: #000 !important;
  }

  .a11y-contrast .footer .ooe-shape {
    --shape-fill: #fff !important;
    --shape-stroke: #fff !important;
  }

  .a11y-contrast .footer-copyright {
    background-color: #000 !important;
  }

  /* =========================================================
     LARGE TEXT MODE
     ========================================================= */
  .a11y-large .bg-regios-purple {
    font-size: 120%;
  }

  .a11y-large .bg-regios-purple .input {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
  }

  .a11y-large .bg-regios-purple .label {
    font-size: 1rem;
  }

  .a11y-large .product-card h3 {
    font-size: 1.3rem !important;
  }

  .a11y-large .product-card p {
    font-size: 1rem !important;
  }

  .a11y-large .product-card .text-regios-green {
    font-size: 1rem !important;
  }

  .a11y-large .checkbox-brand .checkbox-label {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .a11y-large [data-join-wizard-target="progressText"] {
    font-size: 1rem !important;
  }

  .a11y-large .summary-pill {
    font-size: 0.9rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .a11y-large .bg-regios-purple .iti .iti__tel-input {
    padding: 1rem 1.25rem 1rem 52px;
    font-size: 1.1rem;
  }

  /* Headings & page title */
  .a11y-large .bg-regios-purple h1 {
    font-size: 2.2rem !important;
  }

  .a11y-large .bg-regios-purple h2 {
    font-size: 1.6rem !important;
  }

  .a11y-large .bg-regios-purple h3 {
    font-size: 1.3rem !important;
  }

  /* Step descriptions & body text */
  .a11y-large .bg-regios-purple p {
    font-size: 1.05rem !important;
  }

  /* Member lookup section */
  .a11y-large .member-lookup-section h3 {
    font-size: 1.4rem !important;
  }

  .a11y-large .member-lookup-section p {
    font-size: 1.05rem !important;
  }

  /* Buttons */
  .a11y-large .btn-primary,
  .a11y-large .btn-secondary {
    font-size: 1.05rem !important;
    padding: 0.85rem 1.5rem !important;
  }

  /* Progress bar height */
  .a11y-large .bg-regios-purple .h-2 {
    height: 0.65rem !important;
  }

  /* Logo bump */
  .a11y-large .bg-regios-purple svg.h-8 {
    height: 2.5rem !important;
  }

  /* Tooltip / info text */
  .a11y-large .text-xs {
    font-size: 0.9rem !important;
  }

  /* Card arrows */
  .a11y-large .card-arrow {
    font-size: 1.5rem !important;
  }

  /* Help panel content */
  .a11y-large .help-panel-body {
    font-size: 110%;
  }

  .a11y-large .help-section-title {
    font-size: 1rem !important;
  }

  .a11y-large .help-link-item {
    font-size: 1.05rem !important;
    padding: 0.85rem 1rem !important;
  }

  /* Bump thin/light fonts to regular weight for readability */
  .a11y-large .bg-regios-purple .text-white\/60,
  .a11y-large .bg-regios-purple .text-white\/70,
  .a11y-large .bg-regios-purple .text-white\/80 {
    font-weight: 400 !important;
  }

  .a11y-large .bg-regios-purple .text-sm {
    font-size: 1rem !important;
    font-weight: 400 !important;
  }

  .a11y-large .bg-regios-purple .font-medium {
    font-weight: 600 !important;
  }

  /* Footer must NOT be affected by large text mode */
  .a11y-large .footer,
  .a11y-large .footer *,
  .a11y-large .footer-copyright,
  .a11y-large .footer-copyright * {
    font-size: revert !important;
  }

  .help-btn {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
  }

  .help-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-regios-green);
  }

  .help-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }

  .help-btn-label {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
  }

  @media (max-width: 640px) {
    .help-btn-label {
      display: none;
    }
    .help-btn {
      padding: 0.6rem;
    }
  }

  /* Help panel backdrop */
  .help-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .help-panel-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  /* Help slide-out panel */
  .help-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 100%;
    z-index: 100;
    background: #5B3BB8;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .help-panel.open {
    transform: translateX(0);
  }

  .help-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .help-panel-close {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.7;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .help-panel-close:hover {
    opacity: 1;
  }

  .help-panel-close svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .help-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
  }

  .help-section {
    margin-bottom: 2rem;
  }

  .help-section:last-child {
    margin-bottom: 0;
  }

  .help-section-title {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
  }

  .help-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
  }

  .help-link-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .help-link-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-regios-green);
    stroke-width: 1.5;
    flex-shrink: 0;
  }

  .help-link-arrow {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: auto;
    opacity: 0.4;
    flex-shrink: 0;
  }

  .help-link-item:hover .help-link-arrow {
    opacity: 0.8;
  }

  /* Missing fields tooltip (disabled Weiter button hover) */
  .missing-fields-tooltip {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 300px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 1rem;
    background: #2D1B69;
    border: 1px solid rgba(112, 255, 77, 0.3);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.8rem;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 60;
    animation: tooltipFadeIn 0.15s ease;
  }

  .missing-fields-tooltip p {
    color: var(--color-regios-green);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .missing-fields-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .missing-fields-tooltip li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.15rem 0;
  }

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

  /* Join Wizard */
  .product-card {
    @apply p-6 border-2 border-white/20 rounded-lg cursor-pointer transition-all duration-200 relative;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .product-card:hover {
    border-color: rgba(112, 255, 77, 0.5);
    box-shadow: 0 4px 16px rgba(112, 255, 77, 0.15);
  }

  .product-card.card-selected {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-regios-green);
    box-shadow: 0 0 0 1px var(--color-regios-green);
  }

  .product-card .card-arrow {
    @apply absolute bottom-4 right-4 text-white opacity-30;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .product-card:hover .card-arrow {
    @apply opacity-60;
    transform: translateX(2px);
  }

  .product-card.card-selected .card-arrow {
    @apply text-regios-green opacity-100;
    transform: translateX(4px);
  }

  .form-row {
    display: flex;
    gap: 1rem;
  }

  @media (max-width: 639px) {
    .form-row {
      flex-direction: column;
      gap: 0;
    }
  }

  .form-row .form-group {
    flex: 1;
  }

  .form-group {
    @apply mb-4;
  }

  .form-group:last-of-type {
    @apply mb-6;
  }

  .legal-text {
    @apply text-sm leading-relaxed;
  }

  .legal-text h4 {
    @apply text-base;
  }

  .legal-text h5 {
    @apply text-sm;
  }

  /* Wizard Step Transitions */
  .wizard-step {
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .step-enter-right {
    opacity: 0;
    transform: translateX(40px);
  }

  .step-enter-left {
    opacity: 0;
    transform: translateX(-40px);
  }

  .step-exit-left {
    opacity: 0;
    transform: translateX(-40px);
  }

  .step-exit-right {
    opacity: 0;
    transform: translateX(40px);
  }

  .step-active {
    opacity: 1;
    transform: translateX(0);
  }

  /* Summary Pill */
  .summary-pill {
    @apply px-3 py-1 bg-white/10 text-regios-green text-xs font-medium rounded-full cursor-pointer transition-all duration-200;
    animation: pill-appear 0.3s ease-out forwards;
  }

  .summary-pill:hover {
    @apply bg-white/20;
  }

  /* Card Selection Pop */
  @keyframes card-select-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
  }

  .card-selected-pop {
    animation: card-select-pop 0.25s ease-out;
  }

  /* Section Reveal (form sections in step 4) */
  @keyframes section-reveal {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .section-reveal {
    animation: section-reveal 0.3s ease-out forwards;
  }

  /* Summary Pill Entrance */
  @keyframes pill-appear {
    from { opacity: 0; transform: translateY(-4px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .wizard-step,
    .summary-pill,
    .card-selected-pop,
    .section-reveal {
      animation: none !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* Modal */
  .modal-overlay {
    @apply fixed inset-0 bg-black/60 z-50 flex items-center justify-center p-4;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
    overflow-y: auto; /* Allow scrolling when modal is too tall */
  }

  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
  }

  .modal {
    @apply bg-regios-white w-full p-8 relative;
    max-width: 32rem; /* 512px on mobile */
    max-height: calc(100vh - 2rem); /* Leave some space at top/bottom */
    overflow-y: auto; /* Scroll modal content if needed */
    border-radius: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    color: var(--color-regios-black, #1a1a1a);
  }

  /* Reset form elements inside modals to light mode
     (modals have cream bg but may be children of .bg-regios-purple) */
  .modal .input {
    @apply border-regios-gray-light focus:ring-regios-purple text-regios-black;
    background-color: white !important;
  }

  .modal .input::placeholder {
    color: #9ca3af !important;
  }

  .modal .label {
    @apply text-regios-gray-dark;
  }

  .modal .checkbox-brand .checkbox-label {
    @apply text-regios-gray-dark;
  }

  .modal .checkbox-brand .checkbox-label a {
    @apply text-regios-purple underline;
  }

  .modal .checkbox-brand .checkbox-box {
    background-color: white !important;
    border-color: var(--color-regios-purple) !important;
  }

  /* intl-tel-input inside modals — light mode */
  .modal .iti {
    width: 100%;
  }

  .modal .iti .iti__tel-input {
    @apply w-full px-4 py-3 border border-regios-gray-light focus:outline-none focus:ring-2 focus:ring-regios-purple focus:border-transparent;
    border-radius: 10px;
    background-color: white !important;
    color: var(--color-regios-black, #1a1a1a) !important;
    padding-left: 52px;
  }

  .modal .iti .iti__tel-input::placeholder {
    color: #9ca3af !important;
  }

  @media (min-width: 768px) {
    .modal {
      max-width: 40rem; /* 640px on desktop */
      max-height: calc(100vh - 4rem);
      @apply p-10;
    }
  }

  .modal-overlay.active .modal {
    transform: scale(1);
  }

  .modal-close {
    @apply absolute top-4 right-4 w-12 h-12 flex items-center justify-center text-white hover:text-regios-green transition-colors cursor-pointer bg-regios-purple rounded-full;
  }

  .modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }

  .modal h3 {
    @apply text-regios-purple mb-6;
  }


  .modal .form-error {
    @apply mb-4 text-sm;
    color: #dc2626;
  }

  .modal .form-success {
    @apply text-center py-8;
  }

  .modal .form-success h4 {
    @apply text-regios-green mb-2;
  }

  /* WhatsApp Modal */
  .whatsapp-modal-text {
    @apply text-regios-black mb-4;
    font-size: 1rem;
    line-height: 1.5;
  }

  .whatsapp-modal-text a {
    @apply text-regios-purple underline hover:text-regios-purple-dark;
  }

  .whatsapp-modal-buttons {
    @apply flex flex-col gap-3 mt-6;
  }

  .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  .btn-secondary {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    @apply bg-white text-regios-purple border-2 border-regios-purple py-3 px-6 flex items-center justify-center cursor-pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .btn-secondary:hover {
    @apply bg-regios-purple text-white;
  }

  /* Product Boxes (Die Beteiligung) */
  .product-box {
    @apply p-8 md:p-10 flex flex-col;
    border: 6px solid var(--color-regios-green);
    min-height: 400px;
  }

  .product-list {
    @apply text-white/90 space-y-3;
    list-style: none;
    padding-left: 0;
  }

  .product-list li {
    @apply relative pl-6;
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-body);
    line-height: 1.5;
  }

  .product-list li::before {
    content: "•";
    @apply absolute left-0 text-regios-green;
    font-weight: bold;
  }

  .product-box-cta {
    @apply justify-between;
  }

  .product-description {
    @apply text-white/80 mt-6;
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-body);
    line-height: 1.6;
  }

  /* Beteiligung Section (fluid) */
  .section-beteiligung {
    background-color: hsla(235.71, 93.33%, 94.12%, 1);
    height: min(57vw, 100vh);
    min-height: 57vw;
    position: relative;
    display: flex;
    align-items: center;
  }

  .beteiligung-container {
    padding-top: 4vw;
    padding-bottom: 4vw;
  }

  .beteiligung-heading {
    margin-bottom: 3vw;
  }

  .beteiligung-heading h2 {
    line-height: 1.1;
  }

  /* Beteiligung Cards Grid (fluid) */
  .beteiligung-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5vw;
  }

  /* Beteiligung Cards (Deine Beteiligung) */
  .beteiligung-card {
    @apply flex flex-col overflow-hidden;
    border-radius: 0;
    padding: 0;
  }

  .beteiligung-card-image {
    @apply w-full;
    aspect-ratio: 1 / 1;
  }

  .beteiligung-card-image img {
    @apply w-full h-full object-cover;
    display: block;
  }

  /* Image placeholder for development */
  .image-placeholder {
    @apply w-full h-full flex items-center justify-center bg-regios-black text-white/50;
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: 1vw;
    text-align: center;
  }

  .beteiligung-card-content {
    @apply flex flex-col flex-1;
    padding: 1.5vw;
  }

  .beteiligung-card-content h4 {
    margin: 0;
  }

  /* Beteiligung Card Animations */
  @keyframes beteiligung-card-pop {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }
    60% {
      transform: scale(1.02);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .beteiligung-card {
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .beteiligung-card.animate-pop {
    animation: beteiligung-card-pop 0.5s ease-out forwards;
  }

  /* Hover effect - subtle lift and scale */
  .beteiligung-card:hover {
    transform: scale(1.02);
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.15);
  }

  .beteiligung-card h3,
  .beteiligung-card .card-arrow {
    transition: transform 0.3s ease;
  }

  .beteiligung-card:hover h3 {
    transform: scale(1.05);
  }

  .beteiligung-card:hover .card-arrow {
    transform: translateX(0.5vw) scale(1.1);
  }

  /* Steps Section (fluid) */
  .steps-section {
    @apply bg-regios-white;
    height: min(56vw, 100vh);
    min-height: 56vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .steps-container {
    padding-top: 4vw;
    padding-bottom: 4vw;
    position: relative;
    z-index: 1;
  }

  .steps-heading {
    line-height: 1.1;
    margin-bottom: 8vw;
    width: 66%;
  }

  /* Steps section background illustration (fluid) */
  .steps-bg-illustration {
    position: absolute;
    top: 8.5vw;
    left: 8vw;
    width: 114vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .steps-bg-illustration svg {
    width: 100%;
    height: auto;
    opacity: 0.15;
  }

  /* Steps Bar (numbered steps - fluid) */
  .steps-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3vw;
    position: relative;
    z-index: 1;
  }

  .steps-bar-item {
    @apply flex flex-col items-center text-center;
    position: relative;
    z-index: 1;
  }

  .step-number {
    @apply flex items-center justify-center bg-regios-purple text-regios-green font-black;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    font-size: 3vw;
    line-height: 0;
    padding-top: 0.15em;
    margin-bottom: 1vw;
    transition: transform 0.15s ease-out;
  }

  /* Step number bounces when hit by the O */
  .steps-bar-item.hit .step-number {
    animation: stepBounce 0.3s ease-out;
  }

  @keyframes stepBounce {
    0% { transform: translateY(0); }
    40% { transform: translateY(0.8vw); }
    70% { transform: translateY(-0.3vw); }
    100% { transform: translateY(0); }
  }

  /* Headings start hidden, fade in on hit */
  .steps-bar-item h4 {
    @apply text-regios-purple;
    margin: 0;
    opacity: 0;
    transform: translateY(0.7vw);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .steps-bar-item.hit h4 {
    opacity: 1;
    transform: translateY(0);
  }

  /* Step descriptions - brief text under each step */
  .step-description {
    @apply text-regios-purple;
    font-family: var(--font-body);
    margin: 0.5vw 0 0 0;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(0.5vw);
    transition: opacity 0.4s ease-out 0.15s, transform 0.4s ease-out 0.15s;
  }

  .steps-bar-item.hit .step-description {
    opacity: 1;
    transform: translateY(0);
  }

  .step-description a {
    @apply text-regios-purple underline;
    text-decoration-color: var(--color-regios-green);
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
  }

  .step-description a:hover {
    @apply text-regios-green;
    text-decoration-color: var(--color-regios-purple);
  }

  /* Final resting place for scroll companion O - top right of steps section (fluid) */
  .steps-logo-target {
    position: absolute;
    top: 4vw;
    right: 8vw;
    width: 4vw;
    height: 4vw;
    pointer-events: none;
  }

  /* Scroll companion O settled state (after bounce animation) */
  .scroll-companion-o.settled {
    transition: none; /* Disable transitions during/after bounce */
  }

  /* Benefits Steps Section (Ab 500 Euro) - Fluid */
  .benefits-steps-section {
    @apply bg-regios-purple;
    height: min(50vw, 90vh);
    min-height: 50vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .benefits-steps-container {
    padding-top: 4vw;
    padding-bottom: 4vw;
  }

  .benefits-steps-heading {
    line-height: 1.1;
    margin-bottom: 10vw;
  }

  .benefits-steps-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
    margin-bottom: 10vw;
  }

  .benefits-steps-item {
    @apply flex flex-col items-center text-center;
    opacity: 0;
    transform: scale(0);
  }

  /* Pop animation keyframes - scales up beyond final size then back */
  @keyframes benefitPop {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    50% {
      opacity: 1;
      transform: scale(1.2);
    }
    75% {
      transform: scale(0.95);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Visible state with staggered animation delays - slowed down by 2x */
  .benefits-steps-item.visible {
    animation: benefitPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .benefits-steps-item[data-benefit="1"].visible {
    animation-delay: 0s;
  }

  .benefits-steps-item[data-benefit="2"].visible {
    animation-delay: 0.4s;
  }

  .benefits-steps-item[data-benefit="3"].visible {
    animation-delay: 0.8s;
  }

  .benefit-icon-placeholder {
    @apply flex items-center justify-center bg-regios-black;
    width: 6vw;
    height: 6vw;
    border-radius: 50%;
    margin-bottom: 1.5vw;
  }

  .benefit-icon {
    @apply flex items-center justify-center;
    width: 6vw;
    height: 6vw;
    margin-bottom: 1.5vw;
  }

  .benefit-icon svg {
    width: 100%;
    height: 100%;
  }

  .benefits-steps-item h4 {
    margin: 0;
    line-height: 1.3;
  }

  /* Benefits CTA Link */
  .benefits-cta {
    @apply flex items-center justify-center;
    opacity: 0;
    transform: translateY(1vw);
  }

  .benefits-cta.visible {
    animation: benefitCtaFadeIn 1s ease-out 1.4s forwards;
  }

  @keyframes benefitCtaFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .benefits-cta-link {
    @apply flex items-center text-regios-white no-underline;
    gap: 1vw;
    transition: gap 0.2s ease;
  }

  .benefits-cta-link:hover {
    gap: 1.5vw;
  }

  .benefits-cta-link h3 {
    @apply text-regios-white;
    margin: 0;
  }

  .benefits-cta-link h3 span {
    @apply text-regios-green;
  }

  .benefits-cta-link .card-arrow {
    @apply text-regios-green;
    font-size: 2.5vw;
    transition: transform 0.2s ease;
  }

  .benefits-cta-link:hover .card-arrow {
    transform: translateX(0.5vw);
  }

  /* Testimonial Section - Fluid */
  .testimonial-section {
    height: min(57vw, 100vh);
    min-height: 57vw;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .testimonial-container {
    width: 100%;
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .testimonial-heading {
    margin-bottom: 3vw;
  }

  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5vw;
  }

  /* Testimonial Card */
  .testimonial-card {
    cursor: pointer;
    transition: transform 0.3s ease;
  }

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

  .testimonial-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .testimonial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .testimonial-card .play-button {
    position: absolute;
    top: 1vw;
    left: 1vw;
    width: 4.5vw;
    height: 4.5vw;
    background-color: var(--color-regios-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s ease;
  }

  .testimonial-card .play-button svg {
    width: 2.25vw;
    height: 2.25vw;
    color: var(--color-regios-green);
    margin-left: 0.3vw;
  }

  .testimonial-card:hover .play-button {
    transform: scale(1.1);
  }

  .testimonial-card-content {
    display: flex;
    justify-content: space-between;
    padding: 1.5vw;
    min-height: 8vw;
  }

  .testimonial-card-content h3 {
    margin: 0;
    align-self: flex-start;
  }

  .testimonial-card-content .card-arrow {
    margin: 0;
    line-height: 1;
    align-self: flex-end;
    margin-left: 3.9vw;
  }

  .testimonial-card:hover .card-arrow {
    transform: translateX(0.3vw);
  }

  /* CTA Text Sections - Fluid */
  .cta-text-section {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
  }

  /* Smaller CTA Text Section (Gemeinsam) */
  .cta-text-section-small {
    height: min(32vw, 100vh);
    min-height: 32vw;
    display: flex;
    align-items: center;
    position: relative;
  }

  /* Full-screen CTA Section with background image placeholder */
  .cta-text-section-fullscreen {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .cta-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    @apply bg-regios-black;
    z-index: 0;
  }

  .cta-bg-placeholder::after {
    content: "Background image will follow (supplied by Ahmed)";
    position: absolute;
    bottom: 1.5vw;
    right: 1.5vw;
    font-size: 0.8vw;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
  }

  .cta-text-container {
    width: 100%;
    padding-left: 8vw;
    padding-right: 8vw;
    position: relative;
    z-index: 1;
  }

  .cta-text-heading {
    line-height: 1.15;
    max-width: 65vw;
  }

  /* Mühlviertel section bubble */
  .muhlviertel-bubble {
    position: absolute;
    bottom: 1vw;
    right: 3vw;
    width: 27vw;
    transform: rotate(15deg);
  }


  /* Badges */
  .badge-green {
    @apply inline-flex items-center px-3 py-1 text-sm font-medium bg-regios-green text-regios-black;
    border-radius: 10px;
  }

  .badge-purple {
    @apply inline-flex items-center px-3 py-1 text-sm font-medium bg-regios-purple text-white;
    border-radius: 10px;
  }

  .badge-yellow {
    @apply inline-flex items-center px-3 py-1 text-sm font-medium bg-regios-yellow text-regios-black;
    border-radius: 10px;
  }

  /* Accordion / FAQ */
  .accordion {
    @apply w-full;
  }

  .accordion-item {
    @apply border-t border-regios-gray-light;
  }

  .accordion-item:last-child {
    @apply border-b;
  }

  .accordion-trigger {
    @apply w-full flex items-center justify-between py-6 text-left cursor-pointer;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 900;
    font-size: var(--text-normal);
    text-transform: uppercase;
  }

  .accordion-trigger:hover {
    @apply opacity-80;
  }

  .accordion-icon {
    @apply relative flex-shrink-0 w-6 h-6;
  }

  .accordion-icon::before,
  .accordion-icon::after {
    content: '';
    @apply absolute bg-current;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .accordion-icon::before {
    width: 100%;
    height: 6px;
  }

  .accordion-icon::after {
    width: 6px;
    height: 100%;
    transition: transform 0.2s ease;
  }

  .accordion-item[open] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .accordion-content {
    @apply pb-8 pr-12;
  }

  /* Accordion color variants */
  .accordion-purple .accordion-trigger {
    @apply text-regios-purple;
  }

  .accordion-purple .accordion-item {
    @apply border-regios-purple/30;
  }

  .accordion-dark .accordion-trigger {
    @apply text-white;
  }

  .accordion-dark .accordion-item {
    @apply border-white/30;
  }

  .accordion-dark .accordion-content {
    @apply text-white/80;
  }

  /* Download Cards */
  .download-card {
    @apply flex flex-col justify-center bg-regios-white p-[6%] min-h-[200px];
  }

  .download-card a {
    @apply no-underline;
  }

  .download-card h3 {
    @apply mb-0;
  }

  .download-card .download-title {
    @apply text-regios-yellow;
  }

  .download-card .download-keyword {
    @apply text-regios-purple;
  }

  .download-card .download-arrow {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-h3);
    font-weight: 900;
    line-height: 0.95;
    @apply text-regios-yellow text-right block mt-4;
  }

  .download-card:hover .download-arrow {
    @apply opacity-80;
  }

  /* Download card on purple background */
  .download-card-dark {
    @apply flex flex-col justify-center bg-regios-purple p-[6%] min-h-[200px];
  }

  .download-card-dark a {
    @apply no-underline;
  }

  .download-card-dark h3 {
    @apply mb-0;
  }

  .download-card-dark .download-title {
    @apply text-white;
  }

  .download-card-dark .download-keyword {
    @apply text-regios-green;
  }

  .download-card-dark .download-arrow {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-h3);
    font-weight: 900;
    line-height: 0.95;
    @apply text-regios-green text-right block mt-4;
  }

  .download-card-dark:hover .download-arrow {
    @apply opacity-80;
  }

  /* Framed Images - offset frame on bottom and right */
  .framed-image {
    @apply relative;
    padding-right: 0.4vw;
    padding-bottom: 0.4vw;
  }

  .framed-image img {
    @apply w-full h-auto block relative;
    z-index: 1;
  }

  .framed-image::after {
    content: '';
    @apply absolute pointer-events-none;
    top: 0.4vw;
    left: 0.4vw;
    right: 0;
    bottom: 0;
    background-color: var(--frame-color, rgb(156, 105, 255));
    z-index: 0;
  }

  /* Frame color variants */
  .framed-image-purple {
    --frame-color: rgb(156, 105, 255);
  }

  .framed-image-green {
    --frame-color: rgb(112, 255, 77);
  }

  .framed-image-yellow {
    --frame-color: rgb(248, 194, 58);
  }

  .framed-image-black {
    --frame-color: hsl(0, 0%, 38.43%);
  }

  .framed-image-white {
    --frame-color: rgb(254, 249, 235);
  }

  /* People Card - two-column layout with content and image */
  .people-card {
    @apply grid grid-cols-1 md:grid-cols-2;
  }

  .people-card-content {
    @apply p-[12%] flex flex-col justify-center;
    background-color: var(--people-bg-light);
  }

  .people-card-content p {
    color: var(--people-color);
    @apply mb-4;
  }

  .people-card-content h4 {
    color: var(--people-color);
    @apply mb-0;
  }

  .people-card-image {
    @apply relative;
    aspect-ratio: 3 / 2;
  }

  .people-card-image img {
    @apply w-full h-full object-cover object-top;
  }

  .people-card-overlay {
    @apply absolute bottom-0 p-[6%];
  }

  .people-card-overlay h2 {
    @apply mb-0;
  }

  .people-card-overlay .people-label {
    color: var(--people-color);
  }

  .people-card-overlay .people-name {
    @apply text-white;
  }

  /* Default: content left, image right - overlay on LEFT side of image (towards content) */
  .people-card .people-card-overlay {
    @apply left-0 text-left;
  }

  /* Reversed: image left, content right */
  .people-card-reversed {
    @apply grid grid-cols-1 md:grid-cols-2;
  }

  .people-card-reversed .people-card-image {
    @apply md:order-1;
  }

  .people-card-reversed .people-card-content {
    @apply md:order-2;
  }

  /* Reversed: overlay on RIGHT side of image (towards content) */
  .people-card-reversed .people-card-overlay {
    @apply left-auto right-0 text-right;
  }

  /* Manual overlay positioning - can override defaults */
  .people-card-overlay.overlay-left {
    @apply left-0 right-auto text-left;
  }

  .people-card-overlay.overlay-right {
    @apply right-0 left-auto text-right;
  }

  /* Yellow variant */
  .people-card-yellow {
    --people-color: rgb(212, 152, 0);
    --people-bg-light: hsla(40, 75%, 86%, 1);
  }

  /* Purple variant */
  .people-card-purple {
    --people-color: rgb(156, 105, 255);
    --people-bg-light: hsla(262, 100%, 92%, 1);
  }

  /* Green variant */
  .people-card-green {
    --people-color: rgb(80, 180, 55);
    --people-bg-light: hsla(108, 100%, 90%, 1);
  }

  /* Benefits Section (fluid) */
  .benefits-section {
    width: 100%;
  }

  .benefits-grid {
    display: grid;
    gap: 0;
  }

  /* 4-column grid: outer boxes get extra 8vw, inner boxes share remaining space equally */
  .benefits-grid-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  /* 3-column grid: outer boxes get extra 8vw, middle box shares remaining space */
  .benefits-grid-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Benefit Box - colored panel with highlight text (fluid) */
  .benefit-box {
    @apply flex items-center justify-center text-left;
    padding: 4vw;
    min-height: 18vw;
  }

  /* First box: extra padding on left to push content inward (aligns with 8vw margin) */
  .benefits-grid .benefit-box:first-child {
    padding-left: 8vw;
  }

  /* Last box: extra padding on right to push content inward (aligns with 8vw margin) */
  .benefits-grid .benefit-box:last-child {
    padding-right: 8vw;
  }

  .benefit-box h1,
  .benefit-box h2,
  .benefit-box h3,
  .benefit-box h4 {
    margin: 0;
  }

  .benefit-box-green {
    @apply bg-regios-green;
  }

  .benefit-box-green .benefit-light {
    color: #D3FEC5;
  }

  .benefit-box-green .benefit-highlight {
    @apply text-regios-white;
  }

  .benefit-box-yellow {
    @apply bg-regios-yellow;
  }

  .benefit-box-yellow .benefit-light {
    color: #F6E4C0;
  }

  .benefit-box-yellow .benefit-highlight {
    @apply text-regios-white;
  }

  .benefit-box-purple {
    @apply bg-regios-purple;
  }

  .benefit-box-purple .benefit-light {
    color: #E2E4FE;
  }

  .benefit-box-purple .benefit-highlight {
    @apply text-regios-white;
  }

  .benefit-box-black {
    @apply bg-regios-black;
  }

  .benefit-box-black .benefit-light {
    @apply text-regios-gray-light;
  }

  .benefit-box-black .benefit-highlight {
    @apply text-regios-white;
  }

  /* USP Banner - full width section with heading left, content right, icon top-right */
  .usp-banner {
    @apply w-full py-16 md:py-24 px-4 md:px-8 relative overflow-hidden;
  }

  .usp-banner-content {
    @apply mx-auto grid md:grid-cols-2 gap-8 md:gap-16 items-start;
    max-width: 54rem; /* 72rem * 0.75 = 54rem (3/4 of max-w-6xl) */
  }

  .usp-banner-icon {
    @apply absolute;
    /* 60mm from top, 250mm from left on 380mm width ≈ 15.8% top, 65.8% left */
    /* Positioning from right edge instead: 380-250=130mm, 130/380 ≈ 34.2% from right */
    top: 15%;
    right: 8%;
    width: 2.5rem;
    height: 3.5rem;
    fill: currentColor;
  }

  .usp-banner h2 {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .usp-banner p {
    margin: 0;
    /* Uses default p size from base styles */
  }

  /* USP Banner color variants */
  .usp-banner-yellow {
    @apply bg-regios-yellow;
  }

  .usp-banner-yellow h2 {
    @apply text-regios-black;
  }

  .usp-banner-yellow .usp-highlight {
    @apply text-regios-white;
  }

  .usp-banner-yellow p {
    @apply text-regios-black;
  }

  .usp-banner-purple {
    @apply bg-regios-purple;
  }

  .usp-banner-purple h2 {
    @apply text-regios-green;
  }

  .usp-banner-purple .usp-highlight {
    @apply text-regios-white;
  }

  .usp-banner-purple p {
    @apply text-regios-green;
  }

  .usp-banner-green {
    @apply bg-regios-green;
  }

  .usp-banner-green h2 {
    @apply text-regios-purple;
  }

  .usp-banner-green .usp-highlight {
    @apply text-regios-white;
  }

  .usp-banner-green p {
    @apply text-regios-black;
  }

  .usp-banner-black {
    @apply bg-regios-black;
  }

  .usp-banner-black h2 {
    @apply text-regios-green;
  }

  .usp-banner-black .usp-highlight {
    @apply text-regios-white;
  }

  .usp-banner-black p {
    @apply text-regios-gray-light;
  }

  /* Alternate website colors - pastel backgrounds */
  .benefit-box-green-alt {
    background-color: #D3FEC5; /* Pastel green */
    position: relative;
  }

  .benefit-box-green-alt .benefit-light {
    @apply text-regios-black;
  }

  .benefit-box-green-alt .benefit-highlight {
    color: #45B82E; /* Darker green for contrast */
  }

  .benefit-box-green-alt .benefit-box-logo {
    color: #70FF4D; /* Brand green */
  }

  .benefit-box-yellow-alt {
    background-color: #FFF0C5; /* Pastel yellow */
    position: relative;
  }

  .benefit-box-yellow-alt .benefit-light {
    @apply text-regios-black;
  }

  .benefit-box-yellow-alt .benefit-highlight {
    color: #D9A82E; /* Darker yellow for contrast */
  }

  .benefit-box-yellow-alt .benefit-box-logo {
    color: #F8C23A; /* Brand yellow */
  }

  .benefit-box-purple-alt {
    background-color: #E2D4FF; /* Pastel purple */
    position: relative;
  }

  .benefit-box-purple-alt .benefit-light {
    @apply text-regios-black;
  }

  .benefit-box-purple-alt .benefit-highlight {
    color: #7B4FD9; /* Darker purple for contrast */
  }

  .benefit-box-purple-alt .benefit-box-logo {
    color: #9C69FF; /* Brand purple */
  }

  .benefit-box-black {
    position: relative;
  }

  .benefit-box-black .benefit-box-logo {
    @apply text-regios-white;
    opacity: 0.3;
  }

  /* Benefit box O logo - upper right corner */
  .benefit-box-logo {
    position: absolute;
    top: 1.5vw;
    right: 1.5vw;
    width: 3vw;
    height: 3vw;
  }

  .benefit-box-logo svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
  }

  /* Icon Bar - horizontal row of icon + title + description */
  .icon-bar {
    @apply grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8;
  }

  .icon-bar-item {
    @apply flex flex-col items-center text-center;
  }

  .icon-bar-icon {
    @apply flex items-center justify-center;
    width: var(--icon-xl);
    height: var(--icon-xl);
    margin-bottom: 2.2rem;
  }

  .icon-bar-icon .icon {
    width: var(--icon-xl);
    height: var(--icon-xl);
  }

  .icon-bar-icon img {
    @apply max-w-full max-h-full object-contain;
  }

  .icon-bar-item h3 {
    @apply text-regios-green;
    margin: 0 0 2.2rem 0;
  }

  .icon-bar-item p {
    @apply text-regios-gray;
    margin: 0;
  }

  /* Dark background variant - green titles, white text */
  .icon-bar-dark .icon-bar-item h3 {
    @apply text-regios-green;
  }

  .icon-bar-dark .icon-bar-item p {
    @apply text-regios-white;
  }

  /* Hero + Contact Panels wrapper - contains the shared background SVG */
  .hero-with-panels {
    @apply relative bg-regios-purple;
    overflow: hidden;
    /* Fluid height - full screen on standard 16:9 ratio */
    height: min(54vw, 100vh);
    min-height: 54vw;
  }

  /* Hero Contact Bar - inline below hero text */
  .hero-contact-bar {
    display: flex;
    gap: 1.5vw;
    margin-top: 2.5vw;
  }

  .hero-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75vw;
    padding: 0.8vw 1.5vw;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(112, 255, 77, 0.3);
    border-radius: 0.5vw;
    color: white;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .hero-contact-item:hover {
    background: rgba(112, 255, 77, 0.15);
    border-color: var(--color-regios-green);
    transform: scale(1.05);
  }

  .hero-contact-item-icon {
    width: clamp(1.25rem, 1.5vw, 1.75rem);
    height: clamp(1.25rem, 1.5vw, 1.75rem);
    color: var(--color-regios-green);
    stroke-width: 1.5;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .hero-contact-item:hover .hero-contact-item-icon {
    transform: scale(1.3) rotate(-12deg);
  }

  .hero-contact-item-text {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.1vw;
    font-weight: 600;
    color: white;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .hero-contact-item:hover .hero-contact-item-text {
    transform: scale(1.05);
  }

  /* OÖE Shape positioned in hero (fluid) */
  .hero-ooe-shape {
    position: absolute;
    top: -2.5vw;
    left: -24vw;
    width: 123vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
  }

  /* OÖE Shape positioned in CTA section (fluid) */
  .cta-ooe-shape {
    position: absolute;
    top: 4.3vw;
    right: -6.2vw;
    width: 75vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
    transform: scaleY(-1);
  }

  /* CTA Section Brand Bubbles */
  .cta-bubble {
    position: absolute;
    z-index: 5;
  }

  .cta-bubble .bubble-1,
  .cta-bubble .bubble-2,
  .cta-bubble .bubble-3,
  .cta-bubble .bubble-4,
  .cta-bubble .bubble-5 {
    width: 100%;
    height: 100%;
  }

  .cta-bubble-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .cta-bubble-text h3 {
    margin: 0;
    line-height: 0.9;
  }

  .cta-bubble-text p {
    margin: 0.5vw 0 0 0;
    line-height: 1.2;
  }

  /* Bubble 1: Als Mitglied (fluid) */
  .cta-bubble-1 {
    top: 1vw;
    right: 37vw;
    width: 20vw;
    height: auto;
  }

  /* Bubble 2: Mit einer Stimme (fluid) */
  .cta-bubble-2 {
    top: -4vw;
    right: 0vw;
    width: 25vw;
    height: auto;
  }

  /* Bubble 4: Mach jetzt gleich mit (fluid) */
  .cta-bubble-4 {
    top: 30vw;
    right: 54vw;
    width: 39vw;
    height: auto;
  }

  /* Bubble 5: Und Gewinnbeteiligung (fluid) */
  .cta-bubble-5 {
    bottom: -6vw;
    right: -5vw;
    width: 37vw;
    height: auto;
  }

  /* CTA Bubble Animations */
  @keyframes bubble-pop {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }

  @keyframes bubble-heartbeat {
    0% {
      transform: scale(1);
    }
    15% {
      transform: scale(1.1);
    }
    30% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.1);
    }
    60% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }

  .cta-bubble {
    transform-origin: center center;
    will-change: transform;
  }

  .cta-bubble.animate-pop {
    animation: bubble-pop 0.5s ease-in-out forwards;
  }

  .cta-bubble.animate-heartbeat {
    animation: bubble-heartbeat 2.5s ease-in-out infinite;
  }

  /* Mühlviertel bubble heartbeat with rotation preserved */
  @keyframes bubble-heartbeat-rotated {
    0% {
      transform: rotate(15deg) scale(1);
    }
    15% {
      transform: rotate(15deg) scale(1.1);
    }
    30% {
      transform: rotate(15deg) scale(1);
    }
    45% {
      transform: rotate(15deg) scale(1.1);
    }
    60% {
      transform: rotate(15deg) scale(1);
    }
    100% {
      transform: rotate(15deg) scale(1);
    }
  }

  .muhlviertel-bubble.animate-heartbeat {
    animation: bubble-heartbeat-rotated 2.5s ease-in-out infinite;
  }

  /* Secondary Hero - fluid height */
  .hero-secondary {
    @apply w-full relative flex flex-col;
    height: 100%;
  }

  .hero-secondary-purple {
    background: transparent; /* Let wrapper show through */
  }

  /* Hero Logo - top left corner, fluid sizing */
  .hero-logo {
    position: absolute;
    top: 4vw;
    left: 8vw;
    width: 15vw;
  }

  .hero-logo svg {
    width: 100%;
    height: auto;
    overflow: visible; /* Allow the O to animate outside bounds */
  }

  /* Scroll companion O - fixed position element with layered colors */
  .scroll-companion-o {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    /* Size of the O */
    width: clamp(2.5rem, 4vw, 4rem);
    height: clamp(2.5rem, 4vw, 4rem);
  }

  .scroll-companion-o.visible {
    opacity: 1;
  }

  /* Following state - smooth scale transitions */
  .scroll-companion-o.following {
    transition: none; /* Disable transitions for responsive following */
  }

  /* Each layer is absolutely positioned and clips to show only its section */
  .scroll-o-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Default: hidden via clip-path */
    clip-path: inset(100% 0 0 0);
  }

  .scroll-o-layer svg {
    width: 100%;
    height: 100%;
  }

  /* White layer - base layer, always fully visible (for dark purple backgrounds) */
  .scroll-o-white {
    clip-path: inset(0 0 0 0);
    z-index: 1;
  }

  /* Yellow layer - clips based on beteiligung section boundary */
  .scroll-o-yellow {
    z-index: 2;
  }

  /* Purple layer - clips based on steps/contact sections boundary */
  .scroll-o-purple {
    z-index: 3;
  }

  /* Logo scroll animation */
  .logo-letters,
  .logo-o {
    transition: opacity 0.4s ease-out;
  }

  /* When scrolling - all logo parts fade */
  .hero-logo.scrolling .logo-letters,
  .hero-logo.scrolling .logo-o {
    opacity: 0;
  }

  .hero-secondary-content {
    position: absolute;
    bottom: 9vw;
    left: 14vw;
    width: 45vw;
  }

  .hero-secondary h1 {
    margin: 0;
    @apply text-regios-white;
    font-size: 4.5vw;
    line-height: 1.1;
    text-wrap: balance;
  }

  /* Hide mobile hyphen and break on desktop */
  .mobile-hyphen,
  .mobile-break {
    display: none;
  }

  .hero-secondary .hero-highlight {
    @apply text-regios-green;
  }

  .hero-secondary-purple h1 {
    @apply text-regios-white;
    line-height: 1.1;
    text-wrap: balance;
  }

  .hero-secondary-purple .hero-highlight {
    @apply text-regios-green;
  }

  .hero-text {
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-weight: 300;
    font-size: 1.4vw;
    line-height: 1.4;
    @apply text-white/90;
    margin-top: 1.5vw;
    max-width: 100%;
  }

  /* Video Modal */
  .video-modal-overlay {
    @apply fixed inset-0 bg-black/80 z-50 flex items-center justify-center;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease;
  }

  .video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(12px);
  }

  .video-modal {
    @apply relative w-full h-full flex flex-col;
    max-width: 100%;
    max-height: 100%;
  }

  @media (min-width: 768px) {
    .video-modal {
      @apply w-auto h-auto;
      max-width: 90vw;
      max-height: 90vh;
    }
  }

  .video-modal-close {
    @apply absolute z-20 w-12 h-12 flex items-center justify-center text-white hover:text-regios-green transition-colors cursor-pointer bg-regios-purple rounded-full;
    top: 1rem;
    right: 1rem;
  }

  @media (min-width: 768px) {
    .video-modal-close {
      top: -1rem;
      right: -1rem;
    }
  }

  .video-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }

  /* Header row: contains heading */
  .video-modal-header {
    @apply absolute z-10 top-0 left-0 right-0 flex items-center justify-center px-4 py-4;
  }

  @media (min-width: 768px) {
    .video-modal-header {
      @apply relative px-0 py-0 mb-4;
    }
  }

  .video-modal-heading {
    @apply text-white text-center flex-1;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 900;
    font-size: var(--text-body);
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  @media (min-width: 768px) {
    .video-modal-heading {
      text-shadow: none;
    }
  }

  .video-modal-heading .video-modal-prefix {
    @apply text-regios-green;
  }

  .video-modal-heading .video-modal-title {
    @apply block text-white/80;
    font-weight: 600;
    font-size: var(--text-small);
    text-transform: none;
    margin-top: 0.25rem;
  }

  @media (min-width: 768px) {
    .video-modal-heading .video-modal-title {
      @apply inline;
      margin-top: 0;
      margin-left: 0.5rem;
    }
  }

  .video-container {
    @apply relative flex-1 flex items-center justify-center;
    background: black;
    gap: 0.5rem;
  }

  @media (min-width: 768px) {
    .video-container {
      @apply flex-none;
      background: transparent;
      gap: 1.5rem;
    }
  }

  .video-wrapper {
    @apply relative w-full h-full flex items-center justify-center;
  }

  @media (min-width: 768px) {
    .video-wrapper {
      @apply w-auto h-auto;
    }
  }

  /* Mobile: vertical video (9:16) */
  .video-wrapper video {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 100px);
    object-fit: contain;
  }

  /* Desktop: horizontal video (16:9) */
  @media (min-width: 768px) {
    .video-wrapper video {
      width: auto;
      height: auto;
      max-width: 80vw;
      max-height: calc(80vh - 150px);
      border-radius: 0.5rem;
    }
  }

  .video-nav {
    @apply z-10 w-12 h-12 flex items-center justify-center bg-regios-purple text-white rounded-full cursor-pointer transition-all flex-shrink-0;
  }

  .video-nav:hover {
    @apply text-regios-green bg-regios-purple;
  }

  .video-nav-arrow {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-h3);
    font-weight: 900;
    line-height: 1;
    margin-top: 0.45rem;
  }

  @media (min-width: 768px) {
    .video-nav {
      @apply w-14 h-14;
    }

    .video-nav-arrow {
      margin-top: 0.3rem;
    }
  }

  /* Title bar */
  .video-titles-container {
    @apply flex bg-regios-purple;
    align-items: center;
    padding: 0.75rem 0;
  }

  @media (min-width: 768px) {
    .video-titles-container {
      @apply mt-4 rounded-lg;
    }
  }

  .video-titles-arrow {
    @apply flex-shrink-0 w-10 h-10 flex items-center justify-center text-white hover:text-regios-green cursor-pointer transition-colors;
    align-self: center;
  }

  .video-titles-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
  }

  .video-titles-wrapper {
    @apply flex-1 overflow-x-auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
  }

  .video-titles-wrapper::-webkit-scrollbar {
    display: none;
  }

  .video-titles {
    @apply flex gap-2 whitespace-nowrap px-2;
  }

  .video-title-btn {
    @apply px-4 py-2 text-white/70 hover:text-white transition-colors cursor-pointer;
    font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-small);
    font-weight: 500;
    background: transparent;
    border: none;
    white-space: nowrap;
  }

  .video-title-btn.active {
    @apply text-regios-green bg-white/10 rounded-lg;
  }

  .video-title-btn:hover {
    @apply bg-white/5 rounded-lg;
  }

  /* SVG Icons from sprite - fluid sizes */
  .icon {
    width: var(--icon-lg);
    height: var(--icon-lg);
  }

  .icon-sm {
    width: var(--icon-sm);
    height: var(--icon-sm);
  }

  .icon-md {
    width: var(--icon-md);
    height: var(--icon-md);
  }

  .icon-lg {
    width: 4.9rem;
    height: 4.9rem;
  }

  .icon-xl {
    width: 6rem;
    height: 6rem;
  }
}

/* ================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ================================================ */

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-regios-purple);
}

.legal-header {
  padding: 2rem 4vw;
}

.legal-logo {
  display: inline-block;
}

.legal-logo .logo-svg {
  height: 2.5rem;
  width: auto;
}

.legal-content {
  flex: 1;
  padding: 2rem 4vw 4rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  color: var(--color-regios-green);
  margin-bottom: 3rem;
}

.legal-body {
  color: white;
  font-family: var(--font-body);
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: var(--color-regios-green);
  margin-bottom: 1.5rem;
}

.legal-section h3 {
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section h4 {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-section li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.legal-section strong {
  color: white;
  font-weight: 600;
}

.legal-section a {
  color: var(--color-regios-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--color-regios-yellow);
}

.legal-footer {
  padding: 2rem 4vw;
  border-top: 1px solid rgba(248, 194, 58, 0.2);
}

.legal-footer .legal-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .legal-footer .legal-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.legal-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

.legal-nav {
  display: flex;
  gap: 1.5rem;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-nav a:hover {
  color: var(--color-regios-green);
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

@layer utilities {
  /* Variant Testing Indicator */
  .variant-indicator {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .variant-badge {
    background: var(--color-regios-green);
    color: var(--color-regios-purple);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .variant-name {
    color: rgba(255, 255, 255, 0.7);
  }

  /* Mobile Placeholder - shown on mobile when design is in development */
  .mobile-placeholder {
    display: none;
  }

  @media (max-width: 767px) {
    .mobile-placeholder {
      display: flex;
      min-height: 100vh;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      background: linear-gradient(135deg, var(--color-regios-purple) 0%, #6B3FA0 100%);
    }

    .mobile-placeholder-content {
      text-align: center;
      max-width: 320px;
    }

    .mobile-placeholder-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 1.5rem;
      animation: float 3s ease-in-out infinite;
    }

    .mobile-placeholder-icon svg {
      width: 100%;
      height: 100%;
    }

    .mobile-placeholder-title {
      font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
      font-weight: 800;
      font-size: 1.75rem;
      margin-bottom: 1rem;
    }

    .mobile-placeholder-title .text-white {
      color: white;
    }

    .mobile-placeholder-title .text-green {
      color: var(--color-regios-green);
    }

    .mobile-placeholder-text {
      font-family: var(--font-body);
      font-size: 1rem;
      color: white;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .mobile-placeholder-hint {
      font-family: var(--font-body);
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.7);
      padding: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 0.5rem;
    }

    /* Hide desktop content on mobile */
    .desktop-only-content {
      display: none !important;
    }
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  .text-balance {
    text-wrap: balance;
  }

  /* Typography size utilities */
  .text-h1 {
    font-size: var(--text-h1) !important;
  }

  .text-h2 {
    font-size: var(--text-h2) !important;
  }

  .text-h3 {
    font-size: var(--text-h3) !important;
  }

  .text-h4 {
    font-size: var(--text-h4) !important;
  }

  .gradient-purple-green {
    @apply bg-gradient-to-r from-regios-purple to-regios-green;
  }

  .gradient-text {
    @apply bg-clip-text text-transparent;
  }
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(112, 255, 77, 0.2);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-banner-text h3 {
  color: var(--color-regios-green);
  margin: 0 0 0.5rem 0;
}

.cookie-banner-text p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text .cookie-main-text {
  margin-bottom: 0.75rem;
}

.cookie-banner-text .cookie-privacy-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.375rem;
  border-left: 2px solid var(--color-regios-green);
}

.cookie-banner-text .cookie-privacy-note strong {
  color: var(--color-regios-green);
}

.cookie-banner-text .cookie-privacy-note a {
  color: var(--color-regios-green);
  text-decoration: none;
}

.cookie-banner-text .cookie-privacy-note a:hover {
  text-decoration: underline;
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 140px;
}

.cookie-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(112, 255, 77, 0.3);
}

.cookie-option input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--color-regios-green);
  cursor: pointer;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-option-label {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cookie-option-label strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
}

.cookie-option-label small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.cookie-btn {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--color-regios-green);
  color: var(--color-regios-purple);
}

.cookie-btn-primary:hover {
  background: var(--color-regios-green-light);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-regios-green);
}

.cookie-btn-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
}

.cookie-btn-tertiary:hover {
  color: white;
}

/* Cookie Settings Button */
.cookie-settings-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-regios-purple);
  color: white;
  border: 1px solid rgba(112, 255, 77, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cookie-settings-btn:hover {
  background: var(--color-regios-purple-dark);
  border-color: var(--color-regios-green);
  transform: scale(1.05);
}

.cookie-settings-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-options {
    flex-direction: column;
  }

  .cookie-option {
    min-width: 100%;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-settings-btn {
    bottom: 1rem;
    left: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .cookie-settings-btn svg {
    width: 1rem;
    height: 1rem;
  }
}

/* ==========================================================================
   MOBILE STYLES (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  /* Mobile font sizes - 1/3 smaller to prevent overflow */
  :root {
    --text-h1: 2.88rem;
    --text-h2: 2.24rem;
    --text-h3: 1.76rem;
    --text-h4: 1.44rem;
    --text-large: 1.25rem;
    --text-normal: 1.25rem;
  }

  /* Base paragraph styling for mobile */
  p {
    font-size: 1.25rem;
    font-weight: 400;
  }

  /* Force ALL headings to use CSS variables - override any hardcoded vw sizes */
  h1 {
    font-size: var(--text-h1) !important;
  }

  h2 {
    font-size: var(--text-h2) !important;
  }

  h3 {
    font-size: var(--text-h3) !important;
  }

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

  /* Hero wrapper - 100% screen height */
  .hero-with-panels {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  /* Hero - 100% screen height */
  .hero-secondary {
    min-height: 100vh !important;
    height: 100vh !important;
  }

  /* Hero logo - double top margin, 1.5x bigger */
  .hero-logo {
    top: 3rem;
    left: 1.5rem;
    width: 180px;
  }

  /* Mobile hyphen and line break for "Schlüssel-ressource" */
  .mobile-hyphen {
    display: inline;
  }

  .mobile-break {
    display: block;
  }

  /* Hide desktop-only line breaks on mobile */
  .desktop-break {
    display: none;
  }

  /* Hero content - vertically centered text, buttons fixed at bottom */
  .hero-secondary-content {
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 2rem;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }


  /* Hero text - 1.5x bigger, regular weight */
  .hero-text {
    font-weight: 400;
    margin-top: 1rem;
  }

  /* Hero contact bar - horizontal icons in circles at bottom */
  .hero-contact-bar {
    position: absolute;
    bottom: 2vw;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
  }

  .hero-contact-item {
    width: 5rem;
    height: 5rem;
    padding: 0;
    border-radius: 50%;
    background-color: #E2D4FF;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide text on mobile */
  .hero-contact-item-text {
    display: none;
  }

  .hero-contact-item svg {
    width: 2.25rem;
    height: 2.25rem;
    color: #9C69FF;
  }

  /* Hero OOE shape - repositioned for mobile */
  .hero-ooe-shape {
    pointer-events: none;
    z-index: 0;
    width: 340vw;
    height: auto;
    position: absolute;
    top: -46.5vw;
    left: -24vw;
  }

  /* Global container margins - 4vw on mobile (except hero) */
  .container-hero {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  /* Beteiligung Section - fit content, no fixed height */
  .section-beteiligung {
    height: auto !important;
    min-height: auto !important;
    padding: 3rem 4vw;
  }

  .beteiligung-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .beteiligung-heading {
    margin-bottom: 2rem;
  }

  /* Beteiligung cards - stacked vertically */
  .beteiligung-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .beteiligung-card-content {
    padding: 1.5rem;
  }

  /* Benefits Steps Section (Ab 500 Euro) - fit content */
  .benefits-steps-section {
    height: auto !important;
    min-height: auto !important;
    padding: 3rem 4vw 9rem 4vw;
  }

  .benefits-steps-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .benefits-steps-heading {
    margin-bottom: 12rem;
  }

  /* Icons stacked vertically */
  .benefits-steps-bar {
    grid-template-columns: 1fr;
    gap: 6rem;
    margin-bottom: 9rem;
  }

  .benefits-steps-item {
    max-width: 100%;
    overflow: hidden;
  }

  .benefit-icon-placeholder {
    width: 10rem;
    height: 10rem;
    margin-bottom: 3rem;
  }

  .benefit-icon {
    width: 10rem;
    height: 10rem;
    margin-bottom: 3rem;
  }

  /* Card arrow - proportional to heading on mobile, aligned to bottom */
  .card-arrow {
    font-size: var(--text-h2) !important;
    vertical-align: bottom;
    line-height: 1;
  }

  /* Cookie settings button - twice the size */
  .cookie-settings-btn {
    width: 5rem;
    height: 5rem;
  }

  .cookie-settings-btn svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Contact panels - circular buttons like hero contact bar */
  .contact-panels-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 4vw;
  }

  .contact-icon-panel {
    width: 5rem;
    height: 5rem;
    padding: 0;
    border-radius: 50%;
    background-color: #E2D4FF;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-panel-content {
    gap: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide text on mobile */
  .contact-panel-text {
    display: none;
  }

  /* Icons sized like hero contact icons */
  .contact-icon {
    width: 2.25rem;
    height: 2.25rem;
    min-width: auto;
    min-height: auto;
    color: #9C69FF;
    max-width: none;
    max-height: none;
  }

  /* Benefits grid - stacked boxes */
  .benefits-grid,
  .benefits-grid-3,
  .benefits-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .benefit-box {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    padding: 2rem 4vw !important;
    min-height: 15rem;
  }

  /* O logo sizing for mobile */
  .benefit-box-logo {
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
  }

  /* Contact cards grid - stacked on mobile */
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid .contact-card {
    padding: 4vw;
    min-height: 13rem;
  }

  .contact-card-content {
    gap: 1rem;
  }

  .contact-card-icon {
    width: 3rem;
    height: 3rem;
  }

  /* CTA text heading - full width on mobile */
  .cta-text-heading {
    max-width: 100%;
  }

  /* CTA text container - 4vw margins on mobile */
  .cta-text-container {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  /* Testimonial section - fit content, stacked cards */
  .testimonial-section {
    height: auto !important;
    min-height: auto !important;
    padding: 3rem 4vw;
  }

  .testimonial-container {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .testimonial-heading {
    margin-bottom: 2rem;
  }

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

  /* Play button - 5x bigger on mobile */
  .testimonial-card .play-button {
    width: 22.5vw;
    height: 22.5vw;
    top: 1.5rem;
    left: 1.5rem;
  }

  .testimonial-card .play-button svg {
    width: 11.25vw;
    height: 11.25vw;
  }

  /* Card content padding */
  .testimonial-card-content {
    padding: 1.5rem;
  }

  /* Video modal - bigger, more readable titles on mobile */
  .video-title-btn {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }

  .video-titles-container {
    padding: 1rem 0;
  }

  /* Footer - clip horizontal overflow on mobile to prevent scroll */
  .footer {
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  /* Footer OOE shape - repositioned for mobile */
  .footer-ooe-shape {
    pointer-events: none;
    z-index: 0;
    width: 320%;
    position: absolute;
    top: -11rem;
    left: -7rem;
  }

  /* Footer tagline - half width, lifted up on mobile */
  .footer .text-h2 {
    max-width: 50%;
    margin-top: -4rem;
  }

  /* Footer copyright section - proper bottom positioning */
  .footer-copyright {
    padding-bottom: 2rem;
  }


  /* Steps Section - fit content on mobile, stacked like benefits section */
  .steps-section {
    height: auto !important;
    min-height: auto !important;
    padding: 3rem 4vw;
  }

  /* Steps bar - stacked vertically like benefits-steps-bar */
  .steps-bar {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  /* Steps items - centered, visible by default (no animation) */
  .steps-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Show h4 and description by default on mobile */
  .steps-bar-item h4,
  .steps-bar-item .step-description {
    opacity: 1;
    transform: none;
  }

  /* Step number size on mobile - 1.5x bigger */
  .step-number {
    width: 6rem;
    height: 6rem;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  /* Steps text layout on mobile */
  .steps-bar-item h4 {
    margin-bottom: 0.25rem;
  }

  /* Steps heading on mobile - h3 size */
  .steps-heading {
    margin-bottom: 4rem;
    width: 100%;
    font-size: var(--text-h3) !important;
  }

  /* Hide steps logo target on mobile */
  .steps-logo-target {
    display: none;
  }

}

/* ================================================
   WEBSITE NAVIGATION
   Placed outside @layer for highest cascade priority
   (fixes Tailwind v4 @layer base `a` color override)
   ================================================ */

.website-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(156, 105, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .website-nav-inner {
    @apply flex items-center justify-between;
    padding: 0.75rem 8vw;
  }

  .website-nav-logo {
    @apply flex items-center gap-2 no-underline;
  }

  .website-nav-logo-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-regios-green);
  }

  .website-nav-logo-text {
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: white !important;
    letter-spacing: 0.02em;
  }

  .website-nav-logo:hover .website-nav-logo-text {
    color: var(--color-regios-green) !important;
  }

  .website-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .website-nav-toggle {
    @apply text-white p-2;
    background: none;
    border: none;
    cursor: pointer;
  }

  .website-nav-mobile {
    @apply px-8 pb-6;
    background: rgba(156, 105, 255, 0.95);
    backdrop-filter: blur(12px);
  }

  /* Offset content for fixed nav */
  .website-hero {
    padding-top: calc(4rem + 4vw) !important;
  }

  /* Contact cards in contact section */
  .contact-cards-grid-item {
    @apply flex flex-col p-8;
    transition: transform 0.2s ease;
  }

  .contact-cards-grid-item:hover {
    transform: translateY(-2px);
  }

  .contact-cards-grid-item .card-arrow {
    @apply mt-auto text-right;
    font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
    font-size: var(--text-h3);
    font-weight: 900;
  }

  /* Force white color for all links inside navbar */
  .website-nav a {
    color: white !important;
    text-decoration: none !important;
  }

  .website-nav a:hover {
    opacity: 0.8;
  }

  .website-nav .btn-primary {
    color: var(--color-regios-purple) !important;
  }
