:root {
    --color-bg: #f0f0f0;
    --color-box-hover: #c9d8ff;
    --color-bg-light: #fff;
    --color-bg-gradient-start: #f8fafc;
    --color-bg-gradient-end: #e0e7ef;
    --color-border: #e0e0e0;
    --color-border-light: #ececec;
    --color-border-bundle: #e3e3e3;
    --color-shadow: rgba(0,0,0,0.08);
    --color-shadow-bundle: rgba(0,0,0,0.06);
    --color-shadow-popup: rgba(0,0,0,0.08);
    --color-text: rgb(22, 22, 22);
    --color-text-light: #fff;
    --color-text-dark: #222;
    --color-hr: rgb(77, 77, 77);
    --color-navy: #1c1c84;
    --color-btn-hover: #444;
    --color-btn-decline: #e0e0e0;
    --color-btn-decline-hover: #ccc;
    --color-popup-bg: rgba(255,255,255,0.98);
    --color-nav-dropdown-bg: #fff;
    --color-nav-dropdown-hover: #f0f0f0;
    --color-header-bg: rgba(240, 240, 240, 0.7);
    --font-size-h1: clamp(2.2rem, 6vw, 5rem);
    --font-size-h2: clamp(1.3rem, 3vw, 2rem);
    --font-size-h3: clamp(1.1rem, 2.2vw, 1.7rem);
    --font-size-p: clamp(1rem, 2vw, 1.13rem);
    --font-size-nav: clamp(1rem, 2vw, 1.1em);
    --font-size-footer: clamp(0.97rem, 1.5vw, 1.05rem);
    --font-size-slider-h1: clamp(1rem, 2vw, 1.5rem);
    --font-size-slider-p: clamp(0.95rem, 1.5vw, 1rem);
}

html {
    overflow-x: hidden;
}

body {
    width: 100%;
    height: auto;
    overflow-x: hidden;
    margin: 0;
    position: relative;
}

/* Dynamic Scroll Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, 
        #f8fafc 0%, 
        #e8f1f8 20%, 
        #d6e8f5 40%, 
        #c4ddf2 60%, 
        #b2d3ef 80%, 
        #a0c8ec 100%);
}

/* Geometric Background Shapes */
.bg-geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    opacity: 0.08;
    transition: all 0.3s ease;
}

/* Circle Shapes */
.bg-shape.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, #1c1c84, #2d2db8);
    box-shadow: 0 0 30px rgba(28, 28, 132, 0.3);
}

.bg-shape.circle.large {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 70%;
}

.bg-shape.circle.medium {
    width: 120px;
    height: 120px;
}

.bg-shape.circle.small {
    width: 60px;
    height: 60px;
}

/* Triangle Shapes */
.bg-shape.triangle {
    width: 0;
    height: 0;
    background: transparent;
    box-shadow: none;
}

.bg-shape.triangle.large {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(28, 28, 132, 0.1);
    top: 40%;
    left: 10%;
}

.bg-shape.triangle.medium {
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid rgba(45, 45, 184, 0.08);
    top: 70%;
    right: 15%;
}

.bg-shape.triangle.small {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(28, 28, 132, 0.06);
    top: 25%;
    left: 40%;
}

/* Square Shapes */
.bg-shape.square {
    background: linear-gradient(45deg, rgba(28, 28, 132, 0.1), rgba(45, 45, 184, 0.05));
    transform: rotate(15deg);
    box-shadow: 0 0 25px rgba(28, 28, 132, 0.2);
}

.bg-shape.square.medium {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 75%;
}

.bg-shape.square.small {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 25%;
}

/* Hexagon Shapes */
.bg-shape.hexagon {
    background: rgba(28, 28, 132, 0.08);
    position: relative;
}

.bg-shape.hexagon.large {
    width: 120px;
    height: 69px;
    top: 80%;
    left: 20%;
}

.bg-shape.hexagon.small {
    width: 60px;
    height: 35px;
    top: 45%;
    right: 30%;
}

.bg-shape.hexagon:before,
.bg-shape.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
}

.bg-shape.hexagon.large:before,
.bg-shape.hexagon.large:after {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
}

