/*********
* Global *
*********/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    background-color: transparent;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
}

/* Globale Link-Farbe für Fließtext-Bereiche */
a,
a:visited {
    color: #a01e42;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #a01e42;
    text-decoration: underline;
    text-decoration-color: #a01e42;
}

.alignleft {
    padding: 0;
    margin: 0 24px 12px 0;
    display: inline;
    float: left;
}

.alignright {
    padding: 0;
    margin: 0 0 12px 24px;
    display: inline;
    float: right;
}

.aligncenter {
    padding: 0;
    display: block;
    margin: 0 auto;
}

picture.aligncenter img {
    padding: 0;
    display: block;
    margin: 0 auto;
}

.top-pad-2 {
    padding-top: 2rem;
}

.btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    color: #fff;
    background-color: #cd2653;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.0333em;
    padding: 1.1em 1.4em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

/*FlexSlider*/
.flex-direction-nav a {
    width: 60px;
    height: 60px;
    text-indent: 110%;
    background-color: rgba(0,0,0,0.2);
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}

.flex-direction-nav a:hover {
    background-color: rgba(0,0,0,0.6);
}

.flex-direction-nav .flex-next {
    right: 0;
    background-image: url(../../images/arrow-right.png);
    background-repeat: no-repeat;
}

.flex-direction-nav .flex-prev {
    left: 0;
    background-image: url(../../images/arrow-left.png);
    background-repeat: no-repeat;
}

/*********
* Header *
*********/
header {
    background-color: #f5efe0cc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    width: 100%;
}

