/* ============================================================================== 
KRAMPUSVEREIN BRAZ - KOMPLETTE STYLE.CSS
============================================================================== */

/* ============================================================================== 1. GRUNDEINSTELLUNGEN ============================================================================== */
* { box-sizing: border-box; }

html, body { margin:0; padding:0; }

body.site-body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    min-height: 100vh;
    position: relative;
    background: #0d0d0d;
}

a { text-decoration: none; }

/* ============================================================================== 2. HINTERGRUNDBILD / OVERLAY ============================================================================== */
.page-bg {
    position: fixed;
    inset: 0;
    background-color: #111;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.78;
    z-index: 0;
}

.page-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(10,10,10,0.10), rgba(10,10,10,0.18));
    z-index: 1;
}

.site-header, .page-wrap, .footer { position: relative; z-index: 2; }

/* ============================================================================== 3. HEADER / LOGO / MENÜ ============================================================================== */
.site-header {
    position: sticky;
    top:0;
    z-index: 1000;
    background: rgba(18,18,18,0.9);
    border-bottom: 3px solid #b52a1d;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-grow: 1;
}

.brand-logo img {
    height: 130px;
    filter: drop-shadow(0 0 10px rgba(255,120,0,0.6));
}


.brand-text { display: flex; flex-direction: column; }
/* ============================================================= */
/* Krampusverein Braz - auffälliger Header-Text */
.brand-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffb74d; /* Grundfarbe Feuergelb */
    font-family: 'Cinzel Decorative', 'Gothic', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow:
        0 0 2px #ffcc80,
        0 0 5px #ffb74d,
        0 0 8px #ff8a65,
        0 0 12px #ff5722,
        0 0 20px #d84315;
    animation: fireFlicker 1s infinite alternate;
}