.bg-shape.hexagon.small:before,
.bg-shape.hexagon.small:after {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.bg-shape.hexagon:before {
    bottom: 100%;
    border-bottom: 35px solid rgba(28, 28, 132, 0.08);
}

.bg-shape.hexagon:after {
    top: 100%;
    border-top: 35px solid rgba(28, 28, 132, 0.08);
}

.bg-shape.hexagon.small:before {
    border-bottom: 17px solid rgba(28, 28, 132, 0.08);
}

.bg-shape.hexagon.small:after {
    border-top: 17px solid rgba(28, 28, 132, 0.08);
}

/* Floating Particles */
.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(28, 28, 132, 0.6), rgba(28, 28, 132, 0.1));
    border-radius: 50%;
    opacity: 0.7;
}

.particle:nth-child(1) { top: 20%; left: 15%; }
.particle:nth-child(2) { top: 35%; left: 80%; }
.particle:nth-child(3) { top: 50%; left: 25%; }
.particle:nth-child(4) { top: 65%; left: 70%; }
.particle:nth-child(5) { top: 80%; left: 40%; }
.particle:nth-child(6) { top: 15%; left: 55%; }
.particle:nth-child(7) { top: 45%; left: 85%; }
.particle:nth-child(8) { top: 75%; left: 10%; }

/* Responsive Adjustments for Background */
@media (max-width: 768px) {
    .bg-shape.large {
        transform: scale(0.7);
    }
    
    .bg-shape.medium {
        transform: scale(0.8);
    }
    
    .bg-shape.small {
        transform: scale(0.9);
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
}

/* === END UNTERSEITEN VARIATIONS === */

/* Removed page transition classes that conflict with GSAP */

#bodyWrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    background: transparent;
}

#header {
    width: 100%;
    height: 120px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3002;
    position: fixed;
    top: 0;
    margin-top: 0;
    padding-top: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(193, 193, 193, 0.136);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.05);
}

#header hr {
   margin-top: 30px;
    width: 90%;
    color: var(--color-hr);
}

#nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    height: 60px;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    font-size: var(--font-size-nav);
}

#navIcon {
  cursor: pointer;
}

.nav-item {
    flex: 0 0 auto;
    padding: 0 16px;
    font-weight: bold;
    font-size: var(--font-size-nav);
    cursor: pointer;
}

.nav-hamburger {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 40px;
    width: 40px;
    padding: 0;
    gap: 6px;
    z-index: 5000; /* deutlich höher als nav-dropdown */
    margin-right: auto;
    margin-left: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 40px;
    left: 120px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}



.nav-hamburger span {
    display: block;
    height: 3px;
    width: 28px;
    background: var(--color-text-dark);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-origin: center;
}

.nav-hamburger span:nth-child(1) {
    transform-origin: center;
}

.nav-hamburger span:nth-child(3) {
    transform-origin: center;
}

.nav-hamburger.active {
    transform: scale(1);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.8);
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}
.nav-logo img {
    height: 40px;
    width: auto;
    transition: 0.25s ease-in-out;
}

.nav-logo img:hover {
    transform: scale(1.05 );
}

#nav img {
    width: 100px;
    height: auto;
}


#welcomeText {
    margin-top: calc(120px + 8rem);
    padding-top: 2rem;
}

#welcomeText h1 {
    font-size: var(--font-size-h1);
    font-weight: light;
    font-family: 'Montserrat';
    font-weight: 200;
    color: var(--color-text);
    text-align: center;
}


/* Logo im Willkommen-Text als Inline-Element */
.logo-inline {
    display: inline-block;
    height: 2.0em;
    width: auto;
    aspect-ratio: 2.2/1;
    vertical-align: middle;
    margin-bottom: 0.25em;
}


@media (max-width: 600px) {
    .logo-inline {
        height: 3.0em;
        margin-left: 0.18em;
    }
}
#mainText hr {
    width: 22%;
}

#welcomeText h3 {
    font-size: var(--font-size-h2);
    font-weight: 400;
    font-family: 'Montserrat';
    color: var(--color-text);
    text-align: center;
    padding: 0 25px;
}



/* FONTS */


