:root {
    --bg: #000000;
    --card-bg: #1c1c1e;
    --accent: #30d158; /* Apple-Grün für Erfolg/Dünger */
    --accent-alt: #0a84ff; /* Blau für Wasser */
    --warning: #ffd60a; /* Gelb für Licht */
    --text: #ffffff;
    --sub: #8e8e93;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 80px; /* Platz für die Navigation unten */
}

.header {
    padding: 40px 20px 20px;
    background: linear-gradient(180deg, #1c1c1e 0%, #000000 100%);
    text-align: center;
}

h1 { margin: 0; font-size: 1.8rem; letter-spacing: -0.5px; }
p { color: var(--sub); margin: 5px 0 0; }

.card {
    background: var(--card-bg);
    margin: 15px 20px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

h3 { margin-top: 0; font-size: 1.1rem; color: var(--sub); text-transform: uppercase; letter-spacing: 1px; }

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

input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: #2c2c2e;
    border: 1px solid #3a3a3c;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

/* Die großen Aktions-Buttons (Wasser/Dünger) */
form button {
    transition: transform 0.1s ease;
}

form button:active {
    transform: scale(1.2); /* Kleiner "Pop"-Effekt beim Klicken */
}

/* Navigation unten */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #38383a;
    z-index: 100;
}

.nav a {
    text-decoration: none;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--sub);
}

.nav a small { font-size: 0.6rem; margin-top: 2px; text-transform: uppercase; }

/* Erfolgsmeldung Animation */
#alert {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
