/* ======================== GENEL STİLLER VE DEĞİŞKENLER ======================== */
:root {
    --pastel-green: #e0f2e9; /* Sakin açık pastel yeşil */
    --terracotta: #a58f51;   /* Logoyla uyumlu yeni altın-kahve tonu */
    --white: #ffffff;
    --text-dark: #333;
    --gradient-start: #ffd700; /* Sarı */
    --gradient-end: #ffa500;   /* Turuncu */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* İçerik sayfaları için genel container */
.page-content {
    flex: 1; /* Hauptinhalt soll den verfügbaren Platz ausfüllen */
    padding: 40px 0;
}

/* Spezifischer Hintergrund für einzelne Seiten */
.white-background {
    background-color: var(--white);
}

/* ===================== KÖŞE SOSYAL MEDYA İKONLARI (YENİ STİL) ===================== */
.social-icons-container {
    position: absolute; /* Varsayılan olarak mutlak konumlandırma (Masaüstü için) */
    top: 100px; /* Navigasyon çubuğunun altına yerleştir */
    right: 20px;
    z-index: 999; /* Menünün altında kalması için */
    display: flex;
    flex-direction: column;
    gap: 10px; /* İkonlar arası boşluk */
    margin-top: 0; /* Üstteki margin kaldırıldı */
}

.social-icon {
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: block; /* a etiketini blok yap */
}

.social-icon .fa-brands {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
}

.social-icon.instagram {
    background: #bc2a8d;
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.instagram .slider { background: #dd94c6; }
.social-icon.youtube .slider { background: #ff8080; }

.slider {
    content: "";
    position: absolute;
    top: 0;
    right: 50px; /* Positioniert den Slider links vom Icon */
    width: 0px;
    height: 50px;
    background: #eebb5c;
    border-radius: 3px;
    transition: all 0.5s ease;
}

.slider p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 50px;
    opacity: 0;
    transition: opacity 0.4s 0.3s ease;
}

.social-icon:hover .slider {
    width: 180px;
}

.social-icon:hover .slider p {
    opacity: 1;
}

/* ========================== HERO BANNER ========================= */
.hero-banner {
    height: 60vh; /* Höhe des Haupt-Banners auf der Startseite erhöht */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    background-color: #ffffff;
}

.hero-banner #hero-image {   
    max-width: 1600px;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Varsayılan olarak resmi kapla */
    object-position: center center; /* Zentriert das Bild */
    transition: opacity 0.8s ease-in-out;
}

/* Sadece ilk resim için özel stil */
.hero-banner #hero-image.first-image-special {
 object-fit: cover; /* Stellt sicher, dass das gesamte Bild sichtbar ist, auch wenn Leerraum entsteht */
 object-position: center; /* Zentriert das Bild im Container */}

/* Sadece ikinci resim için özel stil */
.hero-banner #hero-image.second-image-special {
    object-fit: cover; /* Resmi alanı dolduracak şekilde kapla */
    object-position: center 50%; /* Resmi dikeyde ortala, gerekirse bu değeri değiştirin (örn: center 25%) */
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 18px;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-slider-btn.prev {
    left: 30px;
}

.hero-slider-btn.next {
    right: 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
    /* Animasyon başlangıç durumu */
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 1.5s 0.5s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.quote {
    font-family: 'Playfair Display', serif; /* Tırnaklı, etkileyici font */
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.author {
    font-family: 'Montserrat', sans-serif; /* Sade font */
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Banner metin animasyonu */
@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======================= VİDEO KARTLARI BÖLÜMÜ ======================= */
.video-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 20px;
    flex-wrap: wrap; /* Mobil için alt satıra geçsin */
}

.video-card {
    position: relative;
    width: 90%; /* Genişlik artırıldı */
    max-width: 900px; /* Maksimum genişlik artırıldı */
    border-radius: 10px;
    overflow: hidden; /* Animasyonlu kenarlığın taşmasını engelle */
    padding: 4px; /* Kenarlık kalınlığı */
}

/* Animasyonlu Kenarlık Efekti */
.video-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 300%; /* Daha eliptik bir dönüş için */
    background: conic-gradient(
        var(--terracotta), 
        var(--gradient-end), 
        var(--gradient-start), 
        #dd94c6, /* Yeşil */
        #3b5998, /* Mavi */
        #bc2a8d, /* Mor */
        var(--terracotta)
    );
    animation: rotate-border 17s linear infinite;
}

.card-content {
    position: relative;
    background: #fff;
    border-radius: 6px;
    z-index: 1;
    overflow: hidden; /* Video kenarlarını yuvarlak yapmak için */
}
/* Responsive Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 6px; /* Leichte Abrundung für das Video selbst */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    position: relative; /* Animasyonun üzerinde kalması için */
    z-index: 1; /* Animasyonun üzerinde kalması için */
}

/* Kenarlık Döndürme Animasyonu */
@keyframes rotate-border {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Spezifische Stile für Videos auf der Startseite */
.homepage-videos {
    display: grid;
    grid-template-columns: 1fr; /* Eine Spalte für das zentrierte Video */
    align-items: start;
    justify-items: center;
}

.homepage-videos .video-card {
    width: 90%; /* Breite innerhalb der Grid-Spalte */
    max-width: 900px; /* Maximale Breite für das Video vergrößert */
}

.homepage-flyer-card {
    grid-column: 1 / -1; /* Nimmt die volle Breite des Grids ein */
    max-width: 800px; /* Flyer-Breite anpassen */
}

/* Über-uns Seite için tam genişlik video kartı */
.full-width-video-card {
    width: 100%;
    max-width: 1200px; /* Daha geniş bir maksimum genişlik */
    margin: 0 auto 40px auto; /* Üstte boşluk yok, altta 40px, yatayda ortalı */
    padding: 0; /* Kenarlık animasyonu istenmiyorsa padding'i sıfırla */
}


@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--text-dark); }
}