.wrapper {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

header .logo .logo-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

header .logo img {
    height: 35px;
    display: block;
}

.navbar {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 100%;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    transition: left 0.3s;
}

.navbar.show {
    background: linear-gradient(rgba(253, 250, 255, 0.8) 30%, rgba(253, 250, 255, 0) 100%);
    left: 0 !important;
}

.hide-scroll {
    overflow: hidden;
}

.navbar ul.menu {
    all: unset;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.navbar ul.menu a,
.logo-text {
    all: unset;
    color: #cd2653;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    font-size: 28px;
}

.navbar ul.menu li:hover {
    text-decoration: underline #cd2653;
    text-decoration-thickness: 2px;
}

.close-nav {
    text-align: right;
    margin-bottom: 20px;
}

.close-nav button {
    all: unset;
    background: #f7f7f7;
    font-size: 42px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 3px;
    color: #444444;
}

.close-nav button:hover {
    color: #222222;
    background: #fff;
}

.menu-bar button {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f7f7f7;
    height: 50px;
    width: 50px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.menu-bar i {
    display: block;
    border-top: 3px solid #444444;
    border-bottom: 3px solid #444444;
}

.menu-bar i::after {
    display: block;
    content: "";
    border-top: 3px solid #444444;
    margin: 6px 0;
}

.menu-bar button:hover {
    background: white;
}

.menu-bar button:hover i {
    border-color: #222222;
}

.sticky {
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
    margin: 0 auto;
}

/*.sticky+.contents {
    padding-top: 70px;
}*/

/*****************
* Header Social  *
*****************/
.header-social {
    display: none;
}

@media (min-width: 900px) {
    .header-social {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: 16px;
        padding-left: 16px;
        border-left: 2px solid #cd2653;
    }

    .header-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        color: #cd2653;
        transition: color 0.2s, transform 0.2s;
    }

    .header-social-link:hover {
        color: #a81e43;
        transform: scale(1.15);
    }

    .header-social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile: Social Icons im aufgeklappten Menü */
@media (max-width: 899px) {
    .header-social {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(205, 38, 83, 0.2);
    }

    .header-social-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        color: #cd2653;
        text-decoration: none;
        transition: color 0.2s;
    }

    .header-social-link svg {
        width: 32px;
        height: 32px;
    }
}

/*************
* Startseite *
*************/
.container {
    position: relative;
    width: 100%;
    text-align: center;
}

/* Hero ohne Bild: zentrierter Textbereich mit Mindesthöhe (Fallback) */
.container:not(.has-hero-image) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 60vh;
}

/* Hero-Bild: volle Breite, proportional skaliert, nie beschnitten */
.hero-picture {
    display: block;
    width: 100%;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
}

.container .hero-text-area {
    padding: 3%;
    background-color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

/* Hero mit Bild: Bild fliesst, Textkasten liegt als Overlay darueber */
.container.has-hero-image {
    display: block;
}

.container.has-hero-image .hero-text-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container span.headline {
    font-size: 2rem;
}

.container p.subheadline {
    font-size: 1.2rem;
}

.container .hero-text {
    width: 50%;
    margin: 0 auto;
    margin-top: 1rem;
}

.container button,
.container .hero-btn {
    display: inline-block;
    color: #fff;
    background-color: #cd2653;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.0333em;
    padding: 1.1em 1.4em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 5%;
    cursor: pointer;
}

section.main {}

.content-container {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
}

.content-container h1,
.content-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.content-container h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.content-container p {
    margin-bottom: 16px;
    text-align: justify;
}

.content-container p:last-child {
    margin-bottom: 0;
}

.main .column {
    padding: 4rem 0;
}

/********************
* Startseite - Flex *
********************/
.main .odd {
    background: #f5efe0;
}

.main .even {
    background: #fff;
}

/*********************
* Startseite - About *
*********************/
.about-title {
    text-align: center;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.about .left {
    width: 100%;
    text-align: center;
}

.about .left .about-img {
    max-height: 250px;
    margin-bottom: 8px;
}

.about .left .about-img img {
    border-radius: 50%;
    width: 100%;
    max-width: 240px;
}

.about .left .about-name {
    text-align: center;
}

.about .right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about .right ol {
    list-style: circle;
}

.about .right ol li {
    margin-bottom: 8px;
}

.about .right ol li:last-child {
    margin-bottom: 0;
}

/*********************
* Startseite - Media *
*********************/

.media .gallery {
    
}

.media  .gallery ul.slides li .iframe iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.media .gallery ul.slides li img {
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
}

/**********************
* Startseite - Events *
**********************/
.table-responsive {
    overflow-x: auto;
}

.past-event-wrapper {
	margin-top: 1.5rem;
	display: flex;
	gap: 20px;
    align-items: center;
    transition: background-color 0.25s ease-in-out;
}

table.table {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-spacing: 0;
    border: 10px groove #f5efe0;
}

.table thead {
    font-size: 24px;
    font-family: cursive;
}

.table td {
    padding: 8px;
    border-top: 1px solid black;
    vertical-align: top;
}

.table td.month {
    background-color: #f5efe0;
}

.table caption+thead tr:first-child th, .table colgroup+thead tr:first-child th, .table thead:first-child tr:first-child th, .table caption+thead tr:first-child td, .table colgroup+thead tr:first-child td, .table thead:first-child tr:first-child td {
    border-top: 0;
}

/* CSS für den Pfeil im Button */
.toggle-past-events {
    cursor: pointer;
}

/* CSS für die Rotation des Pfeils */
#toggle-icon {
    transition: transform 0.3s ease-in-out; /* Animiere die Transformation */
	width: 24px;
}

/* CSS für den Pfeil, wenn die Tabelle geöffnet ist */
#toggle-icon.open {
    transform: rotate(180deg); /* Drehe den Pfeil um 180 Grad */
}

/* ── Gemeinsame Icon-Größe ── */
.ev-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.ev-icon--sm {
    width: 16px;
    height: 16px;
}

/* ── Eyecatcher: nächster Termin ── */
.event-eyecatcher {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: stretch;
    background: #fff;
    border: 2px solid #cd2653;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 18px rgba(205,38,83,0.10);
    width: 100%;
    box-sizing: border-box;
}

/* Kalenderblatt */
.event-cal {
    flex: 0 0 auto;
    width: 90px;
    background: #cd2653;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(205,38,83,0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-cal-month {
    background: #a01e42;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 4px;
    text-transform: uppercase;
    word-break: break-word;
    line-height: 1.2;
}

.event-cal-day {
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    padding: 8px 0 4px;
}

.event-cal-year {
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    padding: 0 4px 8px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* Info-Block: nimmt den gesamten verbleibenden Platz,
   auf Desktop 3 gleichbreite Spalten nebeneinander */
.event-eye-info {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0 20px;
    min-width: 0;
}

/* Jede Spalte im Info-Block: Icon + Inhalt übereinander zentriert */
.event-eye-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 12px 8px;
}

.event-eye-row.event-eye-location {
    transition: color 0.2s;
}

.event-eye-row.event-eye-location:hover {
    color: #cd2653;
}

.event-eye-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Location-Text: Name + Adresse untereinander, zentriert */
.event-eye-location-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
    text-align: center;
}

