/* ==========================================
   NIE-SYSTEM WEBSITE - STYLES
   Optimiert für iPhone und Mobile
   ========================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #1A1A1A; /* Keine weißen Ränder */
}

body {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #1A1A1A;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4.5vw, 1.75rem); }
h4 { font-size: clamp(1rem, 3.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    word-wrap: break-word;
}

a {
    color: #1A1A1A;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFD300;
}

/* Container - Keine horizontalen Ränder */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 3vw, 1rem);
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: auto;
    width: 90%;
    max-width: 300px;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(255, 211, 0, 0.3);
}

.btn-primary {
    background-color: #FFD300;
    color: #1A1A1A;
}

.btn-primary:hover {
    background-color: #E6C000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 211, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
}

.btn-secondary:hover {
    background-color: #1A1A1A;
    color: #F9F9F7;
}

.btn-amazon {
    background-color: #FFD300;
    color: #1A1A1A;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    padding: 1.25rem 2rem;
    min-width: auto;
    width: 95%;
    max-width: 320px;
}

.btn-amazon:hover {
    background-color: #E6C000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
    min-width: auto;
}

.btn-outline:hover {
    background-color: #1A1A1A;
    color: #F9F9F7;
}

.btn-large {
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    padding: 1.25rem 2rem;
    min-width: auto;
    width: 95%;
    max-width: 320px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
}

/* ==========================================
   HERO BLOCK
   ========================================== */

.hero-block {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    padding: 0 1rem;
    width: 100%;
}


