﻿:root {
    /* === Grundflächen === */
    --background-primary: rgb(245, 241, 234);
    --background-secondary: rgb(178, 197, 180); /* Panels / Body-Hintergrund */
    --background-light: rgb(239, 232, 212); /* weiche Akzentflächen */
    /* === UI-Elemente (Cards, Inputs, Navbars) === */
    --background-ui-elements: rgb(178, 197, 180); /* sanftes Mint – Card-Grundton */
    --background-hover: rgb(167, 185, 169); /* kräftigeres Mint für Hover */
    /* === Akzentfarben === */
    --accent-primary: rgb(85, 140, 115); /* sattes, edles Mintgrün */
    --accent-secondary: rgb(130, 175, 145); /* helleres Mint für Linien */
    --accent-tertiary: rgb(240, 252, 247); /* sehr helles Mintgrün */
    /* === Textfarben === */
    --text-primary: rgb(35, 33, 29); /* neutral-dunkel für perfekten Kontrast */
    --text-secondary: rgb(75, 68, 60);
    --text-on-accent: rgb(70, 120, 95);
    /* === Ränder / Schatten === */
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.12);
    --delete-color: rgb(255, 0, 0);
    --background-card: rgba(61, 40, 13, 0.7);
    --accent-card: rgba(255, 255, 255, 0.05);
    --accent-purple: #96E396;
    --accent-dark: #3F523F;
    --accent-purple-light: rgba(127, 90, 240, 0,3);
    --accent-pink: #FF00C8;
    --accent-font-color: #3F523F;
    --neon-blue: #00FFFF;
    --text-white: #F5F5F5;
    --text-muted: #9CA3AF;
    --border-dark: #2C344B;
    --head-font-size: 1.25rem;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    justify-content: start;
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    max-width: 100%; /* Gesamte Layoutbreite */
    margin: 0 auto; /* zentriert das Ganze */
    padding: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 2000px;
    margin: 2rem auto;
    padding: 0 1rem;
    justify-content: start;
}

    /* untere große Karte über alle Spalten */
    .info-grid .full-width {
        grid-column: 1 / -1;
    }

    .info-grid .info-card {
        background: linear-gradient(180deg, rgb(240, 252, 247) 0%, rgb(255, 255, 252) 100%);
        border-radius: 1rem;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
        padding: 1.25rem;
        color: var(--text-primary);
    }

.info-card-a {
    background: var(--background-ui-elements);
    border: 1px solid var(--accent-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 1.25rem;
    color: var(--text-primary);
    min-height: 220px;
    transition: all 0.25s ease;
}


.info-card-fullsize {
    grid-column: 1 / -1;
}


.simple-card {
    background: linear-gradient(180deg, var(--background-ui-elements) 0%, rgb(232, 245, 240) 100% );
    color: var(--text-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%; /* passt sich automatisch an */
}

.simple-card-shadow {
    box-shadow: 0 6px 12px var(--shadow-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.simple-card-head {
    font-size: var(--head-font-size);
    font-weight: 600;
    color: var(--text-on-accent);
    margin-bottom: 0.5rem;
}

.simple-card-textblock {
    border-bottom: 1px solid var(--accent-purple);
    margin-bottom: 0.5rem;
    
}

.simple-card-body { /* matter Kontrast */
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
}

.card-text-line-label {
    color: var(--text-primary);
}

.card-text-line-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.card-text-line-underline {
    border-bottom: 1px solid var(--accent-primary);
    margin-bottom: 0.5rem;
}

.selectable-card {
}

    .selectable-card:hover {
        background: var(--background-hover);
        box-shadow: 0 0 1rem var(--accent-primary), 0 0 0.2rem var(--background-seccondary);
        cursor: pointer;
    }

.single-text-card {
    background: var(--background-ui-elements); /* dunkle Basis */
    color: var(--text-on-accent);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    min-height: 15rem;
    width: 15rem;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.variable-size-card {
    background: var(--background-card); /* dunkle Basis */
    color: var(--text-white);
}

.list-view {
    background: var(--background-card); /* dunkle Basis */
    color: var(--text-white);
    padding: 1rem;
    border: 1px solid var(--border-dark);
    border-radius: 0.5rem;
    overflow-y: auto;
    height: 500px;
}

.list-view-title {
    font-size: var(--head-font-size);
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}



.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
}

.section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    
}
.section-seperated {
    border-bottom: 1px solid var(--border-dark);
}

.section-title {
    font-size: var(--head-font-size);
    font-weight: 700;
    color: var(--accent-font-color);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-purple);
    padding-left: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.list-element {
    color: white;
    padding 3rem;
    border: dashed 1px var(--accent-card)
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
}

    .list-element:hover {
        background: var(--background-hover);
        box-shadow: 0 0 1rem var(--accent-primary), 0 0 0.2rem var(--background-seccondary);
        cursor: pointer;
    }

.list-element-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 1rem var(--accent-purple);
    width: 90%;
    max-width: 500px;
    color: var(--text-white);
    position: relative;
}

.modal-header {
    font-size: var(--head-font-size);
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-purple);
    padding-bottom: 0.5rem;
}

.modal-body {
    padding-top: 1rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}