/* montserrat-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/montserrat-v29-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */

  }
  /* montserrat-100italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/montserrat-v29-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/montserrat-v29-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/montserrat-v29-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/montserrat-v29-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v29-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/montserrat-v29-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/montserrat-v29-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v29-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/montserrat-v29-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/montserrat-v29-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/montserrat-v29-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-900italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 900;
    src: url('../fonts/montserrat-v29-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }




  /* playfair-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/playfair-v9-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/playfair-v9-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/playfair-v9-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/playfair-v9-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/playfair-v9-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/playfair-v9-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/playfair-v9-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/playfair-v9-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/playfair-v9-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/playfair-v9-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/playfair-v9-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/playfair-v9-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/playfair-v9-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* playfair-900italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Playfair';
    font-style: italic;
    font-weight: 900;
    src: url('../fonts/playfair-v9-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

#servicesWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0 2rem 0;
}
.service-box {
    background: var(--color-bg-light);
    border-radius: 24px;
    box-shadow: 0 6px 32px var(--color-shadow), 0 1.5px 8px var(--color-shadow-bundle);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    width: 100%;
    max-width: 900px;
    text-align: left;
    border: 1.5px solid var(--color-border-light);
    transition: transform 0.22s cubic-bezier(.77,0,.18,1.01), box-shadow 0.22s cubic-bezier(.77,0,.18,1.01);
    opacity: 0;
    transform: translateY(60px);
    position: relative;
    overflow: hidden;
}

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

.service-box:hover {
    box-shadow: 0 12px 48px var(--color-shadow), 0 4px 24px var(--color-shadow-bundle);
    transform: translateY(-6px) scale(1.025);
    border-color: var(--color-navy);
}

.service-box h2, .service-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 0;
    margin-bottom: 0.7em;
    font-size: var(--font-size-h2);
    letter-spacing: 0.01em;
}

.service-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-p);
    color: var(--color-text);
    margin-bottom: 0;
    margin-top: 0.5em;
    line-height: 1.7;
}

.service-box::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--color-bg-gradient-end) 0%, var(--color-navy) 100%);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.service-box * {
    position: relative;
    z-index: 1;
}

#bundlesWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.bundle-box {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(90deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px var(--color-shadow-bundle), 0 1.5px 8px var(--color-shadow);
    padding: 2.2rem 2.7rem 2rem 2.7rem;
    border: 1.5px solid var(--color-border-bundle);
    margin: 0 auto;
    text-align: left;
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.22s cubic-bezier(.77,0,.18,1.01), box-shadow 0.22s cubic-bezier(.77,0,.18,1.01);
    position: relative;
    overflow: hidden;
}

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



.bundle-box h2, .bundle-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 0;
    margin-bottom: 0.7em;
    font-size: var(--font-size-h3);
    letter-spacing: 0.01em;
}

.bundle-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-p);
    color: var(--color-text);
    margin-bottom: 0;
    margin-top: 0.5em;
    line-height: 1.7;
}

.bundle-box::before {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-bg-gradient-end) 100%);
    opacity: 0.12;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bundle-box * {
    position: relative;
    z-index: 1;
}

/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--color-popup-bg);
    box-shadow: 0 -2px 16px var(--color-shadow-popup);
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 1;
    transform: translateY(0);
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-p);
}
.cookie-popup-content {
    max-width: 480px;
    width: 100%;
    text-align: center;
}
.cookie-popup-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.cookie-popup button {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    background: var(--color-navy);
    color: var(--color-text-light);
    transition: background 0.2s;
}
.cookie-popup button#cookieDecline {
    background: var(--color-btn-decline);
    color: var(--color-text-dark);
}
.cookie-popup button:hover {
    background: var(--color-btn-hover);
    color: var(--color-text-light);
}
.cookie-popup button#cookieDecline:hover {
    background: var(--color-btn-decline-hover);
    color: var(--color-text-dark);
}
.cookie-popup.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.nav-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.2rem 0 1.2rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.nav-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nav-dropdown.open::before {
    transform: translateX(100%);
}

.nav-dropdown.open a {
    pointer-events: auto;
    animation: slideInLinks 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-dropdown a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-nav);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100px;
    text-align: center;
    display: block;
}

.nav-dropdown a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(28, 28, 132, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-dropdown a:hover {
    background: rgba(28, 28, 132, 0.08);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(28, 28, 132, 0.15);
    border-color: rgba(28, 28, 132, 0.2);
}

.nav-dropdown a:hover::before {
    left: 100%;
}

@keyframes slideInLinks {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 900px) {
    .service-box, .bundle-box {
        padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    }
    .service-box h2, .bundle-box h2 {
        font-size: 1.3rem;
    }
    .slider-box, .slider-track {
        min-width: 0;
        max-width: 220px;
    }
    .slider-box {
        min-width: 220px;
        max-width: 220px;
    }
    .slider-box img {
        width: 100%;
        height: auto;
        aspect-ratio: 18 / 10;
    }
}

.service-img {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-img > div:first-child {
    display: flex;
    justify-content: center;
    width: 100%;
}

.service-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 340px;
}

.service-social-icons img {
    width: 54px;
    height: 54px;
    max-width: 22vw;
    max-height: 22vw;
    min-width: 32px;
    min-height: 32px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: width 0.2s, height 0.2s, transform 0.18s cubic-bezier(.77,0,.18,1.01);
    /* für GSAP-Animation */
    will-change: transform;
}

