/*@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');*/

/* --- Globaler Reset & Basis-Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    /* Default Werte, bevor JS geladen hat */
    --header-height: 35px;
    --footer-height: 20px;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    overflow: hidden;
    padding: 20px;
}

header .container {
    margin: 0 auto;
    padding: 2px 20px;
}

footer .container {
    margin: 0 auto;
    padding: 0px 20px;
}

/* --- Visuelle Verbesserungen (Typografie, Hintergrund, Inhalt-Card) --- */
body {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 60%);
    color: #233243;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --timeline-width: 140px;
    /* width of left timeline column (further reduced) */
    --tile-width: 1fr;
    /* flexible width for tiles */
}


.main-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 30, 50, 0.06);
    padding: 32px;
}

h2 {
    font-size: 1.6rem;
    color: #072a56;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.15rem;
    color: #0b4f86;
    margin: 18px 0 10px;
}

/* Slight spacing for section headings inside roadmap */
.roadmap-section+h3 {
    margin-top: 28px;
}

/* --- Layout: Header & Footer Fixed Positionierung --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    /* Weißer Header sieht moderner aus */
    z-index: 9999 !important;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-bottom: none;
    /* Linie wird durch box-shadow ersetzt */
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: #fff;
    padding: 2px 0;
    z-index: 1000;
    text-align: center;
}

/* --- Hauptinhalt (Main Content) Abstände --- */
.main-content {
    padding: 20px 0;
    /* margin-top/bottom sind dank body padding nicht mehr nötig */
}

/* --- Anker-Scrollverhalten --- */
/* Hier auch den manuellen Wert nutzen */
h2,
h3,
h4,
h5,
.faq-item,
.user-story-card {
    /* Verwenden der JS-gemessenen Höhe als Abstand */
    scroll-margin-top: var(--header-height);
}

/* --- Header/Footer Links und Logo (Ihre spezifischen Styles) --- */
header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
}

header ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

header li {
    display: inline;
    padding: 0 10px 0 10px;
    font-size: 0.9em;
}

footer a {
    color: #fff;
    text-decoration: underline;
    text-transform: none;
    font-size: 0.7em;
}

/* Styles für das Logo */
.site-logo {
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

header .container h1 {
    display: inline;
    vertical-align: middle;
    font-size: 1em;
    margin: 0;
}

/* --- Spezifische Seiten Styles (FAQ, Roadmap, Community etc.) --- */
ul.download-list {
    list-style-type: disc;
    margin-left: 20px;
}

.toc-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

/* ... (Restliche FAQ, Roadmap, Community Styles hier einfügen) ... */

.toc-container h3 {
    margin-top: 0;
    color: #333;
}

.toc-container ul {
    list-style-type: none;
    padding: 0;
}

.toc-container ul li a {
    color: #0779e4;
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

/* FAQ Kacheln (Accordion) */
.faq-question,
.story-question {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover,
.active,
.story-question:hover {
    background-color: #ddd;
}


/* Pfeil-Icon für Expand/Collapse */
.faq-question::after,
.story-question::after {
    content: '\002B';
    /* Plus-Symbol */
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active::after {
    content: "\2212";
    /* Minus-Symbol, wenn aktiv */
}

/* Styles für das Logo */
.site-logo {
    height: 40px;
    /* Passen Sie die Höhe nach Bedarf an */
    vertical-align: middle;
    margin-right: 15px;
}

/* H1 anpassen, damit sie neben dem Logo bleibt */
header .container h1 {
    display: inline;
    vertical-align: middle;
}

/* Styles für die Roadmap-Zeitleiste */
.roadmap-timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

/* Die vertikale Linie der Zeitleiste */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Position der Linie */
    width: 3px;
    background: #0779e4;
    /* Hauptfarbe */
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    /* Platz für Punkt und Linie */
    margin-bottom: 40px;
}

/* Der Punkt auf der Zeitleiste */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 3px solid #0779e4;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.timeline-status-planned {
    color: orange;
}

.timeline-status-released {
    color: green;
}

.timeline-status-beta {
    color: blue;
}

/* Styles für Community Cards */
.community-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    margin-top: 0;
    color: #0779e4;
}

/* Main roadmap container: two-column layout */
#roadmap-container {
    display: grid;
    grid-template-columns: var(--timeline-width) 1fr;
    gap: 2px;
    /* nearly flush gap so headings/cards sit right next to the timeline */
    align-items: start;
    margin-top: 12px;
    padding-top: 6px;
}

