﻿/* New start! */
:root {
    --bg-1: white;
    --bg-2: lightgrey;
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.06);
    --accent: #2ecc40;
    --muted: grey;
    --glass: black;
    --shadow: 0 10px 30px rgba(2,6,23,0.6);
    --radius: 16px;
    --gap: 28px;
}

/* ensure the central content grows so footer is pushed to the bottom */
main {
    padding: 50px;
    flex: 1 1 auto; /* wächst zwischen Header und Footer */
    overflow: auto; /* scrollt, wenn Inhalt größer als der Platz ist */
}

/* fallback: falls Seite .columns statt main verwendet */
.page > .columns {
    flex: 1 1 auto;
    overflow: auto;
}

body {
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(46,204,64,0.06), transparent 8%), linear-gradient(180deg, var(--bg-1), var(--bg-2));
    color: dimgray;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
}


.page {

    position: fixed;
    top: 10px;
    right: 10px;
    bottom: 10px; 
    left: 10px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    overflow: hidden; /* Scroll nur in .columns */
    -webkit-overflow-scrolling: touch;
}


header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}

    header p {
        margin: 0;
        color: var(--muted);
    }

h1 {
        margin: 0;
        font-size: 1.3rem;
        letter-spacing: -0.02em;
    }

h2{
    font-size: 1.2rem;      /* Schriftgröße vereinheitlichen */
    margin: 2px 0;           /* Weniger Abstand zwischen den Zeilen */
    line-height: 1.4;
}
h3{
        font-size: 0.95rem;      /* Schriftgröße vereinheitlichen */
        margin: 2px 0;           /* Weniger Abstand zwischen den Zeilen */
        line-height: 1.4;
    }

h4, header p {
        font-size: 0.85rem;      /* Schriftgröße vereinheitlichen */
        margin: 2px 0;           /* Weniger Abstand zwischen den Zeilen */
        line-height: 1.4;
    }

.footer {
    padding: 14px 28px;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}




.btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

    .btn.primary {
        background: linear-gradient(180deg,var(--accent), #20b03a);
        color: #04210a;
        border: none;
        font-weight: 700;
    }


a {
    color: rgb(70, 70, 70);
}

    a:visited {
        color: rgb(70, 70, 70);
    }

    a:hover {
        color: rgb(70, 70, 70);
    }

/* Row under the title */
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

    .intro .lead {
        color: var(--muted);
        font-size: 0.98rem;
    }

.logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(46,204,64,0.18), rgba(46,204,64,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent);
    font-size: 22px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 6px 18px rgba(2,6,23,0.5);
}


.columns {
    display: flex;
    gap: var(--gap);
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    flex: 1 1 auto;
    overflow: auto;
}

/* Entferne die Viewport-Fixhöhe der Spalten */
.column {
    height: auto;
    min-height: 0; /* wichtig für Flex-Children, damit overflow korrekt funktioniert */
    box-sizing: border-box;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}










:root {
    --green: #00FF00;
    --white: #FFFFFF;
    --black: #000000;
    --hellblau: #dce7f2;
    --LinienUndStriche: black;
}



.left-column {
    width: 15vw;
    min-width: 220px;
    background: none;
    border-right: 2px solid var(--LinienUndStriche);
}

.middle-column {
    width: 60vw;
    min-width: 320px;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Damit bleibt oben Platz für den Titel */

}

.right-column {
    width: 25vw;
    min-width: 220px;
    background: none;
    border-left: 2px solid var(--LinienUndStriche);
}

.rubrik {
    width: 100%;
    margin-bottom: 32px;
    background: var(--muted);
    
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
}

.rubrik-label {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.rubrik-label:hover, .rubrik-label.active {
    background: white;
    color: #181c1f;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.rubrik-title {
    color: var(--LinienUndStriche);
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.canvas-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 32px;
}

#mainCanvas {
    display: block;
    width: 100%;
    max-width: 1200px; /* maximale Breite */
    height: auto;
    aspect-ratio: 1200 / 650; /* sorgt für korrektes Seitenverhältnis */
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: var(--muted);
    
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    margin-right: 8px;
    margin-right: 8px;
}

#plotCanvas {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.85;
    background: #fff;
    border-radius: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: none;
    border: none;
    width: 300px;
    height: 120px;
    max-width: 100%;
}

.canvas-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px auto;
    box-sizing: border-box;
}

/* Basis: flexible Breite mit Mindestbreite, damit bei ausreichend Platz mehrere nebeneinander stehen */
.boxesBelowCanvas {
    background: var(--muted);
    border-radius: 8px;
    padding: 5px 15px;
    color: var(--LinienUndStriche);
    flex: 1 1 100px; /* wächst und schrumpft; Basisbreite 220px */
    min-width: 100px;
    max-width: 360px;
    margin-bottom: 0;
}




