body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
}

header {
    background: #1f5c3a;
    color: white;
    text-align: center;
    padding: 75px;
}

header img {
    max-width: 100px;
    display: block;
    margin: 0 auto 10px;
}

nav {
    background: #14402a;
    text-align: center;
    padding: 12px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #f0b429;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

h1 {
    color: rgb(255, 255, 255);
}

h1 a {
    color: inherit;
    text-decoration: none;
}

h2,
h3 {
    color: #1f5c3a;
}

footer {
    background: #1f5c3a;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.85em;
    margin-top: 40px;
}

footer a {
    color: #f0b429;
}

#disclaimer-banner {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 0.6em 1.2em;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #1f5c3a;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background-color: #17462c;
}

.button:active {
    background-color: #0f3220;
}

a.button {
    color: #fff;
}

/* Bild mittig, wie auf den übrigen Seiten der Stadt */
.bildmitte {
    text-align: center;
    margin: 1.5rem 0;
}

.bildmitte img {
    max-width: 75%;
    height: auto;
}

/* Kennzahlen und Verzeichnisse (Stadtportrait, Stadtgebiet) */
.infotabelle {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.infotabelle caption {
    text-align: left;
    font-weight: bold;
    color: #1f5c3a;
    padding-bottom: 0.5rem;
}

.infotabelle th,
.infotabelle td {
    border-bottom: 1px solid #e2e2e2;
    padding: 0.55rem 0.6rem;
    text-align: left;
    vertical-align: top;
}

.infotabelle thead th {
    background: #f1f5f2;
    border-bottom: 2px solid #1f5c3a;
    color: #1f5c3a;
}

.infotabelle tbody tr:nth-child(even) {
    background: #fafbfa;
}

.infotabelle .nr {
    width: 2.5rem;
    font-weight: bold;
    color: #1f5c3a;
}

/* Links im Inhalt */
.container a {
    color: #1f5c3a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(31, 92, 58, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease;
}

.container a:hover {
    color: #14402a;
    text-decoration-color: #f0b429;
    background-color: rgba(240, 180, 41, 0.2);
}

/* Externe Links mit kleinem Pfeil kennzeichnen */
.container a[target="_blank"]::after {
    content: "\2197";
    font-size: 0.8em;
    margin-left: 0.15em;
    vertical-align: 0.1em;
}

footer a {
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

footer a:hover {
    color: #fff;
}

.container a:focus-visible,
footer a:focus-visible,
nav a:focus-visible {
    outline: 2px solid #f0b429;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Hinweiskasten für Hinweise zur Übung */
.hinweis {
    border-left: 5px solid #f0b429;
    background: #fdf7e7;
    padding: 0.9rem 1.1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.hinweis p {
    margin: 0.4rem 0;
}
