/* ============================================
   SvOF – Zentrale Stylesheet (Bereinigt)
   ============================================ */

:root {
    --primary: #2c5f78;
    --secondary: #e8f4f8;
    --text: #333;
    --bg: #f9f9f9;
}
* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; padding: 0;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

/* === NAVIGATION === */
.navbar { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 70px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 55px; width: auto; display: block; }

.nav-links { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-links li { position: relative; }
.dropdown-toggle::after { content: ' ▼'; font-size: 0.6rem; vertical-align: middle; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background-color: #fff; min-width: 180px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-radius: 5px; padding: 10px 0; z-index: 1001; }
.dropdown-content a { display: block; padding: 10px 20px; color: var(--text); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.5px; transition: background 0.3s, color 0.3s; }
.dropdown-content a:hover { background-color: var(--secondary); color: var(--primary); }
.nav-links li:hover .dropdown-content { display: block; }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; background: none; border: none; }
.hamburger span { width: 26px; height: 3px; background: var(--primary); border-radius: 2px; }

/* === HAUPT-SLIDER === */
.slider-container { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; }
.slide { display: none; position: relative; }
.slide.active { display: block; }
.slide img { width: 100%; height: 720px; object-fit: cover; display: block; }
.slide video { width: 100%; height: 720px; object-fit: cover; display: block; cursor: pointer; }
.slide-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(11, 54, 148, 0.2), transparent); color: #fff; padding: 40px 30px 30px; pointer-events: none; }
.slide-content h3 { margin: 0 0 10px; font-size: 1.8rem; }
.slide-content p { margin: 0; font-size: 1.1rem; }

.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90px; height: 90px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.play-overlay:hover { background: #fff; transform: translate(-50%, -50%) scale(1.1); }
.play-overlay::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent var(--primary); margin-left: 8px; }
.play-overlay.hidden { opacity: 0; pointer-events: none; }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; color: var(--primary); transition: background 0.3s; z-index: 10; }
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(238, 229, 229, 0.8); cursor: pointer; transition: background 0.3s; }
.dot.active { background: rgba(17, 103, 153, 0.84); }

