:root {
    --primary: #2563eb;
    --accent: #8b2323;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    margin: 0;
    padding-bottom: 85px;
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
}

.mobile-header {
    background: var(--white);
    padding: 12px;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header img { height: 35px; }

.sensor-ticker {
    background: var(--dark);
    color: var(--white);
    padding: 8px;
    font-size: 0.75rem;
    overflow: hidden;
    white-space: nowrap;
}

.sensor-ticker-inner {
    display: inline-block;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.content-wrap { padding: 15px; }

.mobile-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.mobile-card h2 { margin-top: 0; color: var(--primary); font-size: 1.4rem; }

.alert-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #ef4444;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    padding: 10px 0 20px 0; /* Mehr Padding unten für moderne iPhones */
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    z-index: 1001;
}

.bottom-nav a {
    text-decoration: none;
    color: #94a3b8;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-nav a.active { color: var(--primary); }
.bottom-nav i { font-size: 1.5rem; margin-bottom: 4px; }
.bottom-nav span { font-size: 0.65rem; font-weight: 600; }

.btn-mobile {
    display: block;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
}
.footer-bottom {
    padding: 30px 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #64748b;
}
.footer-bottom p { 
	margin: 5px 0; 
	line-height: 1.4; 
}
footer a { 
	color: var(--primary); 
	text-decoration: none; 
	font-weight: 800; 
}