/* Custom Styles für BuildWise Landingpage */

/* Font Family Setup */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Navbar Transitions */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Hero Section Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Feature Card Animations */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Pricing Card Enhancements */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured {
    border: 2px solid #f97316;
    position: relative;
}

/* Form Input Focus States */
.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Focus Styles */
.focus-ring:focus {
    outline: none;
    ring: 2px;
    ring-color: #f97316;
    ring-offset: 2px;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.mobile-menu-exit {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms, transform 200ms;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

@media (min-width: 641px) {
    .text-responsive {
        font-size: 3.75rem;
        line-height: 1;
    }
}

/* Custom Grid Layouts */
.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Hover Effects for Links */
.link-hover {
    position: relative;
}

.link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #f97316;
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

/* Card Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Custom Shadows */
.shadow-custom {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-custom-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark {
    stroke-dasharray: 100;
    animation: checkmark 0.5s ease-in-out forwards;
}

/* Error Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.tooltip:hover::before {
    opacity: 1;
}

/* Custom Range Slider */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.range-slider::-webkit-slider-track {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f97316;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}

/* Progress Bar */
.progress-bar {
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #f97316, #ea580c);
    height: 100%;
    transition: width 0.3s ease;
}

/* Custom Modal */
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Notification Styles – kontrastreich, peppig, CI-konform */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, rgba(81,100,111,.96), rgba(81,100,111,.90));
  border: 1px solid rgba(249,199,79,.35);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6), 0 0 24px rgba(249,199,79,.25), 0 0 0 2px rgba(255,255,255,.06) inset;
  backdrop-filter: blur(6px);
  transform: translateX(110%);
  transition: transform .35s ease, opacity .35s ease;
  z-index: 70;
}
.notification.show { transform: translateX(0); }

/* Inline-Highlight für kurze Hinweise (dezent, CI-konform) */
.inline-highlight {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .55rem;
  border-radius: .6rem;
  background: rgba(249,199,79,.14);
  color: #ffe08a;
  border: 1px solid rgba(249,199,79,.35);
  box-shadow: 0 0 0 2px rgba(255,255,255,.05) inset, 0 0 16px rgba(249,199,79,.15);
  font-weight: 800;
  letter-spacing: .2px;
}

/* Varianten je Typ (nutzt Klassen: notification-success|error|info) */
.notification-success { border-color: rgba(34,197,94,.45); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6), 0 0 26px rgba(34,197,94,.28), 0 0 0 2px rgba(34,197,94,.18) inset; }
.notification-error   { border-color: rgba(239,68,68,.5);  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6), 0 0 26px rgba(239,68,68,.28),  0 0 0 2px rgba(239,68,68,.18) inset; }
.notification-info    { border-color: rgba(249,199,79,.5); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6), 0 0 26px rgba(249,199,79,.28), 0 0 0 2px rgba(249,199,79,.18) inset; }