/* Daktilo Animasyonu */
.typewriter {
    overflow: hidden; /* Metnin geri kalanını gizle */
    white-space: nowrap; /* Metnin alt satıra kaymasını engelle */
    border-right: .15em solid var(--terracotta); /* Yanıp sönen imleç */
    width: 9ch; /* "Aktuelles" 9 karakter */
    animation: 
        typing 2s steps(9, end),
        blink-caret .75s step-end infinite;
}

/* Yazma animasyonu */
@keyframes typing {
    from { width: 0 }
    to { width: 9ch }
}

/* İmleç yanıp sönme animasyonu (zaten vardı, ama burada tekrar belirtmekte fayda var) */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--terracotta); }
}

/* ======================= AKTUELLES BÖLÜMÜ ======================= */
.aktuelles-section {
    padding: 30px 5% 60px; /* Oberen Abstand reduziert */
    /* Hafif bulutlu gökyüzü efekti için çok soluk bir gradyan */
    background-image: linear-gradient(to top, #f2f6f9, #eaf2f8);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center; /* Text zentrieren */
    display: block; /* Stellt sicher, dass der Container die volle Breite einnimmt */
    margin-bottom: 20px;
    margin-top: -20px;
}

/* Yeni Slider Yapısı */
.aktuelles-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    background-color: var(--white);
    opacity: 0;
    transition: opacity 0.6s ease;
    position: absolute; /* Slaytları üst üste bindir */
    top: 0;
    left: 0;
}

.slide.active {
    opacity: 1;
    position: relative; /* Aktif slaytı akışa dahil et */
}

.slide img {
    width: 55%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.aktuelles-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.aktuelles-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aktuelles-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.aktuelles-card-image {
    flex: 0 0 400px; /* Resim alanı sabit genişlikte */
    align-self: stretch; /* Resmin kart yüksekliği boyunca uzamasını sağlar */
}

.aktuelles-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin orantısını bozmadan alanı kaplamasını sağlar */
}

.aktuelles-card-text {
    padding: 30px;
    line-height: 1.7;
}

.aktuelles-card-text p {
    margin-bottom: 20px; /* Abstand zwischen Text und Button */
}

.read-more-btn {
    display: inline-block;
    background-color: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #8e7a46; /* Dunklerer Ton von terracotta */
}

.see-more-container {
    text-align: center;
    margin-top: 40px;
}

.see-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--text-dark);
    color: var(--white);
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.see-more-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    border-color: var(--terracotta);
}

.aktuelles-card-text h3 {
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    color: var(--terracotta);
}

.aktuelles-card-text p {
    margin-bottom: 0;
}