.event-eye-location-text strong {
    font-size: 15px;
    color: #222;
}

.event-eye-location-text > span {
    font-size: 12px;
    color: #777;
}

/* Trennlinien zwischen den 3 Spalten */
.event-eye-row + .event-eye-row {
    border-left: 1px solid #f0d9e1;
}

/* Ticket-Wrap: Button + Hotline untereinander, zentriert */
.event-eye-ticket-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.event-ticket-btn {
    display: inline-block;
    background: #cd2653;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 10px 24px;
    border-radius: 50px;
    letter-spacing: 0.03em;
    transition: background 0.2s;
    white-space: nowrap;
}

.event-ticket-btn:hover {
    background: #a01e42;
}

.event-ticket-btn--sm {
    padding: 6px 16px;
    font-size: 13px;
    min-width: 80px;
    text-align: center;
}

.event-ticket-soon {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.event-ticket-soon--sm {
    font-size: 12px;
}

.event-ticket-tel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #cd2653;
    text-decoration: none;
    white-space: nowrap;
}

.event-ticket-tel:hover {
    text-decoration: underline;
}

.event-ticket-tel--sm {
    font-size: 12px;
}

/* ── Weitere Termine: Karten-Liste ── */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.event-list-month {
    font-family: cursive;
    font-size: 18px;
    font-weight: 700;
    color: #cd2653;
    margin: 20px 0 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid #f0d9e1;
}

/* Kompakte Zeile */
.event-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.event-list-item:hover {
    background: rgba(255,255,255,0.95);
}

/* Expand-Bereich: nimmt volle Breite der Zeile */
.event-list-expand {
    width: 100%;
    margin-top: 4px;
}

/* Wenn aufgeklappt: Zeile wird zum Eyecatcher */
.event-list-item.is-expanded {
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 2px solid #cd2653;
    border-radius: 16px;
    padding: 12px 16px 16px;
    box-shadow: 0 4px 18px rgba(205,38,83,0.10);
    cursor: default;
}

/* Inline-Eyecatcher im Expand-Bereich: kein eigener Rahmen */
.event-eyecatcher--inline {
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}

.event-list-item.is-expanded .event-list-date,
.event-list-item.is-expanded .event-list-ort-wrap,
.event-list-item.is-expanded .event-list-ticket {
    display: none;
}

.event-list-item.is-expanded .event-list-expand {
    display: block;
}

.event-list-date {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
}

.event-list-day {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.event-list-time {
    font-size: 12px;
    color: #888;
}

/* Ort-Spalte: Maps-Icon (klickbar) + Text nebeneinander */
.event-list-ort-wrap {
    flex: 1 1 140px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

a.event-list-maps-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

a.event-list-maps-link:hover {
    opacity: 0.75;
}

a.event-list-maps-link .ev-icon {
    width: 22px;
    height: 22px;
}

.event-list-ort-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.3;
    min-width: 0;
}

.event-list-ort-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.event-list-ort-text > span {
    font-size: 12px;
    color: #888;
}

.event-list-ticket {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-left: auto;
    min-width: 90px;
    text-align: right;
}

/* ── Vergangene Events: kompaktes zweispaltiges Grid ── */
.event-list--past-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    margin-top: 12px;
}

/* Jahresüberschrift: volle Breite über beide Spalten */
.event-past-year {
    grid-column: 1 / -1;
    font-family: cursive;
    font-size: 15px;
    font-weight: 700;
    color: #aaa;
    margin: 14px 0 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid #e8e8e8;
}

.event-past-year:first-child {
    margin-top: 0;
}

/* Einzelner Eintrag: Datum + Ortsname in einer Zeile */
.event-past-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 6px;
    opacity: 0.6;
}

.event-past-date {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
}

.event-past-ort {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .event-list--past-grid {
        grid-template-columns: 1fr;
    }
}

/************************
* Startseite - Feedback *
************************/

.feedback-entry .flexslider {
    background: none;
    border: 4px solid transparent;
}

span.quote {
    height: 58px;
    width: 58px;
    display: inline-block;
    background: url(../../images/quote.png) no-repeat 0 -10px;
    margin: 0 5px 0 0;
}