.notification .flex { align-items: center; }
.notification .flex span { color: #fff; }

/* Countdown – groß & glow */
.countdown { display: grid; gap: 1.25rem; justify-content: center; align-items: center; text-align: center; }
.countdown .cd-grid { display: grid; grid-auto-flow: column; gap: 1.1rem; justify-content: center; align-items: end; }
.cd-box { position: relative; min-width: 128px; padding: 1.1rem 1.35rem; border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(81,100,111,.85), rgba(81,100,111,.7));
  border: 1px solid rgba(249,199,79,.45);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.5), 0 0 36px rgba(249,199,79,.22), 0 0 0 2px rgba(255,255,255,.06) inset;
  overflow: hidden;
}
.cd-box::after { content:""; position:absolute; inset:0; border-radius: inherit; pointer-events:none; background: radial-gradient(60% 80% at 20% 10%, rgba(255,255,255,.18), rgba(255,255,255,0)); opacity:.8; }
.cd-value { font-weight: 900; font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1; letter-spacing: .5px; color: #fff; text-shadow: 0 0 22px rgba(249,199,79,.20), 0 2px 0 rgba(0,0,0,.35); animation: cdPop .9s ease; }
.cd-label { margin-top: .35rem; font-weight: 800; color: #ffe08a; opacity: .95; letter-spacing: .6px; text-transform: uppercase; font-size: .8rem; }
.cd-sep { align-self: center; font-weight: 900; color: #ffe08a; font-size: clamp(2rem, 4vw, 3rem); opacity: .95; filter: drop-shadow(0 0 10px rgba(249,199,79,.35)); animation: sepPulse 1.4s ease-in-out infinite; }
@keyframes sepPulse { 0%,100% { opacity:.65; transform: translateY(0); } 50% { opacity:1; transform: translateY(-2px); } }
@keyframes cdPop { 0% { transform: translateY(8px) scale(.98); opacity:.6 } 100% { transform: translateY(0) scale(1); opacity:1 } }
@media (max-width: 640px) { .cd-box { min-width: 92px; padding: .9rem; } .countdown .cd-grid { gap: .6rem; } }

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .dark-mode .bg-white {
        background: #374151;
    }
    
    .dark-mode .text-gray-900 {
        color: #f9fafb;
    }
    
    .dark-mode .text-gray-600 {
        color: #d1d5db;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-before: always;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .high-contrast {
        border: 2px solid currentColor;
    }
    
    .high-contrast .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

:root {
    --ci-primary: #51646f; /* Hauptfarbe */
    --ci-primary-dark: #41535c; /* Hover/Darker */
    --ci-accent: #f9c74f; /* Akzent-Gelb */
    --ci-accent-dark: #e8b73e;
}

/* Override der häufig genutzten Tailwind-Orange-Klassen auf CI-Farben */
.text-orange-500, .text-orange-600, .text-orange-700 { color: var(--ci-accent) !important; }
.border-orange-500, .border-orange-600, .border-orange-700 { border-color: var(--ci-accent) !important; }

.bg-orange-500, .bg-orange-600, .bg-orange-700 { background-color: var(--ci-primary) !important; }
.hover\:bg-orange-500:hover, .hover\:bg-orange-600:hover, .hover\:bg-orange-700:hover { background-color: var(--ci-primary-dark) !important; }

.text-orange-500:hover, .text-orange-600:hover { color: var(--ci-accent-dark) !important; }
.hover\:text-orange-500:hover, .hover\:text-orange-600:hover { color: var(--ci-accent-dark) !important; }

/* Schattenfarbe für Buttons an CI angepasst */
.shadow-orange-600\/20 { box-shadow: 0 10px 25px -10px rgba(81, 100, 111, 0.25) !important; }

/* Dünne Zierlinien in Akzent-Gelb */
hr, .divider { border-color: var(--ci-accent) !important; } 

/* CI-Logo: nutzt PNG als Maske und färbt mit Primär/Akzent */
.ci-logo {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: var(--ci-primary);
    -webkit-mask-image: url('logo.png');
    mask-image: url('logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.ci-logo--gradient {
    background: linear-gradient(135deg, var(--ci-primary) 35%, var(--ci-accent) 100%);
}

/* Responsive Varianten */
@media (min-width: 640px) {
    .ci-logo { width: 64px; height: 64px; }
} 

/* CI Theme: dunkler Hintergrund, helle Typografie, Glas-Panels */
.ci-theme {
    /* Layered radial gradient in Primärabstufungen */
    background:
        radial-gradient(1200px 800px at 10% -10%, rgba(255,255,255,0.06), transparent 60%),
        radial-gradient(900px 600px at 100% 0%, rgba(249, 199, 79, 0.10), transparent 50%),
        linear-gradient(135deg, #5f7683 0%, #51646f 45%, #2f3c43 100%);
    color: #f2f5f7;
    min-height: 100vh;
}

/* Typografie-Overrides für gängige Tailwind-Grautöne innerhalb des Themes */
.ci-theme .text-gray-900 { color: #f7fafc !important; }
.ci-theme .text-gray-800 { color: #edf2f7 !important; }
.ci-theme .text-gray-700 { color: #e6ebef !important; }
.ci-theme .text-gray-600 { color: #dde3e8 !important; }
.ci-theme .text-gray-500 { color: #cfd6dc !important; }

/* Entferne weiße Flächen -> Glas-Panels */
.ci-theme .bg-white, .ci-theme .bg-gray-50, .ci-theme .bg-gray-100 {
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08) !important;
}

/* Sektionen mit hellem Hintergrund auf dunkel umstellen */
.ci-theme section { background: transparent !important; }
.ci-theme footer { background: rgba(0,0,0,0.35) !important; }

/* Navbar auf dunklem Theme */
.ci-theme #navbar { background: rgba(0,0,0,0.25) !important; border-color: rgba(255,255,255,0.08) !important; }
.ci-theme .navbar-scrolled { background: rgba(0,0,0,0.45) !important; }

/* About image container fallback height for older browsers */
.about-figure { position: relative; width: 100%; }
.about-figure::before { content: ""; display: block; padding-top: 75%; }
.about-figure > picture, .about-figure > img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Links und Interaktionen */
.ci-theme a { color: var(--ci-accent); }
.ci-theme a:hover { color: var(--ci-accent-dark); }

/* Buttons – bereits via Orange-Overrides auf Primär/Akzent umgestellt */
.ci-theme .border-gray-100, .ci-theme .border-gray-200 { border-color: rgba(255,255,255,0.12) !important; }

/* Karten-Highlights */
.ci-theme .hover\:shadow-lg:hover, .ci-theme .hover\:shadow-xl:hover {
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.45) !important;
}

/* Beta-CTA Hintergrund dezent verstärken */
.ci-theme #beta { background: linear-gradient(160deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25)) !important; }

/* Hero-Text über dunklem Hintergrund besser lesbar */
.ci-theme .hero-section h1, .ci-theme .hero-section p { color: #f7fafc !important; } 

/* Blueprint Hero */
.blueprint-hero { position: relative; }
.blueprint-hero .blueprint-grid {
    background-image:
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.blueprint-hero .draw-on-scroll { color: var(--ci-accent); opacity: 0.8; }

/* Tabs */
.tab-btn {
    color: var(--ci-accent);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    padding: 0.5rem 1rem; margin: 0 0.25rem;
    border-radius: 999px; font-weight: 600;
    transition: all .2s ease;
}
.tab-btn:hover { background: rgba(255,255,255,0.08); }
.tab-btn.active { background: var(--ci-primary); color: #fff; border-color: transparent; }
.tab-panel .panel-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; padding: 2rem; }
.badge { background: rgba(249,199,79,0.15); color: var(--ci-accent); padding: .25rem .6rem; border-radius: 999px; font-weight: 600; font-size: .875rem; }
.btn-primary-alt { display: inline-block; color: #0b1114; background: var(--ci-accent); padding: .8rem 1.05rem; border-radius: .9rem; font-weight: 800; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.btn-primary-alt:hover { filter: brightness(0.98); box-shadow: 0 20px 50px -18px rgba(0,0,0,.55); }
.btn-glow { position: relative; color: #0b1114 !important; background: linear-gradient(135deg, #ffe08a, #f9c74f); border: 1px solid rgba(249,199,79,.55); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6), 0 0 22px rgba(249,199,79,.45), 0 0 0 2px rgba(255,255,255,.08) inset; }
.btn-glow:hover { box-shadow: 0 16px 38px -16px rgba(0,0,0,.65), 0 0 30px rgba(249,199,79,.6), 0 0 0 2px rgba(255,255,255,.1) inset; transform: translateY(-1px); }
.btn-glow:focus-visible { box-shadow: 0 0 0 4px rgba(249,199,79,.35), 0 0 24px rgba(249,199,79,.55); }

/* Kontrastreiche Variante für dunklen Untergrund */
.btn-primary-dark { display: inline-block; color: #ffffff; background: var(--ci-primary); padding: .75rem 1rem; border-radius: .75rem; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.btn-primary-dark:hover { background: var(--ci-primary-dark); }

/* Hover lift */
.hover-lift { transition: transform .25s ease, box-shadow .25s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 45px -18px rgba(0,0,0,.45); }

/* Tilt cards (3D-Parallax per JS) */
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.tilt-card .w-12 { transform: translateZ(20px); }

/* SVG Draw-on-scroll */
.draw-on-scroll path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s ease; }
.draw-on-scroll.is-drawn path { stroke-dashoffset: 0; } 

/* Phases (horizontaler Expander) */
.phases-wrapper { overflow: hidden; }
.phases-track { display: grid; grid-auto-flow: column; gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.phases-track::-webkit-scrollbar { height: 6px; }
.phases-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 999px; }
.phase-card { min-width: 220px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; padding: 1rem; text-align: left; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.phase-card:hover { transform: translateY(-3px); }
.phase-card.is-active { background: linear-gradient(135deg, rgba(81,100,111,0.5), rgba(249,199,79,0.2)); border-color: rgba(255,255,255,0.18); }
.phase-index { font-weight: 800; color: var(--ci-accent); }
.phase-title { display: block; font-weight: 700; color: #f7fafc; }
.phase-sub { display: block; color: #e6ebef; font-size: .875rem; opacity: .85; }
.phase-panels { margin-top: 1rem; }
.phase-panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem; box-shadow: 0 24px 60px -30px rgba(0,0,0,.55); transform: translateZ(0); transition: opacity .25s ease, transform .25s ease; }
.phase-panel.show { opacity: 1; transform: translateY(0); }
.phase-panel.hidden { opacity: .85; transform: translateY(6px); }

/* FAQ Accordion */
.accordion { display: grid; gap: 8px; }
.acc-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: .75rem; font-weight: 600; }
.acc-header:hover { background: rgba(255,255,255,0.1); }
.acc-icon { color: var(--ci-accent); font-weight: 800; margin-left: 1rem; }
.acc-panel { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: .75rem; padding: 1rem 1.25rem; color: #e6ebef; } 

/* Hero mit Foto und Wasserzeichen-Logo */
.hero-section.has-photo {
    position: relative;
}
.hero-section.has-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%),
      url('./Design%20ohne%20Titel%20%2816%29.png');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}
.hero-section.has-photo::after {
    content: "";
    position: absolute;
    right: 3vw;
    bottom: 3vh;
    width: min(28vw, 420px);
    height: min(28vw, 420px);
    background-image: url('logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.07;
    filter: grayscale(100%) contrast(105%);
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
}
.hero-section.has-photo > * { position: relative; z-index: 2; }

/* Reduziere die Blueprint-Gitter-Deckkraft, falls vorhanden */
.hero-section.has-photo .blueprint-grid { opacity: 0.08; } 

/* Slogan Pill */
.slogan-pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #f7fafc;
    font-weight: 700;
    letter-spacing: .2px;
    backdrop-filter: blur(8px);
}
.slogan-pill .sep { opacity: .6; }
.slogan-pill .accent { color: var(--ci-accent); } 

/* Peppiger CTA-Button */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.3rem;
  border-radius: 1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  /* Modernes Duo-Gradient: Primär → Akzent für mehr Sichtbarkeit */
  background: linear-gradient(135deg, var(--ci-primary) 0%, var(--ci-primary-dark) 55%, rgba(249,199,79,.85) 115%);
  border: 1px solid rgba(249,199,79,.55);
  /* Außen-Glow + innerer Glasring */
  box-shadow: 0 16px 46px -18px rgba(0,0,0,.7), 0 0 34px rgba(249,199,79,.38), 0 0 0 3px rgba(255,255,255,.06) inset;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -22px rgba(0,0,0,.75), 0 0 42px rgba(249,199,79,.55), 0 0 0 3px rgba(255,255,255,.08) inset; filter: saturate(1.06); }
.btn-cta:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(249,199,79,.35), 0 0 34px rgba(249,199,79,.55); }
.btn-cta .btn-text { white-space: nowrap; }
.btn-cta .btn-badge { display: inline-flex; align-items: center; padding: .22rem .6rem; border-radius: .8rem; background: rgba(255,255,255,.16); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .2px; border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 0 0 2px rgba(255,255,255,.06); }
.btn-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.0) 100%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-cta:hover::after { transform: translateX(120%); }

/* Phases modern */
.phases-modern .phases-rail { position: relative; height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.phases-modern .phases-progress { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--ci-accent), #ffe08a); border-radius: 999px; transition: width .3s ease; }
.phases-modern .phases-track { display: grid; grid-auto-flow: column; gap: 12px; }
.phases-modern .phase-card { min-width: 160px; backdrop-filter: blur(8px); } 

/* Phases modern – pep up */
.phases-modern .phase-card { position: relative; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); border-radius: 1rem; padding: 1rem 1.1rem; }
.phases-modern .phase-card.is-active { background: linear-gradient(135deg, rgba(81,100,111,0.55), rgba(249,199,79,0.22)); box-shadow: 0 18px 45px -18px rgba(0,0,0,.5); }
.phases-modern .phase-card::before { content: ""; position: absolute; left: .9rem; top: .9rem; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.phases-modern .phase-card.is-active::before { background: var(--ci-accent); box-shadow: 0 0 0 6px rgba(249,199,79,.18); }
.phases-modern .phase-title { font-weight: 800; }

/* Small icon bubble inside card */
.phases-modern .phase-card .icon { width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.12); display: inline-flex; align-items:center; justify-content:center; margin-right:.4rem; } 

/* Micro gradient on cards */
.phases-modern .phase-card { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); } 

/* Edge fade for horizontal scroll areas */
.scroll-fade { position: relative; }
.scroll-fade::before, .scroll-fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none; z-index: 2; }
.scroll-fade::before { left: 0; background: linear-gradient(90deg, rgba(31,41,55,1), rgba(31,41,55,0)); }
.scroll-fade::after { right: 0; background: linear-gradient(270deg, rgba(31,41,55,1), rgba(31,41,55,0)); }

/* Scroll-snap for phases */
.phases-track { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.phases-track .phase-card { scroll-snap-align: start; }

/* Hide horizontal scrollbar */
.phases-track { scrollbar-width: none; }
.phases-track::-webkit-scrollbar { display: none; }

/* Icon placeholder (uses logo mask for consistency) */
.phases-modern .phase-card .icon { width: 28px; height: 28px; border-radius: 8px; background: var(--ci-primary); -webkit-mask-image: url('logo.png'); mask-image: url('logo.png'); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; opacity: .45; }
.phases-modern .phase-card.is-active .icon { opacity: .8; }

/* Hover parallax & reveal */
.phases-modern .phase-card { transition: transform .25s ease, box-shadow .25s ease; }
.phases-modern .phase-card:hover { transform: translateY(-4px); box-shadow: 0 22px 55px -28px rgba(0,0,0,.55); }
.phases-modern .phase-card .phase-desc { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.phases-modern .phase-card:hover .phase-desc, .phases-modern .phase-card.is-active .phase-desc { max-height: 400px; }

/* Carousel animation keyframes (translate X) */
@keyframes carouselSlide {
  0% { transform: translateX(0); }
  25% { transform: translateX(0); }
  30% { transform: translateX(-25%); }
  55% { transform: translateX(-25%); }
  60% { transform: translateX(-50%); }
  85% { transform: translateX(-50%); }
  90% { transform: translateX(-75%); }
  100% { transform: translateX(-75%); }
}

@media (min-width: 1024px) {
  /* Only run css animation on desktop, JS fallback steuert Aktivierung */
  .phases-modern[data-auto="true"] .phases-track { animation: carouselSlide 24s ease-in-out infinite; }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  /* Navbar spacing */
  #navbar .h-16 { height: 3.25rem; }

  /* Hero spacing & typography */
  .hero-section { padding-top: 4.75rem !important; padding-bottom: 2rem !important; }
  /* Headline auf Mobile kleiner und mit adaptiver Größe */
  .hero-section h1 { font-size: clamp(1.35rem, 5.2vw, 1.6rem) !important; line-height: 1.25 !important; }
  .hero-section p { font-size: 1rem !important; }
  /* Slogan auf eine Zeile zwingen und skalieren */
  .slogan-pill { flex-wrap: nowrap; white-space: nowrap; text-align: center; font-size: clamp(.72rem, 3.5vw, .9rem); gap: .35rem; padding: .45rem .85rem; }

  /* CTA full width on mobile */
  .btn-cta, .btn-primary-dark { width: 100%; justify-content: center; }

  /* Cards (disable heavy effects) */
  .tilt-card { transform: none !important; }
  .tilt-card .w-12 { transform: none !important; }

  /* Phases: larger touch targets, snap, rail subtle */
  .phases-modern .phases-rail { height: 4px; margin-bottom: 10px; }
  .phases-track { gap: 10px; overflow-x: auto; }
  .phases-modern .phase-card { min-width: 82vw; padding: 1rem 1.1rem; }
  .phases-modern .phase-index { font-size: .95rem; }
  .phases-modern .phase-title { font-size: 1.05rem; }
  .phases-modern .phase-sub { font-size: .9rem; opacity: .9; }
  .phase-panel .panel-inner { padding: 1.1rem; }

  /* Footer stack */
  footer .grid { grid-template-columns: 1fr !important; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
} 

/* Decorative bubbles */
.phases-bubbles { position: absolute; inset: -40px 0 0 0; pointer-events: none; z-index: 0; }
.phases-bubbles span { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0)); filter: blur(12px); opacity: .18; animation: bubbleFloat 16s ease-in-out infinite; }
.phases-bubbles span:nth-child(1) { left: 5%; top: 0; }
.phases-bubbles span:nth-child(2) { left: 45%; top: 20px; animation-duration: 20s; }
.phases-bubbles span:nth-child(3) { right: 6%; top: -10px; animation-duration: 18s; }
@keyframes bubbleFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }

/* Ensure content is above bubbles */
.phases-wrapper { position: relative; z-index: 1; }

/* Auto-play indicator (progress already exists) */
@media (min-width: 641px) {
  .phases-modern .phases-rail { position: relative; overflow: hidden; }
  .phases-modern .phases-progress { transition: width .6s ease; }
} 

/* Description inside phase cards */
.phase-desc { margin-top: .6rem; color: #e6ebef; font-size: .95rem; opacity: .95; }
.phase-desc ul { margin-top: .4rem; padding-left: 1rem; }
.phase-desc li { list-style: disc; margin: .15rem 0; }

@media (max-width: 640px) {
  .phase-desc { font-size: .92rem; }
} 

/* Phase card inner layout */
.phases-modern .phase-card { display: flex; align-items: flex-start; gap: .75rem; position: relative; overflow: hidden; }
.phases-modern .phase-card > .icon { flex: 0 0 32px; height: 32px; }
.phases-modern .phase-card > div { display: grid; gap: .15rem; }

/* Shine effect */
.phases-modern .phase-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.15) 50%, rgba(255,255,255,0) 70%); transform: translateX(-120%); transition: transform .9s ease; }
.phases-modern .phase-card:hover::after, .phases-modern .phase-card.is-active::after { transform: translateX(120%); }

/* Animated icon */
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-3px) } }
.phases-modern .phase-card .icon { animation: bob 3s ease-in-out infinite; }
.phases-modern .phase-card.is-active .icon { animation-duration: 2.2s; }

/* Bullets inside desc */
.phase-desc ul { list-style: none; padding-left: 0; margin: .5rem 0 0; display: grid; gap: .2rem; }
.phase-desc li { position: relative; padding-left: 1.2rem; }
.phase-desc li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--ci-accent); font-weight: 800; }

