@import url('assets/fonts/local_inter.css');

:root {
    --bg-page: #fbfbfd;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --color-accent: #0066cc;
    --color-accent-hover: #004499;
    --card-bg: #ffffff;
    --border-soft: rgba(0, 0, 0, 0.05);
    
    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Cursor Blink */
.cursor {
    display: inline-block;
    color: var(--text-main);
    font-weight: 400;
    animation: blink 1.2s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
    transition: transform 0.5s var(--bezier);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}
.nav-item:hover {
    opacity: 0.5;
}

.contact-btn {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}
.contact-btn:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 24px;
    text-align: center;
    overflow: hidden;
}

.hero-title-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    will-change: transform, opacity;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.hero-title span {
    color: var(--text-muted);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #ffffff 0%, var(--bg-page) 70%);
    z-index: 1;
}

/* App Sections */
.app-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 20;
    background: var(--bg-page);
}

.app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 160px;
}

.app-row.reverse {
    flex-direction: row-reverse;
}

.app-text {
    flex: 1;
    max-width: 500px;
}

.app-badge {
    background: #f5f5f7;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.app-text h3 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.app-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--text-main);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s var(--bezier), background 0.3s ease;
}
.btn-primary:hover {
    background: #424245;
    transform: scale(1.02);
}

.app-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-card {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s var(--bezier);
}
.app-row:hover .app-card {
    transform: scale(1.03) translateY(-10px);
}

.skate-gradient {
    background: linear-gradient(135deg, #e3ffe7 0%, #d9e7ff 100%);
}
.delay-gradient {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border: 1px solid var(--border-soft);
}

.app-icon {
    width: 40%;
    height: auto;
    border-radius: 22.5%; /* Apple iOS icon radius approx */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Web Apps Showcase (Apple Style) */
.web-showcase-wrapper {
    margin-bottom: 150px;
}

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

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

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

.web-showcase-card {
    background: var(--card-bg);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 60px;
    transition: transform 0.6s var(--bezier), filter 0.6s var(--bezier), opacity 0.6s var(--bezier);
    will-change: transform, opacity, filter;
}

.ws-text {
    padding: 60px 60px 40px;
    text-align: center;
}

.ws-text h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ws-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
}

.btn-secondary {
    display: inline-block;
    background: #f5f5f7;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e8e8ed;
    color: var(--color-accent);
}

.ws-visual {
    background: #fbfbfd;
    padding: 0 40px 40px;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-soft);
}

.screenshot-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: 40px;
    transition: transform 0.8s var(--bezier);
}

.web-showcase-card:hover .screenshot-img {
    transform: translateY(-10px) scale(1.02);
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 80px 24px 40px;
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    margin-bottom: 40px;
}
.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
}
.footer-links a:hover {
    text-decoration: underline;
}

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

/* Reveal Animations */
.reveal, .app-row, .web-showcase-card, .contact-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--bezier), transform 1s var(--bezier), filter 0.5s ease;
    will-change: opacity, transform, filter;
}
.reveal.scale-in-up {
    transform: translateY(100px) scale(0.9);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Responsive */
@media (max-width: 900px) {
    .app-row, .app-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .app-text {
        max-width: 100%;
    }
    .app-text h3 {
        font-size: 2.5rem;
    }
    
    .ws-text {
        padding: 40px 30px 30px;
    }
    .ws-text h4 {
        font-size: 1.8rem;
    }
    .ws-visual {
        padding: 0 20px 20px;
    }
}
@media (max-width: 600px) {
    .nav-item {
        display: none; /* Auf kleinen Bildschirmen Text-Navigation verstecken */
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .web-showcase-card {
        border-radius: 24px;
    }
}

/* Contact Section & Form */
.contact-section {
    background: var(--card-bg);
    padding: 120px 24px;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.contact-container p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
    background: var(--bg-page);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1); /* Subtle Blue focus ring - Apple Style */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a0a5;
}

.btn-submit {
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: var(--color-accent-hover);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Status Messages */
.form-status {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
    font-size: 0.9rem;
}

.form-status.success {
    background: #e3ffe7;
    color: #00802b;
}

.form-status.error {
    background: #ffe3e3;
    color: #cc0000;
}

/* Final Quote Section */
.final-quote-section {
    padding: 180px 24px 220px; /* Mehr Platz zum Runterscrollen & "reinkrachen" */
    text-align: center;
    background: var(--bg-page);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Verhindert Scrollbars beim extremen Zoom */
}

.final-quote {
    font-size: clamp(3rem, 7vw, 6.5rem); /* Noch etwas größer gemacht */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Animationsvorbereitung */
.quote-line {
    display: block;
    opacity: 0;
    transform: scale(4) translateY(-50px);
    filter: blur(40px);
    will-change: transform, opacity, filter;
}

/* Zeile 1 ("Code that moves.") reinknallen lassen */
.quote-scale.visible .quote-line1 {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Zeile 2 ("Fast.") drastisch verzögert nachfliegen lassen */
.quote-scale.visible .quote-line2 {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s, /* 0.8s Delay */
                transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s, 
                filter 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.quote-highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 20px; /* gegen abschneiden bei manchen Fonts */
}

@media (max-width: 600px) {
    .contact-form {
        padding: 24px;
    }
    .contact-container h2 {
        font-size: 2rem;
    }
    .final-quote-section {
        padding: 80px 24px 120px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 320px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.6s var(--bezier), opacity 0.6s var(--bezier);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--color-accent);
}

.btn-cookie {
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.2s ease, background 0.3s ease;
}
.btn-cookie:hover {
    background: #424245;
}
.btn-cookie:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}