.service-social-icons img:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .service-social-icons img {
        width: 42px;
        height: 42px;
        max-width: 18vw;
        max-height: 18vw;
        min-width: 22px;
        min-height: 22px;
    }
}

/* Neues flexibles Service-Layout */
#servicesAltWrapper {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto 2.5rem auto;
    display: flex;
    flex-direction: column;
}


/* Neues Service-Layout: volle Breite, keine Box, halbe Viewport-Höhe */
#servicesAltWrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: hidden;
}

.service-row {
    width: 80%;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    margin: 0 10%;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    gap: 0;
    overflow-x: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: background 0.4s ease;
    z-index: 0;
}


.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row:hover .service-text {
    transform: translateY(-8px);
}

.service-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 2.8rem;
    margin-top: 0;
    margin-bottom: 0.6em;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1c1c84 0%, #2a2a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    line-height: 1.2;
}

.service-text h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1c1c84 0%, #2a2a9a 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row:hover .service-text h2::after {
    width: 60px;
}

.service-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 0;
    margin-top: 0.8em;
    line-height: 1.75;
    background: none;
    font-weight: 400;
    max-width: 90%;
}

.service-img {
    padding: 5% 0;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-img img {
    width: 350px;
    height: 350px;
    max-width: 40vw;
    max-height: 40vw;
    min-width: 180px;
    min-height: 180px;
    object-fit: contain;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(28, 28, 132, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-img img::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1c1c84 0%, #2a2a9a 100%);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-row:hover .service-img img {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 32px rgba(28, 28, 132, 0.15);
    border-color: rgba(28, 28, 132, 0.15);
}

/* Button Styling for "Mehr erfahren" */
.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1c1c84 0%, #2a2a9a 100%);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-top: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(28, 28, 132, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-learn-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-learn-more:hover::before {
    left: 100%;
}

.service-learn-more::after {
    content: "→";
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.service-learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(28, 28, 132, 0.35), 0 4px 16px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #2a2a9a 0%, #3a3aaa 100%);
}

.service-learn-more:hover::after {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    #servicesAltWrapper {
        gap: 2.2rem;
    }
    .service-row, .service-row.reverse {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .service-img {
        width: 100%;
        justify-content: flex-start;
    }
    .service-img img {
        width: 120px;
        height: 120px;
    }
    .service-text h2 {
        font-size: 1.2rem;
    }
    .service-text p {
        font-size: 1rem;
    }
}

.horizontal-slider {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
.horizontal-slider::-webkit-scrollbar {
    display: none;
}
    margin-top: 10%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    z-index: 2;
    position: relative;
    cursor: auto;
}



/* Zeige die horizontale Scrollbar */
.horizontal-slider::-webkit-scrollbar {
    height: 10px;
}
.horizontal-slider::-webkit-scrollbar-thumb {
    background: #d1e4f0;
    border-radius: 6px;
}
.horizontal-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    padding: 10px 2rem 50px 2rem;
    z-index: 1;
    will-change: transform; /* Optimize for animation */
    position: relative;
    left: 0; /* Starting position */
}

.slider-box {
    flex: 0 0 300px;
    background-color: var(--color-bg-light, #fff);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 1.5rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1.5px solid var(--color-border, #e0e0e0);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s ease,
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}

.slider-box:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15),
                0 12px 10px rgba(28,28,132,0.12),
                0 5px 10px rgba(0,0,0,0.08);
}

.slider-box:hover .slider-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #f8fafc 0%, #d0daec 100%);
}

/* Add subtle heading color effect */
.slider-box:hover h1 {
    background: linear-gradient(135deg, #1c1c84 0%, #3a3ab9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add transition to child elements */
.slider-icon, .slider-box h1 {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
}

/* Remove the CSS hover rule - will be handled by GSAP */

.slider-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.slider-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border: none;
    aspect-ratio: unset;
}

.slider-box h1 {
    font-size: var(--font-size-slider-h1);
    margin-bottom: 0.8em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-navy, #1c1c84);
    line-height: 1.3;
}

.slider-box p {
    font-size: var(--font-size-slider-p);
    margin-bottom: 0;
    color: var(--color-text, #222);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    text-align: center;
}

.slider-box::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-bg-gradient-end) 100%);
    opacity: 0.12;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Footer / Impressum Styling */