/* Left column: timeline and labels */
.roadmap-timeline-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Right column: all sections stacked vertically */
.roadmap-content-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Section heading styles */
.roadmap-section-heading {
    font-size: 1.3em;
    font-weight: 600;
    color: #072a56;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.roadmap-section-heading:first-child {
    margin-top: 0;
}

/* Roadmap Card Styles */
.roadmap-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0;
    padding-left: 0;
}

/* Timeline container: positioned in the left column */
.timeline-container {
    position: relative;
    height: 100%;
    margin: 0;
    padding-left: 0;
    width: 100%;
    flex-shrink: 0;
}

/* Single, stronger timeline line (left side) */
.timeline-rail {
    position: relative;
    margin-top: 40px;
    /* space to align with the 'Geplant' heading height */
}

/* Single, stronger timeline line (left side) */
.timeline-line {
    position: absolute;
    left: 80px;
    /* moved closer to right for narrower column */
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, rgba(7, 121, 228, 0.95) 0%, rgba(7, 121, 228, 0.75) 60%, rgba(7, 121, 228, 0.55) 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(7, 121, 228, 0.08);
}

/* small circular markers that sit on the timeline where labels attach */
.timeline-marker {
    position: absolute;
    left: 74px;
    /* adjusted for narrower column */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 3px solid #0779e4;
    box-shadow: 0 2px 6px rgba(7, 121, 228, 0.12);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Quarter markers (no text) */
.timeline-quarter-marker {
    pointer-events: none;
}

/* Feature markers with date labels */
.timeline-feature-marker {
    left: auto;
    right: -64px;
    /* bring any (rare) text closer to tiles if present */
    width: auto;
    height: auto;
    border: none;
    background: none;
    box-shadow: none;
    font-size: 0.75em;
    color: #0779e4;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    padding: 0 4px;
}

.timeline-item-card {
    position: absolute;
    left: 64px;
    /* move cards a bit left inside the timeline column */
    transform: none;
    width: calc(var(--timeline-width) - 84px);
}

/* Planned section helpers */
.planned-section-wrapper {
    position: relative;
}

.planned-section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planned-card-abs {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    margin-bottom: 0;
}

.planned-fallback-list {
    display: none;
}


.timeline-labels {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.timeline-label {
    position: absolute;
    right: auto;
    left: 0;
    width: 80px;
    /* adjusted for narrower column */
    text-align: right;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.98);
    color: #0b3b66;
    font-size: 0.9em;
    font-weight: 700;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(11, 59, 102, 0.08);
    box-shadow: 0 4px 18px rgba(11, 59, 102, 0.08);
}

/* connector from label toward the timeline line */
.timeline-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, rgba(11, 59, 102, 0.06), rgba(11, 59, 102, 0.16));
    transform: translateY(-50%);
    border-radius: 2px;
}

.roadmap-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-left: 5px solid #0779e4;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.roadmap-card.roadmap-finished {
    border-left-color: #28a745;
    background: #f0fff4;
}

.roadmap-card.roadmap-planned {
    border-left-color: #ffc107;
    background: #fffbf0;
}

.roadmap-card.roadmap-backlog {
    border-left-color: #6c757d;
    background: #f8f9fa;
}

