/* Premium Ultra-Dark Theme für BlancoVPN - IMPROVED RESPONSIVE */
:root {
    color-scheme: dark only;
    --bg-main: #050711;
    --bg-card: #0a0e22;
    --border-color: #161f38;
    --text-primary: #f8fafc;
    --text-muted: #8ea1c1;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --primary-color: #3b82f6;
    /* Einheitliche, sanfte Easing-Kurven fürs gesamte Interface */
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: clip;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Responsive Container */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Hintergrund-Auren (Verhindert nacktes Aussehen) */
.glow-bg-1 {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, rgba(0,0,0,0) 70%);
    top: -150px;
    left: -150px;
    z-index: -1;
    pointer-events: none;
}

.glow-bg-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(0,0,0,0) 70%);
    top: 700px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .glow-bg-1 {
        width: 400px;
        height: 400px;
        top: -100px;
        left: -100px;
    }
    
    .glow-bg-2 {
        width: 400px;
        height: 400px;
        right: -150px;
    }
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: #131a35;
    color: #ffffff;
    border: 1px solid #222f54;
    margin-right: 15px;
    margin-bottom: 0;
}

.btn-secondary:hover {
    background: #222f54;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.btn-outline {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 8px 22px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
}

.btn-card-action {
    display: block;
    width: 100%;
    background: #16203d;
    color: var(--text-primary);
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    border: 1px solid #222f54;
    font-size: 0.95rem;
}