.footer, #footer, .impressum, #impressum {
    width: 100%;
    background: linear-gradient(90deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
    border-top: 1.5px solid var(--color-border);
    box-shadow: 0 -2px 16px var(--color-shadow-bundle);
    padding: 2.2rem 0 1.2rem 0;
    margin-top: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--font-size-footer);
    letter-spacing: 0.01em;
}

.footer-content, .impressum-content {
    max-width: 900px;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    line-height: 1.7;
}

.footer a, #footer a, .impressum a, #impressum a {
    color: var(--color-navy);
    text-decoration: underline;
    transition: color 0.2s;
    word-break: break-all;
}

.footer a:hover, #footer a:hover, .impressum a:hover, #impressum a:hover {
    color: var(--color-btn-hover);
    text-decoration: none;
}

.footer-title, .impressum-title {
    font-size: calc(var(--font-size-footer) + 0.18rem);
    font-weight: 600;
    margin-bottom: 0.7em;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.footer-hr, .impressum-hr {
    width: 60px;
    border: none;
    border-top: 2px solid var(--color-border-light);
    margin: 0.7em auto 1.2em auto;
    opacity: 0.7;
}

.bundles-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-content {
    flex: 1;
    min-width: 0;
}

.service-detail-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.service-detail-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-detail-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.service-detail-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

.service-detail-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-navy);
    font-weight: bold;
    font-size: 1.2em;
}

/* Animation classes */
.service-detail-box.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
}



/* Contact CTA Section */
.contact-cta-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-cta-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1c1c84;
    margin-bottom: 1.1em;
    text-align: center;
}

.contact-cta-button {
    background: #1c1c84;
    color: #fff;
    padding: 0.8em 2.2em;
    border: none;
    border-radius: 8px;
    font-size: 1.15em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: background 0.2s;
}

.contact-cta-button:hover {
    background: var(--color-btn-hover);
}

.service-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 340px;
}

.service-social-icons img {
    width: 54px;
    height: 54px;
    max-width: 22vw;
    max-height: 22vw;
    min-width: 32px;
    min-height: 32px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: width 0.2s, height 0.2s, transform 0.18s cubic-bezier(.77,0,.18,1.01);
    /* für GSAP-Animation */
    will-change: transform;
}

.service-social-icons img:hover {
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .service-box, .bundle-box {
        padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    }
    .service-box h2, .bundle-box h2 {
        font-size: 1.3rem;
    }
    .slider-box, .slider-track {
        min-width: 0;
        max-width: 220px;
    }
    .slider-box {
        min-width: 220px;
        max-width: 220px;
    }
    .slider-box img {
        width: 100%;
        height: auto;
        aspect-ratio: 18 / 10;
    }
    
    #welcomeText {
        margin-top: calc(120px + 6rem);
        padding-top: 1.5rem;
    }
    
    #servicesAltWrapper {
        padding: 2rem 0;
    }
    
    .service-row, .service-row.reverse {
        flex-direction: column !important;
        min-height: 45vh;
        padding: 35px 0;
    }
    .service-text, .service-img {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .service-img img {
        width: 220px;
        height: 220px;
        max-width: 60vw;
        max-height: 60vw;
    }
    .service-text h2 {
        font-size: 1.8rem;
    }
    .service-text p {
        font-size: 1.15rem;
        max-width: 100%;
    }
    
    .service-learn-more {
        font-size: 0.95rem;
        padding: 0.8rem 1.6rem;
        margin-top: 1.5rem;
    }
    
    .slider-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .slider-icon img {
        width: 36px !important;
        height: 36px !important;
    }
    
    .bundles-container {
        align-items: center;
    }
    
    .bundle-box {
        width: 90%;
        max-width: 600px;
    }
    
    #servicesDetailWrapper {
        padding: 0 1rem;
        gap: 3rem;
    }
    
    .service-detail-box, .service-detail-box.reverse {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .service-detail-img {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .service-detail-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .service-detail-content p, .service-detail-content ul li {
        font-size: 1rem;
    }
    
    
    .service-social-icons img {
        width: 42px;
        height: 42px;
        max-width: 18vw;
        max-height: 18vw;
        min-width: 22px;
        min-height: 22px;
    }
}

@media (max-width: 600px) {
    .service-box, .bundle-box {
        padding: 1.1rem 0.7rem 1rem 0.7rem;
        border-radius: 14px;
    }
    .service-box h2, .bundle-box h2 {
        font-size: 1.1rem;
    }
    .slider-track {
        gap: 0.7rem;
        padding: 5px 2rem 25px 2rem;
    }
    
    .slider-icon img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .slider-box h1 {
        font-size: 1rem;
        margin-bottom: 0.7em;
    }
    .footer-title, .impressum-title {
        font-size: 1rem;
    }
    .footer-content, .impressum-content {
        width: 98%;
    }

    #welcomeText {
      margin-top: calc(120px + 4rem);
      padding-top: 1rem;
    }

    .nav-hamburger {
      left: 30px;
    }
    
    #servicesAltWrapper {
        padding: 1rem 0;
    }
    
    .service-row, .service-row.reverse {
        margin: auto;
        min-height: 50vw;
        padding: 25px 0;
    }

    .horizontal-slider {
        margin-top: 6%;
        padding: 1rem 0;
    }
    
    .contact-cta-section {
        margin: 1.5rem 0;
    }

    
    .service-text h2 {
        font-size: 1.4rem;
        letter-spacing: -0.01em;
    }
    .service-text p {
        font-size: 1rem;
    }
    
    .service-learn-more {
        font-size: 0.9rem;
        padding: 0.7rem 1.4rem;
        margin-top: 1.2rem;
        border-radius: 10px;
    }
    
    .bundles-container {
        align-items: center;
    }
    
    .bundle-box {
        width: 85%;
    }
    
    
    #servicesDetailWrapper {
        gap: 2rem;
    }
    
    .service-detail-box {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .service-detail-content h2 {
        font-size: 1.3rem;
    }
    
    .service-detail-content p, .service-detail-content ul li {
        font-size: 0.95rem;
    }
    
    .contact-cta-heading {
        font-size: 1.5rem;
    }
    
    .contact-cta-button {
        font-size: 1rem;
        padding: 0.7em 1.8em;
    }
}

