/* =========================================================
   Duschpinkler.de
   Basis-Styles / NGO- / Instituts-Look
   ========================================================= */

/* ===== Reset / Grundregeln ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f5f7fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0f4c81;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #102a43;
}

h1 {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.25rem;
}

blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #0f4c81;
    background-color: #f0f4f8;
    font-style: italic;
    color: #243b53;
}

/* ===== Layout-Helfer ===== */
.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.narrow {
    width: min(760px, 100%);
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ===== Header ===== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #d9e2ec;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 84px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    color: #102a43;
    text-decoration: none;
}

.logo:hover,
.logo:focus {
    text-decoration: none;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.82rem;
    color: #627d98;
    margin-top: 0.15rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-block;
    padding: 0.45rem 0.1rem;
    color: #243b53;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #0f4c81;
    border-bottom-color: #9fb3c8;
}

.main-nav a.active {
    color: #0f4c81;
    border-bottom-color: #0f4c81;
}

/* ===== Hero ===== */
.hero {
    padding: 5rem 0 4rem;
    background:
        linear-gradient(to bottom, #ffffff 0%, #f5f7fa 100%);
    border-bottom: 1px solid #d9e2ec;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #486581;
}

.hero-text {
    font-size: 1.08rem;
    color: #334e68;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

/* ===== Buttons ===== */
.button {
    display: inline-block;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.button-primary {
    background-color: #0f4c81;
    color: #ffffff;
}

.button-primary:hover,
.button-primary:focus {
    background-color: #0c3d68;
}

.button-secondary {
    background-color: #d9e2ec;
    color: #102a43;
}

.button-secondary:hover,
.button-secondary:focus {
    background-color: #bcccdc;
}

/* ===== Statistik-Karten ===== */
.hero-panel {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.stat-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: #627d98;
}

.stat-value {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    color: #102a43;
}

.stat-unit {
    display: block;
    margin-top: 0.35rem;
    color: #486581;
    font-size: 0.95rem;
}

/* ===== Inhaltsbereiche ===== */
.intro,
.teasers,
.campaign-note,
.subpage {
    padding: 4rem 0;
}

.teaser-box {
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.teaser-box h3 {
    margin-bottom: 0.75rem;
}

.text-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 700;
}

/* ===== Formular-Basis ===== */
form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: #243b53;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2933;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.form-note {
    font-size: 0.92rem;
    color: #627d98;
}

/* ===== Tabellen / Faktenboxen ===== */
.table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e6edf3;
    text-align: left;
}

th {
    background-color: #f0f4f8;
    color: #102a43;
    font-weight: 700;
}

.fact-box,
.notice-box {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.fact-box {
    background-color: #f0f7ff;
    border: 1px solid #cfe0f2;
}

.notice-box {
    background-color: #fff8e8;
    border: 1px solid #f2deb1;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #102a43;
    color: #d9e2ec;
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-brand p {
    margin: 0;
    color: #bcccdc;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.footer-nav a {
    color: #d9e2ec;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
    text-decoration: underline;
}

/* ===== Utility-Klassen ===== */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.note-list {
    display: inline-block;
    text-align: left;
    margin: 0.35rem auto 0.8rem;
    padding-left: 1.4rem;
    list-style-type: square;
}

.note-list li {
    margin-bottom: 0.25rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 1rem 0;
    }

    .main-nav ul {
        gap: 0.75rem 1rem;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.98rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .intro,
    .teasers,
    .campaign-note,
    .subpage {
        padding: 3rem 0;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* ===== FAQ Accordion ===== */
.faq-section {
    padding: 2rem 0 4rem;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 0;
    background-color: #ffffff;
    color: #102a43;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #f8fbfd;
    outline: none;
}

.faq-question:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    line-height: 1;
    color: #486581;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem;
    color: #334e68;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ===== Banner ===== */
.banner {
    padding: 1rem 0 3rem;
}

.banner-image {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    background-color: #ffffff;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Supporter-Counter ===== */
.supporter-counter {
    margin: 2rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background-color: #f0f7ff;
    border: 1px solid #cfe0f2;
    border-radius: 10px;
    text-align: center;
    color: #243b53;
}

.supporter-counter p {
    margin: 0;
    font-size: 1.1rem;
}

.supporter-counter strong {
    color: #102a43;
}

/* ===== Mitmachen / Formular ===== */
.level-gold {
    color: #8f6f10;
}

.level-silver {
    color: #787878;
}

.level-bronze {
    color: #8c5a37;
}

.participation-form {
    margin-top: 2rem;
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    color: #334e68;
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.form-actions {
    margin-top: 1.5rem;
}

/* ===== Kontakt ===== */
.contact-banner {
    padding: 1rem 0 0;
}

.contact-form {
    margin-top: 2rem;
}

.form-preview-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #cc0000;
    line-height: 1.6;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    line-height: 1.6;
}

.form-message-success {
    background-color: #eef8f0;
    border: 1px solid #b7ddbf;
    color: #1f5130;
}

.form-message-error {
    background-color: #fff3f3;
    border: 1px solid #e1b4b4;
    color: #8a1f1f;
}