/* Responsive typography using clamp */
.phases-modern .phase-title { font-size: clamp(1.05rem, 1vw + .9rem, 1.25rem); }
.phases-modern .phase-sub { font-size: clamp(.9rem, .7vw + .7rem, 1rem); opacity: .9; }
.phase-desc { font-size: clamp(.9rem, .6vw + .7rem, 1rem); }

@media (max-width: 640px) {
  .phases-modern .phase-card > .icon { flex-basis: 28px; height: 28px; }
  .phases-modern .phase-card { min-width: 88vw; }
} 

/* Process (scroll-driven, robust) */
.process .process-nav { position: sticky; top: 88px; align-self: start; }
.process .process-nav ol { display: grid; gap: .5rem; }
.process .process-nav a { display: flex; align-items: center; gap: .6rem; padding: .65rem .75rem; border-radius: .75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #e6ebef; font-weight: 600; }
.process .process-nav a span { display: inline-flex; width: 28px; height: 28px; border-radius: 999px; align-items:center; justify-content:center; background: var(--ci-primary); color: #fff; font-weight: 800; }
.process .process-nav a.is-active, .process .process-nav a:hover { background: linear-gradient(135deg, rgba(81,100,111,.55), rgba(249,199,79,.22)); }

.process .process-content { display: grid; gap: 1.25rem; }
.process .process-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; padding: 1.25rem; box-shadow: 0 24px 60px -30px rgba(0,0,0,.55); }
.process .process-item header h3 { font-size: clamp(1.15rem, 1vw + 1rem, 1.5rem); font-weight: 800; }
.process .process-item header .lead { color: #e6ebef; margin-top: .25rem; }
.process .bullet { margin-top: .6rem; display: grid; gap: .25rem; }
.process .bullet li { position: relative; padding-left: 1.2rem; }
.process .bullet li::before { content: "✔"; position: absolute; left: 0; color: var(--ci-accent); font-weight: 800; }

/* Mobile accordion */
.process-mobile { display: none; }
@media (max-width: 1024px) {
  .process .grid { grid-template-columns: 1fr !important; }
  .process .process-nav { display: none; }
  .process-mobile { display: grid; gap: .6rem; margin-top: 1rem; }
  .process-mobile details { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: .75rem; padding: .75rem 1rem; }
  .process-mobile summary { display: flex; align-items:center; gap: .6rem; cursor: pointer; }
  .process-mobile summary span { display: inline-flex; width: 28px; height: 28px; border-radius: 999px; align-items:center; justify-content:center; background: var(--ci-primary); color:#fff; font-weight: 800; }
}

/* Active step highlighting via JS (intersection) */
.process .process-item.is-inview { outline: 2px solid rgba(249,199,79,.35); outline-offset: 2px; } 

/* Workflow grid (modern) */
.wf-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 1rem; 
  position: relative; 
}
.wf-step { 
  position: relative; 
  display: grid; 
  gap: .5rem; 
  padding: 1rem; 
  border-radius: .85rem; 
  background: rgba(255,255,255,.04); 
  border: 1px solid rgba(255,255,255,.08); 
  backdrop-filter: blur(4px); 
  box-shadow: 0 10px 24px -20px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; 
}
.wf-step:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 14px 30px -22px rgba(0,0,0,.5);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
/* dezenter Glanz entfernt */
.wf-step::after { display: none; }

.wf-head { display: flex; align-items: center; gap: .55rem; }
.wf-index { display:inline-flex; width: 32px; height: 32px; border-radius: 8px; align-items:center; justify-content:center; background: var(--ci-primary); color:#fff; font-weight:700; box-shadow: none; }
.wf-head h3 { font-weight: 700; font-size: clamp(1rem, .8vw + .85rem, 1.25rem); }
.wf-lead { color: #e6ebef; font-size: clamp(.95rem, .5vw + .7rem, 1rem); }
.wf-list { display: grid; gap: .15rem; }
.wf-list li { position: relative; padding-left: 1rem; }
.wf-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .45rem; height: .45rem; border-radius: 2px; background: rgba(249,199,79,.9); box-shadow: none; }

/* Reveal on scroll subtiler */
.wf-step { opacity: 0; transform: translateY(6px); }
.wf-step.is-visible { opacity: 1; transform: translateY(0); transition-duration: .35s; }

/* Verbindungslinie dezenter (Desktop) */
@media (min-width: 1025px) {
  .wf-grid::before { content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: rgba(255,255,255,.10); border-radius: 2px; }
}

/* Mobile Timeline */
@media (max-width: 1024px) {
  .wf-grid { grid-template-columns: 1fr; gap: .85rem; }
  .wf-grid::before { display: none; }
  .wf-step { padding-left: 2rem; }
  .wf-step::before { content: ""; position: absolute; left: .9rem; top: 1.1rem; bottom: -1rem; width: 2px; background: rgba(255,255,255,.14); }
  .wf-index { position: absolute; left: .25rem; top: .8rem; width: 22px; height: 22px; font-size: .75rem; border-radius: 6px; }
  .wf-head, .wf-card-head { gap: .4rem; }
  .wf-icon { width: 22px; height: 22px; border-radius: .45rem; }
  .wf-icon svg { width: 14px; height: 14px; }
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
  .wf-step { transition: none !important; transform: none !important; }
} 

/* Subtile Vibration (Desktop), ohne Ablenkung auf Hover */
@keyframes microVibrate {
  0% { transform: translateY(0); }
  20% { transform: translateY(-1px); }
  40% { transform: translateY(0.6px); }
  60% { transform: translateY(-0.6px); }
  80% { transform: translateY(0.4px); }
  100% { transform: translateY(0); }
}
@media (min-width: 768px) {
  .wf-step.is-visible:not(:hover) { animation: microVibrate 6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-step.is-visible { animation: none !important; }
}

/* Responsive Feinschliff für Inhalte */
.wf-lead, .wf-list { word-wrap: anywhere; } 

/* Schlanker Look */
.wf-step { gap: .4rem; padding: .9rem; }
.wf-lead { margin-bottom: .2rem; }

/* Text kürzen (2 Zeilen) */
.wf-lead{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Auf Mobile nur 2 Bullets zeigen */
@media (max-width: 640px) {
  .wf-list li:nth-child(n+3){ display:none; }
  .wf-step { padding: .85rem .9rem .9rem 2rem; }
} 

/* Icon-Größen und Glow */
.wf-icon { width: 34px; height: 34px; border-radius: .6rem; background: rgba(249,199,79,.15); color: var(--ci-accent); display: inline-flex; align-items:center; justify-content:center; overflow: hidden; }
.wf-icon svg { width: 20px; height: 20px; stroke-width: 2; max-width: 100%; max-height: 100%; display: block; }
.wf-step:hover .wf-icon, .wf-card:hover .wf-icon { background: rgba(249,199,79,.22); box-shadow: 0 0 0 6px rgba(249,199,79,.12), 0 8px 22px -12px rgba(249,199,79,.35); transform: translateZ(0) scale(1.03); transition: box-shadow .25s ease, transform .25s ease, background .25s ease; }

/* Sicherheitsnetz gegen zu große SVGs (falls außerhalb von .wf-icon eingefügt) */
.wf-step > svg, .wf-card > svg { width: 24px !important; height: 24px !important; }

/* Mobile Icon-Größe weiter reduzieren */
@media (max-width: 640px) {
  .wf-icon { width: 20px; height: 20px; border-radius: .4rem; }
  .wf-icon svg { width: 12px; height: 12px; }
} 

/* Mobile Carousel */
.wf-carousel { display: none; }
@media (max-width: 640px) {
  .wf-carousel { display: block; margin-top: .5rem; }
  .wf-track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; gap: .75rem; padding-bottom: .5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .wf-track::-webkit-scrollbar { display: none; }
  .wf-card { scroll-snap-align: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: .85rem; padding: .9rem; display: grid; gap: .4rem; }
  .wf-card-head { display: flex; align-items: center; gap: .55rem; }
  .wf-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .5rem; }
  .wf-dots button { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.25); border: none; }
  .wf-dots button.is-active { background: var(--ci-accent); }
  /* Accordion ausblenden, wenn Carousel aktiv */
  .process-mobile { display: none; }
} 

/* Vertikaler Workflow */
.wf-vert { display: grid; gap: .8rem; position: relative; }
.wf-row { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: .85rem; padding: .9rem 1rem; display: grid; gap: .35rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wf-row:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(0,0,0,.5); border-color: rgba(255,255,255,.14); }
.wf-row-head { display: flex; align-items: center; gap: .55rem; }
.wf-row-head h3 { font-weight: 700; font-size: clamp(1rem, .8vw + .85rem, 1.25rem); line-height: 1.3; }
.wf-lead { color:#e6ebef; font-size: clamp(.95rem, .5vw + .7rem, 1rem); line-height: 1.5; margin: 0; word-break: break-word; }

/* Dezente Linie links (Timeline-Optik) */
.wf-vert::before { content:""; position:absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.08); border-radius: 2px; }
.wf-row { position: relative; }
.wf-row::before { content:""; position:absolute; left: 8px; top: 1.1rem; width: 10px; height: 10px; border-radius: 999px; background: var(--ci-accent); box-shadow: 0 0 0 6px rgba(249,199,79,.14); }

/* Kopf-Elemente (Index/Icons) kleiner, konsistent */
.wf-index { display: inline-flex; width: 24px; height: 24px; border-radius: 6px; align-items:center; justify-content:center; background: var(--ci-primary); color:#fff; font-size: .75rem; font-weight: 700; }
.wf-icon { width: 22px; height: 22px; border-radius: .45rem; background: rgba(249,199,79,.15); color: var(--ci-accent); display: inline-flex; align-items:center; justify-content:center; }
.wf-icon svg { width: 14px; height: 14px; }

/* Mobile Lesbarkeit */
@media (max-width: 640px){
  .wf-vert { gap: 1rem; }
  .wf-row { padding: 1rem 1rem 1rem 2.25rem; }
  .wf-row-head h3 { font-size: 1.05rem; }
  .wf-lead { font-size: .98rem; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; }
  .wf-vert::before { left: 10px; background: rgba(255,255,255,.06); }
  .wf-row::before { left: 6px; }
} 

/* Hard cap for any SVG inside phases section to avoid oversized icons */
#phases svg { max-width: 28px; max-height: 28px; }
#phases .wf-icon svg { width: 14px; height: 14px; } 

/* Phasen-Icons konsistent einfärben */
#phases .wf-icon { color: var(--ci-accent); background: rgba(249,199,79,.15); }
#phases .wf-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

/* Verhindere versehentlich große SVGs im Abschnitt */
#phases > svg, #phases .wf-vert > svg, #phases .wf-row > svg { display: none !important; } 

/* Closer / Abbinder */
.closer { background: transparent; }
.closer-divider { border: none; height: 1px; background: rgba(255,255,255,.12); margin: 0 0 12px 0; }
.closer-text { color: #e6ebef; font-weight: 600; letter-spacing: .2px; font-size: clamp(1rem, 1.2vw + .8rem, 1.25rem); } 

/* Hero Headline spacing */
.hero-headline { margin-bottom: 1.25rem; }
@media (min-width: 640px) { .hero-headline { margin-bottom: 1.75rem; } }
@media (min-width: 1024px) { .hero-headline { margin-bottom: 2.25rem; } } 

/* Hero CTA spacing */
.hero-ctas { margin-top: 1.25rem; }
@media (min-width: 640px) { .hero-ctas { margin-top: 1.75rem; } }
@media (min-width: 1024px) { .hero-ctas { margin-top: 2rem; } } 

/* Bubble Feature Grid */
.bw-bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.bw-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertikal mittig */
  gap: .6rem;
  padding: 1.15rem;
  border-radius: 9999px;
  /* Realistischere Optik mit Basisfarbe #dad1c8 */
  background-color: #dad1c8;
  background:
    radial-gradient(120px 120px at 30% 25%, rgba(255,255,255,.55), rgba(255,255,255,.12) 60%, rgba(255,255,255,0) 75%) padding-box,
    radial-gradient(200px 200px at 80% 80%, rgba(0,0,0,.10), rgba(0,0,0,0) 60%) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.15), rgba(0,0,0,.12)) padding-box,
    #dad1c8;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 24px 55px -32px rgba(0,0,0,.55), inset 0 8px 18px rgba(255,255,255,.25), inset 0 -10px 20px rgba(0,0,0,.08);
  transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
  animation: bwFloat var(--dur, 9s) ease-in-out infinite;
}
 /* Subtilere Highlights an Kante */
.bw-bubble::before {
  content:""; position:absolute; inset: 0; border-radius: inherit; pointer-events:none;
  /* schmaler Rand-Glanz */
  background: conic-gradient(from 210deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%, rgba(0,0,0,0) 70%, rgba(255,255,255,.25) 85%, rgba(255,255,255,0));
  mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity:.7;
}
/* elliptischer Lichtreflex oben links */
.bw-bubble::after {
  content:""; position:absolute; top:12%; left:22%; width:42%; height:34%; border-radius:50%;
  background:
    radial-gradient(80% 60% at 35% 35%, rgba(255,255,255,.55), rgba(255,255,255,.15) 70%, rgba(255,255,255,0));
  pointer-events:none; filter: blur(.5px); opacity:.95;
}
 
 .bw-bubble:hover { box-shadow: 0 30px 70px -38px rgba(0,0,0,.6); }
 .bw-bubble:focus-visible { outline: 2px solid rgba(249,199,79,.45); outline-offset: 3px; }
 .bw-icon { width: 52px; height: 52px; border-radius: 9999px; background: rgba(249,199,79,.18); color: var(--ci-accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(249,199,79,.08); }
 .bw-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
 .bw-label { color: #0b1114; font-weight: 800; font-size: 1rem; text-align: center; opacity: .9; }
 
 /* Drift-Animation (schneller & größere Amplitude) */
 @keyframes bwFloat { 0% { transform: translateY(0) translateX(0) scale(1); } 25% { transform: translateY(-12px) translateX(6px) scale(1.01); } 50% { transform: translateY(0) translateX(10px) scale(1); } 75% { transform: translateY(-10px) translateX(-6px) scale(1.01); } 100% { transform: translateY(0) translateX(0) scale(1); } }
 /* Mobile: sehr leichte, GPU-freundliche Drift */
 @keyframes mFloat { 0%,100% { transform: translate3d(0,0,0); } 25% { transform: translate3d(4px,-6px,0); } 50% { transform: translate3d(8px,0,0); } 75% { transform: translate3d(-4px,-4px,0); } }
 
 /* In-Bubble Reveal auf Hover */
 .bw-bubble .bw-desc { opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease; }
 .bw-bubble:hover .bw-desc { opacity: 1; transform: translateY(0); }
 .bw-bubble:hover .bw-icon, .bw-bubble:hover .bw-label { opacity: 0; transition: opacity .15s ease; }
 /* Tap-to-reveal (mobile) */
 .bw-bubble.is-open { z-index: 12; }
 .bw-bubble.is-open .bw-icon, .bw-bubble.is-open .bw-label { opacity: 0; }
 .bw-bubble.is-open .bw-desc { opacity: 1; transform: translateY(0); display: block; }
 
 @media (max-width: 640px) {
   .bw-bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
   .bw-icon { width: 44px; height: 44px; }
   .bw-icon svg { width: 22px; height: 22px; }
   .bw-desc { font-size: .95rem; }
 }

/* Motion reduzieren */
@media (prefers-reduced-motion: reduce) {
  .bw-bubble { animation: none !important; }
} 

/* Floating layout: absolute over section */
.bw-floating { position: relative; min-height: 360px; }
.bw-floating::before { content: none; }
.bw-floating .bw-bubble { position: absolute; left: var(--x, 10%); top: var(--y, 10%); width: 220px; height: 220px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .5rem; }
.bw-floating .bw-bubble { z-index: 1; }
.bw-floating .bw-label { pointer-events: none; }

@media (max-width: 640px) {
  .bw-floating { min-height: 320px; }
  .bw-floating .bw-bubble { width: 170px; height: 170px; }
} 

/* Features with background image */
.features-hero { position: relative; }
.features-hero::before { content: none; }
.features-hero > div { position: relative; z-index: 1; }

/* Emphasis inside labels */
.bw-em { color: var(--ci-accent); } 

/* JS-Physikmodus: Animations via JS, CSS-Animation abschalten */
.bw-physics .bw-bubble { animation: none !important; } 

@media (max-width: 640px) {
  /* Mobile: Kreis-Bubbles im Grid, Tap-to-Reveal */
  .bw-physics { position: relative; min-height: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; justify-items: center; align-items: start; overflow: visible; }
  .bw-physics.bw-floating::before { content: none; }
  .bw-physics .bw-bubble { position: static; width: 160px; height: 160px; border-radius: 9999px; padding: .85rem; animation: none !important; will-change: transform; z-index: 1; }
  .bw-physics .bw-icon { width: 46px; height: 46px; }
  .bw-physics .bw-icon svg { width: 22px; height: 22px; }
  .bw-physics .bw-label { font-size: .95rem; text-align: center; line-height: 1.25; color: #0b1114; opacity: .95; }
  /* In-Bubble-Overlay auf Mobile nicht nutzen -> Bottom Sheet */
  .bw-physics .bw-desc { display: none !important; }

  /* Speziell für "Warum BuildWise?": absolute Positionierung für Physik */
  .bw-physics.bw-floating { display: block; min-height: 360px; }
  .bw-physics.bw-floating .bw-bubble { position: absolute; width: 170px; height: 170px; }
} 

/* Hintergrundbild im Beta-Abschnitt */
.bg-photo { position: relative; }
.bg-photo::before { content: ""; position: absolute; inset: 0; background-image: url('/bg_wbpage2.png'); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: .22; pointer-events: none; z-index: 0; }
.bg-photo > * { position: relative; z-index: 1; } 

/* Hintergrundbild für "So funktioniert BuildWise" */
.process { position: relative; }
.process::before { content: none; }
.process > * { position: relative; z-index: 1; } 

/* Kompaktere Bubbles im Problem-&-Lösung-Abschnitt */
.ps-bubbles { position: relative; }
.ps-bubbles .bw-bubble {
  width: 220px; height: 220px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; text-align: center;
  /* transparentes Glas mit leichtem #dad1c8-Ton als innerer Ring */
  background: radial-gradient(140px 140px at 28% 22%, rgba(255,255,255,.30), rgba(255,255,255,.06) 60%, rgba(255,255,255,0) 72%) padding-box,
              radial-gradient(200px 200px at 75% 78%, rgba(255,255,255,.08), rgba(255,255,255,0) 60%) padding-box;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 55px -32px rgba(0,0,0,.55), inset 0 0 0 6px rgba(218,209,200,.18), inset 0 10px 20px rgba(255,255,255,.18), inset 0 -12px 20px rgba(0,0,0,.06);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  isolation: isolate;
}
.ps-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(218,209,200,.45), transparent); border: 0; margin: .75rem 0 1rem; }
.ps-bubbles .bw-icon { width: 44px; height: 44px; }
.ps-bubbles .bw-icon svg { width: 22px; height: 22px; }
.ps-bubbles .bw-label { font-size: .98rem; }
/* Overlay nach vorne */
.ps-bubbles .bw-bubble { z-index: 1; }
.ps-bubbles .bw-bubble:hover { z-index: 5; }
.ps-bubbles .bw-desc { z-index: 10; }
@media (max-width: 640px){
  .ps-bubbles { grid-template-columns: repeat(2, minmax(0,1fr)); overflow: visible; }
  .ps-bubbles .bw-bubble { width: 160px; height: 160px; border-radius: 9999px; padding: 0.85rem; animation: mFloat var(--dur, 8s) ease-in-out infinite; will-change: transform; }
  .ps-bubbles .bw-desc { display: none !important; }
} 

/* Mobile Bottom Sheet für Bubble-Details */
@media (max-width: 640px) {
  .bw-sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .bw-sheet { position: fixed; left: 0; right: 0; bottom: -60%; z-index: 61; background: linear-gradient(160deg, rgba(81,100,111,.98), rgba(81,100,111,.95)); color: #fff; border-top-left-radius: 16px; border-top-right-radius: 16px; box-shadow: 0 -10px 30px rgba(0,0,0,.35), 0 0 0 2px rgba(249,199,79,.18) inset; padding: 14px 16px 18px; transform: translateY(0); transition: bottom .3s ease; }
  .bw-sheet h4 { font-weight: 800; margin-bottom: 6px; }
  .bw-sheet p { font-size: 0.98rem; line-height: 1.4; }
  .bw-sheet .bw-close { position: absolute; top: 10px; right: 12px; border: none; background: transparent; color: #fff; font-size: 20px; }
  .bw-sheet.is-open { bottom: 0; }
  .bw-sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
} 

/* Accessible focus styles */
:focus-visible { outline: 3px solid rgba(249,199,79,.8); outline-offset: 3px; border-radius: 6px; }
.btn-cta:focus-visible, a:focus-visible { box-shadow: 0 0 0 4px rgba(249,199,79,.25); }

/* Visually hidden utility for aria-live regions */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ranking Cards - einheitliche Größe und Glow-Effekte */
.ranking-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* CI-Farben mit Transparenz für Glasmorphismus-Effekt */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.ranking-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--card-glow-start, rgba(249,115,22,0.3)), var(--card-glow-end, rgba(249,115,22,0.1)));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ranking-card:hover::before {
  opacity: 1;
}

.ranking-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* Spezifische Glow-Farben für jedes Ranking */
.ranking-card.pionier {
  --card-glow-start: rgba(239,68,68,0.4);
  --card-glow-end: rgba(239,68,68,0.1);
}

.ranking-card.quartiers-meister {
  --card-glow-start: rgba(244,63,94,0.4);
  --card-glow-end: rgba(244,63,94,0.1);
}

.ranking-card.baustellenkoryphae {
  --card-glow-start: rgba(249,115,22,0.4);
  --card-glow-end: rgba(249,115,22,0.1);
}

.ranking-card.nachbarschaftsheld {
  --card-glow-start: rgba(14,165,233,0.4);
  --card-glow-end: rgba(14,165,233,0.1);
}

.ranking-card.branchen-legende {
  --card-glow-start: rgba(34,197,94,0.4);
  --card-glow-end: rgba(34,197,94,0.1);
}

/* Hover-Overlay für detaillierte Informationen */
.ranking-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.85) 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: inherit;
  backdrop-filter: blur(4px);
}

.ranking-card:hover .ranking-overlay {
  opacity: 1;
  transform: translateY(0);
}

.ranking-overlay h5 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--ci-accent);
}

