:root {
    --font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
}

/* Globale SF Pro Schrift für alle Elemente */
* {
    font-family: var(--font-family);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

p, span, div, a {
    font-family: var(--font-family);
}

/* Scroll Container für Animation */
.scroll-spacer {
    height: 400vh; /* 4x Bildschirmhöhe für Scroll-Animation */
}

/* Hero Section */
.hero-section {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-family: var(--font-family);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Character Animation Styles */
.hero-text h1 .char {
    display: inline-block;
    transition: all 0.1s ease-out;
    position: relative;
}

.hero-text h1 .char.space {
    width: 0.3em; /* Feste Breite für Leerzeichen */
}

/* Hero Logo Animation */
.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 60px;
    height: 60px;
    opacity: 0;
    transition: none;
    filter: brightness(0) invert(1); /* Weißes Logo auf schwarzem Hintergrund */
    z-index: 10;
}

/* Hero Main Text */
.hero-main-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(80px);
    width: 90%;
    max-width: 900px;
    opacity: 0;
    z-index: 5;
    text-align: center;
}

.hero-main-text p {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.4;
    color: white;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.1s ease-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
        padding: 0 20px;
    }
    
    /* Titel auf zwei Zeilen aufteilen */
    .hero-text h1 .line-2 {
        display: block;
        margin-top: 0.2em;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 400px;
    }
    
    /* Titel auf zwei Zeilen aufteilen auch für sehr kleine Bildschirme */
    .hero-text h1 .line-2 {
        display: block;
        margin-top: 0.1em;
    }
}

/* Intelligence Section */
.intelligence-section {
    background-color: #000000;
    color: #ffffff;
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

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

.intelligence-header {
    text-align: left;
    margin-bottom: 80px;
    margin-left: 106px; /* Aligniert mit dem linken Rand der zentrierten Karten */
}

.intelligence-header h2 {
    font-family: var(--font-family);
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 40px 0;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, #007AFF 0%, #AF52DE 50%, #FF2D92 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intelligence-header p {
    font-family: var(--font-family);
    font-size: 21px;
    line-height: 1.5;
    color: #A1A1A6;
    margin: 0;
    max-width: 600px;
}

.intelligence-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.intelligence-card {
    width: 474px;
    height: 772px;
    background: #1C1C1E;
    border-radius: 24px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.intelligence-card h3 {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    color: #A1A1A6;
    margin: 0 0 auto 0;
    z-index: 2;
    position: relative;
}

.intelligence-card h3 strong {
    font-weight: 600;
    color: #ffffff;
}

.card-visual {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient Circle für erste Karte */
.gradient-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #AF52DE, #FF2D92, #FF9500);
    opacity: 0.8;
    filter: blur(40px);
    position: absolute;
    bottom: -100px;
    z-index: 1;
}

.card-image {
    width: 120px;
    height: 120px;
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: brightness(0) invert(1); /* Macht das Icon weiß */
}



/* Image Visual für zweite Karte */
.image-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60%;
}

.card-center-image {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 2;
    filter: brightness(0) invert(1); /* Macht das Logo weiß */
}

.glow-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #007AFF, #AF52DE, #FF2D92, #FF9500, #007AFF);
    opacity: 0.6;
    filter: blur(20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.card-plus-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    filter: brightness(0) invert(1); /* Macht das Plus-Icon weiß */
    opacity: 0.7;
    z-index: 3;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.card-plus-icon:hover {
    opacity: 1; /* Wird vollständig weiß beim Hover über das Icon */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 40px 0;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    width: 933px;
    height: 864px;
    max-width: 95%;
    background: #1C1C1E;
    border-radius: 24px;
    position: relative;
    margin-top: 40px;
    margin-bottom: 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-icon {
    width: 15px;
    height: 15px;
    opacity: 0.8;
    filter: brightness(0) invert(1); /* Macht das X-Icon weiß */
}

.modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
}

.modal-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.devices-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.modal-text {
    color: #ffffff;
}

.modal-text h2 {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.modal-text p {
    font-family: var(--font-family);
    font-size: 21px;
    line-height: 1.5;
    color: #A1A1A6;
    margin: 0 0 30px 0;
    max-width: 600px;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    width: 24px;
    height: 24px;
}

.feature-item span {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .modal-container {
        width: 90vw;
        height: 700px;
        max-width: 800px;
    }
    
    .modal-text h2 {
        font-size: 36px;
    }
    
    .modal-text p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 20px 0;
    }
    
    .modal-container {
        width: 95vw;
        height: 600px;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    .modal-content {
        padding: 30px;
    }
    
    .modal-text h2 {
        font-size: 28px;
    }
    
    .modal-text p {
        font-size: 16px;
    }
    
    .feature-item span {
        font-size: 16px;
    }
}

/* Privacy Section */
.privacy-section {
    background-color: #000000;
    color: #ffffff;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

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

.devices-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

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

.device-img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1); /* Macht die Geräte-Icons weiß */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Laptop-Icon größer machen */
.device-img[alt="MacBook"] {
    width: 80px;
    height: 60px;
}

.device-img:hover {
    opacity: 1;
}

.privacy-title {
    font-family: var(--font-family);
    font-size: 80px;
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 60px 0;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.privacy-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-button {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 19px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.privacy-button:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #000000;
}

.privacy-button:active {
    background: #ffffff;
    color: #000000;
}

/* Responsive für Privacy Section */
@media (max-width: 1024px) {
    .devices-row {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .device-img {
        width: 50px;
        height: 50px;
    }
    
    .privacy-title {
        font-size: 64px;
        margin-bottom: 50px;
    }
    
    .privacy-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 80px 0 100px 0;
    }
    
    .devices-row {
        gap: 20px;
        margin-bottom: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .device-img {
        width: 40px;
        height: 40px;
    }
    
    .privacy-title {
        font-size: 48px;
        margin-bottom: 40px;
    }
    
    .privacy-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .privacy-button {
        font-size: 17px;
        padding: 14px 28px;
        width: 70%;
    }
    
    .privacy-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .devices-row {
        gap: 15px;
    }
    
    .device-img {
        width: 35px;
        height: 35px;
    }
    
    .privacy-title {
        font-size: 36px;
    }
    
    .privacy-button {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intelligence-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .intelligence-header h2 {
        font-size: 48px;
    }
    
    .intelligence-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .intelligence-card {
        width: 100%;
        max-width: 400px;
        height: 600px;
        padding: 30px;
    }
    
    .intelligence-header h2 {
        font-size: 36px;
    }
    
    .intelligence-header p {
        font-size: 18px;
    }
    
    .intelligence-card h3 {
        font-size: 24px;
    }
}
