:root {
    --bg: #0f172a;
    --card: #1e293b;
    --accent: #38bdf8;
    --text: #f1f5f9;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #334155;
    background: #1e293b;
}

nav .links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 1.5rem;
}

.container {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Die Basis-Karte (für Startseite und Tools gleich) */
.service-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: var(--text);
    border: 1px solid #334155;
    transition: 0.3s;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* Hover nur für Links auf der Startseite */
a.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: #25334a;
}

.service-card h3 {
    margin: 0 0 1rem 0;
    color: var(--accent);
}

/* Tool-Helfer (für Passgen, Check, Impressum) */
.tool-container {
    max-width: 650px;
    margin: 0 auto;
    text-align: left; /* Text in Tools besser linksbündig */
}

.display-area {
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.input-style {
    background: #0f172a;
    border: 1px solid #334155;
    color: var(--accent);
    padding: 10px;
    border-radius: 6px;
    outline: none;
}

.input-style:focus { border-color: var(--accent); }

/* Buttons & Slider */
.btn-primary {
    width: 100%;
    background: var(--accent);
    color: #0f172a;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
}

input[type=range] { -webkit-appearance: none; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; background: #334155; border-radius: 3px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 18px; width: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; margin-top: -6px; box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }

footer { padding: 2rem; text-align: center; border-top: 1px solid #334155; font-size: 0.85rem; color: #94a3b8; }