.ranking-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  space-y: 0.5rem;
}

.ranking-overlay li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.ranking-overlay li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ci-accent);
  font-weight: bold;
}

/* Textfarben für bessere Lesbarkeit auf transparentem Hintergrund */
.ranking-card h4 {
  color: #f7fafc !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ranking-card .text-gray-500 {
  color: #e2e8f0 !important;
  opacity: 0.9;
}

/* Provisions-Zahlen bleiben in ihrer ursprünglichen Farbe für Kontrast */
.ranking-card .text-red-500,
.ranking-card .text-rose-500,
.ranking-card .text-orange-500,
.ranking-card .text-sky-600,
.ranking-card .text-green-600 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1) saturate(1.2);
}

/* Mobile Anpassungen für Ranking Cards */
@media (max-width: 640px) {
  .ranking-card {
    min-height: 240px;
    padding: 1.25rem;
  }
  
  .ranking-overlay {
    padding: 1.25rem;
  }
  
  .ranking-overlay h5 {
    font-size: 1.125rem;
  }
  
  .ranking-overlay li {
    font-size: 0.8125rem;
  }
}

/* Pricing Tab System */
.pricing-tabs {
  display: inline-flex;
  background: rgba(249, 199, 79, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(249, 199, 79, 0.25);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 10px 28px -20px rgba(249, 199, 79, 0.45);
}

.pricing-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.pricing-tab:hover {
  color: #f7fafc;
  background: rgba(249, 199, 79, 0.12);
}

.pricing-tab.active {
  color: #0b1114;
  background: linear-gradient(135deg, var(--ci-accent) 0%, var(--ci-accent-dark) 100%);
  border: 1px solid rgba(249, 199, 79, 0.55);
  box-shadow: 0 14px 32px -18px rgba(249, 199, 79, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  filter: saturate(1.05);
}

.pricing-tab.active .tab-icon svg { color: #0b1114; }

.pricing-tab .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tab Content */
.pricing-tab-content {
  position: relative;
}

.pricing-tab-panel {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-tab-panel:not(.active) {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Credit System Styles */
.credit-info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px -28px rgba(0,0,0,.5);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.credit-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--info-glow-start, rgba(249,199,79,.35)), var(--info-glow-end, rgba(249,199,79,.12)));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.credit-info-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px -26px rgba(0,0,0,.6);
}

.credit-info-card:hover::before { opacity: 1; }

/* Farb-Varianten für Glow */
.credit-info-card.info-what  { --info-glow-start: rgba(59,130,246,.35);  --info-glow-end: rgba(59,130,246,.12); }
.credit-info-card.info-earn  { --info-glow-start: rgba(34,197,94,.35);  --info-glow-end: rgba(34,197,94,.12); }

/* Hero-Kachel für Credits – an CI-Glasdesign angepasst */
.credit-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -24px rgba(0,0,0,.45);
}

.credit-package {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.credit-package:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.credit-package::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--package-glow-start, rgba(59,130,246,0.3)), var(--package-glow-end, rgba(59,130,246,0.1)));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.credit-package:hover::before {
  opacity: 1;
}