.prev-btn {
    left: 10px;
    border-radius: 50% 0 0 50%;
}

.next-btn {
    right: 10px;
    border-radius: 0 50% 50% 0;
}

/* ============================ FOOTER ============================ */
.site-footer-bottom {
    background-color: #333;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ======================= ÖZEL KAYDIRMA ÇUBUĞU (WEbKIT) ======================= */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: var(--terracotta);
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

/* ============================ RESPONSIVE TASARIM (MOBİL UYUMLULUK) ============================ */

/* Tablet ve daha küçük ekranlar için (992px ve altı) */
@media (max-width: 992px) {
    .main-nav > ul {
        flex-wrap: wrap; /* Menü elemanları sığmazsa alt satıra geçer */
        padding: 10px 0;
    }

    .main-nav ul li a {
        padding: 12px 15px;
    }

    .quote {
        font-size: 3.5rem;
    }

    .author {
        font-size: 1.2rem;
    }

    .hero-banner {
        height: 26vh; /* Mobil için yükseklik daha da düşürüldü */
    }

    .hero-banner::before {
        /* Mobil'de metnin okunurluğu için gradyanı değiştir */
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    }

    .hero-content {
        text-align: center; /* Metni ortala */
        justify-content: flex-end;
        padding: 10% 5%;
    }

    .quote {
        font-size: 2.8rem;
    }

    /* Mobil için slider butonlarını küçült */
    .hero-slider-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 1.2rem;
    }

    /* Slider-Pfeile auf Mobilgeräten weiter an den Rand verschieben */
    .hero-slider-btn.prev {
        left: 15px;
    }

    .hero-slider-btn.next {
        right: 15px;
    }

    /* Social-Media-Icons für Mobilgeräte verkleinern */
    .social-icons-container {
        position: relative; /* Normal akışa geri döndür */
        top: auto;
        left: auto;
        right: auto;
        flex-direction: row; /* İkonları yan yana diz */
        justify-content: center; /* İkonları yatayda ortala */
        gap: 20px; /* İkonlar arası boşluğu artır */
        padding: 20px 0; /* Üst ve alt boşluk ekle */
        background-color: transparent; /* Arka plan rengini kaldır */
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon .fa-brands {
        font-size: 18px;
    }

    .slider {
        left: 40px; /* Positioniert den Slider rechts vom Icon */
        right: auto;
        height: 40px;
        line-height: 40px;
    }

    /* Aktuelles bölümü için responsive ayarlar */
    .aktuelles-content-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .aktuelles-image-display {
        min-width: 100%;
        border-radius: 10px 10px 0 0;
    }
    .aktuelles-article-card {
        border-radius: 0 0 10px 10px;
        width: 100%;
    }
    
    /* Aktuelles kartları mobil uyumu */
    .aktuelles-card {
        flex-direction: column;
    }

    .aktuelles-card-image {
        flex-basis: 200px; /* Mobil'de resim yüksekliği */
    }

    .homepage-videos {
        grid-template-columns: 1fr; /* Mobil'de tek sütun */
    }

.konferenz-card {
    display: flex;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.konferenz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.konferenz-image {
    width: 40%;
    object-fit: cover;
}

.konferenz-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.konferenz-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.konferenz-meta {
    color: #777;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.konferenz-desc {
    flex-grow: 1; /* Açıklama alanının boşluğu doldurmasını sağlar */
}

.konferenz-button {
    background-color: var(--terracotta);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    align-self: flex-start; /* Butonu sola dayalı tutar */
    transition: background-color 0.3s ease;
}
/* Konferans sayfasındaki özel kart için */
.konferenz-button:hover {
    background-color: #8e7a46; /* Terracotta'nın daha koyu bir tonu */
}

    /* Mobil için genel başlık boyutları */
    .konferenzen-header h1 {
        font-size: 1.8rem !important; /* Başlık ve ikon boyutunu küçültmek için !important eklendi */
        margin-bottom: 0; /* Başlık altındaki boşluk kaldırıldı */
    }

    .konferenzen-header p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Başlık ve içerik kartı arasını daralt */
    .satzung-section {
        padding-top: 25px; /* Kart ve başlık arası boşluk ayarlandı */
    }

    /* İçerik kartlarının mobil görünümünü daha kompakt yap */
    .satzung-content {
        padding: 25px 20px; /* İç boşluklar azaltıldı */
    }

    /* İletişim kartları mobil uyumu */
    .contact-grid {
        grid-template-columns: 1fr !important; /* Mobil'de tek sütun olmasını garantile */
        gap: 25px;
        padding: 20px 3%;
    }

    .contact-card-inner h2 {
        font-size: 1.3rem;
    }

    .contact-card-inner i {
        font-size: 1.1em; /* Mobil için ikon boyutunu küçült */
    }
    .satzung-content h2 i, .satzung-content h3 i, .satzung-content h4 i {
        font-size: 1.2em; /* Mobil için ikon boyutunu küçült */
    }

    /* Kitap kartları mobil uyumu */
    .book-card-grid {
        grid-template-columns: 1fr; /* Küçük mobil cihazlarda tek sütun */
    }

    @media (min-width: 600px) {
        .book-card-grid {
            grid-template-columns: repeat(2, 1fr); /* Tabletlerde iki sütun */
        }
    }

    /* 4 sütunlu özel kart mobil uyumu */
    .four-column-card {
        grid-template-columns: 1fr;
    }
    
    /* Dört sütunlu kartların mobil yazı boyutu */
    .info-box {
        font-size: 0.8rem; /* Yazı boyutunu küçült */
        padding: 15px; /* İç boşluğu ayarla */
    }

    /* Biyografi resmi mobil uyumu */
    .bio-image {
        float: none;
        display: block;
        margin: 0 auto 25px auto; /* Resmi ortala ve altına boşluk bırak */
        width: 90%; /* Genişliği responsive yap */
        max-width: 300px; /* Maksimum genişlik belirle */
        height: auto; /* Yüksekliği otomatik ayarla */
    }

    /* dr-abdulcabbar-boran.html mobil yazı boyutları */
    .satzung-content h3 {
        font-size: 1.4rem;
    }
    .satzung-content h4 {
        font-size: 1.1rem;
    }
    .satzung-content p, .satzung-content li {
        font-size: 0.9rem;
    }
    .testimonial {
        padding: 15px;
    }
    .testimonial p, .testimonial cite {
        font-size: 0.85rem;
    }

    /* arbeiten.html mobil yazı boyutları */
    .satzung-content h2 {
        font-size: 1.5rem;
    }
    .content-list {
        padding-left:-60px;
    }

    /* konferenzen.html mobil üst boşluğu azalt */
    .konferenzen-page .page-content {
        padding-top: 20px;
    }

    /* ueber-uns.html mobil üst boşluğu azalt */
    .ueber-uns-page .page-content {
        padding-top: 20px;
    }

    .predigt-karten-container {
        grid-template-columns: 1fr !important; /* Mobil'de tek sütun olmasını garantile */
        gap: 25px; /* Mobil'de kartlar arası boşluğu ayarla */
    }

    /* Vaaz sayfalarındaki banner resmini mobil için küçült */
    .predigt-banner {
        height: 250px !important; /* Resim yüksekliği küçültüldü */
        margin-bottom: 10px !important; /* Başlıkla arasındaki boşluk azaltıldı */
    }

    /* Videoyu mobilde yukarı taşı */
    .video-section.homepage-videos {
        padding-top: 0px;
    }

    /* Genel sayfa içeriği üst boşluğunu azalt */
    .page-content {
        padding-top: 20px !important; /* Wichtig, um Inline-Styles zu überschreiben */
    }

    /* livetv.html için özel üst boşluk ayarı */
    .livetv-container {
        padding-top: 30px; /* Daha az boşluk */
    }

    /* index.html mobil yazı boyutları */
    .section-title {
        font-size: 2.2rem; /* "Aktuelles" başlığını küçült */
    }
    .aktuelles-card-text h3 {
        font-size: 1.2rem; /* Kart başlıklarını küçült */
    }
    .aktuelles-card-text p {
        font-size: 0.9rem; /* Kart metinlerini küçült */
        line-height: 1.6;
    }

}

/* ======================= KONFERENZ SEITE STYLES ======================= */
.konferenzen-header {
    text-align: center;
    margin-bottom: 50px;
    margin-bottom: 0px;
}

.konferenzen-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
    color: red;
}

.konferenzen-list {
    display: flex; /* Grid yerine flex kullanarak daha kolay ortalama yapalım */
    justify-content: center; /* Flex öğelerini yatayda ortalar */
    gap: 30px;
    flex-wrap: wrap; /* Ekran küçüldüğünde kartların alt satıra geçmesi için */
}

/* Konferans sayfasındaki özel kart için */
.konferenz-button:hover {
    background-color: #8e7a46; /* Terracotta'nın daha koyu bir tonu */
}

/* ======================= SATZUNG (TÜZÜK) KARTI STİLLERİ ======================= */
.satzung-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Kartı yatayda ortalamak için */
    padding: 40px 20px;
    padding: 0 20px 40px 20px;
    box-sizing: border-box;
}