/* === HERO (Startseite) === */
.hero { background: linear-gradient(135deg, #2c5f78 0%, #3a7ca5 100%); color: #a7baf7; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 2.2rem; margin: 0 0 15px; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; opacity: 0.95; }

/* === SEITEN-HERO (für Unterseiten) === */
.page-hero { 
    background: linear-gradient(135deg, #2c5f78 0%, #3a7ca5 100%); 
    color: #fff; 
    padding: 40px 20px; 
    text-align: center; 
    margin-bottom: 30px;
}
.page-hero h1 { font-size: 2.2rem; margin: 0 0 8px; }
.page-hero p { font-size: 1.1rem; opacity: 0.9; }

/* === ALLGEMEINE LAYOUTS === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.card { background: #fff; border-radius: 10px; padding: 35px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 30px; }
.card h2 { color: var(--primary); margin-top: 0; }
.news-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.news-item:last-child { border-bottom: none; }
.news-item h3 { color: var(--primary); margin: 0 0 5px; }
.news-datum { color: #888; font-size: 0.85rem; margin-bottom: 8px; }

.about-preview { background: #fff; padding: 60px 20px; text-align: center; }
.about-preview h2 { color: var(--primary); font-size: 2rem; margin: 0 0 20px; }
.about-preview p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 30px; color: #555; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin: 40px 0; }
.feature-box { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.feature-box:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.12); }
.feature-box h3 { color: var(--primary); margin: 0 0 10px; font-size: 1.3rem; }
.feature-box p { color: #666; margin: 0; line-height: 1.6; }
.feature-icon { font-size: 3rem; margin-bottom: 15px; }

/* === ÜBER MICH SEITE === */
.about-grid { display: flex; flex-direction: column; gap: 30px; }
.about-card { background: #fff; border-radius: 10px; padding: 35px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-left: 5px solid var(--primary); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-card:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.about-card h2 { color: var(--primary); margin: 0 0 15px 0; font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
/* WICHTIG: margin: 0 nur für direkte <p> Kinder, nicht für verschachtelte Quill-Inhalte */
.about-card > p { margin: 0; color: #555; font-size: 1.05rem; line-height: 1.8; }

/* === PORTFOLIO SEITE === */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.portfolio-item { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); cursor: pointer; background: #fff; aspect-ratio: 4/3; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(44, 95, 120, 0.95), transparent); color: #fff; padding: 30px 20px 20px; transform: translateY(100%); transition: transform 0.3s ease; }
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-overlay h3 { margin: 0 0 5px; font-size: 1.2rem; }
.portfolio-overlay span { font-size: 0.85rem; background: var(--primary); padding: 3px 10px; border-radius: 15px; display: inline-block; }
.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); justify-content: center; align-items: center; flex-direction: column; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 80vh; border-radius: 5px; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.lightbox-caption { color: #fff; margin-top: 15px; font-size: 1.2rem; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; transition: color 0.3s; }
.lightbox-close:hover { color: var(--primary); }

//* === FAQ SEITE - FINALE LÖSUNG === */
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden; border-left: 4px solid var(--primary); }

.faq-question { 
    width: 100%; 
    text-align: left; 
    padding: 20px 25px; 
    background: none; 
    border: none; 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--text); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-family: inherit; 
}

.faq-question::after { content: '+'; font-size: 1.8rem; color: var(--primary); }
.faq-question.active::after { content: '−'; }

/* Container: max-height 0, KEIN Padding! */
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease; 
    background: #fff;
    padding: 0;
    margin: 0;
}

/* Innerer Wrapper: Padding NUR hier! */
.faq-answer-inner {
    padding: 0 25px 25px 25px;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

.faq-answer-inner p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner strong, .faq-answer-inner b {
    color: var(--primary, #2c5f78);
    font-weight: 600;
}

.faq-answer-inner ul, .faq-answer-inner ol {
    margin: 15px 0;
    padding-left: 25px;
    line-height: 1.8;
}

.faq-answer-inner li {
    margin-bottom: 10px;
}

.faq-answer-inner h3, .faq-answer-inner h4 {
    color: var(--primary, #2c5f78);
    margin: 25px 0 15px 0;
    font-weight: 600;
}

/* === KONTAKT SEITE === */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.kontakt-info, .kontakt-form-wrapper { background: #fff; border-radius: 10px; padding: 35px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.kontakt-info h2, .kontakt-form-wrapper h2 { color: var(--primary); margin: 0 0 20px; font-size: 1.6rem; }
.kontakt-info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.kontakt-info-item:last-child { margin-bottom: 0; }
.kontakt-icon { font-size: 1.5rem; min-width: 30px; }
.kontakt-info-item h4 { margin: 0 0 5px; color: var(--text); font-size: 1rem; }
.kontakt-info-item p { margin: 0; color: #666; font-size: 0.95rem; }
.kontakt-info-item a { color: var(--primary); text-decoration: none; }
.kontakt-info-item a:hover { text-decoration: underline; }

/* === FORMULARE ALLGEMEIN === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.form-control { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44, 95, 120, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit { background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 5px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.btn-submit:hover { background: #1e4a5e; }
.hp-field { display: none !important; }
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === KOMMENTAR-SLIDER === */
.kommentar-slider-container { position: relative; width: 100%; max-width: 100%; margin: 0 auto 40px auto; overflow: hidden; padding: 0 50px; }
.kommentar-slide { display: none; text-align: center; animation: fadeIn 0.5s ease; }
.kommentar-slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.kommentar-card { background: var(--secondary); border-radius: 10px; padding: 30px 40px; position: relative; max-width: 900px; margin: 0 auto; }
.kommentar-card::before { content: '"'; font-size: 5rem; color: var(--primary); opacity: 0.2; position: absolute; top: -10px; left: 20px; font-family: Georgia, serif; line-height: 1; }
.kommentar-text { font-size: 1.1rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; white-space: pre-wrap; }
.kommentar-name { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.kommentar-datum { color: #888; font-size: 0.85rem; margin-top: 5px; }
.kommentar-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #ddd; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; color: var(--primary); transition: all 0.3s; z-index: 10; display: flex; align-items: center; justify-content: center; }
.kommentar-slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.kommentar-slider-btn.prev { left: 0; }
.kommentar-slider-btn.next { right: 0; }
.kommentar-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.kommentar-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background 0.3s; }
.kommentar-dot.active { background: var(--primary); }
.kommentar-cta { text-align: center; margin: 40px 0 20px; padding-top: 30px; border-top: 1px dashed #ccc; }
.kommentar-cta h3 { color: var(--primary); margin: 0 0 10px; font-size: 1.5rem; }
.kommentar-cta p { color: #666; margin: 0; }
.kommentar-form { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 10px; margin-top: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* === FOOTER === */
footer { 
    background: #2c3e50; 
    color: #ecf0f1; 
    padding: 50px 20px 20px; 
    margin-top: 30px;
}
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-section h3 { color: #fff; margin: 0 0 10px; font-size: 1.2rem; }
.footer-section p, .footer-section a { color: #bdc3c7; text-decoration: none; line-height: 1.8; display: block; }
.footer-section a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 10px; border-top: 1px solid #34495e; color: #95a5a6; font-size: 0.9rem; }

/* === ABSTÄNDE FÜR HAUPTINHALT === */
main.container {
    padding-top: 20px;
    padding-bottom: 50px;
}

/* === SHOP SEITEN === */
.shop-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 30px; 
}
.shop-item { 
    background: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 2px 12px rgba(0,0,0,0.06); 
    transition: transform 0.3s, box-shadow 0.3s; 
    display: flex; 
    flex-direction: column; 
}
.shop-item:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
}
.shop-item-img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
}
.shop-item-content { 
    padding: 25px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.shop-item h3 { 
    color: var(--primary); 
    margin: 0 0 10px; 
    font-size: 1.2rem; 
}
.shop-item p { 
    color: #666; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    flex-grow: 1; 
    margin-bottom: 15px; 
}
.shop-item-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: auto; 
    padding-top: 15px; 
    border-top: 1px solid #eee; 
}
.shop-preis { 
    font-weight: 700; 
    color: var(--primary); 
    font-size: 1.15rem; 
}
.shop-btn { 
    background: var(--primary); 
    color: #fff; 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: background 0.3s; 
}
.shop-btn:hover { 
    background: #1e4a5e; 
}

.shop-item-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #111;
    display: block;
    border-radius: 10px 10px 0 0;
}

/* === MODAL FÜR VIDEO-BESTELLUNG === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.3s;
}
.modal-close:hover {
    color: var(--primary);
}
.modal-content h2 {
    color: var(--primary);
    margin: 0 0 10px;
    font-size: 1.8rem;
}
.modal-content .modal-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}
.modal-content .form-group {
    margin-bottom: 20px;
}
.modal-content .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}
.modal-content .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}
.modal-content .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 120, 0.1);
}
.modal-content .btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}
.modal-content .btn-submit:hover {
    background: #1e4a5e;
}
.modal-content .alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}
.modal-content .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.modal-content .alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === SEMINAR / WORKSHOP KARTEN === */
.workshop-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}
.workshop-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
}
.workshop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.workshop-img-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}
.workshop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.workshop-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.workshop-content h3 {
    color: var(--primary);
    margin: 0 0 10px;
    font-size: 1.4rem;
}
.workshop-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.workshop-meta {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.workshop-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
}
.workshop-meta-item:last-child {
    margin-bottom: 0;
}
.workshop-meta-item strong {
    color: var(--primary);
    min-width: 70px;
}
.workshop-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}
.workshop-preis {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}
.workshop-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.workshop-btn:hover {
    background: #1e4a5e;
}

/* === WORKSHOP DETAIL MODAL === */
.workshop-detail-modal .modal-content {
    max-width: 1000px;
}
.workshop-detail-header {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}
.workshop-detail-img {
    flex: 0 0 40%;
    max-width: 40%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f4f4;
}
.workshop-detail-title-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.workshop-detail-title-block h2 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.6rem;
}
.workshop-detail-title-block .workshop-preis {
    font-size: 1.4rem;
    margin-top: 10px;
}
.workshop-detail-info-block {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid var(--primary);
}
.workshop-detail-info-block h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.1rem;
}
.workshop-detail-info-block p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}
.workshop-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.workshop-detail-actions .workshop-btn,
.workshop-detail-actions .btn-details-close {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.workshop-detail-actions .workshop-btn {
    background: var(--primary);
    color: #fff;
}
.workshop-detail-actions .workshop-btn:hover {
    background: #1e4a5e;
}
.workshop-detail-actions .btn-details-close {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary) !important;
}
.workshop-detail-actions .btn-details-close:hover {
    background: var(--primary);
    color: #fff;
}

/* === RESPONSIVE SLIDER BILDER === */
.slider-img-desktop {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-img-mobile {
    display: none !important;
}

/* === SLIDER TEXT MIT HALBTRANSPARENTEM HINTERGRUND === */
.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 400px;
    padding: 20px 30px;
    background: rgba(33, 63, 201, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.slide-content h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-content p {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* === CTA SECTIONS & SCROLL ANIMATIONEN === */
.cta-section {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 95, 120, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #ffffff;
    color: var(--primary, #2c5f78);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background: var(--primary, #2c5f78);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-cta-secondary:hover {
    background: #ffffff;
    color: var(--primary, #2c5f78);
}

/* === KONZEPT-SECTION === */
.konzept-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.konzept-content {
    max-width: 900px;
    margin: 0 auto;
}

.konzept-slogan {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary, #2c5f78);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(44, 95, 120, 0.1);
    border-radius: 50px;
}

.konzept-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.konzept-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
}

/* === AWARD-BANNER MIT PROFILBILD === */
.award-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary, #2c5f78) 0%, #1e4254 100%);
    color: #ffffff;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1200px;
}

.award-profilbild {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.award-profilbild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-text-content {
    flex: 1;
}

.award-text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.award-text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.award-text-content a {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--primary, #2c5f78);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.award-text-content a:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* === ABOUT-PREVIEW MIT PROFILBILD === */
.about-preview {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-profilbild {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary, #2c5f78);
    box-shadow: 0 8px 25px rgba(44, 95, 120, 0.3);
}

.about-profilbild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-content {
    flex: 1;
}

.about-text-content h2 {
    font-size: 2rem;
    color: var(--primary, #2c5f78);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.about-text-content a {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary, #2c5f78);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 120, 0.3);
}

.about-text-content a:hover {
    background: #1e4254;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 120, 0.4);
}

/* === FEATURE-BOX BUTTON === */
.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--primary, #2c5f78);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary, #2c5f78);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(44, 95, 120, 0.3);
}

.feature-btn:hover {
    background: #1e4254;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 95, 120, 0.4);
}

.whatsapp-btn-clean {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 0;
    text-decoration: none;
}

.whatsapp-btn-clean img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

/* =========================================================
   GLOBALE ADMIN-TABELLEN STYLING
   ========================================================= */
.admin-table th {
    background-color: #2c5f78 !important;
    color: #ffffff !important;
    text-align: left !important;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid #1e4254;
}

.admin-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.admin-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.admin-table tbody tr:hover {
    background-color: #e9ecef !important;
    transition: background-color 0.2s ease-in-out;
}

.admin-table td {
    text-align: left;
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

/* =========================================================
   AUTO-RESIZE TEXTAREAS (Admin-Bereich)
   ========================================================= */
.admin-card textarea,
.form-section textarea,
.kategorie-box textarea {
    width: 100%;
    min-height: 80px;
    max-height: 800px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: none;
    box-sizing: border-box;
    overflow-y: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-card textarea:focus,
.form-section textarea:focus,
.kategorie-box textarea:focus {
    outline: none;
    border-color: var(--primary, #2c5f78);
    box-shadow: 0 0 0 3px rgba(44, 95, 120, 0.15);
}

textarea.auto-resize {
    resize: none;
    overflow-y: hidden;
}

/* =========================================================
   QUILL RICH TEXT EDITOR - ADMIN DESIGN
   ========================================================= */
.quill-editor-wrapper {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quill-editor-wrapper:focus-within {
    border-color: var(--primary, #2c5f78);
    box-shadow: 0 0 0 3px rgba(44, 95, 120, 0.15);
}

.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid #e9ecef;
    border-radius: 5px 5px 0 0;
    background: #f8f9fa;
    padding: 10px;
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 12px;
}

.ql-toolbar.ql-snow button {
    width: 28px;
    height: 28px;
    padding: 3px;
}

.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button.ql-active {
    background: var(--primary, #2c5f78);
    border-radius: 3px;
}

.ql-toolbar.ql-snow button:hover svg,
.ql-toolbar.ql-snow button.ql-active svg {
    fill: #ffffff;
    stroke: #ffffff;
}

.ql-toolbar.ql-snow .ql-picker-label:hover,
.ql-toolbar.ql-snow .ql-picker-label.ql-active {
    color: var(--primary, #2c5f78);
}

.ql-toolbar.ql-snow .ql-picker-options {
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ql-container.ql-snow {
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    min-height: 150px;
    border-radius: 0 0 5px 5px;
}

.ql-editor {
    padding: 15px;
    min-height: 150px;
    line-height: 1.6;
}

.ql-editor.ql-blank::before {
    color: #999;
    font-style: italic;
}

textarea.quill-hidden {
    display: none !important;
}

/* =========================================================
   QUILL OUTPUT STYLING - FÜR ALLE SEITEN
   ========================================================= */

/* About-Cards Quill-Inhalt */
.about-card-text {
    line-height: 1.7 !important;
    color: #555 !important;
    font-size: 1rem !important;
}

.about-card-text p {
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

.about-card-text p:last-child {
    margin-bottom: 0 !important;
}

.about-card-text strong,
.about-card-text b {
    color: var(--primary, #2c5f78) !important;
    font-weight: 600 !important;
}

.about-card-text ul,
.about-card-text ol {
    margin: 15px 0 !important;
    padding-left: 25px !important;
}

.about-card-text li {
    margin-bottom: 8px !important;
}

.about-card-text h1,
.about-card-text h2,
.about-card-text h3 {
    color: var(--primary, #2c5f78) !important;
    margin: 20px 0 10px 0 !important;
}

.about-card-text blockquote {
    border-left: 4px solid var(--primary, #2c5f78) !important;
    padding-left: 15px !important;
    margin: 15px 0 !important;
    font-style: italic;
    color: #666;
}

/* FAQ-Antworten Quill-Inhalt - KORRIGIERT MIT PADDING */
.faq-answer {
    line-height: 1.7 !important;
    color: #555 !important;
    font-size: 1rem !important;
    padding: 10px 25px !important; /* PADDING ZURÜCK HINZUGEFÜGT! */
}

.faq-answer p {
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    line-height: 1.8 !important;
    padding: 0 !important; /* Kein zusätzliches Padding für <p> Tags */
}

.faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.faq-answer h3,
.faq-answer h4,
.faq-answer h5,
.faq-answer h6 {
    color: var(--primary, #2c5f78) !important;
    margin: 25px 0 15px 0 !important;
    font-weight: 600 !important;
}

.faq-answer h3 { font-size: 1.2rem !important; }
.faq-answer h4 { font-size: 1.1rem !important; }

.faq-answer strong, 
.faq-answer b {
    color: var(--primary, #2c5f78) !important;
    font-weight: 600 !important;
}

.faq-answer ul, 
.faq-answer ol {
    margin: 15px 0 !important;
    padding-left: 25px !important;
    line-height: 1.8 !important;
}

.faq-answer li {
    margin-bottom: 10px !important;
}

.faq-answer br {
    margin-bottom: 10px !important;
    display: block !important;
}

/* =========================================================
   MOBILE ANPASSUNGEN
   ========================================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; border-bottom: 1px solid #eee; }
    .nav-links > li > a { padding: 12px 20px; display: block; font-size: 0.85rem; }
    
    .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        background-color: #f5f7f9;
        padding: 0;
    }
    .dropdown.open .dropdown-content { display: block; }
    .dropdown-content a { padding: 10px 35px; font-size: 0.8rem; border-bottom: 1px solid #eee; color: #555; }
    .dropdown-toggle::after { display: inline-block; transition: transform 0.3s ease; margin-left: 5px; }
    .dropdown.open .dropdown-toggle::after { transform: rotate(180deg); }

    .hamburger { display: flex; }
    .logo img { height: 40px; }
    
    .hero h1 { font-size: 1.6rem; }
    .hero { padding: 50px 20px; }
    
    .page-hero { 
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    .page-hero h1 { font-size: 1.6rem; }
    
    .features { grid-template-columns: 1fr; }
    .slide img, .slide video { height: 330px; }
    .slide-content h3 { font-size: 1.3rem; }
    .slide-content p { font-size: 0.9rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 1.2rem; }
    .play-overlay { width: 70px; height: 70px; }
    .play-overlay::before { border-width: 14px 0 14px 22px; margin-left: 6px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    
    .kontakt-grid { grid-template-columns: 1fr; gap: 25px; }
    .kontakt-info, .kontakt-form-wrapper { padding: 25px; }
    
    .about-card { padding: 25px; }
    
    .kommentar-slider-container { padding: 0 40px; }
    .kommentar-card { padding: 25px 20px; }
    .kommentar-text { font-size: 1rem; }
    .kommentar-slider-btn { width: 35px; height: 35px; font-size: 1rem; }
    
    .faq-question { font-size: 1rem; padding: 15px 20px; }
    
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .portfolio-overlay { transform: translateY(0); background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 15px; }
    .portfolio-overlay h3 { font-size: 1rem; }
    
    main.container, .container {
        padding-bottom: 30px;
    }
    
    .shop-grid { grid-template-columns: 1fr; }
    .shop-item-video { height: 200px; }
    .modal-content { padding: 25px; max-height: 95vh; }
    .modal-content h2 { font-size: 1.4rem; }
    
    .workshop-card { flex-direction: column; }
    .workshop-img-wrapper { flex: 0 0 auto; max-width: 100%; height: 220px; }
    .workshop-detail-header { flex-direction: column; }
    .workshop-detail-img { flex: 0 0 auto; max-width: 100%; height: 220px; }
    
    .slider-img-desktop { display: none !important; }
    .slider-img-mobile { display: block !important; width: 100%; height: 100%; object-fit: cover; }
    .slider-container { height: 300px !important; }
    .slide-content h3 { font-size: 1.2rem !important; }
    .slide-content p { font-size: 0.9rem !important; }
    .slider-btn { width: 30px !important; height: 30px !important; font-size: 12px !important; }
    
    .slide-content {
        bottom: 20px;
        left: 15px;
        right: 15px;
        max-width: none;
        padding: 15px 20px;
        text-align: center;
    }
    .slide-content h3 { font-size: 1.3rem; margin-bottom: 8px; }
    .slide-content p { font-size: 0.9rem; }
    .slider-dots { display: none !important; }
    
    .cta-section {
        padding: 60px 20px;
        background-attachment: scroll;
    }
    .cta-content h2 { font-size: 1.8rem; }
    .cta-content p { font-size: 1rem; }
    .btn-cta { padding: 12px 30px; font-size: 1rem; }
    
    .konzept-section { padding: 50px 20px; }
    .konzept-content h2 { font-size: 1.8rem; }
    .konzept-content p { font-size: 1rem; }
    
    .award-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .award-profilbild { width: 140px; height: 140px; }
    .award-text-content h3 { font-size: 1.4rem; }
    
    .about-preview {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .about-profilbild { width: 160px; height: 160px; }
    .about-text-content h2 { font-size: 1.6rem; }
    .about-text-content p { font-size: 1rem; }
    
    .feature-box { padding: 25px 15px; }
    .feature-icon { font-size: 2.5rem; }
    .feature-box h3 { font-size: 1.1rem; }
    .feature-box p { font-size: 0.9rem; }
    .feature-btn { padding: 8px 20px; font-size: 0.9rem; }
    
    .ql-toolbar.ql-snow { padding: 8px; flex-wrap: wrap; }
    .ql-editor { padding: 12px; min-height: 120px; }
}

.workshop-img {
    width: 100%;
    height: auto; /* Nicht mehr fest! */
    object-fit: contain; /* Zeigt das gesamte Bild */
    display: block;
}

.workshop-img-wrapper {
    width: 100%;
    overflow: hidden;
    /* Keine feste Höhe mehr! */
}

/* ============================================
   SLIDER TEXT BEREICH - MOBILE (NUR TITEL, KEINE BESCHREIBUNG)
   ============================================ */
@media (max-width: 768px) {
    
    /* Text-Container kompakt halten */
    .slide-content {
        padding: 10px 15px 35px 15px !important;
        background: rgba(0, 0, 0, 0.35) !important;
        min-height: auto !important;
        bottom: 0 !important;
    }

    /* Titel zentriert und gut lesbar */
    .slide-content h3 {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.6) !important;
        text-align: center !important;
    }

    /* Beschreibung komplett ausblenden */
    .slide-content .slide-description {
        display: none !important;
    }

    /* Slider-Navigation (Punkte) anpassen */
    .slider-dots {
        bottom: 8px !important;
    }
    
    .slider-dots .dot {
        width: 8px !important;
        height: 8px !important;
    }
}

/* Für sehr kleine Handys */
@media (max-width: 480px) {
    .slide-content {
        padding: 8px 12px 30px 12px !important;
    }
    
    .slide-content h3 {
        font-size: 16px !important;
    }
}