.beta-package {
  --package-glow-start: rgba(34,197,94,0.4);
  --package-glow-end: rgba(34,197,94,0.1);
}

.standard-package {
  --package-glow-start: rgba(59,130,246,0.4);
  --package-glow-end: rgba(59,130,246,0.1);
}

.package-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  position: relative;
}

.package-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.beta-package .package-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.standard-package .package-badge.standard {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.package-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 0.5rem;
}

.package-credits {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ci-accent);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.25rem;
}

.package-value {
  font-size: 0.875rem;
  color: #e2e8f0;
  opacity: 0.9;
}

.package-content {
  padding: 0 1.5rem 2rem;
}

.package-duration {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.duration-label {
  font-size: 0.875rem;
  color: #e2e8f0;
}

.duration-value {
  font-weight: 700;
  color: var(--ci-accent);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  space-y: 0.5rem;
}

.package-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ci-accent);
  font-weight: bold;
}

.package-highlight {
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(34,197,94,0.1));
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #6ee7b7;
  font-size: 0.875rem;
}

.package-note {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #93c5fd;
  font-size: 0.875rem;
}

/* Calculation Steps */
/* Moderne Flow-Kachel für Beispiel-Rechnung */
.calc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.calc-title {
  text-align: center;
  font-weight: 800;
  color: #f7fafc;
  font-size: clamp(1.15rem, .9vw + 1rem, 1.4rem);
  margin-bottom: .75rem;
}