.satzung-card {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Kartın maksimum genişliği */
    max-width: 1100px; /* Kartın maksimum genişliği */
    border-radius: 10px;
    overflow: hidden; /* Animasyonlu kenarlığın taşmasını engelle */
    padding: 4px; /* Kenarlık kalınlığı */
    margin-top: 20px;
}

.satzung-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 300%;
    background: conic-gradient(
        var(--terracotta), var(--gradient-end), var(--gradient-start), 
        #dd94c6, #3b5998, #bc2a8d, var(--terracotta)
    );
    animation: rotate-border 17s linear infinite;
}

.satzung-content {
    background: #fff;
    border-radius: 6px;
    padding: 30px 40px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.satzung-content h2,
.satzung-content h3 {
    color: var(--terracotta);
    margin-top: 2em;
}

.satzung-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--terracotta);
}

/* Icon-Größe in den Überschriften anpassen */
.satzung-content h2 i,
.satzung-content h3 i,
.satzung-content h4 i {
    font-size: 1.5em; /* İkon boyutunu 1.5 katına ayarla */
    color: red; /* İkon rengini kırmızı yap */
    margin-right: 1rem;
}

.satzung-content ul {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* ======================= KONTAKT SEITE STYLES ======================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Her zaman 2 sütun oluşturur */
    gap: 30px;
    gap: 40px;
    padding: 20px 5%;
    max-width: 1200px; /* Kartların çok fazla genişlemesini önlemek için maksimum genişliği ayarlayalım */
    margin: 0 auto;
    justify-content: center; /* Kartları ortala */
}

