/* ============================
   Variablen Definition
   ============================ */
:root {
    --bg-colour: #848586;
    --text-colour: #A7A9AB;
    --theme-colour: #7D0B0B;
    --hover-colour: #9e1212;
    --body-colour: #f5f0eb;
    --body-text: #2c2c2c;
    --card-bg: #ffffff;
    --border-subtle: rgba(125, 11, 11, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.2s;
}

/* ============================
   Global Styles
   ============================ */
* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--hover-colour);
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--body-colour);
    color: var(--body-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--theme-colour);
    font-weight: 700;
}

p {
    color: var(--body-text);
}

button {
    width: 130px;
    height: 44px;
    background-color: var(--theme-colour);
    color: #fff;
    box-shadow: none;
    border: 2px solid var(--theme-colour);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

button:hover {
    background-color: var(--hover-colour);
    border-color: var(--hover-colour);
    box-shadow: 0 2px 8px rgba(125, 11, 11, 0.35);
}

button:active {
    background-color: #5c0808;
    border-color: #5c0808;
    box-shadow: none;
}

ul {
    padding-left: 0;
    margin: 0;
}

/* ============================
   Header & Navbar
   ============================ */
.site-header {
    background-color: var(--theme-colour);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 120px;
}

/* Logo + Vereinsname */
.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    height: 92px;
    width: auto;
    transition: opacity var(--transition-speed) ease;
}

.header-brand:hover .header-logo {
    opacity: 0.85;
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-brand-name {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-brand-sub {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Desktop-Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #fff;
    font-weight: 700;
}

.nav-link.active::after {
    transform: scaleX(1);
    background-color: rgba(255, 255, 255, 0.7);
}

/* Mobile-Menü */
.mobile-menu {
    background-color: var(--theme-colour);
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu .nav-link {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    transition: background-color var(--transition-speed) ease,
                color var(--transition-speed) ease,
                padding-left var(--transition-speed) ease;
}

.mobile-menu .nav-link::after {
    display: none;
}

.mobile-menu .nav-link:hover {
    background-color: var(--hover-colour);
    color: #fff;
    padding-left: 2rem;
}

.mobile-menu .nav-link.active {
    color: #fff;
    font-weight: 700;
    border-left: 3px solid rgba(255, 255, 255, 0.6);
}

/* Mobile: Vereinsname ausblenden bei sehr kleinen Screens */
@media (max-width: 400px) {
    .header-brand-text {
        display: none;
    }

    .header-inner {
        padding: 0 1rem;
    }
}

/* ============================
   Toggler-Button
   ============================ */
.toggler-button {
    width: 46px;
    height: 38px;
    background-color: transparent;
    border: 2px solid rgba(167, 169, 171, 0.6);
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color var(--transition-speed) ease;
}

.toggler-button:hover {
    border-color: #fff;
}

.toggler-button::before,
.toggler-button::after,
.toggler-button span {
    content: "";
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: var(--text-colour);
    border-radius: 2px;
    transition: background-color var(--transition-speed) ease;
}

.toggler-button:hover::before,
.toggler-button:hover::after,
.toggler-button:hover span {
    background-color: #fff;
}

.toggler-button::before { top: 7px; }
.toggler-button::after  { bottom: 7px; }
.toggler-button span    { top: 50%; transform: translateY(-50%); }

.toggler-button:focus,
.toggler-button:active {
    outline: none;
    box-shadow: none;
}

/* ============================
   Inhalts-Karte (wiederverwendbar)
   ============================ */
.content-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin: 1.5rem 0;
}

/* ============================
   Home
   ============================ */
.home {
    padding: 2rem 1rem;
}

.home-hero {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 0;
}

.home-hero-body {
    display: flex;
    flex-wrap: wrap;
}

.welcome-foto {
    flex: 0 0 50%;
    max-width: 50%;
}

.welcome-foto img {
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.welcome-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 2.5rem 2.5rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-banner {
    background-color: var(--theme-colour);
    padding: 1.4rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.home-hero-banner h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
}

.home-hero-banner-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 575.98px) {
    .home-hero-banner h2 {
        font-size: 1.1rem;
        white-space: normal;
    }

    .home-hero-banner-line {
        display: none;
    }
}

.welcome-badge {
    display: inline-block;
    background-color: var(--theme-colour);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.welcome-text h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.welcome-text h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--theme-colour);
    border-radius: 2px;
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
    opacity: 0.45;
}

.welcome-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0.8rem;
}

.welcome-text .mt-4 {
    margin-top: 1.5rem !important;
}

