/* =====================================================
   BASIS
===================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Arial, sans-serif;
    background: #ffffff;
    color: #1f2933;
    line-height: 1.6;
}

/* ================= HEADER ================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 80px;
    width: auto;
}

.header-text h1 {
    margin: 0;
    font-size: 26px;
    color: #0a2a43;
}

.header-text span {
    font-size: 14px;
    color: #1f6fa5;
    font-weight: bold;
}

/* ================= NAV ================= */

.main-nav {
    border-top: 1px solid #e5e7eb;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #0a2a43;
    font-weight: 600;
}

.main-nav a:hover {
    color: #1f6fa5;
}

/* ================= COOKIE BANNER ================= */

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-box {
    background: #ffffff;
    max-width: 520px;
    width: 90%;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    font-size: 14px;
}

.cookie-box h3 {
    margin-top: 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cookie-actions button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #0a2a43;
    color: #fff;
}

.header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    height: 80px;
    width: auto;
}

.nav {
    border-bottom: 1px solid #e5e7eb;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    padding: 10px 20px;
    margin: 0;
}

/* =====================================================
   COOKIE BANNER (FINAL)
===================================================== */

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;              /* wird per JS auf flex gesetzt */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-box {
    background: #ffffff;
    max-width: 520px;
    width: 90%;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    font-size: 14px;
}

.cookie-box h3 {
    margin-top: 0;
    font-size: 18px;
    color: #0a2a43;
}

.cookie-box label {
    display: block;
    margin: 8px 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.cookie-actions button {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #0a2a43;
    color: #ffffff;
    font-weight: 600;
}
/* ===============================
   ENTNAHMEMELDUNG – FORMULAR
================================ */

.entnahme-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #0a2a43;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f6fa5;
    box-shadow: 0 0 0 2px rgba(31,111,165,0.15);
}

.form-submit {
    margin-top: 25px;
    padding: 14px 24px;
    background: #0a2a43;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.form-submit:hover {
    background: #08304f;
}

.entnahme-form button:hover {
    background: #08304f;
}
/* Hauptseite */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

main h1 {
    margin-bottom: 20px;
}

main h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

main p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ===============================
   FOOTER FIX – ZENTRIERT
================================ */

.footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
    padding: 25px 0;
    background: #ffffff;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.footer-content p {
    margin: 6px 0;
}

.footer-content a {
    color: #0a2a43;
    text-decoration: none;
    font-weight: 500;
}

.footer-content a:hover {
    color: #1f6fa5;
}

/* ===============================
   GASTKARTEN
================================ */

.gastkarten-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.gastkarten-box h2 {
    text-align: center;
    margin-bottom: 30px;
}

.gastkarten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.gastkarten-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.gastkarten-card h3 {
    margin-bottom: 15px;
    color: #0a2a43;
}

.gastkarten-card p {
    margin: 6px 0;
}

.gastkarten-info {
    text-align: center;
    line-height: 1.6;
}

.gastkarten-info a {
    color: #1f6fa5;
    font-weight: 600;
    text-decoration: none;
}

.gastkarten-info a:hover {
    text-decoration: underline;
}

/* ===============================
   FISKADO DIREKTLINK
================================ */

.gastkarten-fiskado {
    margin-top: 30px;
    text-align: center;
}

.fiskado-button {
    display: inline-block;
    margin: 15px 0;
    padding: 14px 24px;
    background: #1f6fa5;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.fiskado-button:hover {
    background: #0a2a43;
}

.fiskado-hinweis {
    font-size: 15px;
    margin-bottom: 10px;
}

.fiskado-datenschutz {
    font-size: 13px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================
   GOOGLE MAPS PLATZHALTER
================================ */

.maps-placeholder {
    margin-top: 30px;
    padding: 25px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
}

.maps-placeholder p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.maps-button {
    margin-top: 10px;
    padding: 12px 20px;
    background: #1f6fa5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.maps-button:hover {
    background: #0a2a43;
}

/* ===============================
   UNSERE GEWÄSSER
================================ */

.gewaesser-einleitung,
.gewaesser-hinweis {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.gewaesser-liste {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.gewaesser-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

.gewaesser-card h2 {
    margin-top: 0;
    color: #0a2a43;
}

.gewaesser-card ul {
    padding-left: 18px;
}

.gewaesser-card li {
    margin-bottom: 6px;
}

/* ===============================
   GOOGLE MAPS PLATZHALTER
================================ */

.gewaesser-map {
    margin-top: 30px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
}

.maps-button {
    margin-top: 10px;
    padding: 12px 20px;
    background: #1f6fa5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.maps-button:hover {
    background: #0a2a43;
}

/* ===============================
   MITGLIEDSANTRAG
================================ */

.form-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.mitglied-form {
    margin-top: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #0a2a43;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1f6fa5;
    box-shadow: 0 0 0 2px rgba(31,111,165,0.15);
}

.form-checkbox {
    margin-top: 20px;
    font-size: 14px;
}

.form-submit {
    margin-top: 25px;
    padding: 14px 24px;
    background: #0a2a43;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.form-submit:hover {
    background: #08304f;
}

.form-group small {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}


/* ===============================
   SPAMSCHUTZ (HONEYPOT)
================================ */

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}
