:root {
    --accent: #97ce00;
    --muted: #a8b2c5;
    --card-bg: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    --radius: 12px;
    --input-bg: rgba(255,255,255,0.02);
    --input-border: rgba(255,255,255,0.06);
    --text: #e6eef8;
}
html, body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: linear-gradient(180deg, #0e1f3f 0%, #26354e 100%);
    color: #e6eef8;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 110px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Header-Leiste oben */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    /* background: rgb(110, 129, 114); */
    background: linear-gradient(-90deg, rgba(31, 55, 94, 0.301) 20%, rgb(255, 255, 255) 100%);
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-image: linear-gradient(to right, #ffffff 0%, #729b00 70%) 1;
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    backdrop-filter: blur(20px);
}
/* Header inner alignment and logo */
.header-inner { 
    display:flex; 
    align-items:center; 
    gap:12px; 
}
.header-inner-right { 
    margin-left: auto;
    display:flex; 
    align-items:center; 
    gap:12px;
}
.site-logo { 
    height:70px; 
    object-fit:contain; 
    border-radius:6px; 
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: #0C1629;
}
.grid { 
    display:grid; 
    gap:18px; 
    align-items:start;
    grid-template:
        "a a" auto
        "b c" auto / 360px 1fr;
}
@media (max-width:900px) {
    .grid { 
        grid-template-columns: 1fr; 
        grid-template-areas:
            "a"
            "b"
            "c";
    }
    .file-name { max-width:200px; }
}
.card { 
    /* background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.05));  */
    border-radius: var(--radius); 
    padding:16px; 
    box-sizing: border-box; 
    background: rgba(145, 145, 145, 0.096);
    box-shadow: 0 6px 24px rgba(2,6,23,0.6); 
    border: 1px solid rgba(255,255,255,0.03); 
}

/* Rechte Seite: hellere Result-Panels */
.grid > div:last-child .card {
    background: rgba(0, 0, 0, 0.041);
    border-color: rgba(255, 255, 255, 0.103);
}

label { 
    display:block; 
    font-size:13px; 
    color:var(--muted); 
    margin-bottom:6px; 
}
input[type="number"], input[type="file"], select { 
    width:100%; 
    padding:10px 12px; 
    border-radius:8px; 
    border:1px solid rgba(255,255,255,0.04); 
    background:transparent; 
    color:inherit; 
    margin-bottom:12px; 
    box-sizing: border-box; 
}
.btn { 
    background: linear-gradient(90deg,var(--accent), #30ce00); 
    color:#021023; 
    padding:10px 14px; 
    border-radius:10px; 
    border:none; 
    font-weight:600; 
    cursor:pointer; 
}
.muted { 
    color:var(--muted); 
    font-size:13px; 
}
.result-row { 
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
    gap:10px; 
    margin-bottom:8px;
}
.big { 
    font-size:18px; 
    font-weight:600; 
    color:#cfefff; 
}
.chart-wrap { 
    height:360px; 
}
.quotebox p { 
    margin:6px 0; 
    color:var(--muted); 
    font-size:14px; 
}
.footer { 
    margin-top:14px; 
    font-size:13px; 
    color:var(--text); 
}
.file-input-wrapper { 
    display:flex; 
    gap:8px; 
    align-items:center; 
}
.file-input-label {
    display:inline-block;
    padding:10px 14px;
    border-radius:10px;
    background: white;
    color:#021023;
    font-weight:600;
    cursor:pointer;
    border:none;
    text-decoration:none;
    white-space:nowrap;
    box-shadow: 0 6px 18px rgba(2,6,23,0.35);
}
input[type="file"].visually-hidden { 
    position:absolute; 
    left:-9999px; 
    width:1px; height:1px; 
    opacity:0; 
    pointer-events:none; 
}
.file-name { 
    font-size:13px; 
    color:var(--muted); 
    max-width:320px; 
    overflow:hidden; 
    text-overflow:ellipsis;
    white-space:nowrap; 
}
h1 { 
    margin: 0 0 8px 0; 
    font-size: 28px; 
}
.back-link { 
    display: inline-block; 
    margin-bottom: 16px; 
    color: var(--accent); 
    text-decoration: none; 
    font-size: 14px; 
}
.back-link:hover { text-decoration: underline; }
h2 { font-size: 18px; 
    margin-top: 0; 
    margin-bottom: 12px; 
    color: var(--text); 
}
p, li { 
    line-height: 1.6; 
    color: #c5d0dd; 
    margin: 8px 0; 
}
ul { padding-left: 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* form styles */

/* form card */
.contact-card { background: var(--card-bg); padding: 20px; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(2,6,23,0.6); border:1px solid rgba(255,255,255,0.03); color: var(--text); }

/* layout */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width:720px){ .form-grid { grid-template-columns: 1fr; } }

/* labels & controls */
.form-row { display:flex; flex-direction:column; gap:6px; margin-bottom:8px; }
.form-row label { font-size:13px; color: var(--muted); }
.form-input, .form-textarea {
    width:100%;
    padding:10px 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text);
    border-radius: 10px;
    outline: none;
    transition: box-shadow .12s, border-color .12s, transform .06s;
    font-size:14px;
    box-sizing: border-box;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-input:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0,217,255,0.06), 0 1px 0 rgba(255,255,255,0.02) inset;
    transform: translateY(-1px);
}

.form-textarea { min-height:140px; resize:vertical; }

/* helper text / status */
.form-status { font-size:13px; color:var(--muted); margin-left:8px; }

/* buttons (matches existing .cc-btn / theme) */
.form-actions { display:flex; gap:10px; align-items:center; margin-top:8px; flex-wrap:wrap; }
.btn-primary {
    padding:10px 14px;
    background: linear-gradient(90deg,var(--accent), #30ce00);
    color:#021023;
    border-radius:10px;
    font-weight:700;
    border:none;
    cursor:pointer;
    box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}
.btn-secondary {
    padding:9px 12px;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius:10px;
    cursor:pointer;
}

/* small accessibility / focus */
.btn-primary:focus, .btn-secondary:focus { outline: 3px solid rgba(0,217,255,0.12); outline-offset: 2px; }

footer {
    height: 40px; 
    text-align: center; 
    margin-top: 32px; 
    padding-top: 16px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    font-size: 13px; 
    color: var(--muted);
}