@media (max-width: 575.98px) {
    .welcome-foto,
    .welcome-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .welcome-foto img {
        min-height: 220px;
    }

    .welcome-text {
        padding: 1.8rem 1.5rem !important;
    }
}

/* ============================
   Home – Sektionen (Termine, Bilder)
   ============================ */
.home-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0 0;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 0.6rem;
}

.home-section-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.home-section-link {
    font-size: 0.9rem;
    color: var(--theme-colour);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.home-section-link:hover {
    color: var(--hover-colour);
}

/* Termin-Karten */
.termin-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.termin-card:last-of-type {
    border-bottom: none;
}

.termin-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-colour);
    color: #fff;
    border-radius: 8px;
    min-width: 52px;
    padding: 6px 8px;
    line-height: 1.1;
    flex-shrink: 0;
}

.termin-day {
    font-size: 1.5rem;
    font-weight: 700;
}

.termin-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.termin-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.termin-card-info strong {
    color: var(--theme-colour);
    font-size: 1rem;
}

.termin-card-info span {
    color: #666;
    font-size: 0.9rem;
}

.home-empty-msg {
    color: #888;
    font-style: italic;
    margin: 0.5rem 0;
}

/* Einzelne Galerie */
.gallery-wrapper {
    padding: 2rem 5% 4rem;
}

/* Galerie-Vorschau auf Startseite */
.gallery-preview-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #ddd;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-preview-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.gallery-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-preview-card:hover img {
    transform: scale(1.05);
}

.gallery-preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(125, 11, 11, 0.82));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem 0.8rem 0.7rem;
    text-align: center;
}

/* Bild-Platzhalter */
.img-placeholder {
    background-color: #e8e2da;
    border: 2px dashed rgba(125, 11, 11, 0.25);
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

/* ============================
   Termine
   ============================ */
.heading {
    margin-left: 5%;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.termine-wrapper {
    padding: 0 5% 3rem;
}

table {
    width: 100%;
    margin-bottom: 2%;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}

.table-responsive {
    padding: 0 5% 3rem;
    border-radius: 10px;
}

th {
    background-color: var(--theme-colour);
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: none;
}

td {
    color: var(--body-text);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(125, 11, 11, 0.1);
    border-left: none;
    border-right: none;
    transition: color var(--transition-speed) ease;
}

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

tbody tr {
    transition: background-color var(--transition-speed) ease;
}

tbody tr:nth-child(even) {
    background-color: rgba(125, 11, 11, 0.04);
}

tbody tr:hover {
    background-color: rgba(125, 11, 11, 0.08);
}

tbody tr:hover td {
    color: var(--theme-colour);
    font-weight: 500;
}

/* ============================
   Galerien (Kategorien)
   ============================ */
.custom_container {
    padding: 2rem 5% 4rem;
}

.custom_container > h1 {
    margin-bottom: 1.5rem;
}

.category_list {
    list-style: none;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category_name {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0;
}

.category_name a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--theme-colour);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.75rem;
    color: var(--theme-colour);
    font-weight: 600;
    transition: background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease,
                transform var(--transition-speed) ease;
}

.category_name a::before {
    content: "›";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--theme-colour);
    transition: transform var(--transition-speed) ease;
}

.category_name a:hover {
    background-color: var(--theme-colour);
    color: #fff;
    border-color: #5c0808;
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.category_name a:hover::before {
    color: #fff;
    transform: translateX(3px);
}

/* ============================
   Jahresüberblick (bilder2024.htm)
   ============================ */
.year-header {
    margin-bottom: 1.8rem;
}

.year-header h1 {
    margin: 0.3rem 0 0;
    font-size: 2rem;
}

.year-back-link {
    font-size: 0.9rem;
    color: var(--theme-colour);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.year-back-link:hover {
    color: var(--hover-colour);
}

.year-gallery-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: inherit;
}

.year-gallery-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.year-gallery-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #ddd;
    flex-shrink: 0;
}

.year-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.year-gallery-card:hover .year-gallery-img img {
    transform: scale(1.06);
}

.year-gallery-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-style: italic;
    font-size: 0.9rem;
    background-color: #e8e2da;
}

.year-gallery-info {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.year-gallery-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--theme-colour);
    line-height: 1.3;
}

.year-gallery-info p {
    font-size: 0.88rem;
    color: #666;
    margin: 0 0 0.8rem;
    flex: 1;
    line-height: 1.5;
}

.year-gallery-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-colour);
    transition: color var(--transition-speed) ease;
    margin-top: auto;
}