.feedback-entry .flexslider ul.slides li h3,
.feedback-entry .flexslider ul.slides li p {
    font-family: 'Roboto Slab', serif;
    text-align: center;
}

.feedback-entry .flexslider ul.slides li h3 {
    font-weight: normal;
    font-size: 36px;
    margin-bottom: 30px;
}

.feedback-entry .flexslider ul.slides li p {
    font-weight: 300;
    width: 80%;
    margin: 0 auto;
}

.feedback-entry .flexslider ul.slides li p.author {
    width: 100%;
    margin-top: 40px;
}

/*******************
* Startseite - FAQ *
*******************/
.faq-entry h2 {
    margin-bottom: 24px;
}

.faq-entry .faq {
    width: 100%;
    margin-bottom: 10px;
    border-left: 3px solid #cd2653;
    border-radius: 0 8px 8px 0;
    background: rgba(255,255,255,0.7);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-entry .faq:hover {
    box-shadow: 0 2px 12px rgba(205,38,83,0.10);
}

.faq .faq-section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
}

.faq .faq-section-wrapper:hover,
.faq .faq-section-wrapper:focus-visible {
    background: rgba(205,38,83,0.05);
}

.faq .faq-section-wrapper[aria-expanded="true"] {
    background: rgba(205,38,83,0.07);
}

.faq .faq-section-wrapper h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    flex: 1;
    line-height: 1.4;
}

/* Chevron: inline SVG, dreht sich beim Öffnen */
.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.35s ease;
    color: #cd2653;
}

.faq .faq-section-wrapper[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

/* Antwort-Bereich */
.faq .faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq .faq-answer-wrapper.show {
    transition: max-height 0.4s ease-in;
}

/* Frage + Antwort */
.faq .faq-answer-wrapper .q-flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px 4px 20px;
}

.faq .faq-answer-wrapper .q-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #cd2653;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    letter-spacing: 0;
}

.faq .faq-answer-wrapper h4.q-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #cd2653;
    line-height: 1.5;
}

.faq .faq-answer-wrapper p.answer {
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.7;
    padding: 6px 20px 20px 52px;
    margin: 0;
}

/*************************
* Kontakt & Social Media *
*************************/
.sm-contact-section {
    background-color: #f5efe0;
    padding: 3rem 1.5rem 2.5rem;
}

.sm-contact-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.sm-contact-title {
    font-family: cursive;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.sm-sparkle {
    color: #eecd56;
}

.sm-contact-sub {
    font-family: cursive;
    font-size: 1.05rem;
    font-style: italic;
    color: #cd2653;
    margin: 0 0 1.6rem 0;
    line-height: 1.4;
}

.sm-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 1.6rem;
}

.sm-contact-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
}

.sm-contact-mail {
    display: inline-block;
    background: #cd2653;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 50px;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    white-space: nowrap;
}

.sm-contact-mail:hover {
    background: #a81e43;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #fff;
}

.sm-contact-divider-v {
    flex: 0 0 1px;
    width: 1px;
    height: 90px;
    background: #d9cfc0;
}

.sm-contact-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
}

.sm-contact-follow {
    display: none;
}

