/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, Arial, sans-serif;
    background: #f5f5f5;
}

/* Header */
#header {
    background: #ffffff;
    padding: 20px;
    border-bottom: 2px solid #1e73be;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: none;
}

.welcome {
    font-size: 22px;
    font-weight: bold;
    color: #1e73be;
}

.date {
    font-size: 16px;
    color: #555;
}

/* Navigation */
.main-nav {
    background: #1e73be;
    margin-top: 15px;
    position: relative;
    z-index: 10;
}

.main-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.main-nav a:hover {
    background: #155a8f;
}

/* Footer */
#footer {
    background: #1e73be;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Inhaltsbereich */
#content, .content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Kacheln */
.kachel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.kachel {
    flex: 1;
    min-width: 260px;
    background: #e5e5e5;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.12);
    border: 1px solid #d5d5d5;
}

.kachel h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.trendwert {
    margin-bottom: 6px;
    font-size: 15px;
}

/* Radar */
.radar-tabs {
    margin-bottom: 10px;
}

.radar-tabs button {
    padding: 8px 14px;
    margin-right: 6px;
    border: none;
    background: #1e73be;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.radar-tabs button:hover {
    background: #155a8f;
}

.zoomable {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.zoomable:active {
    transform: scale(2);
    cursor: zoom-out;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e73be;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 0 0 6px 6px;
    min-width: 160px;
    z-index: 9999;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-menu li a:hover {
    background: #155a8f;
}

.dropdown.active .dropdown-menu {
    display: block;
}

/* Kontaktformular */
.contact-wrapper form {
    display: block !important;
}

.contact-wrapper label,
.contact-wrapper input,
.contact-wrapper textarea,
.contact-wrapper button,
.contact-wrapper .captcha-task {
    display: block !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
}

.contact-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    box-sizing: border-box;
}

.kontaktBox {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    border: 3px solid #0066cc;
}

.kontaktBox h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

.kontaktBox input,
.kontaktBox textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.kontaktBox button {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.kontaktBox button:hover {
    background: #004c99;
}

.hp {
    display: none;
}

/* Forecast / Extreme */
.forecast-block {
    background: rgba(0, 40, 80, 0.7);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.5;
}

.forecast-block h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.forecast-warning {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 200, 0, 0.15);
    border-left: 4px solid #ffcc00;
    color: #ffdd66;
    font-size: 14px;
    line-height: 1.4;
}

.forecast-footer {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}

/* Ticker */
.ticker-box {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 18s linear infinite;
    font-weight: 600;
    color: #1a3d7c;
    font-size: 16px;
}

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

/* Responsive */
iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px solid #ddd;
}

h2 {
    font-size: 28px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    h2 {
        font-size: 22px;
    }

    iframe {
        aspect-ratio: 3 / 4;
    }
}

/* Wetterlage */
.wl-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.wl-box {
    background: #FFFFFF;
    border: 1px solid #C8D6F0;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.wl-box h1 {
    margin-top: 0;
    color: #0044CC;
    font-size: 22px;
}

.wl-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #000000;
    font-size: 16px;
}

.wl-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wl-table th {
    background: linear-gradient(180deg, #6FA8FF, #5A96F5);
    color: #FFFFFF;
    padding: 12px;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.wl-table td {
    background: #FFFFFF;
    padding: 12px;
    border-bottom: 1px solid #E0E6F5;
    font-size: 15px;
}

.wl-table tr:last-child td {
    border-bottom: none;
}

.wl-table td.label {
    color: #0044CC;
    font-weight: 600;
    width: 40%;
}

.wl-table tr:hover td {
    background: #F5F9FF;
    transition: background 0.2s ease-in-out;
}

.wl-hinweis {
    font-size: 12px;
    color: #444444;
}