.year-gallery-card:hover .year-gallery-btn {
    color: var(--hover-colour);
}

.year-empty {
    text-align: center;
    padding: 3rem 0;
    color: #888;
    font-style: italic;
    font-size: 1.1rem;
}

/* ============================
   Über Uns
   ============================ */
.about-section {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 2rem 2rem;
    margin-bottom: 1.5rem;
}

.about-section-header {
    display: flex;
    align-items: baseline;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
}

.about-section-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.about-intro {
    color: #555;
    margin-bottom: 1.8rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Chronik Timeline */
.chronicle {
    position: relative;
    padding-left: 2rem;
}

.chronicle::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--theme-colour), rgba(125, 11, 11, 0.1));
    border-radius: 2px;
}

.chronicle-entry {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.chronicle-entry:last-child {
    margin-bottom: 0;
}

.chronicle-year {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background-color: var(--theme-colour);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(125, 11, 11, 0.3);
}

.chronicle-content {
    padding-top: 0.6rem;
    flex: 1;
}

.chronicle-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-colour);
    margin: 0 0 0.4rem;
}

.chronicle-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* Ausschuss-Foto */
.committee-photo-wrap {
    margin-bottom: 2rem;
}

.committee-photo-placeholder {
    background-color: #e8e2da;
    border: 2px dashed rgba(125, 11, 11, 0.25);
    border-radius: 10px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #aaa;
    font-style: italic;
    font-size: 0.95rem;
}

/* Ausschuss-Grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.committee-card {
    background-color: var(--body-colour);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.committee-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.committee-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #d5cec6;
    border: 3px solid rgba(125, 11, 11, 0.2);
}

.committee-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.committee-info strong {
    color: var(--theme-colour);
    font-size: 0.95rem;
}

.committee-info span {
    color: #777;
    font-size: 0.82rem;
}

/* ============================
   Cookie-Banner
   ============================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #bbb;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #e8a0a0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.7rem;
    flex-shrink: 0;
}

.cookie-btn {
    height: auto;
    width: auto;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn-accept {
    background-color: var(--theme-colour);
    color: #fff;
    border-color: var(--theme-colour);
}

.cookie-btn-accept:hover {
    background-color: var(--hover-colour);
    border-color: var(--hover-colour);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #ccc;
    border-color: #555;
}

.cookie-btn-decline:hover {
    background-color: #333;
    color: #fff;
    border-color: #777;
}

@media (max-width: 575.98px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem;
        gap: 1rem;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ============================
   Impressum
   ============================ */
.impressum-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.impressum-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-colour);
    margin: 0 0 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.impressum-block p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 0.6rem;
}

.impressum-block p:last-child {
    margin-bottom: 0;
}

.impressum-block a {
    color: var(--theme-colour);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-speed) ease;
}

.impressum-block a:hover {
    color: var(--hover-colour);
}

.impressum-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--body-colour);
    border-left: 4px solid var(--theme-colour);
    border-radius: 8px;
    padding: 1rem 1.4rem;
}

.impressum-contact-row {
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.impressum-label {
    min-width: 80px;
    font-weight: 600;
    color: var(--theme-colour);
    flex-shrink: 0;
}

.datenschutz-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.datenschutz-list li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.datenschutz-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--theme-colour);
    font-weight: 700;
}

/* ============================
   Kontakt
   ============================ */
.kontakt-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.kontakt-mail,
.kontakt-link {
    color: var(--theme-colour);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-speed) ease;
}

.kontakt-mail:hover,
.kontakt-link:hover {
    color: var(--hover-colour);
}

.kontakt-cards {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.kontakt-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: var(--body-colour);
    border-left: 4px solid var(--theme-colour);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    width: fit-content;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--theme-colour);
    font-size: 1rem;
}

.kontakt-item a {
    color: var(--theme-colour);
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.kontakt-item a:hover {
    color: var(--hover-colour);
}

/* ============================
   Footer
   ============================ */
.site-footer {
    background-color: var(--theme-colour);
    color: var(--text-colour);
    padding: 16px 20px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-colour);
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.footer-buttons a {
    transition: color var(--transition-speed) ease;
}

.footer-buttons a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(167, 169, 171, 0.4);
    transition: background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                color var(--transition-speed) ease;
}

.footer-socials a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.Instagram {
    padding-right: 0;
}

/* Mobile Footer */
@media (max-width: 575.98px) {
    .site-footer .row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-content,
    .footer-buttons,
    .footer-socials {
        justify-content: center;
        width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }
}