.sm-contact-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 600px) {
    .sm-contact-row {
        flex-direction: column;
        gap: 24px;
    }
    .sm-contact-left,
    .sm-contact-right {
        padding: 0;
    }
    .sm-contact-divider-v {
        width: 70px;
        height: 2px;
    }

    /* Eyecatcher auf Mobile: Kalender oben, 3 Infospalten untereinander */
    .event-eyecatcher {
        flex-wrap: wrap;
        padding: 18px 16px;
    }

    .event-cal {
        width: 100%;
        flex-direction: row;
        border-radius: 10px;
        justify-content: center;
        gap: 12px;
        padding: 10px 16px;
    }

    .event-cal-month {
        background: transparent;
        font-size: 14px;
        padding: 0;
        align-self: center;
    }

    .event-cal-day {
        font-size: 32px;
        padding: 0;
    }

    .event-cal-year {
        padding: 0;
        align-self: center;
    }

    .event-eye-info {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .event-eye-row + .event-eye-row {
        border-left: none;
        border-top: 1px solid #f0d9e1;
    }

    .event-eye-row {
        flex-direction: row;
        text-align: left;
        padding: 10px 4px;
        justify-content: flex-start;
    }

    .event-eye-location-text {
        text-align: left;
    }

    .event-eye-ticket-wrap {
        align-items: flex-start;
    }
}

.sm-contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-contact-item:hover {
    transform: scale(1.1);
}

.sm-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.sm-icon-ig {
    background: linear-gradient(145deg, #f9ce34, #ee2a7b, #6228d7);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.25);
}

.sm-icon-yt {
    background: #FF0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.sm-icon-li {
    background: #0A66C2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.2);
}

.sm-contact-handle {
    display: none;
}

/*********
* Footer *
*********/
.footer-container {
    text-align: center;
}

footer {
    width: 100%;
    background-color: #3f3f3f;
}

footer p {
    font-size: .75rem;
    color: #f0f0f0;
    padding: 15px 0 15px 0;
}

footer p a {
    color: rgb(238, 205, 86);
}

@media (min-width: 900px) {

    /*********
    * Header *
    *********/
    .navbar {
        all: unset;
        display: flex;
        align-items: center;
    }

    .navbar ul.menu {
        flex-direction: row;
        gap: 20px;
    }

    .navbar ul.menu a,
    .logo-text {
        font-size: inherit;
    }

    .close-nav,
    .menu-bar {
        display: none;
    }

    .nav-toggle {
        display: none;
    }

    .nav {
        height: 40px;
    }

    .navbar {
        padding: 0;
    }

    .navbar ul.menu {
        align-items: center;
        gap: 0;
        visibility: visible;
        height: 35px;
    }

    .menu li {
        display: block;
        float: left;
        padding: 0 8px;
        max-height: 35px;
    }

    .navbar ul.menu li + li {
        border-left: 2px solid #cd2653;
    }

    ul.menu li a {
        font-size: 16px;
        display: block;
        width: 100%;
    }

    /*********************
    * Startseite - About *
    *********************/

    .about {
        flex-direction: row;
        gap: 15%;
    }
    
    .about .left {
        width: 30%;
        text-align: center;
    }

    .about .right {
        width: 55%;
    }
}
/* ============================================================
   Referenzen – Logo-Marquee (Endlos-Laufband)
   ============================================================ */
.referenzen-title {
    text-align: center;
    margin-bottom: 2rem;
}

.ref-marquee {
    --ref-logo-height: 60px;          /* Standardhöhe, per ACF überschreibbar */
    --ref-logo-slot: calc(var(--ref-logo-height) * 3); /* einheitliche Box-Breite (3:1) */
    width: 100%;
    overflow: hidden;
    /* sanftes Ein-/Ausblenden an den Rändern */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ref-track {
    display: flex;
    width: max-content;
    animation: ref-scroll 35s linear infinite;
}

/* Laufrichtung umkehren (ACF: "Nach rechts") */
.ref-marquee--reverse .ref-track {
    animation-direction: reverse;
}

/* Pause beim Drüberfahren */
.ref-marquee:hover .ref-track {
    animation-play-state: paused;
}

.ref-set {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;   /* gleicher Abstand zwischen den beiden Sets wie innen */
    flex: 0 0 auto;
}

.ref-item {
    /* Einheitliche Box pro Logo: feste Höhe + proportional begrenzte Breite.
       Jedes Logo bekommt denselben Platz – egal ob breit, hoch oder quadratisch. */
    flex: 0 0 auto;
    width: var(--ref-logo-slot);
    height: var(--ref-logo-height, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-logo {
    /* Bild proportional in die Box einpassen: skaliert hoch UND runter,
       nie verzerrt, nie beschnitten, immer zentriert. */
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@keyframes ref-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Barrierefreiheit: bei reduzierter Bewegung nicht animieren */
@media (prefers-reduced-motion: reduce) {
    .ref-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    .ref-set:nth-child(2) { display: none; } /* Duplikat ausblenden */
}

/* ============================================================
   Passwortschutz – Overlay (WordPress-Bordmittel, gestaltet)
   ============================================================ */
.pw-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(40, 30, 25, 0.55);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}

.pw-card {
    background: #fff;
    width: 440px;
    max-width: 100%;
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.pw-lock {
    margin-bottom: 0.5rem;
}

.pw-lock-icon {
    width: auto;
    height: 3.4rem;
}

.pw-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.pw-text {
    margin: 0 0 1.5rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pw-error {
    margin: 0 0 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    background: #fde8ee;
    color: #b01f48;
    font-size: 0.9rem;
    font-weight: 600;
}

.pw-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pw-label {
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.pw-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
}

.pw-input:focus {
    outline: none;
    border-color: #cd2653;
    box-shadow: 0 0 0 3px rgba(205, 38, 83, 0.15);
}

.pw-btn {
    margin-top: 0.25rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 30px;
    background: #cd2653;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.pw-btn:hover {
    background: #b01f48;
}

/* Passwortschutz – breitere Karte mit längerem Begrüßungstext */
.pw-card--wide {
    width: 620px;
    text-align: left;
}

.pw-card--wide .pw-lock {
    text-align: left;
}

.pw-body p,
.pw-help p {
    margin: 0 0 0.9rem;
    color: #444;
    font-size: 0.97rem;
    line-height: 1.6;
}

.pw-body p:last-child {
    margin-bottom: 0;
}

.pw-help {
    margin-top: 1.5rem;
    padding: 1.2rem 1.3rem;
    background: #f5efe0;
    border-radius: 12px;
}

.pw-help-title {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    color: #cd2653;
}

.pw-help p:last-child {
    margin-bottom: 0;
}

.pw-help a {
    color: #cd2653;
    font-weight: 600;
    text-decoration: underline;
}

.pw-card--wide .pw-form {
    margin-top: 1.5rem;
}

/* Karte bei wenig Höhe scrollbar machen (langer Text auf kleinen Screens) */
.pw-overlay {
    overflow-y: auto;
}

.pw-card--wide {
    margin: auto;
}

/* Passwortschutz – erster Absatz als hervorgehobener Einleitungssatz (statt Überschrift) */
.pw-body p.pw-lead {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #222;
    margin-bottom: 1.1rem !important;
}

/* Passwortschutz – Schloss neben dem Einleitungssatz */
.pw-lead-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pw-lead-row .pw-lock {
    flex: 0 0 auto;
    margin: 0.15em 0 0 0;   /* leicht auf die erste Textzeile ausrichten */
    line-height: 1;
}

.pw-lead-row .pw-lead {
    margin-top: 0;
}

/* Flex-Content: Vollbild-Block (volle Breite, Höhe automatisch, nie beschnitten) */
.main .column--bild {
    padding: 0;
}

.fullimg-picture {
    display: block;
}

.fullimg {
    display: block;
    width: 100%;
    height: auto;
}

/* Flex-Content: YouTube-Video (volle Breite) */
.youtube-embed {
    line-height: 0;
}

.youtube-embed iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* YouTube-Block: gleicher knapper Abstand wie die Bild-Blöcke */
.main .column--youtube {
    padding: 0;
}

/* ============================================================
   About-Us: Buttons (Position + Farben/Hover per CSS-Variablen),
   zweite Namenszeile, Vita-Link + PDF-Modal
   ============================================================ */
.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.about-buttons--mitte  { justify-content: center; }
.about-buttons--rechts { justify-content: flex-end; }

.about-btn {
    background: var(--abtn-bg, #cd2653);
    color: var(--abtn-color, #fff);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.about-btn:hover {
    /* Standard-Hover = klarer Kontrast: weißer Grund + Button-Farbe als Text.
       Beide per ACF-Feld überschreibbar. */
    background: var(--abtn-hover-bg, #ffffff);
    color: var(--abtn-hover-color, var(--abtn-bg, #cd2653));
    text-decoration: none;
}

.about-name-2 {
    display: block;
    font-size: 0.9em;
    opacity: 0.85;
}

.vita-link {
    display: inline-block;
    margin-top: 0.85rem;
    cursor: pointer;
    color: #cd2653;
    text-decoration: underline;
    font-weight: 600;
}

/* PDF-Layer (Vita) */
.vita-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.vita-modal {
    background: #fff;
    width: 900px;
    max-width: 100%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.vita-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: #f5efe0;
    border-bottom: 1px solid #e0d8c8;
    flex: 0 0 auto;
}
.vita-modal-download {
    background: #cd2653;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.vita-modal-download:hover { color: #fff; text-decoration: none; }
.vita-modal-close {
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    width: 2.4rem;
    height: 2.4rem;
}
.vita-modal-frame {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
}
