/* --- Global Reset & Variables --- */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f8f8f8;
    --text-primary: #000000;
    --text-secondary: #555555;
    --border: #e0e0e0;
    --accent: #000000;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Sticky Footer Logic --- */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1; /* Schiebt den Footer nach unten */
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Header & Navigation --- */
header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    gap: 12px;
}

.logo {
    height: 32px;
    filter: grayscale(1); /* Erzwingt S/W Look für das Logo */
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

nav a {
    color: var(--text-secondary);
    margin-left: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 0;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 24px 0;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Container für Text und Bild */
/* Nur wenn hero-content INNERHALB von detail-hero ist, soll es flex sein */
.detail-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left; /* Text auf der Detailseite linksbündig */
}

/* Der normale hero-content (Homepage) bleibt ein Block-Element oder wird genullt */
.hero .hero-content {
    display: block; 
    text-align: center; /* Text auf der Homepage zentriert */
}

.hero-text {
    flex: 0 1 auto; /* Nimmt verfügbaren Platz ein */
}

.hero-image img {
    max-width: 250px; /* Breite des Bildes begrenzen */
    height: auto;
   
}

/* Responsive Design: Auf kleinen Bildschirmen untereinander stapeln */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 100%; /* Bild passt sich auf Mobile an */
    }
}

/* --- Buttons --- */
.button-wrapper {
    margin-top: 60px; /* Adjust this value to increase spacing */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Optional: adds a subtle line */
}


.btn-primary {
    background: var(--text-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* --- Features Section --- */


.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    height: 100%
}

.feature-card-link:hover {
    transform: translateY(-5px);
}

/* Falls dein Grid nur 3 Spalten hatte, hier auf 5 flexibel anpassen */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.section-spacer {
    margin-top: 2rem;
}



.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header small {
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}


.feature-card {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 0; /* Eckiger Look für Engineering-Vibe */
    transition: border-color 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--text-primary);
}

.feature-img-wrapper {
    height: 40%;
    width: auto;
    background: transparent;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img-wrapper-hiw {
    height: 60%;
    width: auto;
    background: transparent;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img-wrapper-small{
    width: auto;
    background: transparent;
    height: 40%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}




.feature-card img {
    max-width: 100%;
    /*filter: grayscale(1) contrast(1.1);*/
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 20px;
    background: var(--bg-main);
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-content.footer-3col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.footer-left p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-center {
    display: flex;
    gap: 1.5rem;
}

.footer-center a {
    font-size: 0.9rem;
    color: #555555;
    text-decoration-color: #555555;
    opacity: 0.8;
}

.footer-center a:hover {
    opacity: 1;
}


.footer-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.footer-right img {
    width: 20px;
    height: 20px;
}
.linkedin-btn img {
    width: 24px;
    height: 24px;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
}



.footer-right a:hover {
    color: var(--text-primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    nav a {
        margin: 0 10px;
    }
}



/* --- Logo Update --- */
.logo {
    height: 64px; /* Deutlich größer */
    width: auto;
    filter: grayscale(1);
    transition: opacity 0.2s;
}

.logo-link:hover .logo {
    opacity: 0.7;
}

.logo-text {
    font-size: 1.5rem; /* Text ebenfalls angepasst */
    font-weight: 800;
}

/* --- Download Page Specifics --- */
.download-hero {
    text-align: center;
    padding: 60px 0;
}

.download-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 40px;
    max-width: 500px;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    gap: 15px
}

.download-card.disabled {
    border: 1px dashed #ccc;
    background-color: #fafafa;
    width: 60%;
    text-align: center;
}

.platform-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.os-icon { font-size: 2rem; 
    width: 36px;
    height: 36px;
    object-fit: contain;
}

    

.os-details { text-align: left; }
.os-details strong { display: block; font-size: 1.1rem; }
.os-details span { color: var(--text-secondary); font-size: 0.85rem; }

.os-icon-svg {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.btn-primary.large {
    display: block;
    font-size: 1.1rem;
    padding: 18px;
}

.btn-disabled {
    display: block;
    background-color: #e0e0e0 !important;
    color: #888 !important;
    cursor: not-allowed;
    border: none;
    font-size: 1.1rem;
    padding: 18px;
    opacity: 0.7;
    width: 100%;
}

.specs {
    margin-top: 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tech-table {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tech-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.tech-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
}

/* --- Contact Page Specifics --- */
.narrow-content {
    max-width: 600px !important;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header a{
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.pro-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 0; /* Eckiger Look */
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.full-width {
    width: 100%;
    cursor: pointer;
}

/* Aktiver Nav-Link State */
nav a.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 4px;
}





/* How it works page: */

.clean-list {
    list-style-position: outside;
    max-width: 600px;
    margin: 30px auto 60px auto;
    padding-left: 0;
    text-align: left;
}


.clean-list li {
    margin-bottom: 10px;
}



h2, h3 {
    text-align: center;
}

h4 {
    max-width: 850px;
    margin: 0 auto 30px auto;
    text-align: left;
}



.text-block {
    max-width: 850px;
    margin: 0 auto 40px auto;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    hyphens: auto;
}



/* ============================= */
/* Section Frame Styling */
/* ============================= */

.section-frame {
    border: 2px solid #b5b5b5;
    border-radius: 14px;
    padding: 60px 80px;
    margin-bottom: 160px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
}

.section-frame .feature-img-wrapper img {
    width: 90%;
    max-width: 100%;
    height: auto;
    display: block;
}

.section-frame .feature-img-wrapper-hiw img {
    width: 90%;
    max-width: 100%;
    height: auto;
    display: block;
}


/* Subsection Divider Line */
.subsection-divider {
    border-top: 1px solid #d9d9d9;
    padding-top: 60px;
    margin-top: 100px;
}

/* First subsection without line */
.first-subsection {
    border-top: none;
    padding-top: 0;
    margin-top: 40px;
}

/* First subsection should not have a top border */
.subsection-divider:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