.contact-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding: 3px; /* Kenarlık kalınlığı */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 300%;
    background: conic-gradient(
        var(--terracotta), var(--gradient-end), var(--gradient-start), 
        #dd94c6, #3b5998, #bc2a8d, var(--terracotta)
    );
    animation: rotate-border 17s linear infinite;
}

.contact-card-inner {
    background: #fff;
    border-radius: 7px;
    padding: 30px;
    position: relative;
    z-index: 1;
    height: 100%;
    box-sizing: border-box;
}

.contact-card-inner h2 {
    font-family: 'Playfair Display', serif;
    color: var(--terracotta);
    margin-top: 0;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.contact-card-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.contact-card-inner p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.contact-card-inner i {
    color: red; /* Icon-Farbe auf Rot geändert */
    width: 25px; /* Genişliği artırarak daha iyi hizalama sağla */
    font-size: 1.5em; /* Icon-Größe angepasst */
    text-align: center;
}

.contact-form-section {
    max-width: 900px;
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form-section h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.contact-form .pflicht-hinweis {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
}

/* Form için animasyonlu container */
.form-container-animated {
    position: relative;
    max-width: 900px;
    max-width: 800px;
    margin: 60px auto;
    border-radius: 10px;
    overflow: hidden;
    padding: 3px; /* Kenarlık kalınlığı */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container-animated:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.form-container-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 300%;
    background: conic-gradient(
        var(--terracotta), var(--gradient-end), var(--gradient-start), 
        #dd94c6, #3b5998, #bc2a8d, var(--terracotta)
    );
    animation: rotate-border 17s linear infinite;
}

/* Mevcut form stilini yeni yapıya uydurma */
.contact-form-section {
    margin: 0; /* Dış wrapper'dan margin alacak */
    padding: 40px;
    border-radius: 7px; /* İç köşe yuvarlaklığı */
    position: relative; /* ::before'un üzerinde kalması için */
    z-index: 1;
}

/* ======================= LIVETV SEITE STYLES ======================= */
.livetv-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ändert die Ausrichtung von zentriert auf oben */
    align-items: center;
    text-align: center;
    padding-top: 15vh; /* Fügt einen Abstand von oben hinzu, um es etwas nach unten zu schieben */
}

.livetv-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background-color: #c0392b; /* Canlı kırmızı tonu */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
    animation: pulse 2s infinite;
}

