/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
    /* Hauptfarbe und abgeleitete Töne basierend auf #1c4a5f */
    --primary: #1c4a5f; /* Deine Wunschfarbe (Tiefes Petrol) */
    --primary-hover: #133443; /* Etwas dunkler für Hover-Effekte */
    --primary-light: #eaf1f4; /* Sehr helles Petrol für Icons und softe Hintergründe */
    --primary-faded: rgba(28, 74, 95, 0.1); /* Transparenz für Schatten */

    /* Helles Theme */
    --bg-white: #ffffff;
    --bg-offwhite: #f4f7f9; /* Minimal abgetöntes Weiß passend zum Petrol */

    /* Textfarben */
    --text-main: #0f172a; /* Fast Schwarz für Überschriften */
    --text-muted: #475569; /* Dunkelgrau für normalen Text */

    --radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typografie */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
}
h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--text-main);
}
h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sektionen */
section {
    padding: 8rem 0;
}
.bg-alt {
    background-color: var(--bg-offwhite);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(28, 74, 95, 0.05); /* Angepasst an Petrol */
    padding: 1.25rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 50%);
    padding: 4rem 0;
}
.hero p.lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px -8px var(--primary);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -8px var(--primary);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary-light);
}
.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Features Grid */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(28, 74, 95, 0.05); /* Angepasst */
    transition: var(--transition);
    text-align: left;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(28, 74, 95, 0.08);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Changelog Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}
.timeline-item {
    border-left: 3px solid var(--primary-light);
    padding-left: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 0;
    width: 19px;
    height: 19px;
    background: var(--bg-white);
    border: 4px solid var(--primary);
    border-radius: 50%;
}
.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.timeline-item h3 span {
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
}
.timeline-item ul {
    padding-left: 1.2rem;
    color: var(--text-muted);
}
.timeline-item li {
    margin-bottom: 0.5rem;
}

/* Feedback Banner */
.feedback-box {
    background: var(--primary);
    color: white;
    padding: 5rem 3rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 20px 40px -10px var(--primary-faded);
}
.feedback-box h2 {
    color: white;
}
.feedback-box p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.feedback-box .btn {
    background: white;
    color: var(--primary);
}
.feedback-box .btn:hover {
    background: var(--bg-offwhite);
}

/* Accordion (Legal / Imprint) */
.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--bg-white);
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
}
summary {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
summary::-webkit-details-marker {
    display: none;
}
summary:hover {
    background: var(--bg-offwhite);
    color: var(--primary);
}
summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}
details[open] summary::after {
    transform: rotate(45deg);
}
.details-content {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--primary-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .nav-links {
        display: none;
    }
    .btn-group {
        flex-direction: column;
    }
    section {
        padding: 5rem 0;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Layout für Bild-Text-Sektionen */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}
.split-layout.reverse {
    flex-direction: row-reverse;
}
.split-text {
    flex: 1;
}
.split-image {
    flex: 1;
    text-align: center;
}
.split-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(28, 74, 95, 0.15); /* Angepasst an dein Petrol */
    border: 1px solid rgba(28, 74, 95, 0.05);
}
.check-list {
    list-style: none;
    margin-top: 1.5rem;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}
.check-list .icon {
    background: var(--primary-light);
    color: var(--primary);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Hero Section anpassen für 2-Spalten */
.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}
.hero-text {
    flex: 1;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    max-width: 80%;
    transform: translateY(20px);
    filter: drop-shadow(0 30px 40px rgba(28, 74, 95, 0.2));
}

@media (max-width: 992px) {
    .split-layout,
    .split-layout.reverse,
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .hero-image img {
        max-width: 60%;
    }
    .btn-group {
        justify-content: center;
    }
    .check-list li {
        justify-content: center;
    }
}
