/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/plus-jakarta-sans-v12-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200;
  src: url('fonts/plus-jakarta-sans-v12-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/plus-jakarta-sans-v12-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/plus-jakarta-sans-v12-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/plus-jakarta-sans-v12-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/plus-jakarta-sans-v12-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/plus-jakarta-sans-v12-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/plus-jakarta-sans-v12-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* =========================================
   1. Design System (Smooth Pastel SaaS)
========================================= */
:root {
    --bg-main: #FAFDFC;
    --bg-card: #F0F9F6;
    --bg-dark-card: #0F3A2E;
    
    --accent: #2EA889;
    --accent-hover: #248A70;
    --accent-light: #D5F2EA;
    
    --text-dark: #0A261E;
    --text-muted: #5C7B74;
    --text-light: #FFFFFF;
    
    --radius: 24px;
    --radius-lg: 40px;
    
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. Gamification: Progress Bar
========================================= */
#scroll-progress {
    position: fixed; 
    top: 0; 
    left: 0; 
    height: 5px;
    background: linear-gradient(to right, var(--accent-light), var(--accent));
    width: 0%; 
    z-index: 9999; 
    border-radius: 0 4px 4px 0;
}

/* =========================================
   3. Navigation
========================================= */
.navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 20px 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 100;
    background: rgba(250, 253, 252, 0.85); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 168, 137, 0.1); 
    transition: var(--transition);
}
.logo { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); letter-spacing: -1px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: var(--transition-fast); }
.nav-links a:hover { color: var(--accent); }
.nav-btn {
    background: var(--bg-card); 
    color: var(--accent) !important;
    padding: 10px 24px; 
    border-radius: 50px; 
    border: 1px solid rgba(46, 168, 137, 0.2);
}
.nav-btn:hover { background: var(--accent); color: var(--text-light) !important; }

/* =========================================
   4. Hero Bereich & Floating Badges
========================================= */
.hero { position: relative; padding: 180px 5% 100px; text-align: center; overflow: hidden; }
.hero-glow {
    position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(213,242,234,0.8) 0%, rgba(250,253,252,0) 70%);
    z-index: -1; border-radius: 50%; opacity: 0.7;
}

.floating-tag {
    position: absolute;
    background: #fff; border: 2px solid var(--accent); color: var(--accent);
    padding: 10px 20px; border-radius: 50px; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(46, 168, 137, 0.15);
    z-index: 1; pointer-events: none;
    animation: float 6s ease-in-out infinite;
}
.tag-1 { top: 20%; left: 10%; transform: rotate(-5deg); animation-delay: 0s; }
.tag-2 { top: 60%; right: 8%; transform: rotate(8deg); animation-delay: -2s; }
.tag-3 { bottom: 10%; left: 15%; transform: rotate(3deg); animation-delay: -4s; }

.hero-inner { max-width: 950px; margin: 0 auto; position: relative; z-index: 2; }
.soft-badge {
    display: inline-block; background: var(--bg-card); color: var(--accent);
    padding: 8px 16px; border-radius: 50px; font-weight: 800; font-size: 0.9rem;
    margin-bottom: 30px; border: 1px solid rgba(46, 168, 137, 0.2);
}
.hero-title { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -2px; margin-bottom: 30px; color: var(--text-dark); }
.highlight { color: var(--accent); }
.highlight-soft { color: var(--text-muted); font-weight: 500; }
.hero-text { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-muted); font-weight: 500; max-width: 700px; margin: 0 auto 50px; }

/* =========================================
   5. Buttons & Bouncy Hover
========================================= */
.cta-btn {
    display: inline-block; padding: 18px 40px; border-radius: 50px;
    font-size: 1.1rem; font-weight: 800; text-decoration: none; cursor: pointer;
    transition: var(--transition-fast); border: none;
}
.primary-btn { background: var(--accent); color: #fff; box-shadow: 0 10px 20px rgba(46, 168, 137, 0.2); }
.secondary-btn { background: var(--bg-card); color: var(--accent); border: 2px solid rgba(46, 168, 137, 0.2); }

.bounce-hover:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 30px rgba(46, 168, 137, 0.25); }
.bounce-hover:active { transform: translateY(2px) scale(0.98); }

.full-width { width: 100%; text-align: center; display: block; margin-top: 30px; }

/* =========================================
   6. Ticker & Statement
========================================= */
.brand-ticker { text-align: center; padding: 40px 20px; color: var(--text-muted); font-weight: 700; font-size: 0.9rem; }
.ticker-logos { display: flex; justify-content: center; gap: 30px; margin-top: 20px; font-weight: 900; letter-spacing: 2px; color: var(--text-dark); opacity: 0.3; flex-wrap: wrap; }
.dot { color: var(--accent); }
.statement-section { padding: 80px 5%; text-align: center; }
.massive-text { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -2px; max-width: 900px; margin: 0 auto; }