.roadmap-card.roadmap-idea {
    border-left-color: #17a2b8;
    background: #f0f8ff;
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.roadmap-header h4 {
    margin: 0;
    color: #333;
    flex: 1 1 auto;
    min-width: 0;
    /* allow truncation/wrapping inside flex */
    font-size: 1.2em;
    overflow-wrap: anywhere;
}

.roadmap-type {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
}

.roadmap-type.feature {
    background: #e3f2fd;
    color: #1976d2;
}

.roadmap-type.improvement {
    background: #f3e5f5;
    color: #7b1fa2;
}



/* Card Layout: Header, Footer, Details */
.card-header {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.card-expand-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0779e4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.card-expand-btn:hover {
    background: rgba(7, 121, 228, 0.1);
    color: #055ba6;
}

.card-expand-btn[aria-expanded="true"] {
    transform: rotate(180deg);
}

.card-title-row h4 {
    margin: 0;
    font-size: 1.05em;
    font-weight: 600;
    color: #072a56;
    flex: 0 0 auto;
}

.card-labels {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.card-labels .badge {
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 3px;
    background: #e8eef5;
    color: #0779e4;
    font-weight: 500;
    white-space: nowrap;
}

.card-votes-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-left: 12px;
}

.card-labels .badge.type-feature {
    background: #e3f2fd;
    color: #1976d2;
}

.card-labels .badge.type-improvement {
    background: #f3e5f5;
    color: #7b1fa2;
}

.card-labels .badge.type-bugfix {
    background: #ffebee;
    color: #c62828;
}

.card-labels .badge.location-app {
    background: #f0f8ff;
    color: #17a2b8;
}

.card-labels .badge.location-webpage {
    background: #fff8f0;
    color: #ff9800;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.votes-info {
    font-weight: 700;
    color: #0779e4;
    font-size: 0.95em;
}

.btn-vote {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 4px;
}

.btn-vote:hover:not(:disabled) {
    transform: scale(1.15);
    opacity: 0.8;
}

.btn-vote:active:not(:disabled) {
    transform: scale(0.95);
}

.btn-vote:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.btn-vote[data-voted="true"] {
    opacity: 0.5;
    cursor: default;
}

.btn-details {
    background: transparent;
    color: #0779e4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-details:hover {
    color: #055ba6;
}

.card-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 6px;
    max-height: 600px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 1;
}

.card-details[hidden] {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    margin-top: 0;
    border: none;
    overflow: hidden;
}

.detail-item {
    font-size: 0.9em;
    line-height: 1.5;
    color: #333;
}

.detail-item strong {
    display: block;
    color: #072a56;
    font-weight: 600;
    margin-bottom: 3px;
}

/* --- BASIS-STILE (Außerhalb der Media Queries) --- */
.menu-toggle {
    display: none;
}

.roadmap-type.bugfix {
    background: #ffebee;
    color: #c62828;
}

.roadmap-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Badges container (type + location) shown on the same line as the name */
.roadmap-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.roadmap-location-badge {
    display: inline-block;
    background: #e8f4ff;
    color: #055;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    border: 1px solid rgba(5, 86, 143, 0.06);
}

.roadmap-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.roadmap-location,
.roadmap-target {
    display: flex;
    align-items: center;
    gap: 5px;
}

.roadmap-votes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.votes-count {
    font-weight: bold;
    color: #0779e4;
    font-size: 0.95em;
}

.vote-button {
    background: #0779e4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.vote-button:hover {
    background: #0562b0;
    transform: scale(1.05);
}

.vote-button:active {
    transform: scale(0.98);
}

/* Expandierbare Details */
.roadmap-details-toggle {
    background: none;
    border: none;
    color: #0779e4;
    cursor: pointer;
    padding: 0;
    font-size: 0.9em;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-top: 10px;
}

.roadmap-details-toggle:hover {
    color: #0562b0;
}

.roadmap-details-toggle::after {
    content: ' ▼';
    transition: transform 0.3s ease;
    display: inline-block;
}

.roadmap-details-toggle.expanded::after {
    transform: rotate(-180deg);
}

.roadmap-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 15px;
    padding: 0 10px;
}

.roadmap-details.expanded {
    max-height: 500px;
    padding: 15px 10px;
}

.roadmap-detail-item {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.roadmap-detail-item:last-child {
    border-bottom: none;
}

.roadmap-detail-label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.roadmap-detail-value {
    color: #666;
    font-size: 0.9em;
    padding-left: 10px;
}

/* Controls row: details toggle + voting inline */
.card-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.controls-left {
    flex: 1 1 auto;
}

.controls-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.vote-button.small {
    padding: 6px 10px;
    font-size: 0.85em;
}

/* Make sure votes-count doesn't push layout */
.controls-right .votes-count {
    font-weight: bold;
    color: #0779e4;
    white-space: nowrap;
}

.story-question:hover,
.story-active {
    background-color: #ddd;
}

/* Optional: Pfeil-Icon wie bei FAQ */
.story-question::after {
    content: '\002B';
    /* Plus-Symbol */
    color: #777;
    font-weight: bold;
    margin-left: 5px;
}

.story-active::after {
    content: "\2212";
    /* Minus-Symbol, wenn aktiv */
}

.material-icons {
    vertical-align: middle;
    margin-right: 4px;
}

ol,
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

.explanation {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}


/* Hier folgt Ihr restlicher Code für .stacked-icon etc. */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    text-transform: none;
    /* Verhindert, dass CSS-Textumwandlungen das Icon zerstören */
}

/* Ihre restlichen .stacked-icon Definitionen bleiben wie sie sind */


/* Container erzwingen */
div.stacked-icon,
span.stacked-icon {
    position: relative !important;
    display: inline-flex !important;
    width: 1.5em !important;
    height: 1.5em !important;
    vertical-align: middle;
    margin-right: 0.75rem;
}