.btn-card-action:hover {
    background: #222f54;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Responsive Buttons */
@media (max-width: 768px) {
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    
    .btn-secondary {
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .btn-outline {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

/* Header */
.header {
    background: rgba(5, 7, 17, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-svg {
    width: 44px;
    height: 44px;
}

@media (max-width: 480px) {
    .logo-svg {
        width: 34px;
        height: 34px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-links a:not(.btn) {
    position: relative;
    padding: 4px 0;
}

/* Eleganter Unterstrich-Hover für Text-Links */
.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Login-Eintrag im Header-Menü (SVG-Icon + Beschriftung "Login") */
.nav-login {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: var(--text-primary) !important;
    font-weight: 700;
}
.nav-login svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}
.nav-login:hover {
    color: var(--primary-color) !important;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-links {
        width: 100%;
        gap: 15px;
        justify-content: center;
        order: 3;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   B3: Hamburger + Off-Canvas-Menü (identisches Muster wie im Adminbereich).
   Gilt auf ALLEN Breiten (Mobil + Desktop) für eine einheitliche Bedienung.
   Das Panel fährt von links ein; der Hamburger sitzt am Zeilenende.
   ========================================================================== */
.site-burger{display:inline-flex;align-items:center;justify-content:center;position:relative;
  width:44px;height:44px;flex-shrink:0;border-radius:50%;border:1px solid var(--border-color);
  background:rgba(14,20,40,.6);color:var(--text-primary);cursor:pointer;padding:0;margin-inline-start:auto}
.site-burger:hover{border-color:var(--primary-color)}
.site-burger-lines{display:flex;flex-direction:column;gap:4px;width:20px}
.site-burger-lines span{display:block;height:2px;width:100%;border-radius:2px;background:currentColor;transition:transform .25s,opacity .2s}
.site-burger.open .site-burger-lines span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.site-burger.open .site-burger-lines span:nth-child(2){opacity:0}
.site-burger.open .site-burger-lines span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.site-nav-close{display:flex;align-items:center;justify-content:center;align-self:flex-end;
  width:38px;height:38px;margin:0 0 6px;border-radius:50%;border:1px solid var(--border-color);
  background:transparent;color:var(--text-primary);font-size:18px;line-height:1;cursor:pointer;flex:0 0 auto}
.site-nav-close:hover{background:rgba(255,255,255,.06)}
/* WICHTIG: NUR #siteNav (Startseiten-Menü) wird zum Off-Canvas — NICHT die
   geteilte Klasse .nav-links (die auch portal.php nutzt), sonst verschwindet
   dort das Menü ohne Öffner. #siteNav liegt als BODY-Kind außerhalb des
   backdrop-filter-Headers → korrekt viewport-relativ + Header wird abgedunkelt. */
#siteNav{position:fixed;top:0;left:0;height:100dvh;width:min(84vw,320px);
  margin:0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));gap:8px;
  background:var(--bg-card,#0e1428);border-right:1px solid var(--border-color);
  box-shadow:0 0 40px rgba(0,0,0,.6);overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:1100;
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;
  transform:translateX(-100%);transition:transform .28s ease}
#siteNav.open{transform:translateX(0)}
#siteNav>a{width:100%}
/* Trennlinie NUR auf einfachen Text-Links — Buttons (.btn-Glow) und Portal-Pillen
   (.p-navuser/.p-logout) behalten ihren EIGENEN Rundum-Rand (sonst fehlt unten der Rand). */
#siteNav>a:not(.btn):not(.p-navuser):not(.p-logout){padding:12px 6px;border-bottom:1px solid var(--border-color)}
/* Kein hängender Trennstrich am letzten Text-Link (z. B. „پکیج‌ها" im Portal).
   Gleiche :not()-Kette wie oben, damit die Spezifität die Trennlinie schlägt. */
#siteNav>a:not(.btn):not(.p-navuser):not(.p-logout):last-of-type{border-bottom:none}
#siteNav>a.btn{justify-content:center;margin-top:10px}
#siteNav>a.p-navuser{justify-content:center;margin-top:10px}
#siteNav>a.p-logout{justify-content:center;padding:12px 6px}
#siteNav a:not(.btn)::after{display:none}
/* --- Konto-Bereich im Off-Canvas (eingeloggt) sauber & fingerfreundlich --- */
#siteNav .nav-user-wrap{width:100%;margin-top:6px;border-top:1px solid var(--border-color);padding-top:10px}
#siteNav #navAuth{width:100%;box-sizing:border-box}
/* Ausgeloggt: „ورود" als hervorgehobene, animierte CTA-Box, damit Kunden sofort
   sehen, wo der Login ist (pulsierender Verlaufsrahmen). */
#siteNav #navAuth:not(.nav-user){display:flex!important;align-items:center;justify-content:center;gap:10px;
  width:100%;box-sizing:border-box;margin-top:2px;padding:15px 14px;border-radius:14px;
  font-weight:800;font-size:15px;color:#fff!important;
  background:linear-gradient(135deg,rgba(59,130,246,.20),rgba(168,85,247,.20));
  border:1.5px solid rgba(59,130,246,.65);animation:navLoginPulse 2.2s ease-in-out infinite}
#siteNav #navAuth:not(.nav-user) svg{stroke:#fff!important;width:20px;height:20px}
#siteNav #navAuth:not(.nav-user)::after{display:none}
@keyframes navLoginPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(59,130,246,0);border-color:rgba(59,130,246,.55)}
  50%{box-shadow:0 0 20px 2px rgba(168,85,247,.45);border-color:rgba(168,85,247,.95)}}
@media(prefers-reduced-motion:reduce){#siteNav #navAuth:not(.nav-user){animation:none}}
/* Eingeloggt: den „حساب من"-Aufklapper ausblenden und den Bereich dauerhaft offen
   zeigen (kein Rätsel-Klick, kein loser Pfeil). */
#siteNav #navAuth.nav-user{display:none!important}
#siteNav #navAuth.nav-user ~ .nav-user-menu{display:block}
#siteNav .nav-user-menu{position:static;inset:auto;width:100%;max-width:none;border:none;box-shadow:none;background:transparent;padding:0;margin:0}
#siteNav .nav-user-menu::before{display:none}
#siteNav .nav-user-head{padding:2px 6px 10px}
/* Konto-Kopf + Karten — EINHEITLICH für Startseite UND Portal (in style.css, damit
   portal.php dieselben Styles bekommt). Klar getrennte Karten mit großer Tap-Fläche. */
#siteNav .nav-user-head{display:flex;flex-direction:column;gap:3px;padding:2px 6px 10px}
#siteNav .nav-user-cap{font-size:11px;color:var(--text-muted);font-weight:600}
#siteNav .nav-user-name{font-size:15px;font-weight:800;color:var(--text-primary);direction:ltr;text-align:start;word-break:break-all;line-height:1.35}
#siteNav .nav-user-item{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:14px 12px;border-radius:12px;margin-top:8px;border:1px solid var(--border-color);background:rgba(255,255,255,.04);color:var(--text-primary);font-weight:700;text-decoration:none;justify-content:flex-start}
#siteNav .nav-user-item svg{width:18px;height:18px;flex:0 0 auto;stroke:var(--primary-color)}
#siteNav .nav-user-item::after{display:none}
#siteNav .nav-user-item:hover{background:rgba(255,255,255,.08)}
#siteNav .nav-user-logout{border-color:rgba(248,113,113,.45);color:#f87171}
#siteNav .nav-user-logout svg{stroke:#f87171}
.site-backdrop{position:fixed;inset:0;background:rgba(3,6,18,.6);z-index:1090;opacity:0;transition:opacity .28s ease;display:none;border:0}
.site-backdrop.show{display:block;opacity:1}
body.site-nav-open{overflow:hidden}

/* Hero Section */
.hero {
    padding: 90px 0 70px;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
    }
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1.2;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #3b82f6;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.badge-promo svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Integration des Maskottchens */
.hero-image-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Weiche, pulsierende Aura hinter dem Geist – wandert leicht mit, damit der
   fliegende Geist von einem mitziehenden Energie-Schein umgeben wirkt */
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28) 0%, rgba(168, 85, 247, 0.16) 45%, rgba(0, 0, 0, 0) 72%);
    filter: blur(35px);
    z-index: 1;
    pointer-events: none;
    animation: auraPulse 7s ease-in-out infinite;
}

@keyframes auraPulse {
    0%   { opacity: 0.72; transform: translate(-50%, -44%) scale(0.97); }
    50%  { opacity: 1;    transform: translate(-50%, -56%) scale(1.07); }
    100% { opacity: 0.72; transform: translate(-50%, -44%) scale(0.97); }
}

.ghost-main-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    z-index: 2;
    object-fit: contain;
    /* drop-shadow folgt der Ghost-Silhouette (kein rechteckiger Kasten) */
    animation: floatImage 7s linear infinite, ghostGlow 7s ease-in-out infinite;
    will-change: transform, filter;
}


.ghost-avatar-fallback {
    width: 300px;
    height: 300px;
    background: var(--bg-card);
    border: 2px dashed #222f54;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: floatImage 7s linear infinite;
}

/* Gleitende Schwebe-Bewegung des fliegenden Geistes auf einer Ellipse mit 24
   Stützpunkten (nur 15°-Bögen) und konstanter Geschwindigkeit (linear).
   Großer, runder Radius, nahtloser Übergang (0% = 100%) – kein hartes
   Einlenken, sondern ein weiches, kontinuierliches Treiben in der Luft. */
@keyframes floatImage {
    0% { transform: translate(0.0px, 22.0px) rotate(0.00deg); }
    4.1667% { transform: translate(4.1px, 21.3px) rotate(0.41deg); }
    8.3333% { transform: translate(8.0px, 19.1px) rotate(0.80deg); }
    12.5% { transform: translate(11.3px, 15.6px) rotate(1.13deg); }
    16.6667% { transform: translate(13.9px, 11.0px) rotate(1.39deg); }
    20.8333% { transform: translate(15.5px, 5.7px) rotate(1.55deg); }
    25% { transform: translate(16.0px, 0.0px) rotate(1.60deg); }
    29.1667% { transform: translate(15.5px, -5.7px) rotate(1.55deg); }
    33.3333% { transform: translate(13.9px, -11.0px) rotate(1.39deg); }
    37.5% { transform: translate(11.3px, -15.6px) rotate(1.13deg); }
    41.6667% { transform: translate(8.0px, -19.1px) rotate(0.80deg); }
    45.8333% { transform: translate(4.1px, -21.3px) rotate(0.41deg); }
    50% { transform: translate(0.0px, -22.0px) rotate(0.00deg); }
    54.1667% { transform: translate(-4.1px, -21.3px) rotate(-0.41deg); }
    58.3333% { transform: translate(-8.0px, -19.1px) rotate(-0.80deg); }
    62.5% { transform: translate(-11.3px, -15.6px) rotate(-1.13deg); }
    66.6667% { transform: translate(-13.9px, -11.0px) rotate(-1.39deg); }
    70.8333% { transform: translate(-15.5px, -5.7px) rotate(-1.55deg); }
    75% { transform: translate(-16.0px, 0.0px) rotate(-1.60deg); }
    79.1667% { transform: translate(-15.5px, 5.7px) rotate(-1.55deg); }
    83.3333% { transform: translate(-13.9px, 11.0px) rotate(-1.39deg); }
    87.5% { transform: translate(-11.3px, 15.6px) rotate(-1.13deg); }
    91.6667% { transform: translate(-8.0px, 19.1px) rotate(-0.80deg); }
    95.8333% { transform: translate(-4.1px, 21.3px) rotate(-0.41deg); }
    100% { transform: translate(0.0px, 22.0px) rotate(0.00deg); }
}

@keyframes ghostGlow {
    0%, 100% {
        filter:
            drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28))
            drop-shadow(0 0 24px rgba(59, 130, 246, 0.45))
            drop-shadow(0 0 50px rgba(168, 85, 247, 0.25));
    }
    50% {
        filter:
            drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26))
            drop-shadow(0 0 34px rgba(96, 165, 250, 0.62))
            drop-shadow(0 0 66px rgba(168, 85, 247, 0.42));
    }
}

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

