/* ==========================================================================
   Casino Crew – Unterseiten (Einsatzgebiete, Spiele, Events)
   Eingebunden ueber $pageStyles in includes/header.php.
   Die Seiten werden ausschliesslich aus den Bausteinen in
   includes/cc-bausteine.php zusammengesetzt.

   GESTALTUNGSREGELN
   1. Farben: Gold #baa471 (Flaechen, Linien, Icons), Gold dunkel #9c8650
      (Links und Zahlen auf Weiss), Text #383838, Titel #222222, Weiss,
      Hellgrau nur fuer Kundenstimmen. Keine weiteren Farben.
   2. Schrift: Ueberschriften JosefinSans, Fliesstext Opensans (beides Theme).
      Genau ein H1 je Seite, im goldenen Seitenkopf. H2 = Abschnittstitel,
      H3 = Titel in Karten, Kacheln und Paketen sowie Zwischentitel im
      Fliesstext (.cc-h3), H4 = kleine Zwischentitel.
   3. Seitenaufbau: goldener Seitenkopf -> Intro (Bild links, Text rechts,
      Liste, ein Knopf) -> Abschnitte, deren Titel sich abwechseln: hell
      (.cc-titel mit Raute) und Goldband (.section-block-title + .bg-dark).
      Kundenstimmen stehen auf Grau direkt vor den haeufigen Fragen.
      Jede Seite endet mit einem Goldband samt Anfrage-Knopf.
   4. Bausteine: Bildkarte (.cc-card), Kachel (.cc-kachel), Paket (.cc-paket),
      Schritt (.cc-schritt), Kennzahl (.cc-fakt), Fragen (.cc-faq),
      Verweise (.cc-chips), Vorteil (.icon-circle). Keine Einzelloesungen.
   5. Knoepfe: nur .btn-default.white, hoechstens einer je Abschnitt.
   6. Bilder: echte Fotos, immer object-fit: cover mit festen Hoehen
      (Karte 340/240, Kachel 190, Intro 330/130). Alt-Text beschreibt das Bild.
      Schneidet der Ausschnitt Koepfe ab: oben ausrichten (.cc-bild-oben).
   7. Abstaende im 30-px-Raster, Spalten stapeln unter 768 px.
   8. Sprache: Sie-Form, keine Preise, nur belegte Angaben.
   ========================================================================== */