/* Hintergrund-Icon erzwingen */
.stacked-icon span.bg {
    position: absolute !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 2.25em !important;
    left: -0.15em !important;
    top: -0.15em !important;
    color: rgba(103, 80, 164, 0.7) !important;
    z-index: 1 !important;
}

/* Vordergrund-Icon erzwingen */
.stacked-icon span.fg {
    position: absolute !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 1.5em !important;
    left: 0.6em !important;
    top: 0.6em !important;
    color: #1C1B1F !important;
    z-index: 2 !important;
}

/* Container für die Vorteile */
.usp-grid {
    display: flex;
    flex-wrap: wrap;
    /* Erlaubt den Umbruch auf Mobilgeräten */
    gap: 20px;
    /* Abstand zwischen den Boxen */
    margin: 30px 0;
}

/* Die einzelnen Boxen */
.usp-item {
    flex: 1 1 300px;
    /* Wachsen, Schrumpfen, Basisbreite von 300px */
    background-color: #f9f9f9;
    /* Dezenter Hintergrund */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Leichter Schatten für Modernität */
}

/* Überschriften in den Boxen */
.usp-item h3 {
    margin-top: 0;
    color: #007bff;
    /* Beispiel-Farbe, an Ihr Design anpassen */
    font-size: 1.25rem;
}

/* Zentrierung für den Download-Bereich */
.cta-box {
    text-align: center;
    background: #eef6ff;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.qr-code {
    max-width: 150px;
    height: auto;
    margin-top: 15px;
    border: 5px solid white;
    border-radius: 10px;
}


/* Header Layout */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    height: 80px;
    /* Schön groß wie gewünscht */
    width: auto;
}

.header-qr {
    height: 80px;
    /* Symmetrisch zum Logo */
    width: auto;
}

.header-center h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* Navigation */
.main-nav {
    border-top: 1px solid #eee;
    background: #fff;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Mobile "Expandible" Logik */
.menu-toggle {
    display: none;
    /* Standardmäßig versteckt */
    background: none;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
}

:root {
    --primary-color: #5d3fbc;
    /* Beispiel: Ein tiefes Violett aus dem Logo */
    --accent-color: #ff9800;
    /* Beispiel: Ein Akzent-Orange für CTAs */
    --text-color: #333333;
    --background-light: #f4f7f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Modernere Schriftart */
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-header {
    background-color: #ffffff;
    /* Weißer Header für einen cleaneren Look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    border-top: none;
    /* Die Linie kann weg, der Schatten reicht */
    background-color: #fff;
}

.nav-links li a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

/* Der blaue Trennstrich unter dem Menü im Bild */
.header-divider {
    height: 4px;
    background-color: var(--primary-color);
    width: 100%;
    margin-top: -1px;
    /* Eventuell leicht überlappen lassen */
}


.main-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Weiße Karte um den Inhalt im Bild */
.welcome-section,
.why-us,
.download-area {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    /* Abstand zwischen den Sektionen */
}

h1,
h2,
h3 {
    color: var(--primary-color);
}

h1 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.cta-box {
    background: var(--background-light);
    border: 2px dashed var(--primary-color);
}

.cta-box a strong {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(var(--accent-color), 0.3);
    transition: transform 0.2s ease;
}

.cta-box a strong:hover {
    transform: translateY(-2px);
    /* Kleiner Hover-Effekt */
}

/* --- Globaler Reset & Basis-Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Farbpalette & Typografie (Neu definiert) --- */
:root {
    --primary-color: #5d3fbc;
    /* Violett aus dem Logo */
    --primary-dark: #072a56;
    /* Dunkles Blau für Texte */
    --accent-color: #ff9800;
    /* Helles Orange für CTAs/Highlights */
    --text-color: #233243;
    --background-light: #f4f7f9;

    /* Default Werte, bevor JS geladen hat */
    --header-height: 110px;
    /* Realistischere Höhe für fixed header */
    --footer-height: 40px;
    --timeline-width: 140px;
    --tile-width: 1fr;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-light);
    /* Sauberer Hintergrund */
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    overflow: hidden;
    padding: 0px 20px;
    /* Padding im Container reduzieren, da main-content padding hat */
}

header .container,
footer .container {
    margin: 0 auto;
    padding: 0px 20px;
}

/* --- Hauptinhalt (Main Content) Abstände & Stil --- */
.main-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 30, 50, 0.06);
    padding: 32px;
}