/* Schwebe-Animationen abschalten, wenn der Nutzer reduzierte Bewegung wünscht */
@media (prefers-reduced-motion: reduce) {
    .ghost-main-img,
    .ghost-avatar-fallback,
    .hero-image-wrapper::after {
        animation: none;
    }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text p {
        margin: 0 auto 35px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .badge-promo {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-secondary {
        margin-right: 0;
        width: 100%;
    }
    
    .ghost-main-img,
    .ghost-avatar-fallback {
        max-width: 250px;
        width: 100%;
    }

}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(10, 14, 34, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 40px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
}

.section-title h2 {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

/* Einheitlicher, zentrierter Gradient-Unterstrich – dieselbe Akzent-Sprache
   wie bei den Pricing-Untertiteln, damit die ganze Seite aus einem Guss wirkt */
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 4px;
    border-radius: 4px;
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.5rem;
        padding-bottom: 14px;
    }

    .section-title h2::after {
        width: 56px;
        height: 3px;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
}

@media (max-width: 480px) {
    .feature-card {
        padding: 25px 20px;
    }
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #ffffff;
}

.feature-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.color-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.color-2 { background: linear-gradient(135deg, #a855f7, #6b21a8); }
.color-3 { background: linear-gradient(135deg, #22c55e, #15803d); }

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 90px 0;
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .pricing {
        padding: 40px 0;
    }
}

.grid-heading {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

/* Dezenter, zentrierter Gradient-Unterstrich – einheitlich für beide Gruppen,
   ersetzt den ungleich gefärbten seitlichen Balken */
.grid-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
    animation: headingUnderline 2.8s ease-in-out infinite;
}

/* Markenkonformer SVG-Diamant (Verlauf wie im Logo), skaliert mit der Schrift */
.heading-gem {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
    transform-origin: center;
    animation: headingGem 2.8s ease-in-out infinite;
}

/* Sanftes Pulsieren des Unterstrichs, damit die Überschrift auffällt */
@keyframes headingUnderline {
    0%, 100% {
        width: 64px;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
        opacity: 0.85;
    }
    50% {
        width: 84px;
        box-shadow: 0 0 18px rgba(168, 85, 247, 0.7);
        opacity: 1;
    }
}

/* Leichtes Funkeln des Diamanten */
@keyframes headingGem {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.5));
    }
    50% {
        transform: scale(1.12) rotate(-5deg);
        filter: drop-shadow(0 0 7px rgba(168, 85, 247, 0.85));
    }
}

/* Animationen respektieren die Systemeinstellung für reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .grid-heading::after,
    .heading-gem {
        animation: none;
    }
}

.grid-heading .sub-h {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    width: 100%;
}

@media (max-width: 768px) {
    .grid-heading {
        font-size: 1.65rem;
    }
}

@media (max-width: 480px) {
    .grid-heading {
        font-size: 1.45rem;
        margin-bottom: 24px;
        padding-bottom: 16px;
        gap: 8px;
    }

    .grid-heading::after {
        width: 52px;
        height: 3px;
    }

    .grid-heading .sub-h {
        font-size: 0.82rem;
    }
}

.mt-5 { margin-top: 70px; }

@media (max-width: 768px) {
    .mt-5 {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .mt-5 {
        margin-top: 35px;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    /* Mobile Verkaufs-Übersicht: 2 Spalten, damit alle Pakete schnell auf
       einen Blick sichtbar sind. Feature-Details per "مشاهده جزئیات"-Tap. */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        align-items: stretch;
    }

    /* Empfohlenes Paket (Gold) über die volle Breite hervorheben.
       Extra Abstand nach oben, damit das Ribbon nicht in die zwei
       Karten darüber ragt. */
    .pricing-grid .best-deal {
        grid-column: 1 / -1;
        animation: none;
        margin-top: 26px;
    }

    /* Kompakte Karten – kurz genug, dass mehrere gleichzeitig sichtbar sind.
       Über .pricing-grid gescopt, damit sie die Basis-.price-card-Regel
       unabhängig von der Quelltext-Reihenfolge überschreiben. */
    .pricing-grid .price-card {
        min-height: 0;
        padding: 22px 16px;
        border-radius: 18px;
        animation: none;
    }

    /* Feature-Liste in der Übersicht ausblenden (im Detail-Modal abrufbar) */
    .price-card .card-features {
        display: none;
    }

    .price-card .card-header h4 { font-size: 0.95rem; margin-bottom: 5px; }
    .price-card .volume { font-size: 1.55rem; margin-bottom: 6px; }
    .price-card .user-count { margin-top: 0; margin-bottom: 10px; font-size: 0.8rem; }
    .price-card .price-value { font-size: 1.6rem; margin-bottom: 4px; }
    .price-card .currency { font-size: 0.78rem; }
    .price-card .price-per-gb { margin-top: 0; margin-bottom: 14px; font-size: 0.76rem; }

    .price-card .btn-card-action { padding: 9px; font-size: 0.82rem; }
    .price-card .btn-details { margin-bottom: 6px; }

    .pricing-grid .ribbon { font-size: 0.72rem; padding: 4px 14px; top: -12px; }

    /* Inhalt der vollbreiten Empfehlungs-Karte zentrieren, damit der breite
       Kasten nicht links leer wirkt */
    .pricing-grid .best-deal .card-header,
    .pricing-grid .best-deal .price-value,
    .pricing-grid .best-deal .user-count,
    .pricing-grid .best-deal .price-per-gb {
        text-align: center;
    }
}