.predigten-page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 81px - 61px); /* Höhe der Navigationsleiste und des Footers abziehen */
}
.livetv-container > .konferenzen-header, .predigten-page-wrapper > .predigten-header {
    flex-shrink: 0;
}
.livetv-container > .livetv-button, .predigten-page-wrapper > .predigten-container {
    /* flex-grow: 1; entfernt, damit der Button nicht den ganzen Platz einnimmt */
    display: flex;
    justify-content: center;
    align-items: center;
}

.livetv-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.6);
    animation-play-state: paused; /* Üzerine gelince animasyonu durdur */
}

/* Buton için nabız atışı animasyonu */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(192, 57, 43, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4);
    }
}

/* ======================= BUECHER SEITE STYLES ======================= */
.buecher-main-image-container {
    text-align: center;
    position: relative; /* Für die Positionierung der Slider-Buttons */
    margin-bottom: 40px;
}

.buecher-main-image {
    max-width: 80%;
    max-height: 50vh; /* Resim yüksekliğini ekranın %70'i ile sınırla */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.buecher-main-image:hover {
    transform: scale(1.02);
}

/* Modal (büyüyen resim) stilleri */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.6s;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

/* Modal içi navigasyon butonları */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 2001; /* Resmin üzerinde kalması için */
}

.modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

@keyframes zoomIn {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* Kitap kartları */
.book-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 5%;
    max-width: 1200px; /* Konteynerin maksimum genişliğini azaltarak kartları küçültelim */
    margin: 0 auto 50px auto;
}

.video-card.book-card {
    width: 100%; /* Kartların grid sütununu doldurmasını sağlar */
}

.book-card .card-content {
    padding: 0;
    position: relative;
}

.book-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.book-card .video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card.tall-image img {
    height: 100%;
    object-fit: cover;
}

.book-card:hover .video-title {
    opacity: 1;
}

/* Dört sütunlu özel kart */
.four-column-card-container {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 50px auto;
}

.four-column-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
}

.info-box {
    background-color: var(--pastel-green);
    border: 1px solid var(--white);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--text-dark);
    min-height: 100px;
    border-radius: 5px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-1 .info-box {
    grid-row: span 3;
}

.col-2 {
    display: grid;
    gap: 15px;
    grid-template-rows: 1fr 1fr;
}

.col-3 {
    display: grid;
    gap: 15px;
    grid-template-rows: 1fr 2fr;
}

.col-4 {
    display: grid;
    gap: 15px;
    grid-template-rows: repeat(3, 1fr);
}

/* ======================= MASTER INFO MODAL STYLES ======================= */
.master-info-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: zoomIn 0.6s;
    color: var(--text-dark);
}

.master-info-content h2,
.master-info-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--terracotta);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icon-Größe in den Modal-Überschriften anpassen */
.master-info-content h2 i,
.master-info-content h3 i {
    font-size: 1.5em; /* Icon 1.5 mal so groß wie der Text der Überschrift */
    color: red; /* Icon-Farbe auf Rot geändert */
}

.master-info-content h4 {
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 5px;
}

.master-info-content ul {
    list-style: disc;
    padding-left: 25px;
}

.master-info-content p,
.master-info-content li {
    line-height: 1.7;
}

/* İçerik sayfalarındaki listeler için genel stiller */
.content-list {
    padding-left: 25px;
}
.decimal-list {
    list-style-type: decimal;
}
.disc-list {
    list-style-type: disc;
}

/* In root/site.css hinzufügen */

/* ============================================= */
/* Predigt Video Karten (Thora, Bibel etc.)      */
/* ============================================= */

.predigt-karten-sektion {
    padding: 20px 10px;
}

.predigt-karten-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Abstand zwischen den Karten reduziert */
    max-width: 1400px; /* Container verbreitert, um Videos zu vergrößern */
    margin: 0 auto; /* Zentriert das Grid */
}

