/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    font-family: 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 entfernt */
.logo {
    display: none;
}

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

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

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

/* Nur das oberste UL als Flex-Leiste */
.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 {
    padding: 20px;
}

.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;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
}

.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 aktiv */
.dropdown.active .dropdown-menu {
    display: block;
}

/* FIX: Kontaktformular wieder untereinander */
.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;        /* maximale Breite */
    width: 100%;             /* passt sich kleineren Displays an */
    margin: 40px auto;       /* zentriert */
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;  /* verhindert Überbreite */
}

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

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

.kontaktBox label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

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

.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-wrapper {
    padding: 20px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    color: #fff;
    background: rgba(0, 40, 80, 0.7);
    border-radius: 10px;
}





/* Kopfzeile im Extreme-Block */
.forecast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Datum rechts oben */
.forecast-date {
    font-size: 14px;
    color: #666;
}

/* Inhalt */
.forecast-content {
    margin-top: 10px;
}

/* Jede Zeile */
.forecast-row {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
}

/* Label links */
.forecast-row .label {
    font-weight: bold;
    color: #333;
}

/* Wert */
.forecast-row .value {
    color: #000;
}

/* Uhrzeit */
.forecast-row .time {
    color: #666;
    font-size: 14px;
}

/* Extreme-Block optisch wie Forecast-Block */
.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;
}

/* Überschrift im Extreme-Block */
.forecast-block h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

/* Warnbox wie Forecast */
.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;
}

/* Footer im Extreme-Block */
.forecast-footer {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}

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

/* Forecast + Extreme identisch */
.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;
}

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

/* Warnbox */
.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;
}

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