.price-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
    min-height: 550px;
    z-index: 1;
    cursor: pointer;
    /* Verhindert das weiße "Select"-Aufblitzen beim Klick:
       - keine Textmarkierung beim Anklicken der Karte
       - kein mobiles Tap-Highlight-Overlay */
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Starker Hover-Effekt: Karte hebt sich deutlich ab.
   !important, weil die Scroll-Reveal-Regel (.reveal-ready [data-reveal].revealed)
   eine höhere Spezifität hat und sonst den transform überschreibt. */
.price-card:hover {
    transform: translateY(-28px) scale(1.05) !important;
    border-color: #3b82f6;
    box-shadow: 
        0 40px 80px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(168, 85, 247, 0.15);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.12) 100%);
    z-index: 10;
}

/* Aktiver Zustand: Wenn Karte ausgewählt/angeklickt ist */
.price-card.active {
    transform: translateY(-28px) scale(1.05) !important;
    border-color: #3b82f6;
    box-shadow: 
        0 40px 80px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(168, 85, 247, 0.15);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.12) 100%);
    z-index: 10;
}

@media (max-width: 480px) {
    .price-card {
        padding: 18px 13px;
        min-height: 0;
        border-radius: 16px;
    }

    /* Auf schmalen Screens sanfterer Lift ohne horizontale Vergrößerung,
       damit im engen 2-Spalten-Grid nichts ineinander ragt */
    .price-card:hover,
    .price-card.active {
        transform: translateY(-14px) scale(1.03) !important;
    }
}

/* Fix: card-body als Flex-Spalte; die Feature-Liste füllt den freien Raum,
   dadurch stehen die Buttons über alle Karten hinweg auf gleicher Höhe */
.card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.card-body .card-features {
    flex: 1 1 auto;
}

/* Auto-Margin der Buttons aufheben, damit das Button-Paar zusammenbleibt */
.card-body .btn-card-action {
    margin-top: 0;
}