.video-karte {
    background-color: #ffffff;
    border-style: double; /* Doppelter Rahmen wie gewünscht */
    border-width: 6px; /* Rahmenbreite angepasst */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}*/

/* Verschiedene Rahmenfarben für die Karten */
/*.video-karte:nth-child(5n+1) { border-color: #bfa06a; } /* Gold */
.video-karte:nth-child(5n+2) { border-color: #5a8a9e; } /* Blau */
.video-karte:nth-child(5n+3) { border-color: #8e6b5e; } /* Braun */
.video-karte:nth-child(5n+4) { border-color: #6a8b6a; } /* Grün */
.video-karte:nth-child(5n+5) { border-color: #a97c84; } /* Rosé */*/

.video-karte h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem; /* Schriftgröße leicht erhöht */
    color: #333;
    font-weight: bold;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 6px; /* Leichte Abrundung für das Video selbst */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Anpassungen für Predigt-Karten */
@media (max-width: 992px) {
    /*.predigt-karten-container {
        max-width: 800px; 
    }*/
}

@media (max-width: 768px) {
    /*.predigt-karten-container {
        grid-template-columns: 1fr; /* Eine Spalte auf kleineren Bildschirmen */
    }*/


/* ======================= PREDIGTEN SEITE (NEUES DESIGN) ======================= */
.predigten-page-wrapper {
    background-color: #F8F8F4;
    min-height: calc(100vh - 81px - 61px); /* Footer ve Header yüksekliği çıkarıldı */
    padding: 40px 20px;
}

.predigten-header {
    text-align: center;
    margin-bottom: 50px;
}

.predigten-header h1 {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #A54F3C;
}

.predigten-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.predigt-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 250px;
}

.predigt-title-box {
    background-color: #D8E0D5;
    color: #A54F3C;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 20px 40px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.predigt-title-box:hover {
    background-color: #c9d3c6;
}

.predigt-icon {
    width: 150px; /* İkonların genişliği */
    height: auto;
}

/* ======================= KORAN-DEUTSCH DOWNLOAD BEREICH ======================= */
.download-section {
    padding: 20px 5%;
    display: flex;
    justify-content: center;
}

.download-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--terracotta);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.download-info {
    display: flex;
    flex-direction: column;
}

.download-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.download-format {
    font-size: 0.9rem;
    color: #777;
}

.download-icon {
    color: var(--terracotta);
}

/* ======================= DR. ABDULCABBAR BORAN SEITE ======================= */
.bio-image {
    float: left;
    width: 390px; /* Bild vergrößert */
    height: 700px; /* Höhe proportional angepasst */
    border-radius: 8px;
    margin-right: 30px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover; /* Verhindert Bildverzerrung */
}
/* ======================= YENİ MASONRY GALERİ STİLLERİ ======================= */

.satzung-content hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    margin: 40px 0;
}

.testimonial {
    background-color: #f9f9f9;
    border-left: 5px solid var(--terracotta);
    padding: 20px;
    margin-top: 20px;
    font-style: italic;
}

.testimonial p {
    margin-bottom: 10px;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #555;
}

.masonry-gallery-section {
    padding: 20px 2%;
}

.masonry-gallery {
    column-count: 4; /* Varsayılan sütun sayısı */
    column-gap: 15px;
}

.masonry-item {
    break-inside: avoid; /* Sütunlar arasında resimlerin bölünmesini engeller */
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Masonry Galeri için Mobil Uyumluluk */
@media (max-width: 1200px) { .masonry-gallery { column-count: 3; } }
@media (max-width: 992px) { .masonry-gallery { column-count: 2; } }
@media (max-width: 576px) { .masonry-gallery { column-count: 1; } }

/* Modal navigasyon butonlarının konumu */
.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }

/* ======================= VIDEO SLIDER (video.html) ======================= */
.video-slider-container {
    position: relative;
    width: 100%;
    max-width: 1600px; /* Breiter für große Bildschirme */
    margin: 0 auto;
    overflow: hidden;
}

.video-slides {
    position: relative;
    width: 100%;
    min-height: 800px; /* Mindesthöhe, um Layout-Sprünge zu vermeiden */
}

.video-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.8s;
}

.video-slide.active {
    display: block;
}

.video-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 18px;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-slider-btn.prev { left: 20px; }
.video-slider-btn.next { right: 20px; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
