@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: opacity 0.1s linear;
  }

  .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.1s linear;
  }

  .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;
  }

  /* 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;
  }

  .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;
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
    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 {
    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;
    }
  }

  .footer h4 {
    font-size: clamp(1.5rem, 4vw, var(--text-h2));
  }

  .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 (8% left/right) */
  .container-hero {
    padding-left: 8%;
    padding-right: 8%;
    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 */
  .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;
  }

  /* Custom Checkbox - Brand styled */
  .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;
  }

  /* 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;
  }

  @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-group {
    @apply mb-4;
  }

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

  /* 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-box h3 {
    font-size: var(--text-h3);
  }

  .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 {
    font-size: 3.5vw;
    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: 0.75vw;
  }

  .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;
  }

  .steps-heading {
    font-size: 3.5vw;
    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;
  }

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

  .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;
    font-size: 1.4vw;
    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/70;
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 0.9vw, 0.9rem);
    margin: 0.5vw 0 0 0;
    opacity: 0;
    transform: translateY(0.5vw);
    transition: opacity 0.4s ease-out 0.15s, transform 0.4s ease-out 0.15s;
    line-height: 1.4;
  }

  .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 */
  }

  /* 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 {
    font-size: 3.5vw;
    margin-bottom: 1vw;
  }

  .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: 3vw;
    height: 3vw;
    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: 1.5vw;
    height: 1.5vw;
    color: var(--color-regios-green);
    margin-left: 0.2vw;
  }

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

  .testimonial-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75vw;
  }

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

  .testimonial-card-content .card-arrow {
    margin-top: 0;
  }

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

  /* CTA Text Sections - Fluid */
  .cta-text-section {
    height: min(57vw, 100vh);
    min-height: 57vw;
    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;
  }

  .cta-text-container {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
  }

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

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

  .muhlviertel-bubble h3 {
    font-size: 2.8vw;
  }

  /* 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;
  }

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

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

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

  .benefit-box h3 {
    margin: 0;
    font-size: 2.2vw;
    line-height: 1.2;
  }

  .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;
    font-size: clamp(var(--text-h3), 8vw, var(--text-h2));
    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 */
  .benefit-box-green-alt {
    background-color: hsla(108.89, 55%, 48%, 1);
  }

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

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

  .benefit-box-yellow-alt {
    background-color: hsl(42.95, 93.14%, 60%);
  }

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

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

  .benefit-box-purple-alt {
    background-color: hsl(260.4, 100%, 70.59%);
  }

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

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

  /* 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-weight: 600;
    font-size: clamp(0.875rem, 1vw, 1.125rem);
    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;
    font-size: 3.2vw;
  }

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

  /* 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: 4vw;
    line-height: 1.1;
    text-wrap: balance;
  }

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

  .hero-secondary-purple h1 {
    @apply text-regios-white;
    font-size: 4vw;
    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-size: 1.8vw;
    font-weight: 300;
    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;
  }

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

  /* Title bar */
  .video-titles-container {
    @apply flex items-center bg-regios-purple;
    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;
  }

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

  .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 {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-regios-green);
  margin-bottom: 3rem;
}

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

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

.legal-section h2 {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--color-regios-green);
  margin-bottom: 1.5rem;
}

.legal-section h3 {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section h4 {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  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);
  }

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

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

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

  .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 {
  font-family: "Gilroy", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  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;
  }
}