.card-header h4 {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.volume {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
}

.currency {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Geräteanzahl (Karbare) direkt unter der Volumen-Angabe – schlicht, ohne Kasten */
.user-count {
    margin-top: -14px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Preis pro Gigabyte – schlichter Text ohne Kasten, fügt sich ins Gesamtangebot ein */
.price-per-gb {
    margin-top: -15px;
    margin-bottom: 25px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-per-gb strong {
    color: #fbbf24;
    font-weight: 800;
}

@media (max-width: 480px) {
    .price-card .volume {
        font-size: 1.35rem;
    }

    .price-card .price-value {
        font-size: 1.4rem;
    }

    .price-card .currency {
        font-size: 0.7rem;
    }

    .price-card .user-count {
        font-size: 0.74rem;
    }

    .price-card .price-per-gb {
        font-size: 0.72rem;
    }
}

.card-features {
    list-style: none;
    margin-bottom: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.card-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

@media (max-width: 480px) {
    .card-features li {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
}

.check-icon {
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
}

.best-deal {
    border: 2px solid #3b82f6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.18);
    background: linear-gradient(180deg, #0a0e22 0%, #050816 100%);
}

.best-deal:hover {
    border-color: #60a5fa;
}

.ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 5px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    white-space: nowrap;
}

.ribbon.bg-accent {
    background: var(--accent-gradient);
}

/* Package Type Colors – kräftigeres, permanentes Glühen statt nur bei Hover,
   damit die Karten auch auf dem Handy ohne Hover lebendig wirken */
.price-card.package-gold {
    border: 2px solid #f59e0b !important;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.22), inset 0 0 60px rgba(245, 158, 11, 0.04);
    background: linear-gradient(165deg, rgba(245, 158, 11, 0.1) 0%, var(--bg-card) 50%);
}

.price-card.package-gold:hover {
    box-shadow: 0 0 45px rgba(245, 158, 11, 0.5), inset 0 0 70px rgba(245, 158, 11, 0.06);
}

/* Ribbon der goldenen Karten auf dieselbe warme Farbe wie der Rahmen abstimmen */
.price-card.package-gold .ribbon {
    background: var(--accent-gradient);
}

/* GB-Zahl der goldenen Karten: bewusst eine schlichte, garantiert lesbare
   Gold-Volltonfarbe statt eines geclippten Verlaufstexts (background-clip:text
   + text-shadow zusammen ließen die Zahl auf manchen Mobilbrowsern als
   einfarbigen Block ohne erkennbare Ziffern erscheinen) */
.volume-accent {
    color: #fbbf24;
    text-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.price-card.package-silver {
    border: 2px solid #9ca3af !important;
    box-shadow: 0 0 24px rgba(156, 163, 175, 0.16);
    background: linear-gradient(165deg, rgba(156, 163, 175, 0.08) 0%, var(--bg-card) 50%);
}

.price-card.package-silver:hover {
    box-shadow: 0 0 38px rgba(156, 163, 175, 0.42);
}

.price-card.package-silver .volume {
    text-shadow: 0 0 16px rgba(203, 213, 225, 0.45);
}

/* Bronze bewusst auf einen kupfer-rötlichen Ton statt amber-gelb gesetzt,
   damit es sich vom Gold-Ton klar unterscheidet, auch mit Glow-Unschärfe */
.price-card.package-bronze {
    border: 2px solid #c2410c !important;
    box-shadow: 0 0 20px rgba(194, 65, 12, 0.18);
    background: linear-gradient(165deg, rgba(194, 65, 12, 0.09) 0%, var(--bg-card) 50%);
}

.price-card.package-bronze:hover {
    border-color: #ea580c !important;
    box-shadow: 0 0 32px rgba(194, 65, 12, 0.4);
}

.price-card.package-bronze .volume {
    text-shadow: 0 0 16px rgba(194, 65, 12, 0.45);
}


@media (max-width: 480px) {
    .ribbon {
        font-size: 0.75rem;
        padding: 4px 16px;
        top: -12px;
    }
}

/* Trust Section */
.trust {
    padding: 20px 0 90px;
}

@media (max-width: 768px) {
    .trust {
        padding: 20px 0 60px;
    }
}

@media (max-width: 480px) {
    .trust {
        padding: 15px 0 40px;
    }
}

.trust-wrapper {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0.035) 100%);
    border: 1px solid rgba(34, 197, 94, 0.30);
    border-radius: 24px;
    padding: 45px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 18px 50px rgba(34, 197, 94, 0.10);
}

@media (max-width: 768px) {
    .trust-wrapper {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .trust-wrapper {
        padding: 25px 20px;
    }
}

.trust-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.20) 0%, rgba(34, 197, 94, 0) 72%);
}

.trust-icon svg {
    width: 46px;
    height: 46px;
}

.trust h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.trust p {
    color: #cbd6e8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.95;
}

@media (max-width: 768px) {
    .trust h3 {
        font-size: 1.3rem;
    }
    
    .trust p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .trust h3 {
        font-size: 1.1rem;
    }
    
    .trust p {
        font-size: 0.85rem;
    }
}

/* Footer & Social Icons */
.footer {
    background: #03040a;
    border-top: 1px solid var(--border-color);
    padding: 35px 0;
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column-reverse;
        gap: 15px;
        text-align: center;
    }
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .copyright {
        font-size: 0.8rem;
    }
}

.social-medias {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 480px) {
    .social-medias {
        gap: 10px;
    }
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 480px) {
    .social-btn {
        width: 38px;
        height: 38px;
    }
    
    .social-btn svg {
        width: 20px;
        height: 20px;
    }
}

.social-btn.wa { background: #16a34a; }
.social-btn.tg { background: #0284c7; }
.social-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

/* Responsive Zoom für bessere Skalierung */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 16px;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.35s var(--ease-smooth);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    max-width: 500px;
    width: 95%;
    animation: slideUp 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    max-height: 90dvh; /* dvh berücksichtigt die mobile Browserleiste */
    overflow: hidden;  /* gescrollt wird nur der Body, nicht das ganze Modal */
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 30px 25px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.modal-package-info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-value-group {
    white-space: nowrap;
}

.modal-features h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 10px 0;
    color: #e2e8f0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 14, 34, 0.5);
    flex-shrink: 0;
}

.modal-footer .btn {
    flex: 1;
    margin: 0;
}

/* Button Styling für Modal */
.btn-details {
    background: #16203d;
    color: var(--text-primary);
    border: 1px solid #222f54;
    margin-bottom: 8px;
}

.btn-details:hover {
    background: #222f54;
    border-color: #3b82f6;
}

.btn-whatsapp {
    background: #16a34a;
    color: #ffffff;
    border: 1px solid #15803d;
    margin-bottom: 0;
}

.btn-whatsapp:hover {
    background: #15803d;
    border-color: #22c55e;
}

.btn-messenger {
    background: linear-gradient(135deg, #16a34a 0%, #0284c7 100%);
    color: #ffffff;
    border: 1px solid #15803d;
    margin-bottom: 0;
    cursor: pointer;
}

.btn-messenger:hover {
    background: linear-gradient(135deg, #15803d 0%, #026a9e 100%);
    border-color: #22c55e;
}

/* Messenger-Auswahlfenster (WhatsApp / Telegram) */
.chooser-content {
    max-width: 360px;
}

.chooser-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 25px;
}

.chooser-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #222f54;
    background: #16203d;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chooser-option svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Markenfarbe schon im Ruhezustand — sonst sind WhatsApp/Telegram auf Mobil (kein :hover) nicht unterscheidbar */
.chooser-option.chooser-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.55);
}
.chooser-option.chooser-whatsapp svg { color: #25d366; }

.chooser-option.chooser-telegram {
    background: rgba(41, 182, 246, 0.12);
    border-color: rgba(41, 182, 246, 0.55);
}
.chooser-option.chooser-telegram svg { color: #29b6f6; }

.chooser-option.chooser-whatsapp:hover,
.chooser-option.chooser-whatsapp:focus-visible {
    background: #16a34a;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}
.chooser-option.chooser-whatsapp:hover svg,
.chooser-option.chooser-whatsapp:focus-visible svg { color: #ffffff; }

.chooser-option.chooser-telegram:hover,
.chooser-option.chooser-telegram:focus-visible {
    background: #0284c7;
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}
.chooser-option.chooser-telegram:hover svg,
.chooser-option.chooser-telegram:focus-visible svg { color: #ffffff; }

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 100%;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-value {
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-features h3 {
        font-size: 1rem;
    }
    
    .features-list li {
        font-size: 0.85rem;
    }
}


@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* Tips Section Styling */
.tips {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(5, 7, 17, 0.5) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .tips {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .tips {
        padding: 35px 0;
    }
}

.tips-wrapper {
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 45px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .tips-wrapper {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .tips-wrapper {
        padding: 25px 20px;
    }
}

.tips-intro {
    margin-bottom: 35px;
    text-align: center;
}

.tips-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .tips-intro p {
        font-size: 1rem;
    }
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

@media (max-width: 480px) {
    .tip-card {
        padding: 20px;
    }
}

.tip-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: #ffffff;
}

.tip-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    margin-right: 50px;
}

@media (max-width: 480px) {
    /* Zahl zurück in den normalen Fluss holen, damit sie bei keiner
       Sprache/Übersetzung den Überschriften-Text überlappt */
    .tip-number {
        position: static;
        margin-bottom: 14px;
    }

    .tip-card h4 {
        font-size: 1.1rem;
        margin-right: 0;
        margin-top: 0;
    }
}

.tip-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tips-note {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tips-note svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    min-width: 24px;
    color: #22c55e;
    margin-top: 2px;
    stroke: #22c55e;
}

.tips-note p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 480px) {
    .tips-note {
        padding: 15px;
        gap: 12px;
    }
    
    .tips-note svg {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        min-width: 20px;
    }
    
    .tips-note p {
        font-size: 0.85rem;
    }
}

/* Data Info Section Styling */
.data-info {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

@media (max-width: 768px) {
    .data-info {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .data-info {
        padding: 35px 0;
    }
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .data-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.data-card:hover {
    border-color: #a855f7;
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.2);
    transform: translateY(-6px);
}

@media (max-width: 480px) {
    .data-card {
        padding: 30px 20px;
    }
}

.data-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.28);
}

.data-icon svg {
    width: 30px;
    height: 30px;
}

.data-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .data-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .data-card h4 {
        font-size: 1.1rem;
    }
}

.data-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.highlight {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.2em;
}

.data-footer {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .data-footer {
        padding: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .data-footer {
        padding: 15px;
    }
}

.data-footer p {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.data-footer p span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-spark {
    width: 22px;
    height: 22px;
    color: #60a5fa;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .data-footer p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .data-footer p {
        font-size: 1rem;
    }
}

/* ============================================================
   FAQ (Akkordeon) – im Karten- und Marken-Design der Seite
   ============================================================ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- FAQ: Haupt-Kategorien (gruppierte Fragen) ---- */
.faq-category {
    margin-bottom: 44px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-inline-start: 2px;
}

.faq-category-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.faq-category-icon svg {
    width: 19px;
    height: 19px;
}

.color-4 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.color-5 { background: linear-gradient(135deg, #06b6d4, #0e7490); }

.faq-category-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.faq-category-count {
    margin-inline-start: auto;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.faq-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 768px) {
    .faq-category {
        margin-bottom: 32px;
    }

    .faq-category-title {
        gap: 10px;
        margin-bottom: 16px;
    }

    .faq-category-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .faq-category-icon svg {
        width: 15px;
        height: 15px;
    }

    .faq-category-name {
        font-size: 1.05rem;
    }

    .faq-category-count {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .faq-category-name {
        font-size: 0.95rem;
    }

    .faq-category-count {
        display: none;
    }
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #222f54;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 26px rgba(59, 130, 246, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.faq-q-text {
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-q-text {
    color: #93c5fd;
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s var(--ease-smooth), background 0.3s ease, color 0.3s ease;
}

.faq-icon svg {
    width: 17px;
    height: 17px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-gradient);
    color: #ffffff;
}

/* Sanftes Aufklappen ohne feste Höhe (grid 0fr -> 1fr) */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease-smooth);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.45s var(--ease-smooth);
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.faq-answer p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 2;
}

@media (max-width: 768px) {
    .faq {
        padding: 70px 0;
    }

    .faq-question {
        font-size: 1rem;
        padding: 16px 18px;
        gap: 12px;
    }

    .faq-icon {
        width: 27px;
        height: 27px;
    }

    .faq-answer p {
        font-size: 0.92rem;
        padding: 0 18px 18px;
        line-height: 1.9;
    }
}

/* ---- FAQ: einleitender Absatz vor einer Liste (weniger Abstand nach unten) ---- */
.faq-answer p.faq-lead {
    padding-bottom: 10px;
}

.faq-answer p + p {
    padding-top: 0;
}

/* ---- FAQ: einfache Punkt-Liste (z. B. App-Empfehlungen je Betriebssystem) ---- */
.faq-plain-list {
    list-style: none;
    margin: 0;
    padding: 0 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-plain-list li {
    position: relative;
    padding-right: 22px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-plain-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-gradient);
}

.faq-plain-list li strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ---- FAQ: nummerierte Schritte (z. B. Kaufablauf) – gleiche Bildsprache
   wie die Zahlen-Badges im Tipps-Bereich (.tip-number), nur kompakter ---- */
.faq-steps {
    list-style: none;
    counter-reset: faqstep;
    margin: 0;
    padding: 0 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-steps li {
    counter-increment: faqstep;
    position: relative;
    padding-right: 44px;
    min-height: 32px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    align-items: center;
}

.faq-steps li::before {
    content: counter(faqstep);
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .faq-plain-list,
    .faq-steps {
        padding: 0 18px 18px;
        gap: 12px;
    }

    .faq-plain-list li,
    .faq-steps li {
        font-size: 0.92rem;
    }

    .faq-steps li {
        padding-right: 40px;
        min-height: 28px;
    }

    .faq-steps li::before {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Neue Sektionen & Hinweise (Why-Trust, Garantie, Support-Zeit)
   ========================================================================== */

/* --- Geräte-Kompatibilität (eine Sektion mit Icon-Reihe) --- */
.devices {
    padding: 70px 0;
    background: rgba(10, 14, 34, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .devices {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .devices {
        padding: 36px 0;
    }
}

.devices-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.device-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 130px;
    padding: 26px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: transform 0.3s var(--ease-smooth), border-color 0.3s, box-shadow 0.3s;
}

.device-chip:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.22);
}

.device-ic {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.28);
}

.device-ic svg {
    width: 28px;
    height: 28px;
}

.device-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #e6edf9;
}

@media (max-width: 768px) {
    .devices-row {
        gap: 14px;
    }
    .device-chip {
        min-width: 110px;
        padding: 22px 16px;
    }
    .device-ic {
        width: 50px;
        height: 50px;
    }
    .device-ic svg {
        width: 25px;
        height: 25px;
    }
    .device-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .devices-row {
        gap: 12px;
    }
    .device-chip {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
        padding: 20px 12px;
    }
}

/* --- Garantie-Hinweis im Modal --- */
.modal-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
    padding: 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 14px;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.85;
}

.modal-guarantee svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 2px;
}

.modal-guarantee strong {
    color: #22c55e;
    font-weight: 700;
}

@media (max-width: 480px) {
    .modal-guarantee {
        font-size: 0.85rem;
        padding: 15px;
    }
}

/* --- Support-Zeit-Hinweis im Footer --- */
.footer-support-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.85;
    text-align: center;
}

.footer-support-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-support-note {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-support-note {
        font-size: 0.82rem;
        margin-bottom: 22px;
        padding-bottom: 18px;
    }
}

/* ==========================================================================
   Smoothness-Verbesserungen: Modal-Schließen, Scroll-Reveal, Feinschliff
   ========================================================================== */

/* --- Modal: sanftes Ausblenden beim Schließen --- */
.modal.closing {
    animation: fadeOut 0.28s var(--ease-smooth) forwards;
}

.modal.closing .modal-content {
    animation: slideDown 0.28s var(--ease-smooth) forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes slideDown {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to   { transform: translateY(20px) scale(0.97); opacity: 0; }
}

/* --- Karten-Hover einheitlich sanft (price-card hat eigene Transition mit Bounce) --- */
.feature-card,
.data-card,
.tip-card {
    transition: transform 0.4s var(--ease-smooth),
                border-color 0.3s ease,
                box-shadow 0.4s var(--ease-smooth),
                background 0.4s ease;
}

/* --- Scroll-Reveal (nur aktiv, wenn JS die Klasse setzt) --- */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-smooth),
                transform 0.7s var(--ease-smooth);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Sanfte Staffelung innerhalb von Grids */
.reveal-ready [data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal-ready [data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal-ready [data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal-ready [data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal-ready [data-reveal-delay="5"] { transition-delay: 0.40s; }

/* Barrierefreiheit: bei reduzierter Bewegung keine Reveal-/Schließ-Effekte */
@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .modal.closing,
    .modal.closing .modal-content {
        animation: none !important;
    }
    .faq-answer,
    .faq-answer-inner {
        transition: none !important;
    }
}

/* ============================================
   Trust-Siegel auf den Angebotskarten
   ============================================ */
.trust-badge {
    position: absolute;
    top: -26px;
    left: -14px;
    width: 100px;
    height: 100px;
    z-index: 3;
    pointer-events: none; /* Klicks gehen weiter an die Karte */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Eigener Compositing-Layer: erzwingt ein sauberes initiales Rendering
       der SVG-<use>-Gradienten (objectBoundingBox). Ohne das erschien das
       Gütesiegel bis zum ersten Repaint (z.B. Modal-Öffnen) verzerrt. */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.price-card:hover .trust-badge {
    transform: scale(1.08) rotate(-6deg);
}

@media (max-width: 768px) {
    .trust-badge {
        width: 76px;
        height: 76px;
        top: -22px;
        left: -6px;
    }
}

/* ============================================
   Fixes: Mobile Karten-Tap & Modal-Anpassung
   ============================================ */

/* Desktop: stabile Scrollbar-Rinne, damit das Öffnen des Modals
   (body overflow: hidden) die Seite nicht horizontal springen lässt */
html {
    scrollbar-gutter: stable;
}

/* Auf Touch-Geräten bzw. in der mobilen Ansicht heben Tap-Hover und
   .active die Karten NICHT mehr an - der klebende :hover-Zustand hat
   die Karten nach dem Tippen dauerhaft verschoben. Border-Glow und
   Hintergrund als Auswahl-Feedback bleiben erhalten. */
@media (hover: none), (max-width: 900px) {
    /* Klebender Tap-:hover darf die Karte nicht verschieben */
    .price-card:hover {
        transform: none !important;
    }
    .price-card:hover .trust-badge {
        transform: none;
    }
    /* Die bewusste Auswahl (.active) animiert weiterhin - nur dezent,
       ohne das Layout zu sprengen oder Nachbartexte zu verdecken */
    .price-card.active {
        transform: translateY(-6px) scale(1.015) !important;
    }
}

/* Modal: Sicherheitsabstand zum Displayrand und dvh statt vh, damit die
   mobile Browserleiste nicht den Footer (WhatsApp-Button) verdeckt */
.modal {
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        max-height: 88vh;
        max-height: 86dvh;
    }
}

/* ============================================
   Trust-Siegel: Freiraum für den Kartentitel
   ============================================ */
/* Desktop: Siegel (100px, top -26) ragt 74px in die Karte - Inhalt darunter beginnen */
.price-card {
    padding-top: 86px;
}

@media (max-width: 900px) {
    /* Mobil: Siegel (76px, top -22) ragt 54px hinein */
    .pricing-grid .price-card {
        padding-top: 62px;
    }
}

/* ============================================
   Modal: Scroll-Hinweis
   ============================================ */
.modal-scroll-hint {
    position: sticky;
    bottom: -30px;               /* gleicht das padding-bottom des Modal-Bodys aus */
    margin: -14px -25px -30px;   /* volle Breite trotz Body-Padding */
    padding: 30px 0 10px;
    display: flex;
    justify-content: center;
    background: linear-gradient(to top, var(--bg-card) 40%, transparent);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.modal-scroll-hint svg {
    width: 24px;
    height: 24px;
    color: #8fa2c9;
    animation: tbScrollBounce 1.5s ease-in-out infinite;
}

@keyframes tbScrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

.modal-scroll-hint.hidden {
    opacity: 0;
}

@media (max-width: 480px) {
    .modal-scroll-hint {
        bottom: -15px;           /* Body-Padding ist hier 15px */
        margin: -10px -15px -15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-scroll-hint svg { animation: none; }
}

/* Auffälliger, animierter Anleitungs-Button im Bestell-Chooser (B10) */
.guide-cta {
    display: block;
    margin: 10px 0 2px;
    padding: 9px 14px;
    border-radius: 12px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    color: #0b1020;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    border: 1.5px solid rgba(255,255,255,0.35);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5);
    animation: guideCtaPulse 1.8s ease-in-out infinite;
}
.guide-cta .guide-cta-sub {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 700;
    opacity: 0.85;
}
.guide-cta:hover { filter: brightness(1.08); }
@keyframes guideCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45); transform: translateY(0); }
    50%      { box-shadow: 0 0 22px 5px rgba(168, 85, 247, 0.6); transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
    .guide-cta { animation: none; }
}

/* ============================================
   Anleitungs-Modal: Code / Telegram-ID (B10)
   ============================================ */
.guide-section {
    text-align: right;
    margin-bottom: 18px;
}
.guide-section:last-of-type { margin-bottom: 6px; }
.guide-title {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 10px;
    font-weight: 700;
}
.guide-steps {
    margin: 0;
    padding: 0 20px 0 0;
    color: #c7d2e6;
    font-size: 13.5px;
    line-height: 2;
}
.guide-steps li { margin-bottom: 4px; }
.guide-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.9;
    margin: 8px 0 0;
    background: rgba(56, 189, 248, 0.06);
    border-right: 3px solid #38bdf8;
    padding: 8px 12px;
    border-radius: 8px;
}