.calc-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

@media (min-width: 768px) {
  .calc-flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
}

.calc-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: .35rem;
}

.calc-head { display: flex; align-items: center; gap: .5rem; }
.calc-icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items:center; justify-content:center; color:#fff; box-shadow: 0 8px 22px -12px rgba(0,0,0,.6); }
.calc-icon.start { background: linear-gradient(135deg, #10b981, #059669); }
.calc-icon.use { background: linear-gradient(135deg, #64748b, #374151); }
.calc-icon.earn { background: linear-gradient(135deg, #f59e0b, #d97706); }

.calc-title-sm { font-weight: 800; color:#f7fafc; }
.calc-sub { color:#e2e8f0; font-size: .9rem; opacity:.95; }

.calc-connector { display: none; height: 3px; background: linear-gradient(90deg, var(--ci-accent), rgba(255,255,255,.2)); border-radius: 999px; }
@media (min-width: 768px) { .calc-connector { display:block; min-width: 56px; } }

.chip { display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .5rem; border-radius: 999px; font-weight:700; font-size:.8rem; border:1px solid rgba(255,255,255,.18); }
.chip-positive { background: rgba(34,197,94,.18); color:#86efac; }
.chip-negative { background: rgba(239,68,68,.18); color:#fca5a5; }
.chip-neutral  { background: rgba(255,255,255,.08); color:#e5e7eb; }

.calc-summary { margin-top: .75rem; text-align: center; color:#e5e7eb; font-size: .9rem; }
.calc-summary strong { color: var(--ci-accent); }

/* Mobile Optimizations */
@media (max-width: 768px) {
  .pricing-tabs {
    width: 100%;
    justify-content: center;
  }
  
  .pricing-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
  
  .credit-package {
    margin-bottom: 1.5rem;
  }
  
  .package-header {
    padding: 1.5rem 1rem 0.75rem;
  }
  
  .package-credits {
    font-size: 2rem;
  }
  
  .calculation-step {
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .credit-info-card {
    padding: 1rem;
  }
  
  .credit-info-card h4 {
    font-size: 0.875rem;
  }
  
  .credit-info-card ul li {
    font-size: 0.8125rem;
  }
} 