/* cmsms stylesheet: main modified: 08.04.2026 07:48:29 */
/* =========================
   RESET
========================= */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: #F9F7F1;
}

main {
    position: relative;
    z-index: 2;
    background: #fff;
}



/* =========================
   HEADER
========================= */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

/* =========================
   NAVBAR MODERN RESPONSIVE
========================= */
.navbar {
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 1100;
}

/* Logo - Responsive */
.navbar-brand img {
    max-width: 200px;
    min-width: 80px;
    width: clamp(50px, 25vw, 130px);
    transition: all 0.3s ease;
}

/* Desktop Menu Links */
.navbar-light .navbar-nav .nav-link {
    color: #333;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.currentpage {
    color: #D4B950;
}

/* Dropdown Desktop */
.navbar-light .navbar-nav .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.2rem;
    z-index: 1000;
}

.navbar-light .navbar-nav .dropdown-item {
    color: #333;
    padding: 8px 20px;
    transition: all 0.3s;
}

.navbar-light .navbar-nav .dropdown-item:hover {
    background-color: #D4B950;
    color: #fff;
}

/* Hamburger */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* =========================
   OFFCANVAS PREMIUM MENU
========================= */

.offcanvas {
    width: 85%;        /* nimmt nur 85% vom Screen */
    max-width: 320px;  /* bleibt am Tablet/Desktop angenehm */
    background: #ffffff;
    border-left: none;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

/* Header */
.offcanvas-header {
    background: linear-gradient(135deg, #D4B950, #A8852B);
    color: #fff;
}

.offcanvas-title {
    font-weight: 600;
}

/* Links */
.offcanvas .nav-link {
    font-size: 1.2rem;
    color: #333;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    color: #D4B950;
    transform: translateX(5px);
}

/* Aktive Seite */
.offcanvas .currentpage {
    color: #D4B950;
    font-weight: 600;
}

/* Submenu */
.submenu {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.submenu li a {
    font-size: 0.95rem;
    color: #666;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.submenu li a:hover {
    color: #D4B950;
}

/* Overlay dunkler */
.offcanvas-backdrop.show {
    background: rgba(0,0,0,0.5);
}

/* Smooth Animation */
.offcanvas {
    transition: transform 0.4s ease-in-out;
}

/* Trennlinie zwischen Menüpunkten */
.offcanvas .nav-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

/* =========================
   SLIDER
========================= */
.sliderBig,
.carousel {
    height: auto;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
    overflow: hidden;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .sliderBig,
    .carousel,
    .carousel-item {
        height: 350px;
    }
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 20px 20px;
}

.section-alt {
    background-color: #F9F7F1;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #A8852B;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    color: #4A4A4A;
}

.btn-gold {
    background-color: #D4B950;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #A8852B;
    color: #fff;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}


/* =========================
   CONTAINER
========================= */
.container,
.container-detail,
.content {
    max-width: 100% !important; /* volle Breite */
    width: 100%;
    margin: 0 auto; /* optional, nur zum Zentrieren */
    padding: 0 20px; /* minimaler Abstand */
}

.blog-grid,
.events-list {
    display: grid;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

@media (max-width: 600px) {
    .blog-grid,
    .events-list {
        gap: 20px;
        padding: 20px 10px;
    }
}

/* =========================
   BLOG GRID – HOMEPAGE
========================= */
.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* jede Karte mindestens 250px */
    gap: 30px;
    max-width: 900px; /* maximal 3 Karten nebeneinander */
    margin: 0 auto;   /* zentrieren */
    padding: 40px 20px;
    justify-content: center; /* extra für mittige Ausrichtung */
}

@media (max-width: 992px) {
    .blog-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* evtl 2 Spalten auf Tablet */
    }
}

@media (max-width: 600px) {
    .blog-grid-home {
        grid-template-columns: 1fr; /* 1 Spalte auf Smartphone */
    }
}

/* Optional: gleiche Styles wie normale Cards */
.blog-grid-home .blog-card {
    max-width: 300px; /* Karten nicht zu breit ziehen */
    margin: 0 auto;   /* einzelne Karten zentrieren */
}

/* =========================
   CARDS
========================= */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: #fff;
}

.card .card-header {
    text-align: center;
    color: #fff;
    background-color: #D4B950;
    font-weight: 600;
    padding: 10px;
    font-size: 0.95rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card .card-body {
    padding: 12px 15px;
    font-size: 0.9rem;
    color: #4A4A4A;
    line-height: 1.5;
}

.card .card-body a {
    color: #D4B950;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.card .card-body a:hover {
    text-decoration: underline;
    color: #A8852B;
}

.card table {
    width: 100% !important;
    table-layout: fixed;
}

.card input,
.card textarea,
.card select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.card hr {
    max-width: 100%;
    margin: 5px 0;
}

.card td {
    word-wrap: break-word;
}


/* =========================
   SPONSOREN
========================= */
.sponsor-row a {
    display: inline-flex;
    justify-content: center;
    align-items:center;
    gap: 15px;
    margin: 0px;
    flex: 0 1 auto;
}

.sponsor-row a img {
    max-height: 300px;
    max-width: 360px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-row a:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* =========================
   SOCIAL MEDIA PREMIUM
========================= */

.social-media-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* CARD */
.social-media-wrapper .card {
    border: none;
    border-radius: 20px;
    background: #fff;

    max-width: 850px;
    flex: 1 1 500px;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    /* Glass + Shadow */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: all 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* Hover Effekt */
.social-media-wrapper .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* HEADER mit Gradient */
.social-media-wrapper .card .card-header {
    background: linear-gradient(135deg, #D4B950, #A8852B);
    color: #fff;
    font-weight: 600;
    padding: 16px;
    font-size: 1.3rem;
    text-align: center;
    letter-spacing: 1px;
}

/* BODY */
.social-media-wrapper .card .card-body {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;

    min-height: 450px;
    background: #fafafa;
}

/* iframe größer */
.social-media-wrapper iframe,
.social-media-wrapper .fb-page {
    width: 100% !important;
    height: 500px !important;
    border: none;
    border-radius: 12px;
}

.fb-wrapper,
.instagram-wrapper {
   width: 100%;
    display: flex;
    justify-content: center;
}

/* Facebook FIX – volle Breite & zentriert */
.fb-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Facebook iframe überschreiben */
.fb-wrapper iframe {
    width: 100% !important;
    max-width: 800px !important;
    height: 500px !important;
}

/* Facebook Plugin selbst */
.fb-page {
    width: 100% !important;
    max-width: 800px;
}

/* =========================
   SCROLL ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .social-media-wrapper {
        gap: 30px;
    }

    .social-media-wrapper .card {
        max-width: 100%;
    }

    .social-media-wrapper iframe {
        height: 400px !important;
    }
}

/* =========================
   PREMIUM SCROLL-TO-TOP BUTTON
========================= */
.nav-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f7e87c, #c7ad2b);
    color: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(199, 173, 43, 0.6),
                0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    z-index: 1000;
}

.nav-top:hover {
    background: linear-gradient(135deg, #c7ad2b, #f7e87c);
    box-shadow: 0 8px 20px rgba(199, 173, 43, 0.9),
                0 12px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.25) rotate(360deg);
    color: #222;
}

/* =========================
   PREMIUM FOOTER
========================= */
.footer-premium {
    background: linear-gradient(135deg, #121212, #2b2b2b);
    color: #e3d9a6;
    padding: 60px 20px 30px;
    position: relative;
}

.footer-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #F1D874, transparent);
}

.footer-logo img {
    max-height: 100px;
}

.footer-brand {
    gap: 10px;
}

.footer-title {
    color: #b59e37;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc8b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #b59e37;
    transform: translateX(5px);
}

.footer-social {
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-bottom: none !important;
    color: #ccc8b8;
    border-color: #555544;
    font-size: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #121212;
    background: #b59e37;
    border-color: #b59e37;
    transform: scale(1.1);
    text-decoration: none !important;
}

.footer-divider {
    margin: 30px 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
}

.footer-bottom {
    color: #aaa;
    font-size: 13px;
}

.footer-brand a {
    color: #D4B950;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-brand a:hover {
    color: #b59e37;
    text-decoration: none;
}

/* =========================
   BLOG GRID / CARDS
========================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 0.75rem;
    color: #D4B950;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.blog-content h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #333;
}

.blog-content p {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}

.blog-footer {
    margin-top: 15px;
    font-weight: 600;
    color: #D4B950;
    transition: 0.3s;
}

.blog-card:hover .blog-footer {
    color: #A8852B;
}

/* =========================
   NEWS DETAIL (NEU)
========================= */
.container-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-article {
    width: 100%;
    padding: 40px 0;
    color: #333;
    line-height: 1.7;
}

.news-hero {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.news-hero-image {
    max-width: 1400px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: cover;
    height: auto;
}

.news-hero-overlay {
    margin-top: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #333;
}

.news-content p {
    margin-bottom: 22px;
}

@media (max-width: 1400px) {
    .news-content {
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .news-title {
        font-size: 3rem;
    }

    .news-hero-image {
        max-width: 95%;
    }

    .news-content {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .news-title {
        font-size: 2.5rem;
    }

    .news-hero-image {
        max-width: 100%;
    }

    .news-content {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 2rem;
    }

    .news-content {
        font-size: 1rem;
    }
}

/* Button Alle Termine */
.events-button a.btn-link {
  color: #D4B950;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.events-button a.btn-link:hover {
  color: #D4B950;
  text-decoration: underline;
}



/* =========================
   TERMINE – CARD DESIGN
========================= */

.events-list {
    display: flex;
    justify-content: center; 
    width: 100%;
    max-width: 800px;   /* maximale Breite auf Desktop */
    margin: 0 auto;     /* zentriert */
    padding: 0 20px; /* minimaler Abstand zum Bildschirmrand */
    align-items: center; /* alle Karten zentrieren */
}

/* Jeder Termin */
.events-list > div {
    width: 100%;         /* nimmt die volle Breite des Containers */
    max-width: 800px;    /* nicht breiter als Desktop-Layout */
    background: #fff;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover Effekt */
.events-list > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Datum (erste Zeilen) */
.events-list > div {
  font-size: 0.95rem;
  color: #555;
}

/* Titel = meist der Link */
.events-list a {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #D4B950;
  text-decoration: none;
  margin: 8px 0;
  transition: color 0.3s;
}

/* Hover */
.events-list a:hover {
  color: #A8852B;
  text-decoration: underline;
}

/* Ort / Zusatztext */
.events-list {
  line-height: 1.6;
}

/* Optional: schöner Abstand */
.events-list br {
  display: none;
}

/* Datum hervorheben (erste Zahl größer) */
.events-list > div strong,
.events-list > div b {
  color: #D4B950;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .events-list {
        display: grid;
        padding: 0 15px;   /* etwas enger auf Tablet */
    }

    .events-list > div {
        padding: 18px;    /* etwas weniger Padding */
    }
}
@media (max-width: 480px) {
    .events-list > div {
display: grid;
        padding: 15px;    /* noch kompakter auf Smartphones */
    }
}



/* =========================
   CONTACT FORM (MODERN)
========================= */

.contact-wrapper {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-card {
    width: 100%;
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #A8852B;
}

/* Labels */
.contact-card label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Inputs */
.contact-card input,
.contact-card textarea,
.contact-card select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Fokus Effekt */
.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus {
    border-color: #D4B950;
    outline: none;
    box-shadow: 0 0 0 2px rgba(212,185,80,0.2);
}

/* Textarea */
.contact-card textarea {
    min-height: 120px;
    resize: vertical;
}

/* Button einfarbig */
.contact-card input[type="submit"],
.contact-card button {
    background-color: #D4B950;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

/* Hover */
.contact-card input[type="submit"]:hover,
.contact-card button:hover {
    background-color: #A8852B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Fehler / Hinweise */
.contact-card .error,
.contact-card .message {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* CAPTCHA Bild */
.contact-card img {
    margin: 10px 0;
    max-width: 100%;
}

/* Mobile */
@media (max-width: 600px) {
    .contact-card {
        padding: 20px;
    }
}

/* =========================
   FEATURE LIST EDEL DESIGN
========================= */
.text-center-wrapper {
    display: flex;
    justify-content: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Damit die Punkte korrekt links stehen */
}

.feature-list li {
    position: relative;
    padding-left: 25px; /* Platz für den Punkt */
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    max-width: 300px;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Goldener Punkt vor jedem Listenelement */
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #d4b950; /* Goldfarbe */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(212,185,80,0.5);
    transition: all 0.3s ease;
}

/* Hover Effekt auf Listenelement */
.feature-list li:hover {
    color: #d4b950;
    transform: translateX(3px);
}

.feature-list li:hover::before {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 6px rgba(212,185,80,0.7);
}

/* Punkt beim Hover */
.feature-list li:hover::before {
    width: 16px;
    height: 16px;
    box-shadow: 0 0 10px rgba(212,185,80,0.7);
}
