/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F28B50;
    --primary-dark: #D97A40;
    --secondary: #2C3E50;
    --text: #333;
    --text-light: #666;
    --bg: #FFF;
    --bg-light: #F8F9FA;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: 0.3s;
}

.lang-menu-container {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 14px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.lang-btn[aria-expanded="true"] {
    background: var(--primary);
    color: white;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-arrow {
    transition: transform 0.3s;
    margin-left: 2px;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-text {
    line-height: 1;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-menu-container:hover .lang-menu,
.lang-menu-container:focus-within .lang-menu,
.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.lang-option.active {
    background: var(--primary);
    color: white;
}

.lang-option .lang-flag {
    font-size: 1.3rem;
}

.lang-option .lang-text {
    flex: 1;
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, #F28B50 0%, #D97A40 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    margin-top: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.coming-soon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.coming-soon-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DD 100%);
    overflow-x: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(242, 139, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 139, 80, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Hero Image Container */
.hero-image {
    position: relative;
}

/* Slides stage: matches previous layout box, does not affect grid width */
.slides-stage {
    position: relative;
    width: 100%; /* same as previous hero-image width */
    height: 600px; /* same as phone height */
}

/* Slides stacked, only active interactive */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 600px;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    border-radius: 40px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F28B50 0%, #D97A40 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screenshot-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.app-screenshot.active {
    opacity: 1;
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(242, 139, 80, 0.9);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: rgba(242, 139, 80, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -60px;
}

.slider-btn.next {
    right: -60px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Annotations */
.annotations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.annotation {
    position: absolute;
    display: none;
    pointer-events: none;
}

.annotation.active {
    display: block;
}

/* Wenn ein Slide aktiv ist, zeige seine Annotationen immer an */
.slides-stage .slide.active .annotation {
    display: block;
}

/* Annotations - Original Desktop Positionierung */
.annotation-1 {
    bottom: 200px;
    left: -15px;
}

.annotation-2 {
    top: 150px;
    right: 50px;
}

.annotation-3 {
    bottom: 80px;
    left: -25px;
}

.annotation-4 {
    top: 215px;
    right: 30px;
    overflow: visible;
}

.annotation-5 {
    bottom: 40px;
    left: -40px;
}

.annotation-6 {
    top: 25px;
    right: 0px;
    overflow: visible;
}


.arrow-svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.arrow-svg path {
    opacity: 0;
    animation: fadeInArrow 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

.arrow-svg text {
    opacity: 0;
    animation: fadeInText 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInArrow {
    to {
        opacity: 1;
    }
}

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

.annotation-text {
    background: white;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 15px;
    left: -10px;
    max-width: 180px;
    opacity: 0;
    animation: fadeInText 0.5s ease-out forwards;
    animation-delay: 1.5s;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

.annotation-text strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.annotation-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.price {
    margin: 2rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

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

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg);
    text-align: center;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.coming-soon-info-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.coming-soon-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.coming-soon-info-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 139, 80, 0.3);
}

.coming-soon-info-btn:active {
    transform: translateY(0);
}

.coming-soon-info-btn svg {
    flex-shrink: 0;
    display: block;
}

.coming-soon-info-btn svg circle {
    fill: none;
    stroke: currentColor;
}

.coming-soon-info-btn svg line {
    stroke: currentColor;
    stroke-linecap: round;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.button-small {
    font-size: 0.75rem;
    text-align: left;
}

.button-large {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
}

.download-note {
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Coming Soon Modal */
.coming-soon-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.coming-soon-modal.active {
    display: flex;
}

.coming-soon-modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coming-soon-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.coming-soon-modal-close:hover {
    background: var(--bg-light);
    color: var(--text);
}

.coming-soon-modal-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 0;
}

.coming-soon-modal-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.coming-soon-modal-ok {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.coming-soon-modal-ok:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 139, 80, 0.3);
}

.coming-soon-modal-ok:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Annotations im Tablet-Modus verkleinern */
    .annotation-1,
    .annotation-3,
    .annotation-5 {
        left: 5%;
    }
    
    .annotation-2,
    .annotation-4,
    .annotation-6 {
        right: 25%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Smooth scrolling auf Mobile deaktivieren für bessere Performance */
    html {
        scroll-behavior: auto;
    }
    
    /* Coming Soon Banner Mobile */
    .coming-soon-banner {
        margin-top: 60px;
        padding: 10px 0;
    }
    
    .coming-soon-content {
        font-size: 0.85rem;
        padding: 0 10px;
        text-align: center;
    }
    
    .coming-soon-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Header ohne backdrop-filter auf Mobile für bessere Performance */
    header {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }
    
    /* Touch-Action für besseres Scrollen */
    body,
    .container,
    .hero {
        touch-action: pan-y;
    }
    
    /* Hardware-Beschleunigung für besseres Scrollen */
    .hero,
    .features,
    .pricing,
    .download {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Hero section less padding to header */
    .hero {
        padding: 100px 0 80px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Hochformat: Pfeile ausblenden, Handy zentrieren */
    .slides-stage {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .slide {
        position: relative;
        opacity: 1;
        display: none;
        width: 100%;
    }

    .slide.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Annotations im Hochformat: absolut unter dem Handy positionieren */
    .annotations {
        position: absolute;
        display: block;
        width: 100%;
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
        top: 290px;
    }

    .annotation {
        position: relative;
        display: block !important;
        margin: 15px 0;
    }

    /* Override Desktop positioning im Mobile */
    .slide .annotation {
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* Erstes Pfeil nach links verschieben (nur Mobile) */
    .slide .annotation-1 {
        margin-left: -250px;
        margin-top: -100px;
    }

    /* Zweiter Pfeil nach rechts und oben verschieben (nur Mobile) */
    .slide .annotation-2 {
        margin-left: 170px;
        margin-top: -240px;
    }

    /* Dritter Pfeil (Bild 2) nach links verschieben (nur Mobile) */
    .slide .annotation-3 {
        margin-left: -255px;
        margin-top: -25px;
    }

    /* Vierter Pfeil (Bild 2) nach rechts und sehr weit oben (nur Mobile) */
    .slide .annotation-4 {
        margin-left: 170px;
        margin-top: -235px;
    }

    /* Fünfter Pfeil (Bild 3) nach links und unten (nur Mobile) */
    .slide .annotation-5 {
        margin-left: -260px;
        margin-top: 0px;
    }

    /* Sechster Pfeil (Bild 3) extrem weit oben und rechts (nur Mobile) */
    .slide .annotation-6 {
        margin-left: 170px;
        margin-top: -390px;
    }

    .arrow-svg {
        transform: scale(0.65);
    }

    /* Phone-Mockup kleiner */
    .phone-mockup {
        width: 180px;
        height: 387px;
        position: relative;
        transform: none;
    }

    /* Slider buttons an Handy anpassen */
    .slider-btn.prev {
        left: -50px;
    }

    .slider-btn.next {
        right: -50px;
    }
}