@media (max-width: 550px) {
    #welcomeText img {
        top: 0;
    }
}

@media (max-width: 480px) {
    #welcomeText {
        margin-top: calc(120px + 2rem);
        padding-top: 0.5rem;
    }
    
    .service-row, .service-row.reverse {
        min-height: 40vw;
        padding: 20px 0;
    }
    
    .horizontal-slider {
        margin-top: 4%;
        padding: 0.8rem 0;
    }
    
    #servicesAltWrapper {
        padding: 0.8rem 0;
    }
}

/* Redesigned pricing info section with animations that match site aesthetic */
.pricing-info {
    background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 100%);
    border-radius: 20px;
    padding: 2.2rem 2.5rem;
    margin: 2.5rem auto 3.5rem auto;
    max-width: 900px;
    border: 2px solid var(--color-navy);
    box-shadow: 0 8px 32px var(--color-shadow), 0 4px 16px var(--color-shadow-bundle);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

/* Subtle background decoration */
.pricing-info::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-bg-gradient-end) 100%);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Small currency icons for visual interest */
.pricing-info::after {
    content: "€";
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 2.8rem;
    color: rgba(28, 28, 132, 0.07);
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    z-index: 0;
}

.pricing-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: var(--font-size-h3);
    position: relative;
    z-index: 1;
    display: inline-block;
}

/* Animated underline for the heading */
.pricing-info h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy) 0%, #3a3ab9 100%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.pricing-info:hover h3::after {
    width: 100%;
}

.pricing-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-p);
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* On hover animation */
.pricing-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--color-shadow), 0 8px 24px rgba(28, 28, 132, 0.15);
    border-color: #3a3ab9;
}





/* Update bundle price and savings styles to match */
.bundle-price {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.bundle-savings {
    color: #2d6e3e;
    font-size: 0.95rem;
    font-weight: 500;
}

/* For GSAP animation - add class to HTML element */
.pricing-info-animate {
    opacity: 0; /* Will be animated with GSAP */
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .pricing-info {
        padding: 1.8rem;
        border-radius: 16px;
        margin: 2rem auto 3rem auto;
    }
    
    .pricing-info::after {
        font-size: 2.2rem;
        bottom: 15px;
        right: 20px;
    }
}

@media (max-width: 600px) {
    .pricing-info {
        padding: 1.5rem;
        border-radius: 12px;
        margin: 1.5rem auto 2.5rem auto;
    }
    
    .pricing-info::after {
        font-size: 1.8rem;
        bottom: 12px;
        right: 15px;
    }
    
    .pricing-info h3 {
        font-size: 1.2rem;
    }
    
    .pricing-info p {
        font-size: 0.95rem;
    }
}