/* Vorteile (Icon im Kreis) */
.icon-circle {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #baa471;
    color: #ffffff;
    font-size: 26px;
    margin: 0 auto 20px;
    text-align: center;
    transition: background-color 300ms ease;
}
.block-feature-icon:hover .icon-circle { background-color: #383838; }

/* Text */
.cc-text p, .cc-text li, p.cc-lead { color: #383838; line-height: 1.75; }
p.cc-lead { font-size: 16px; }
.cc-text a:not(.btn-default) { color: #9c8650; text-decoration: underline; }
.cc-text a:not(.btn-default):hover { color: #383838; }
.cc-text h3.cc-h3 { margin: 26px 0 12px; color: #383838; font-size: 20px; line-height: 1.3; }
.cc-liste { padding-left: 20px; margin: 0 0 20px; }
.cc-liste li { line-height: 30px; color: #383838; }
.cc-center { text-align: center; }
.cc-mt { margin-top: 30px; }

/* Abschnittstitel auf hellem Grund (das Theme setzt .head-title dort weiss) */
.cc-titel { padding: 70px 15px 0; text-align: center; }
.cc-titel h2 {
    position: relative;
    margin: 0; padding: 0 0 26px;
    color: #222222;
    font-family: 'JosefinSans', sans-serif;
    font-size: 30px; line-height: 1.25;
}
.cc-titel h2:after {
    content: ""; position: absolute; left: 50%; bottom: 8px;
    width: 150px; margin-left: -75px; border-bottom: 1px solid #baa471;
}
.cc-titel h2:before {
    content: ""; position: absolute; left: 50%; bottom: 4px;
    width: 10px; height: 10px; margin-left: -5px; background-color: #baa471;
    -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
.cc-titel p {
    margin: 12px 0 0;
    color: rgba(34, 34, 34, .6);
    font-family: 'JosefinSans', sans-serif;
    font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.cc-titel + .block { padding-top: 50px; }

/* Titel auf goldenem Grund etwas kleiner, damit laengere Zeilen passen */
.section-title-body h2.head-title.cc-head { font-size: 40px; line-height: 48px; }
.cc-knopf { text-align: center; }

/* Bildkarten: Staedte und Spiele */
a.cc-card {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
    background: #1d1d1d;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    text-decoration: none;
}
.cc-card img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    opacity: .92;
    transition: transform .6s ease, opacity .3s ease;
}
.cc-card--klein img { height: 240px; }
a.cc-card:hover img, a.cc-card:focus img { transform: scale(1.05); opacity: 1; }
.cc-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 90px 24px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, 0) 100%);
    text-align: left;
}
.cc-card__titel {
    display: block;
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.cc-card--klein .cc-card__titel { font-size: 20px; }
.cc-card__text { display: block; color: #f1f1f1; font-size: 14px; line-height: 1.5; }
.cc-card__mehr {
    display: inline-block;
    margin-top: 12px;
    color: #d8c592;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.cc-card__mehr:after { content: " \2192"; }

/* Kacheln (Bild oben, Text darunter): Anlaesse und Blogartikel */
.cc-flex { display: flex; flex-wrap: wrap; }
.cc-flex:before, .cc-flex:after { display: none; }
.cc-flex > [class*="col-"] { display: flex; }
.cc-kachel {
    display: flex; flex-direction: column;
    width: 100%; margin-bottom: 30px;
    background: #ffffff; border: 1px solid #ececec; border-radius: 3px; overflow: hidden;
}
.cc-kachel img { display: block; flex: 0 0 auto; width: 100%; height: 190px; object-fit: cover; }
.cc-kachel__body { flex: 1 1 auto; padding: 18px 18px 8px; }
.cc-kachel__titel { margin: 0 0 8px; color: #383838; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.cc-kachel__titel a { color: inherit; text-decoration: none; }
.cc-kachel__titel a:hover, .cc-kachel__titel a:focus { color: #9c8650; }
.cc-kachel__body p { color: #383838; font-size: 14px; line-height: 1.65; }
.cc-kachel__mehr {
    display: block;
    padding: 0 18px 16px;
    color: #9c8650;
    font-size: 12px; line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.cc-kachel__mehr:after { content: " \2192"; }
.cc-kachel__mehr:hover, .cc-kachel__mehr:focus { color: #383838; text-decoration: none; }
/* Blogtitel sind lang: normale Schreibweise statt Versalien */
.cc-kachel--blog .cc-kachel__titel { font-size: 17px; line-height: 1.35; letter-spacing: 0; text-transform: none; }

/* Bildergruppe im Intro */
.cc-galerie img { display: block; width: 100%; border-radius: 3px; }
.cc-galerie__gross img { height: 330px; object-fit: cover; }
.cc-galerie__klein { display: flex; gap: 12px; margin-top: 12px; }
.cc-galerie__klein img { height: 130px; object-fit: cover; }
.cc-galerie__klein > div { flex: 1 1 0; min-width: 0; }
.cc-galerie img.cc-bild-oben { object-position: center top; }

/* Pakete */
.cc-paket { width: 100%; margin-bottom: 30px; padding: 26px 24px 18px; background: #ffffff; border: 1px solid #e6dfcc; border-top: 3px solid #baa471; border-radius: 3px; }
.cc-paket__name { margin: 0 0 14px; color: #383838; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; }
.cc-paket ul { list-style: none; padding: 0; margin: 0; }
.cc-paket li { padding: 7px 0; border-bottom: 1px solid #f1f1f1; color: #383838; }
.cc-paket li:last-child { border-bottom: 0; }

/* Schritte (Ablauf, Spielregeln) – Nummer oder Icon im Kreis */
.cc-schritt { margin-bottom: 30px; text-align: center; }
.cc-schritt__nr {
    width: 46px; height: 46px; line-height: 44px;
    margin: 0 auto 14px;
    border: 1px solid #baa471; border-radius: 50%;
    color: #9c8650; font-size: 18px;
}
.cc-schritt__nr i { font-size: 20px; line-height: 44px; }
.cc-schritt h4 { margin: 0 0 8px; color: #383838; }
.cc-schritt p { color: #383838; }

/* Kennzahlen */
.cc-fakt { margin-bottom: 30px; text-align: center; }
.cc-fakt__zahl { display: block; color: #9c8650; font-size: 38px; line-height: 1.1; }
.cc-fakt__text { display: block; margin-top: 6px; color: #383838; font-size: 14px; }

/* Haeufige Fragen ohne JavaScript */
.cc-faq { max-width: 860px; margin: 0 auto; text-align: left; }
.cc-faq details { border-bottom: 1px solid #e3e3e3; }
.cc-faq details:first-child { border-top: 1px solid #e3e3e3; }
.cc-faq summary {
    position: relative;
    padding: 18px 40px 18px 0;
    color: #383838;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary:after {
    content: "+";
    position: absolute; right: 6px; top: 13px;
    color: #baa471; font-size: 26px; line-height: 1;
}
.cc-faq details[open] summary:after { content: "\2013"; }
.cc-faq summary:focus { outline: 1px dotted #baa471; outline-offset: 2px; }
.cc-faq details p { margin: 0; padding: 0 40px 20px 0; color: #383838; line-height: 1.75; }

/* Kundenstimmen */
.company-feature .block-feature p.cc-stimme__name { color: #baa471; margin-bottom: 8px; }

/* Verweise auf Nachbarseiten */
.cc-chips { margin: 0; padding: 0; list-style: none; text-align: center; }
.cc-chips li { display: inline-block; margin: 0 6px 12px; }
.cc-chips a {
    display: inline-block; padding: 9px 20px;
    border: 1px solid #baa471; border-radius: 30px;
    color: #383838; text-decoration: none; letter-spacing: 1px;
    transition: background-color .25s ease, color .25s ease;
}
.cc-chips a:hover, .cc-chips a:focus { background: #baa471; color: #ffffff; }
.cc-chips + h4 { margin-top: 24px; }

/* Startseite: Textlinks in bestehenden Texten, Verweise in Fenstern und Eventideen */
.cc-links a, .cc-links .block-feature a, .cc-links.company-feature p a {
    display: inline; margin: 0;
    color: #9c8650; font: inherit; letter-spacing: inherit; text-transform: none; text-decoration: underline;
}
.cc-links a:hover, .cc-links a:focus,
.cc-links .block-feature a:hover, .cc-links.company-feature p a:hover { color: #383838; }
.cc-verweise { padding-top: 10px; text-align: center; }
.cc-modal-mehr { margin: 4px 0 14px; }
.portfolio-cell .portfolio-item .image-overlay .image-overlay-content.cc-overlay { height: 116px; margin-top: -58px; }
.portfolio-cell .portfolio-item .image-overlay a.cc-overlay__mehr {
    position: static; display: block; width: auto; height: auto;
    padding-top: 4px; text-align: center;
    color: #baa471; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.portfolio-cell .portfolio-item .image-overlay a.cc-overlay__mehr:hover,
.portfolio-cell .portfolio-item .image-overlay a.cc-overlay__mehr:focus { color: #ffffff; }
.cc-footer-links + .cc-footer-links { margin-top: -4px; }

@media (max-width: 767px) {
    .cc-card img { height: 260px; }
    .cc-card--klein img { height: 210px; }
    .cc-card__titel { font-size: 22px; }
    .cc-galerie { margin-bottom: 30px; }
    .cc-galerie__gross img { height: 240px; }
    .cc-galerie__klein img { height: 100px; }
    .cc-faq summary { font-size: 15px; }
    .section-title-body h1.head-title { font-size: 30px !important; line-height: 38px !important; letter-spacing: 2px; overflow-wrap: break-word; }
    .cc-titel { padding-top: 50px; }
    .cc-titel h2 { font-size: 24px; }
    .section-title-body h2.head-title.cc-head { font-size: 28px; line-height: 36px; }
}