/* =========================================
   7. Gamification: Interactive Cards
========================================= */
.testimonials { padding: 40px 5%; max-width: 1200px; margin: 0 auto; }
.features { padding: 40px 5%; max-width: 1200px; margin: 0 auto; }
.feature-row { display: flex; align-items: center; gap: 8vw; margin-bottom: 140px; perspective: 1000px; }
.feature-row.reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; }
.step-number { font-size: 1.1rem; font-weight: 900; color: var(--accent); display: block; margin-bottom: 15px; background: var(--accent-light); padding: 5px 15px; border-radius: 20px; width: max-content; }
.feature-text h3 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }
.feature-text p { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }

.feature-visual {
    flex: 1; height: 400px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; transition: var(--transition);
}

/* 3D Tilt Effekt bei Hover */
.interactive-card:hover { transform: rotateX(2deg) rotateY(-2deg) translateY(-10px) scale(1.02); box-shadow: -10px 30px 50px rgba(46, 168, 137, 0.15); }
.reverse .interactive-card:hover { transform: rotateX(2deg) rotateY(2deg) translateY(-10px) scale(1.02); }

.dark-green-card { background: var(--bg-dark-card); box-shadow: 0 20px 40px rgba(15, 58, 46, 0.15); }
.brand-card { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); box-shadow: 0 20px 40px rgba(46, 168, 137, 0.2); }
.light-card { background: #fff; border: 2px solid rgba(46, 168, 137, 0.1); }

/* UI Boxen innerhalb der Visuals */
.mock-ui { width: 60%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: 25px; border: 1px solid rgba(255,255,255,0.05); }
.mock-line { height: 8px; background: rgba(255,255,255,0.2); border-radius: 10px; margin-bottom: 15px; width: 100%; }
.mock-line.short { width: 60%; }
.mock-badge { background: #FF6B6B; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 6px 12px; border-radius: 20px; display: inline-block; margin-top: 10px; }

.play-button { width: 80px; height: 80px; background: var(--bg-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 2rem; padding-left: 5px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.smooth-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

.mock-chart { display: flex; gap: 15px; align-items: flex-end; height: 160px; }
.bar { width: 40px; background: var(--accent); border-radius: 8px 8px 0 0; transition: var(--transition); }
.feature-visual:hover .bar { transform: scaleY(1.1); transform-origin: bottom; }
.h-40 { height: 40%; opacity: 0.5; } .h-60 { height: 60%; opacity: 0.7; } .h-80 { height: 80%; opacity: 0.9; } .h-100 { height: 100%; }

/* =========================================
   7.5. Gamification: Benefit Cloud (Wordcloud)
========================================= */
.benefit-tag {
    background: #fff;
    border: 2px solid rgba(46, 168, 137, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(46, 168, 137, 0.05);
    transition: var(--transition-fast);
    cursor: default;
}
.benefit-tag:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(46, 168, 137, 0.15);
}
.benefit-tag span {
    color: var(--accent);
}

/* =========================================
   8. Pricing
========================================= */
.pricing { padding: 80px 5% 120px; text-align: center; }
.pricing-container { max-width: 500px; margin: 0 auto; perspective: 1000px; }
.pricing h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 40px; letter-spacing: -1px; }
.price-box { background: #fff; padding: 50px; border-radius: var(--radius-lg); text-align: left; border: 2px solid rgba(46, 168, 137, 0.1); transition: var(--transition); }
.price-amount { font-size: 4.5rem; font-weight: 900; letter-spacing: -3px; color: var(--text-dark); line-height: 1; }
.price-terms { color: var(--text-muted); margin-top: 10px; font-weight: 700; border-bottom: 1px solid rgba(46, 168, 137, 0.1); padding-bottom: 30px; margin-bottom: 30px; }
.clean-list { list-style: none; }
.clean-list li { margin-bottom: 15px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 12px; }
.check { color: var(--accent); background: var(--accent-light); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; }

/* =========================================
   9. Footer
========================================= */
.footer { padding: 60px 5% 40px; border-top: 1px solid rgba(46, 168, 137, 0.1); background: var(--bg-card); }
.footer-grid { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -1px; color: var(--text-dark); }
.footer-sub { color: var(--text-muted); margin-top: 10px; font-weight: 600; }
.footer-links { display: flex; gap: 30px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 700; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; color: var(--text-muted); margin-top: 60px; font-size: 0.9rem; font-weight: 600; }
.footer-bottom a { color: var(--accent); }

/* =========================================
   10. MAGIE: Die Purzel-Animation (Gamification)
========================================= */
.reveal { opacity: 0; visibility: hidden; }

@keyframes purzeln {
    0% { opacity: 0; transform: translateY(80px) rotate(-6deg) scale(0.9); }
    50% { opacity: 1; transform: translateY(-15px) rotate(3deg) scale(1.02); }
    75% { transform: translateY(8px) rotate(-1deg) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

.reveal.active {
    visibility: visible;
    animation: purzeln 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* =========================================
   11. CSS Only Modals
========================================= */
/* =========================================
   11. CSS Only Modals
========================================= */
.css-modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(10, 38, 30, 0.6); 
    backdrop-filter: blur(8px); 
    z-index: 10000; 
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition-fast); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.css-modal:target { opacity: 1; visibility: visible; }

.css-modal .modal-content { 
    background: #fff; 
    /* Padding oben leicht reduziert, da der Sticky-Button Platz wegnimmt */
    padding: 30px 50px 50px 50px; 
    border-radius: var(--radius); 
    max-width: 500px; 
    width: 90%; 
    position: relative; 
    transform: translateY(30px) scale(0.95); 
    transition: var(--transition); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); 
    
    max-height: 85vh; 
    overflow-y: auto; 
    overflow-x: hidden;
}

.css-modal:target .modal-content { transform: translateY(0) scale(1); }

/* Custom Scrollbar exklusiv für das Modal */
.css-modal .modal-content::-webkit-scrollbar { width: 8px; }
.css-modal .modal-content::-webkit-scrollbar-track { background: transparent; }
.css-modal .modal-content::-webkit-scrollbar-thumb { 
    background: rgba(46, 168, 137, 0.2); 
    border-radius: 10px; 
}
.css-modal .modal-content::-webkit-scrollbar-thumb:hover { 
    background: var(--accent); 
}

/* =========================================
   Der Sticky Schließen-Button
========================================= */
.modal-close { 
    /* NEU: Sticky Positionierung innerhalb der Scroll-Box */
    position: sticky; 
    top: -10px; /* Leicht nach oben versetzt für schöneres Framing */
    float: right;
    z-index: 100; /* Immer über dem Text bleiben */
    
    /* Optik */
    text-decoration: none; 
    font-size: 1.5rem; 
    color: var(--text-muted); 
    background: rgba(240, 249, 246, 0.9); /* Leicht transparentes Grau/Mint */
    backdrop-filter: blur(4px);
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    transition: var(--transition-fast); 
    font-weight: 900;
    line-height: 1; /* Verhindert das "verrutschen" des X */
	padding: 0 0 10px 0;
    /* Box Shadow damit er sich vom scrollenden Text abhebt */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.modal-close:hover { 
    background: var(--accent); 
    color: #fff; 
    transform: rotate(90deg); 
}

/* =========================================
   Mobile Anpassung für Modals
========================================= */
@media (max-width: 768px) {
    .css-modal .modal-content {
        padding: 20px 20px 40px 20px; /* Auf Handys weniger Padding an den Seiten */
    }
    .modal-close {
        top: 0px;
        margin-bottom: 10px; /* Gibt dem darunterliegenden Titel etwas Luft */
    }
}

/* =========================================
   12. Tablet UI (Außendienst) & Responsive
========================================= */
.tablet-container { max-width: 600px; margin: 100px auto; background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(46, 168, 137, 0.08); border: 1px solid rgba(46, 168, 137, 0.1); }
.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.feedback-btn { padding: 25px 20px; font-size: 1.1rem; font-weight: 700; border: none; border-radius: 16px; cursor: pointer; transition: transform 0.1s; background: var(--bg-card); color: var(--text-dark); border: 1px solid rgba(46, 168, 137, 0.1); box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.feedback-btn:active { transform: scale(0.95); }
.feedback-btn.demographic { background: var(--bg-dark-card); color: #fff; }

@media (max-width: 768px) {
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 80px; }
    .feature-visual { height: 300px; width: 100%; border-radius: var(--radius); }
    .hero { padding: 140px 5% 60px; }
    .massive-text { font-size: 2.2rem; }
    .hide-mobile { display: none; }
    .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap;}
    .pricing { padding: 40px 5% 80px; }
    .tag-1, .tag-2, .tag-3 { display: none; } 
    .grid-2 { grid-template-columns: 1fr; } /* Tablet/Phone stack für Kundenmeinungen */
}

/* =========================================
   13. Slider (Wall of Fame)
========================================= */
.project-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5vw 60px 5vw;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Versteckt die native Scrollbar für den sauberen App-Look */
.project-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 calc(100vw - 10vw - 40px); /* Nimmt auf Mobile fast den ganzen Screen ein */
    max-width: 350px; /* Auf Desktop maximal 350px breit */
    scroll-snap-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid rgba(46, 168, 137, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.slider-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 168, 137, 0.15);
    border-color: var(--accent);
}

.slider-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: calc(var(--radius-lg) - 10px);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.slider-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slider-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.slider-cta {
    font-weight: 800;
    color: var(--accent);
    font-size: 1rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.slider-card:hover .slider-cta {
    color: var(--accent-hover);
    gap: 10px; /* Pfeil slidet leicht nach rechts */
}

@media (min-width: 768px) {
    .project-slider {
        padding-left: calc((100vw - 1200px) / 2); /* Richtet Slider am Content Max-Width aus */
        scroll-snap-type: none; /* Freies Scrollen auf Desktop */
    }
}