/* Hero Layout mit Buchcover */
.hero-layout {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-picture {
    display: inline-block;
    max-width: 420px;
    width: 100%;
}

.book-cover-picture img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.hero-book img {
    max-width: 360px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    word-wrap: break-word;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 300;
    color: #FFD300;
    margin-top: 0.5rem;
    word-wrap: break-word;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #FFFFFF;
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background-color: #FFD300;
    margin-top: 0.5rem;
    position: relative;
    animation: bounce 2s infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #FFD300;
    border-bottom: 2px solid #FFD300;
    transform: rotate(45deg);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================
   PROBLEM BLOCK
   ========================================== */

.problem-block {
    padding: 4rem 0;
    background-color: #F9F9F7;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.problem-item h3 {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.problem-item p {
    color: #6B6B6B;
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
}

.problem-cta {
    text-align: center;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
}

/* ==========================================
   VIDEO BLOCK
   ========================================== */

.video-block {
    padding: 4rem 0;
    background-color: #1A1A1A;
    color: #F9F9F7;
}

.video-content {
    text-align: center;
}

.video-content h2 {
    color: #F9F9F7;
    margin-bottom: 2rem;
}

.video-wrapper {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #333 0%, #1A1A1A 100%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #444 0%, #222 100%);
}

.video-placeholder .play-button {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-placeholder h3 {
    color: #F9F9F7;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
}

.video-placeholder p {
    color: #F9F9F7;
    margin: 0.25rem 0;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    max-width: 90%;
    text-align: center;
}

/* ==========================================
   BOOK BLOCK
   ========================================== */

.book-block {
    padding: 4rem 0;
    background-color: #F9F9F7;
}

.book-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.book-info h2 {
    color: #6B6B6B;
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.book-info h3 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.book-info p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.book-features {
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.feature svg {
    flex-shrink: 0;
}

.feature span {
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.book-visual {
    display: flex;
    justify-content: center;
    perspective: none;
}


.book-cover-img {
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
    background: #ffffff;
}

.book-cover {
    width: 200px;
    height: 280px;
    position: relative;
    transform: none;
    margin: 0 auto;
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD300 0%, #E6C000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px 15px 15px 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.book-front h4 {
    font-size: 2.5rem;
    margin: 0;
    color: #1A1A1A;
}

.book-front p {
    font-size: 0.9rem;
    color: #1A1A1A;
    margin: 0;
    text-align: center;
    padding: 0 1rem;
}

.book-spine {
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #E6C000 0%, #FFD300 100%);
    transform: rotateY(-90deg) translateX(-15px);
    transform-origin: right;
    border-radius: 5px 0 0 5px;
}

.book-cta {
    text-align: center;
}

.amazon-rating {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.amazon-rating .stars {
    display: flex;
    gap: 2px;
}

.amazon-rating span {
    color: #6B6B6B;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

/* ==========================================
   DOWNLOAD BLOCK
   ========================================== */

.download-block {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
    color: #F9F9F7;
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-header h2 {
    color: #6B6B6B;
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.download-header h3 {
    color: #FFD300;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 0;
}

.download-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.download-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    width: 100%;
}

.download-item:hover {
    transform: translateY(-5px);
}

.download-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 0.75rem;
}

.download-item h4 {
    color: #FFD300;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
}

.download-item p {
    color: #F9F9F7;
    margin: 0;
    opacity: 0.8;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.download-cta-box {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.download-cta-box h4 {
    color: #FFD300;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
}

.download-cta-box p {
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.download-cta-box .btn {
    margin-bottom: 1rem;
}

.form-note {
    margin-top: 1rem;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: rgba(249, 249, 247, 0.7);
}

/* ==========================================
   SOCIAL PROOF BLOCK
   ========================================== */

.social-proof-block {
    padding: 4rem 0;
    background-color: #F9F9F7;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 100%;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: clamp(0.9rem, 3vw, 1rem);
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E5E5;
}

.testimonial-author span {
    font-weight: 600;
    color: #1A1A1A;
}

.testimonial-author small {
    color: #6B6B6B;
}

.review-cta {
    text-align: center;
}

.review-cta p {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 1rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: 2rem 0;
    background-color: #1A1A1A;
    color: #F9F9F7;
    width: 100%;
    margin: 0;
    position: relative;
    bottom: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-info p {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

.footer-info a {
    color: #FFD300;
}

.footer-info a:hover {
    color: #E6C000;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #F9F9F7;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

.footer-links a:hover {
    color: #FFD300;
}

/* ==========================================
   MODAL
   ========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 95%;
    margin: 1rem;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: #1A1A1A;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
}

.modal-content p {
    margin-bottom: 1rem;
    color: #6B6B6B;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
}

.modal-content .btn {
    margin-top: 1rem;
}

/* ==========================================
   LEGAL PAGES (Impressum/Datenschutz)
   ========================================== */

.legal-header {
    background-color: #1A1A1A;
    color: #F9F9F7;
    padding: 3rem 0 2rem;
    margin: 0;
    width: 100%;
}

.legal-header h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-top: 1rem;
    color: #FFD300;
    word-wrap: break-word;
    text-align: center;
}

.back-link {
    color: #FFD300;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.back-link:hover {
    color: #E6C000;
}

.legal-content {
    padding: 3rem 0;
    background-color: #1A1A1A;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

.legal-text {
    max-width: 100%;
    margin: 0 auto;
    background: #1A1A1A;
    color: #F9F9F7;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-text h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #FFD300;
    word-wrap: break-word;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-top: 1.2rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    word-wrap: break-word;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    color: #F9F9F7;
}

.legal-text ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    color: #F9F9F7;
}

.legal-text a {
    color: #FFD300;
    font-weight: 600;
}

.legal-text a:hover {
    color: #E6C000;
}

.legal-date {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444444;
    color: #AAAAAA;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}


/* ==========================================
   RESPONSIVE DESIGN - DESKTOP ENHANCEMENTS
   ========================================== */

@media (min-width: 900px) {
    .hero-block {
        text-align: left;
    }

    .hero-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
    }

    .hero-content {
        padding: 0;
        max-width: 650px;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
        max-width: 520px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-media {
        justify-content: flex-end;
    }

    .hero-book img {
        max-width: 380px;
    }

    .book-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 3rem;
    }

    .feature {
        justify-content: flex-start;
    }

    .book-visual {
        justify-content: flex-end;
    }
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================== */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-block,
    .problem-block,
    .video-block,
    .book-block,
    .download-block,
    .social-proof-block {
        padding: 3rem 0;
    }
    
    .legal-header {
        padding: 2rem 0 1.5rem;
    }
    
    .legal-content {
        padding: 2rem 0;
    }
    
    .legal-text {
        padding: 1.5rem;
        margin: 0;
        border-radius: 0;
    }
    
    .legal-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .legal-text li {
        font-size: 14px;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        padding: 0 0.75rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-text {
        padding: 1rem;
    }
    
    .legal-text h2 {
        font-size: 1.1rem;
    }
    
    .legal-text h3 {
        font-size: 1rem;
    }
    
    .legal-text p {
        font-size: 13px;
    }
    
    .back-link {
        font-size: 0.9rem;
    }
    
    .problem-item,
    .download-item,
    .testimonial {
        padding: 1.25rem;
    }
    
    .download-cta-box {
        padding: 1.5rem;
    }
}

/* iPhone-spezifische Anpassungen */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: 100%;
        min-height: 100%;
    }
    
    body {
        padding-bottom: env(safe-area-inset-bottom, 0);
        padding-top: env(safe-area-inset-top, 0);
    }
    
    .hero-block {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* Kein Scroll auf Mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}

/* Touch-Optimierungen */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .problem-item:hover,
    .download-item:hover,
    .testimonial:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .legal-text {
        background: #1A1A1A;