h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    margin-top: 25px;
}

h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    /* H3s in Akzentfarbe */
    margin: 18px 0 10px;
}

/* Slight spacing for section headings inside roadmap */
.roadmap-section+h3 {
    margin-top: 28px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    /* Dunkler Footer für guten Kontrast */
    color: #fff;
    padding: 10px 0;
    /* Mehr Padding für Lesbarkeit */
    z-index: 1000;
    text-align: center;
}

/* --- Anker-Scrollverhalten --- */
h2,
h3,
h4,
h5,
.faq-item,
.user-story-card {
    scroll-margin-top: var(--header-height);
}

/* --- Header/Footer Links und Logo --- */
header a {
    color: var(--primary-dark);
    /* Links im Header dunkel */
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    transition: color 0.3s;
}

header a:hover {
    color: var(--primary-color);
}

header ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

header li {
    padding: 0 15px;
    font-size: 0.9em;
}

footer a {
    color: #a0c3ff;
    /* Helleres Blau für Footer-Links */
    text-decoration: none;
    font-size: 0.8em;
}

/* Styles für das Logo */
.site-logo {
    height: 50px;
    /* Logo größer machen, wie im Bild gewünscht */
    vertical-align: middle;
    margin-right: 15px;
}

header .container h1 {
    display: inline;
    vertical-align: middle;
    font-size: 1.5em;
    /* Titel im Header größer */
    margin: 0;
    border-bottom: none;
    /* Kein Unterstrich im Header Titel */
    color: var(--primary-color);
}

/* --- NEUE Styles für Header Layout (Flexbox) & QR Code --- */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-center h1 {
    display: inline-block;
}

.header-qr {
    height: 50px;
    /* Passend zum Logo */
    width: auto;
}

/* Navigation */
.main-nav {
    border-top: 1px solid var(--background-light);
}


/* --- NEUE Styles für Use-Case Grid & CTA Box --- */
.usp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.usp-item {
    flex: 1 1 300px;
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

/* CTA Box am Ende der Seite */
.cta-box {
    text-align: center;
    background: #eef6ff;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    border: 2px dashed var(--primary-color);
}

/* Der WICHTIGSTE Link: Der Button zum App Store */
.cta-box a strong {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(var(--accent-color), 0.3);
    transition: transform 0.2s ease, background-color 0.3s;
}

.cta-box a strong:hover {
    transform: translateY(-2px);
    background-color: #e68900;
    /* Etwas dunkler beim Hover */
}

.qr-code {
    max-width: 150px;
    height: auto;
    margin-top: 15px;
}

/* --- Spezifische Seiten Styles (FAQ, Roadmap, Community etc.) --- */
ul.download-list {
    list-style-type: disc;
    margin-left: 20px;
}

.toc-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.toc-container h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.toc-container ul {
    list-style-type: none;
    padding: 0;
}

.toc-container ul li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

/* FAQ Kacheln (Accordion) */
.faq-question,
.story-question {
    background-color: #f1f1f1;
    color: var(--text-color);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover,
.active,
.story-question:hover {
    background-color: #ddd;
}


/* 1. AKKORDEON-FIX: Damit auch die Stories auf/zuklappen */
.faq-answer,
.story-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

/* Pfeil-Icon für Expand/Collapse */
.faq-question::after,
.story-question::after {
    content: '\002B';
    color: var(--primary-color);
    font-weight: bold;
    float: right;
    margin-left: 5px;
    font-size: 1.5em;
    /* Größeres Plus-Symbol */
}

.active::after {
    content: "\2212";
}

/* Styles für die Roadmap-Zeitleiste */
.roadmap-timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

/* Die vertikale Linie der Zeitleiste */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

/* Der Punkt auf der Zeitleiste */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.timeline-status-planned {
    color: var(--accent-color);
}

.timeline-status-released {
    color: green;
}

.timeline-status-beta {
    color: blue;
}

/* Styles für Community Cards */
.community-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    margin-top: 0;
    color: var(--primary-color);
}

/* Main roadmap container: two-column layout */
#roadmap-container {
    display: grid;
    grid-template-columns: var(--timeline-width) 1fr;
    gap: 2px;
    align-items: start;
    margin-top: 12px;
    padding-top: 6px;
}

/* Left column: timeline and labels */
.roadmap-timeline-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Right column: all sections stacked vertically */
.roadmap-content-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Section heading styles */
.roadmap-section-heading {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.roadmap-section-heading:first-child {
    margin-top: 0;
}

/* Roadmap Card Styles */
.roadmap-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0;
    padding-left: 0;
}