@keyframes fireFlicker {
    0% {
        text-shadow:
        0 0 2px #ffcc80,
        0 0 5px #ffb74d,
        0 0 8px #ff8a65,
        0 0 12px #ff5722,
        0 0 20px #d84315;
    }
    50% {
        text-shadow:
        0 0 3px #ffd180,
        0 0 6px #ffb74d,
        0 0 10px #ff7043,
        0 0 15px #ff5722,
        0 0 25px #e64a19;
    }
    100% {
        text-shadow:
        0 0 2px #ffcc80,
        0 0 5px #ffb74d,
        0 0 8px #ff8a65,
        0 0 12px #ff5722,
        0 0 20px #d84315;
    }
}
.brand-subtitle { color:#e0e0e0; font-size:1.05rem; }

.social-top {
    margin-left:auto;
    display:flex;
    gap:12px;
    align-items:center;
}

.social-top a { display:flex; align-items:center; justify-content:center; }
.social-icon-img { width:38px; height:38px; transition: transform 0.2s ease; }
.social-icon-img:hover { transform: scale(1.08); }

.menu-toggle {
    display: none;
    background:#b52a1d;
    color:#fff;
    border:0;
    border-radius:10px;
    font-size:1.3rem;
    padding:8px 12px;
    cursor:pointer;
}

.nav-links {
    max-width:1200px;
    margin:0 auto;
    padding:0 18px 18px 18px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
} 

.nav-links a {
    color:#fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    padding:10px 15px;
    border-radius:999px;
    font-size:0.96rem;
    transition:0.2s ease;
}

.nav-links a:hover { background:#b52a1d; border-color:#b52a1d; }
.nav-links a.active {
    background:#b52a1d !important;
    border-color:#b52a1d !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(181,42,29,0.28);
}

/* ============================================================================== 4. ALLGEMEINE INHALTSBEREICHE ============================================================================== */
.page-wrap { max-width:1200px; margin:0 auto; padding:34px 18px 40px 18px; }

.content-card, .content-card-light {
    background: rgba(255,255,255,0.92);
    border-radius:24px;
    box-shadow:0 20px 40px rgba(0,0,0,0.22);
    overflow:hidden;
    margin-bottom:24px;
}

.inner-page { padding:28px; }
.page-title { margin-top:0; margin-bottom:20px; font-size:1.9rem; color:#111; }
.text-content p { color:#333; line-height:1.8; margin:0 0 14px 0; }
.simple-list { list-style:none; margin:0; padding:0; }
.simple-list li { padding:12px 0; border-bottom:1px solid #ececec; color:#333; }

/* ============================================================================== 5. STARTSEITE ============================================================================== */
.hero-free { margin-bottom:30px; }
.hero-text-top { max-width:860px; margin:0 auto 28px auto; text-align:center; }
.hero-text-overlay {
    background: rgba(255,255,255,0.78);
    border-radius:26px;
    padding:28px 30px;
    box-shadow:0 16px 34px rgba(0,0,0,0.18);
}
.hero-text h1 { margin:0 0 14px 0; font-size:2.5rem; line-height:1.15; color:#111; }
.hero-text p { margin:0 0 24px 0; color:#444; line-height:1.7; font-size:1.08rem; }

.hero-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-main, .btn-alt { display:inline-block; padding:12px 18px; border-radius:999px; font-size:1rem; transition:0.2s ease; }
.btn-main { background:#b52a1d; color:#fff; }
.btn-main:hover { background:#d43a2a; }
.btn-alt { background: rgba(255,255,255,0.82); color:#222; border:1px solid #d8d8d8; }
.btn-alt:hover { background:#fff; }

.hero-image-center { width:100%; max-width:1180px; margin:0 auto; text-align:center; }
.hero-slide { display:none; width:100%; }
.hero-image-free .hero-slide img, .hero-slide img {
    display:block;
    width:100%;
    height:620px;
    object-fit:contain;
    background:transparent;
    border-radius:0;
    box-shadow:none;
}
.hero-placeholder {
    height:620px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background: rgba(34,34,34,0.7);
    font-size:1.15rem;
    border-radius:18px;
}
.hero-dots { text-align:center; padding:18px 10px 6px 10px; }
.hero-dot { display:inline-block; width:12px; height:12px; margin:0 5px; border-radius:50%; background: rgba(255,255,255,0.55); }
.hero-dot.active { background:#b52a1d; }

/* ============================================================================== */
/* VEREINSBILDER SLIDER */
/* ============================================================================== */
.verein-slider-wrap {
    width: 100%;
    max-width: 900px; /* max. Breite des Vereins-Sliders */
    margin: 24px auto; /* zentrieren */
    overflow: hidden;
}

.verein-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.verein-slide {
    display: none; /* außer aktivem Slide */
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.verein-slide img {
    width: 100%;
    max-width: 100%;
    height: auto; /* proportional skalieren */
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* aktive Dots */
.verein-dots {
    text-align: center;
    margin-top: 12px;
}

.verein-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
}

.verein-dot.active {
    background: #b52a1d;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .verein-slider-wrap {
        max-width: 90%;
    }
}

@media (max-width: 760px) {
    .verein-slider-wrap {
        max-width: 100%;
    }
}

/* ============================================================================== */
/* BILDERGALERIE - ORDNERVERZEICHNIS / CHIPS */
/* ============================================================================== */

.media-folder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: flex-start; /* linksbündig */
}
/* ------------------------------------------------------------------------------ */
/* Breadcrumb / aktueller Ordnerpfad */
/* ------------------------------------------------------------------------------ */
.gallery-breadcrumb {
    margin: 12px 0 24px 0;
    font-size: 0.95rem;
    color: #333;
}

.gallery-breadcrumb a {
    color: #b52a1d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.gallery-breadcrumb a:hover {
    color: #d43a2a;
}

.folder-chip {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #b52a1d;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.folder-chip:hover {
    background: #d43a2a;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

/* Gitter für Bilder */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

/* Vorschaubilder */
.gallery-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    object-fit: contain;
}

.gallery-lightbox.show {
    display: flex;
}

.gallery-close {
    position: absolute;
    top: 100px;   /* weiter nach unten */
    right: 24px;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 0 12px;
    font-weight: bold;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* Responsive Anpassungen */
@media (max-width: 980px) {
    .gallery-thumb { height: 150px; }
}

@media (max-width: 760px) {
    .gallery-thumb { height: 120px; }
    .folder-chip { font-size: 0.9rem; padding: 8px 14px; }
}

/* ============================================================================== */
/* VIDEOGALERIE */
/* ============================================================================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 24px;
    margin-top: 20px;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    overflow: hidden;
    text-align: center;
}

.video-thumb {
    position: relative;
    cursor: pointer;
}

.video-thumb video {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 50px;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    pointer-events: none;
}

.video-title {
    padding: 10px;
    font-size: 0.95rem;
    color: #333;
}

/* Lightbox */

.video-lightbox {

    display: none;

    position: fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background: rgba(0,0,0,0.95);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.video-lightbox.show{
    display:flex;
}

.video-lightbox video{

    max-width: 90%;
    max-height: 90%;

    border-radius: 12px;
}

/* Schließen Button */

.video-close {

    position: fixed;

    top: 110px;
    right: 30px;

    font-size: 42px;

    color: #fff;

    cursor: pointer;

    z-index: 10000;
}

/* Mobile */

@media (max-width:760px){

.video-thumb video{
height:140px;
}

}


/* ============================================================================== 6. AKTUELLES / EVENTS ============================================================================== */
/* ============================================================================== 6. AKTUELLES / EVENTS - NEUE VERSION ============================================================================== */
.section-head {
    padding: 24px 28px 0 28px;
}
.section-head h2 {
    margin: 0;
    color: #111;
    font-size: 1.55rem;
}

.news-list {
    padding: 20px 28px 28px 28px;
}

.news-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-items li {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #ececec;
    padding: 14px 0;
}

.news-date {
    min-width: 110px;
    color: #b52a1d;
    font-weight: bold;
}

.news-text {
    flex: 1;
    color: #333;
    line-height: 1.5;
}

/* Event-Karten */
.event-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #ebebeb;
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 32px;
}

.event-layout-mit-bild {
    display: flex;
    flex-direction: column; /* Bilder unter Text */
    gap: 16px;
}

.event-layout-ohne-bild {
    display: block;
}

.event-content {
    min-width: 0;
}

.event-beschreibung {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 16px;
}

.event-termin-box {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #b52a1d, #d43a2a);
    color: #fff;
    box-shadow: 0 10px 22px rgba(181, 42, 29, 0.22);
    max-width: 160px;
}

.event-termin-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.92;
}

.event-datum {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.2;
}

.event-uhrzeit {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

/* Vorschaubild unter Text */
.event-poster-link {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
}

.event-poster-link img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-poster-link img:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

/* Popup / Overlay */
.bild-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.bild-popup-inhalt {
    position: relative;
    text-align: center;
}

.bild-popup-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    object-fit: contain;
}

.bild-popup-schliessen {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

/* Responsive Anpassungen */
@media (min-width: 760px) {
    .event-layout-mit-bild {
        flex-direction: row; /* Bild rechts neben Text auf PC */
        align-items: flex-start;
        gap: 24px;
    }

    .event-content {
        flex: 1;
    }

    .event-poster-link {
        max-width: 220px;
        margin: 0;
    }
}

@media (max-width: 759px) {
    .event-card {
        padding: 20px;
    }

    .event-beschreibung {
        font-size: 1.2rem;
    }

    .event-poster-link {
        max-width: 100%;
    }
/* Lightbox Popup */
.bild-popup {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
    transition: opacity 0.3s ease;
}

.bild-popup.show {
    display: flex;
}

.bild-popup-inhalt {
    position: relative;
    text-align: center;
}

.bild-popup-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bild-popup-schliessen {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}
	
}
/* ============================================================================== 9. MITGLIEDERANSICHT ============================================================================== */
/* ====================== MITGLIEDER-SEITE FINAL - GROSSE BILDER ====================== */

/* Container für Mitgliedergruppen */
.mitglieder-block {
    margin-bottom: 50px;
}

.mitglieder-title {
    text-align: center;
    font-size: 2rem;
    color: #b52a1d;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid für Mitgliederkarten */
.mitglieder-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* Desktop: 2 Karten nebeneinander */
    gap: 36px;
    justify-items: center;
}

/* Mitgliederkarte */
.mitglied-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 480px; /* größere Karten für breitere Bilder */
}

/* Hover-Effekt */
.mitglied-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Bildwrapper */
.mitglied-bild-wrap {
    width: 100%;
    height: 460px; /* deutlich höher */
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #f7f7f7, #eaeaea);
}

/* Mitgliederbild */
.mitglied-bild-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mitglied-bild-wrap img:hover {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Name und Funktion */
.mitglied-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
    color: #111; /* Schwarz für alle Mitglieder inkl. Vorstand */
}

.mitglied-funktion {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 12px;
    color: #b52a1d; /* Rot für Funktion */
}

/* Fade-Up Animation */
.mitglied-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .mitglieder-grid {
        gap: 28px;
    }
    .mitglied-card { max-width: 440px; }
    .mitglied-bild-wrap { height: 420px; }
}

@media (max-width: 980px) {
    .mitglieder-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
    .mitglied-bild-wrap { height: 380px; } 
}

@media (max-width: 760px) {
    .mitglieder-grid {
        grid-template-columns: 1fr !important; /* Mobile: 1 Karte pro Reihe */
        gap: 20px;
    }
    .mitglied-bild-wrap { height: 320px; } /* Mobil etwas kleiner */
    .mitglied-name { font-size: 1.3rem; }
    .mitglied-funktion { font-size: 1rem; }
}

/* ============================================================================== 11. FOOTER ============================================================================== */
.footer { background: rgba(18,18,18,0.92); color:#e0e0e0; padding:24px 18px; border-top:3px solid #b52a1d; }
.footer-inner { max-width:1200px; margin:0 auto; text-align:center; line-height:1.7; }
.footer a { color:#ff8a4d; }

/* ============================================================================== 12. RESPONSIVE ANPASSUNGEN ============================================================================== */
@media (max-width:980px) {
    .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .video-grid, .card-grid { grid-template-columns:1fr; }
    .hero-image-center { max-width:100%; }
    .hero-image-free .hero-slide img, .hero-slide img, .hero-placeholder { height:470px; }
    .mitglieder-grid { grid-template-columns:repeat(2,1fr); gap:18px; }
    .mitglied-bild-wrap { height:220px; }
}

@media (max-width:760px) {
    .menu-toggle { display:block; }
    .social-top { display:none; }
    .nav-links { display:none; flex-direction:column; padding:0 18px 18px 18px; }
    .nav-links.nav-open { display:flex; }
    .brand img { width:72px; height:72px; }
    .brand-title { font-size:1.35rem; }
    .brand-subtitle { font-size:0.85rem; }
    .hero-text-overlay { padding:20px 18px; }
    .hero-text h1 { font-size:1.8rem; }
    .hero-image-free .hero-slide img, .hero-slide img, .hero-placeholder { height:260px; }
    .mitglieder-grid { grid-template-columns:1fr; }
    .mitglied-bild-wrap { max-width:200px; height:200px; }
    .mitglied-card.vorstand .mitglied-name { font-size:1.2rem; }
    .mitglied-card.vorstand .mitglied-beschreibung { font-size:0.95rem; }
    .mitglied-card .mitglied-name { font-size:1.05rem; }
    .mitglied-card .mitglied-beschreibung { font-size:0.9rem; }
}

/* ============================================================================== */
/* STARTSEITE - EVENT PLAKAT HIGHLIGHT */
/* ============================================================================== */
/* ========================= EVENT-BILD STARTSEITE - KORRIGIERT ========================= */
.event-highlight {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
    opacity: 0;                /* Start unsichtbar */
    transform: translateY(40px);
    transition: all 0.9s ease-in-out;
}

.event-highlight.visible {
    opacity: 1;
    transform: translateY(0);
}

.event-highlight .event-img {
    width: 90%;                /* Bild fast volle Breite */
    max-width: 600px;          /* max. Breite auf großen Bildschirmen */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* opacity und transform entfernt! */
}

.event-highlight.visible .event-img {
    transform: scale(1.02);    /* leichte Hover-Animation */
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Mobile Anpassungen */
@media (max-width: 760px) {
    .event-highlight {
        margin: 24px 0;
    }
    .event-highlight .event-img {
        max-width: 95%;
    }
}

/* ============================================================================== */
/* LINKS - MODERNE LINKKARTEN */
/* ============================================================================== */

.links-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:24px;
margin-top:30px;
}

.link-card{
display:flex;
align-items:center;
gap:18px;
background:#fff;
padding:20px;
border-radius:18px;
text-decoration:none;
color:#111;
box-shadow:0 12px 28px rgba(0,0,0,0.15);
transition:all 0.25s ease;
}

.link-card:hover{
transform:translateY(-6px);
box-shadow:0 22px 40px rgba(0,0,0,0.25);
}

.link-icon{
width:52px;
height:52px;
border-radius:12px;
background:#f3f3f3;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

.link-icon img{
width:28px;
height:28px;
}

.link-content{
flex:1;
}

.link-title{
font-size:1.2rem;
font-weight:bold;
margin-bottom:4px;
}

.link-domain{
font-size:0.9rem;
color:#777;
}

.link-arrow{
font-size:22px;
color:#b52a1d;
}

/* Mobile */

@media (max-width:760px){

.links-grid{
grid-template-columns:1fr;
}

.link-card{
padding:16px;
}

.link-title{
font-size:1.05rem;
}

}

/* ============================================================================== */
/* KONTAKTSEITE */
/* ============================================================================== */

.kontakt-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:30px;
}

.kontakt-info{
background:#fff;
padding:28px;
border-radius:20px;
box-shadow:0 14px 30px rgba(0,0,0,0.15);
}

.kontakt-box{
margin-top:18px;
padding:16px;
background:#f6f6f6;
border-radius:12px;
line-height:1.6;
}

.kontakt-box a{
color:#b52a1d;
font-weight:bold;
}

.kontakt-social{
margin-top:16px;
display:flex;
gap:14px;
}

.kontakt-social a{
background:#b52a1d;
color:#fff;
padding:8px 14px;
border-radius:999px;
font-size:0.9rem;
}

/* Formular */

.kontakt-form{
background:#fff;
padding:28px;
border-radius:20px;
box-shadow:0 14px 30px rgba(0,0,0,0.15);
}

.form-row{
margin-bottom:18px;
display:flex;
flex-direction:column;
}

.form-row label{
font-weight:bold;
margin-bottom:6px;
}

.form-input,
.form-textarea{
padding:12px;
border-radius:10px;
border:1px solid #ccc;
font-size:1rem;
}

.form-input:focus,
.form-textarea:focus{
outline:none;
border-color:#b52a1d;
}

/* CAPTCHA */

.captcha-box{
display:flex;
align-items:center;
gap:12px;
}

.captcha-img{
height:46px;
border-radius:8px;
border:1px solid #ddd;
}

.captcha-input{
max-width:140px;
}

.btn-row{
margin-top:10px;
}

/* Mobile */

@media (max-width:900px){

.kontakt-wrapper{
grid-template-columns:1fr;
}
	/* Unsichtbares Spam Feld */

.spam-trap{
position:absolute;
left:-5000px;
}

	/* Ladeanimation */

.form-loader{
display:none;
width:22px;
height:22px;
border:3px solid #ddd;
border-top:3px solid #b52a1d;
border-radius:50%;
animation:spin 0.8s linear infinite;
margin-left:10px;
}

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}

/* Erfolgsmeldung */

.form-message{
margin-top:16px;
font-weight:bold;
}

.form-message.success{
color:#2e7d32;
}

.form-message.error{
color:#b52a1d;
}
	
}

/* ============================================================================== */
/* SPONSOREN - MODERNE SPONSORENKARTEN */
/* ============================================================================== */

.sponsoren-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:24px;
margin-top:30px;
}

.sponsoren-card{
display:flex;
align-items:center;
gap:18px;
background:#fff;
padding:20px;
border-radius:18px;
text-decoration:none;
color:#111;
box-shadow:0 12px 28px rgba(0,0,0,0.15);
transition:all 0.25s ease;
}

.sponsoren-card:hover{
transform:translateY(-6px);
box-shadow:0 22px 40px rgba(0,0,0,0.25);
}

.sponsoren-icon{
width:52px;
height:52px;
border-radius:12px;
background:#f3f3f3;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

.sponsoren-icon img{
width:28px;
height:28px;
}

.sponsoren-content{
flex:1;
}

.sponsoren-title{
font-size:1.2rem;
font-weight:bold;
margin-bottom:4px;
}

.sponsoren-domain{
font-size:0.9rem;
color:#777;
}

.sponsoren-arrow{
font-size:22px;
color:#b52a1d;
}

/* Mobile */

@media (max-width:760px){

.links-grid{
grid-template-columns:1fr;
}

.sponsoren-card{
padding:16px;
}

.sponsoren-title{
font-size:1.05rem;
}

}

.instagram-preview-section {
    margin-top: 20px;
    text-align: center;
}

.instagram-preview a {
    display: inline-block;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.25s ease;
}

.instagram-preview a:hover {
    transform: translateY(-4px);
}

.instagram-preview img {
    width: 100%;
    display: block;
}

.instagram-preview p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #555;
}