/* Timeline container: positioned in the left column */
.timeline-container {
    position: relative;
    height: 100%;
    margin: 0;
    padding-left: 0;
    width: 100%;
    flex-shrink: 0;
}

/* Single, stronger timeline line (left side) */
.timeline-rail {
    position: relative;
    margin-top: 40px;
}

/* Single, stronger timeline line (left side) */
.timeline-line {
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(93, 63, 188, 0.75) 60%, rgba(93, 63, 188, 0.55) 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(93, 63, 188, 0.08);
}

.method-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.method-header {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1a73e8;
}

.method-header .material-icons {
    margin-right: 10px;
}

.char-item {
    margin-bottom: 8px;
}

.label {
    font-weight: bold;
    color: #5f6368;
    display: inline-block;
    width: 150px;
}

.content {
    color: #202124;
}

/* --- BEREINIGTES LAYOUT FÜR 2 HOCHKANT-VIDEOS (2026 Standard) --- */

.welcome-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Container für beide Handys */
.dual-video-wrapper {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 300px;
    /* Verhindert das Verschwinden auf Mobile */
    justify-content: center;
}

/* Der einzelne Smartphone-Rahmen */
.smartphone-frame {
    flex: 1;
    max-width: 180px;
    /* Etwas schmaler, damit zwei nebeneinander passen */
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 18px;
    border: 6px solid #333;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Sorgt dafür, dass das Iframe den Rahmen füllt */
.smartphone-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Text-Bereich daneben */
.content-wrapper {
    flex: 1.2;
    min-width: 300px;
}


/* ===== HAMBURGER BUTTON ===== */

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: 12px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.open .hamburger {
    background: transparent;
}

.menu-toggle.open .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   1. BASIS-STYLES (Desktop / Global)
   ============================================================ */
/* 3. STORY VIDEO FIX (Zusammengefasst aus den vorherigen Schritten) */
.story-flex-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.story-text {
    flex: 1;
}

/* Container für die Video-Spalte (einzeln oder Gruppe) */
.story-video-group, 
.story-video {
    flex: 0 0 320px;       /* Feste Breite der Video-Spalte auf Desktop */
    width: 320px;
    display: flex;
    flex-direction: column; /* Stapelt Videos innerhalb der Gruppe untereinander */
    gap: 20px;              /* Abstand zwischen zwei Videos */
}

/* Video-Einbettung im Smartphone-Hochformat */
.video-responsive {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;   /* Smartphone-Format */
}

.video-responsive iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: none;
}


/* Wenn aktiv (durch JS), dann Höhe zulassen */
.active + .faq-answer,
.active + .story-content {
    max-height: none; /* Oder ein sehr hoher Wert wie 2000px */
    padding: 18px;
}


/* ============================================================
   2. MEDIA QUERIES (Responsive)
   ============================================================ */

/* --- TABLET & SMARTPHONE (bis 880px) --- */
@media (max-width: 880px) {
    
    /* Roadmap Anpassungen */
    #roadmap-container { grid-template-columns: 1fr; gap: 18px; }
    .roadmap-timeline-column, .timeline-rail, .planned-section, .planned-card-abs {
        position: static;
        display: block;
        height: auto;
    }
    .timeline-label {
        position: relative;
        text-align: left;
        margin-bottom: 10px;
        transform: none;
        left: auto;
    }
    .timeline-line { left: 8px; }
    .planned-fallback-list { display: block; }

    /* Story-Layout Umkehrung: Video nach oben, Text nach unten */
    .story-flex-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .story-video-group, 
    .story-video {
        width: 100%;
        max-width: 280px;   /* Begrenzt Breite mobil, damit Hochformat-Videos nicht den Screen sprengen */
        margin: 0 auto;     /* Zentriert die Videos */
        flex: 0 0 auto;
    }
}

/* --- SPEZIFISCH MOBILE (bis 768px) --- */
@media (max-width: 768px) {
    /* Navigation */
    .qr-hidden-mobile { display: none; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .nav-links.active { display: flex; }

    /* Welcome / Startseite Video Layout */
    .welcome-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dual-video-wrapper {
        order: -1; 
        width: 100%;
        gap: 10px;
        justify-content: center;
        display: flex;
    }

    .video-wrapper {
        width: 100%;
        max-width: 350px;
    }

    .smartphone-frame {
        max-width: 150px;
        border-width: 4px;
    }
}













































