/*
Theme Name: Family Affairz
Theme URI: https://family-affairz.de/
Author: OpenAI
Description: Lebendiges Soul/Funk-Theme für Family Affairz. Mit Gig-Verwaltung, News, Galerie und Booking-Bereich.
Version: 1.0.1-clean
Text Domain: family-affairz
*/
:root{--ink:#130e19;--paper:#fffaf3;--hot:#ff4b5c;--gold:#ffb000;--aqua:#10c6c2;--violet:#7c3aed;--lime:#b8e830;--muted:#6e6475;--radius:28px;--shadow:0 18px 60px rgba(19,14,25,.16)}
*{box-sizing:border-box;} 
html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
  scrollbar-gutter:stable;}
body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}a{color:inherit}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:fixed;z-index:50;inset:0 0 auto 0;background:rgba(19,14,25,.78);backdrop-filter:blur(14px);color:white;border-bottom:1px solid rgba(255,255,255,.14)}.nav-row{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{text-decoration:none;font-weight:950;letter-spacing:-.04em;font-size:clamp(1.3rem,2vw,2rem)}.brand span{color:var(--gold)}.menu{display:flex;gap:22px;align-items:center}.menu a{text-decoration:none;font-weight:800;font-size:.95rem}.menu a:hover{color:var(--gold)}.menu-toggle{display:none;background:none;border:0;color:white;font-size:1.6rem}.hero{min-height:92vh;display:grid;align-items:end;position:relative;color:white;background:#17101d center/cover no-repeat;padding:150px 0 72px; background-position: center 15%;} .hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,7,18,.40) 0%,rgba(12,7,18,.25) 50%,rgba(12,7,18,.50) 100%),linear-gradient(0deg,rgba(12,7,18,.62),transparent 55%)}.hero-content{position:relative;max-width:760px}.kicker{text-transform:uppercase;letter-spacing:.18em;font-weight:950;color:var(--gold);font-size:.82rem}.hero h1{font-size:clamp(3.4rem,8vw,7.4rem);line-height:.88;letter-spacing:-.065em;margin:.15em 0}.hero h1 em{font-style:normal;color:var(--hot)}.lead{font-size:clamp(1.15rem,2vw,1.5rem);max-width:650px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:999px;font-weight:900;text-decoration:none;border:2px solid transparent}.btn.hot{background:var(--hot);color:white}.btn.light{border-color:white;color:white;background:rgba(255,255,255,.08)}section{padding:92px 0}.section-title{font-size:clamp(2.2rem,5vw,4.6rem);line-height:.95;letter-spacing:-.05em;margin:0 0 18px}.section-copy{max-width:760px;font-size:1.14rem;color:var(--muted)}.stripe{background:var(--ink);color:white;position:relative;overflow:hidden}.stripe:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:var(--violet);filter:blur(90px);opacity:.34;right:-100px;top:-150px}.grid-2{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}.photo-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transform:rotate(1.2deg)}.photo-card img{width:100%;display:block}.genre-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.chip{padding:8px 13px;border-radius:999px;background:white;color:var(--ink);font-weight:900}.gigs{display:grid;gap:14px;margin-top:34px}.gig{display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:20px;background:white;color:var(--ink);padding:18px 20px;border-radius:22px}.gig-date{font-weight:950;color:var(--violet)}.gig strong{display:block;font-size:1.12rem}.gig small{color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:12px;margin-top:34px}.gallery a{overflow:hidden;border-radius:20px;min-height:220px}.gallery a:nth-child(1),.gallery a:nth-child(6){grid-column:span 7}.gallery a:nth-child(2),.gallery a:nth-child(5){grid-column:span 5}.gallery a:nth-child(3),.gallery a:nth-child(4){grid-column:span 6}.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s transform}.gallery a:hover img{transform:scale(1.03)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:34px}.card{background:white;border-radius:24px;padding:24px;box-shadow:0 12px 40px rgba(19,14,25,.08)}.card h3{font-size:1.45rem;margin:8px 0}.card time{font-weight:900;color:var(--hot)}.booking{background:linear-gradient(135deg,var(--gold),#ff7b54 46%,var(--hot));color:var(--ink)}.booking-box{background:rgba(255,255,255,.76);backdrop-filter:blur(10px);padding:clamp(28px,6vw,64px);border-radius:36px}.booking-box p{font-size:1.2rem;max-width:760px}.site-footer{background:#0e0912;color:#d8cedd;padding:40px 0}.footer-row{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer-row a{color:white}.empty-note{padding:22px;border:2px dashed rgba(255,255,255,.25);border-radius:18px;color:#d8cedd}.content-main{padding:130px 0 80px;min-height:65vh}.content-main h1{font-size:clamp(2.4rem,6vw,5rem);letter-spacing:-.05em}.wp-block-image img{border-radius:20px}@media(max-width:800px){.menu-toggle{display:block}.menu{position:absolute;top:76px;left:0;right:0;background:#130e19;display:none;flex-direction:column;align-items:flex-start;padding:22px 18px}.menu.open{display:flex}.grid-2{grid-template-columns:1fr}.gig{grid-template-columns:1fr}.gallery a{grid-column:span 12!important}.news-grid{grid-template-columns:1fr}.hero{min-height:82vh}}

/* Multi-Page-Erweiterung */
.menu a.current{color:var(--gold)}
.page-main{padding-top:76px;min-height:70vh}
.page-hero{
    padding:10px 0 92px;
}
.dark-page{min-height:calc(100vh - 76px)}
.light-copy{color:#d8cedd}
.home-intro{padding:92px 0 110px}
.teaser-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:42px}
.teaser-card{grid-column:span 2;min-height:190px;border-radius:26px;padding:24px;background:white;box-shadow:var(--shadow);text-decoration:none;display:flex;flex-direction:column;justify-content:space-between;transition:.25s transform,.25s box-shadow}
.teaser-card:hover{transform:translateY(-5px);box-shadow:0 24px 65px rgba(19,14,25,.2)}
.teaser-card span{color:var(--hot);font-weight:950}.teaser-card strong{font-size:1.8rem;letter-spacing:-.04em}.teaser-card small{color:var(--muted);font-weight:800}.teaser-card.hot-card{grid-column:span 4;background:linear-gradient(135deg,var(--gold),#ff7b54 46%,var(--hot));color:var(--ink)}.teaser-card.hot-card span,.teaser-card.hot-card small{color:var(--ink)}
.band-stage .photo-card{transform:rotate(-1deg)}
.gallery-page{grid-auto-flow:dense}
.gallery-page a:nth-child(n+7){grid-column:span 4;min-height:260px}
.news-grid .card h2{font-size:1.45rem;margin:8px 0;line-height:1.15}
.pagination{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pagination .page-numbers{padding:8px 12px;border-radius:999px;background:white;color:var(--ink);text-decoration:none;font-weight:800}.pagination .current{background:var(--gold)}
.booking-page{min-height:calc(100vh - 76px);display:grid;align-items:center}.btn.dark-outline{color:var(--ink);border-color:var(--ink);background:rgba(255,255,255,.08)}
code{background:rgba(19,14,25,.07);padding:.15em .35em;border-radius:.35em}
@media(max-width:800px){.page-main{padding-top:76px}.teaser-grid{grid-template-columns:1fr}.teaser-card,.teaser-card.hot-card{grid-column:auto}.gallery-page a:nth-child(n){grid-column:span 12}.dark-page{min-height:0}}
.hero-content {transform: translateY(150px);}
.card {background: #ffffff;color: #000000;}
.card h3,
.card p {color: #000000;}
/* Media-Seite */
.media-content{margin-top:42px;display:grid;gap:34px}
.media-content > *{margin-top:0;margin-bottom:0}
.media-content h2,.media-content h3{letter-spacing:-.035em;line-height:1.05;margin-top:20px}
.media-content h2{font-size:clamp(1.8rem,4vw,3rem)}
/* Family Affairz – Gwolle Guestbook */
.guestbook-page .guestbook-intro{margin-bottom:34px}
.guestbook-shell{margin-top:34px;max-width:920px}
.guestbook-shell .gwolle-gb{font-family:inherit;color:var(--ink)}

/* Schreibformular */
.guestbook-shell .gwolle-gb form.gwolle-gb-write,
.guestbook-shell .gwolle-gb .gwolle-gb-write{
  background:#fff;
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 40px rgba(19,14,25,.08);
  margin-bottom:28px;
}
.guestbook-shell .gwolle-gb label{color:var(--ink);font-weight:800}
.guestbook-shell .gwolle-gb input[type="text"],
.guestbook-shell .gwolle-gb input[type="email"],
.guestbook-shell .gwolle-gb input[type="url"],
.guestbook-shell .gwolle-gb textarea,
.guestbook-shell .gwolle-gb select{
  width:100%;
  border:1px solid rgba(19,14,25,.18);
  border-radius:14px;
  background:#fff;
  color:#000;
  padding:12px 14px;
  font:inherit;
}
.guestbook-shell .gwolle-gb textarea{min-height:150px;resize:vertical}
.guestbook-shell .gwolle-gb input:focus,
.guestbook-shell .gwolle-gb textarea:focus,
.guestbook-shell .gwolle-gb select:focus{
  outline:3px solid rgba(255,176,0,.28);
  border-color:var(--gold);
}
.guestbook-shell .gwolle-gb input[type="button"],
.guestbook-shell .gwolle-gb input[type="submit"],
.guestbook-shell .gwolle-gb button{
  border:0;
  border-radius:999px;
  background:var(--hot);
  color:#fff;
  font:inherit;
  font-weight:900;
  padding:12px 20px;
  cursor:pointer;
}

/* Einträge */
.guestbook-shell .gwolle-gb .gb-entry,
.guestbook-shell .gwolle-gb article,
.guestbook-shell .gwolle-gb .entry{
  background:#fff;
  color:#000;
  border-radius:22px;
  padding:22px;
  margin:0 0 16px;
  box-shadow:0 10px 32px rgba(19,14,25,.07);
}
.guestbook-shell .gwolle-gb a{color:var(--violet);font-weight:800}
.guestbook-shell .gwolle-gb .gb-author-name,
.guestbook-shell .gwolle-gb .author-name{font-weight:950;color:var(--ink)}
.guestbook-shell .gwolle-gb .gb-date,
.guestbook-shell .gwolle-gb time{color:var(--muted);font-size:.9rem}

.guestbook-admin-note{
  background:#fff3cd;
  color:#4d3b00;
  border-radius:18px;
  padding:18px 20px;
}

@media(max-width:800px){
  .guestbook-shell .gwolle-gb form.gwolle-gb-write,
  .guestbook-shell .gwolle-gb .gwolle-gb-write,
  .guestbook-shell .gwolle-gb .gb-entry,
  .guestbook-shell .gwolle-gb article,
  .guestbook-shell .gwolle-gb .entry{padding:18px}
}

/* =========================
   FAMILY AFFAIRZ – BANDSEITE 2026 / POSTERLOOK
   Diese Regeln stehen am Ende und überschreiben
   ältere Bandkarten-Regeln.
========================================= */
.band-main .page-hero{
    background:var(--paper);
}

.band-page{
    position:relative;
    min-height:0;
    padding:84px 18px 100px;
    background:
        radial-gradient(circle at 18% 10%,rgba(184,136,64,.17),transparent 24%),
        radial-gradient(circle at 82% 18%,rgba(184,136,64,.12),transparent 20%),
        radial-gradient(circle at 50% 100%,rgba(120,84,31,.18),transparent 32%),
        linear-gradient(180deg,rgba(0,0,0,.68),rgba(0,0,0,.88)),
        #050505;
}

.band-card{
    position:relative;
    width:min(1060px,100%);
    margin:0 auto;
    padding:68px clamp(24px,6vw,72px) 52px;
    color:#eadfc5;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 0,rgba(152,106,43,.12),transparent 34%),
        radial-gradient(circle at 50% 100%,rgba(93,63,23,.10),transparent 32%),
        linear-gradient(180deg,#17130d 0%,#0d0c09 58%,#070604 100%);
    border:4px solid #a77a36;
    box-shadow:0 30px 80px rgba(0,0,0,.72),inset 0 0 110px rgba(0,0,0,.68);
}

.band-card::before,
.band-card::after{
    content:"";
    position:absolute;
    pointer-events:none;
}
.band-card::before{
    inset:12px;
    border:1px solid rgba(214,170,93,.58);
}
.band-card::after{
    inset:26px;
    border:1px solid rgba(177,127,56,.22);
}
.band-card > *{position:relative;z-index:2}

.band-menu-header{
    text-align:center;
    margin-bottom:32px;
}
.band-menu-title{
    margin:0;
    color:#ead9b5;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(3rem,8vw,6rem);
    font-weight:700;
    line-height:.92;
    letter-spacing:.05em;
    text-transform:uppercase;
    text-shadow:0 2px 0 #5e421e,0 6px 18px rgba(0,0,0,.85);
}
.band-menu-subline{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin:8px 0 0;
    color:#cb9b52;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.1rem,2vw,1.55rem);
    font-weight:700;
    letter-spacing:.03em;
}
.band-menu-subline span{font-size:.8em;opacity:.9}
.band-badge-wrap{
    display:flex;
    align-items:center;
    gap:18px;
    margin:28px auto 0;
    max-width:760px;
}
.band-badge-wrap::before,
.band-badge-wrap::after{
    content:"";
    flex:1;
    height:1px;
    background:radial-gradient(circle,#b68442 0 1px,transparent 2px) left center/10px 2px repeat-x;
    opacity:.8;
}
.band-badge{
    display:inline-block;
    margin:0;
    padding:11px 32px 12px;
    border:2px solid rgba(179,128,55,.75);
    border-radius:14px;
    color:#d7b072;
    background:linear-gradient(180deg,rgba(92,62,24,.30),rgba(42,28,11,.55));
    box-shadow:inset 0 0 0 1px rgba(224,177,97,.28),0 0 0 1px rgba(0,0,0,.55);
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.45rem,3vw,2.1rem);
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.chef-list{
    max-width:900px;
    margin:0 auto;
}
.chef{
    display:grid;
    grid-template-columns:126px minmax(0,1fr);
    gap:26px;
    align-items:center;
    padding:16px 0 18px;
    border-bottom:2px dotted rgba(183,136,64,.44);
}
.chef:last-child{border-bottom:0}
.chef-portrait{display:flex;justify-content:center}
.chef-portrait img,
.chef-placeholder{
    width:104px;
    height:104px;
    border-radius:50%;
    border:3px solid #ad7d3b;
    outline:1px solid rgba(221,178,102,.45);
    outline-offset:4px;
    box-shadow:0 5px 20px rgba(0,0,0,.7);
}
.chef-portrait img{
    display:block;
    object-fit:cover;
    filter:sepia(.55) contrast(1.08) saturate(.72);
}
.chef-placeholder{
    display:grid;
    place-items:center;
    color:#d4b172;
    background:radial-gradient(circle,#262016,#0e0c09 72%);
    font-family:Georgia,"Times New Roman",serif;
    font-size:2.2rem;
}
.chef-content h3{
    margin:0 0 5px;
    color:#eee0be;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.5rem,3vw,2rem);
    font-weight:700;
    line-height:1.1;
}
.chef-content h3 em{
    color:#cf984a;
    font-size:.72em;
    font-style:italic;
    font-weight:400;
}
.chef-text p,
.chef-empty{
    margin:0 0 .5em;
    color:#d5c8aa;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.02rem,1.6vw,1.16rem);
    line-height:1.42;
}
.chef-text p:last-child{margin-bottom:0}
.chef-empty{opacity:.6;font-style:italic}

.menu-setlist{
    margin-top:32px;
    padding-top:28px;
    border-top:2px solid rgba(164,115,47,.72);
}
.menu-badge-wrap{margin-top:0;margin-bottom:22px;max-width:880px}
.song-columns{
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:44px;
    max-width:920px;
    margin:0 auto;
}
.song-columns::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:0;
    border-left:2px dotted rgba(183,136,64,.42);
    transform:translateX(-22px);
}
.song-list{
    list-style:none;
    margin:0;
    padding:0;
}
.song-list li{
    position:relative;
    padding:7px 0 7px 24px;
    border-bottom:1px dotted rgba(183,136,64,.22);
    color:#e6dac0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1rem,1.45vw,1.16rem);
    line-height:1.28;
}
.song-list li::before{
    content:"★";
    position:absolute;
    left:0;
    top:8px;
    color:#b27d36;
    font-size:.75rem;
}
.song-list strong{font-weight:700}
.song-list span{opacity:.8}
.song-list em{color:#cf984a}
.more-songs{
    margin:18px 0 0;
    text-align:center;
    color:#d8b173;
    font-family:Georgia,"Times New Roman",serif;
    font-size:1.05rem;
    font-style:italic;
}

.band-menu-footer{
    margin-top:28px;
    padding-top:18px;
    border-top:1px solid rgba(190,143,69,.52);
    text-align:center;
}
.band-menu-footer p{
    margin:0;
    color:#c69348;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1rem,2vw,1.35rem);
    font-style:italic;
    letter-spacing:.02em;
}

@media(max-width:760px){
    .band-page{padding:42px 7px 55px}
    .band-card{padding:48px 20px 36px}
    .band-card::before{inset:7px}
    .band-card::after{inset:16px}
    .band-menu-title{font-size:clamp(2.5rem,13vw,4rem)}
    .band-menu-subline{gap:8px;font-size:1rem;flex-wrap:wrap}
    .band-badge-wrap{gap:10px}
    .band-badge{padding:10px 18px;font-size:1.1rem}
    .chef{grid-template-columns:84px minmax(0,1fr);gap:16px;align-items:start}
    .chef-portrait img,.chef-placeholder{width:74px;height:74px;outline-offset:3px}
    .chef-placeholder{font-size:1.7rem}
    .chef-content h3{font-size:1.22rem}
    .chef-text p,.chef-empty{font-size:.92rem;line-height:1.45}
    .song-columns{grid-template-columns:1fr;gap:12px}
    .song-columns::before{display:none}
    .song-list li{font-size:.96rem}
    .band-menu-footer p{font-size:1rem}
}

/* =========================================
   FAMILY AFFAIRZ – NAHEZU 1:1 SPEISEKARTEN-LOOK
   Die fixe Gestaltung basiert auf der gelieferten Vorlage.
   Editierbar bleiben nur die fünf Köche.
========================================= */
.band-reference-section{
    padding:28px 18px 110px;
    background:linear-gradient(180deg,#130f10 0%,#080707 100%);
}

.band-reference-stage{
    width:min(1120px,100%);
    margin:0 auto;
}

.band-reference-poster{
    position:relative;
    width:100%;
    aspect-ratio:1024 / 1416;
    background: #090807 center/cover no-repeat;
    background-image: var(--band-reference-image);
    box-shadow:0 28px 90px rgba(0,0,0,.55);
    overflow:hidden;
}

.band-reference-chef-overlay{
    position:absolute;
    left:10.55%;
    right:12.8%;
    top:25.8%;
    height:39.7%;
    display:grid;
    grid-template-rows:repeat(5, 1fr);
}

.band-reference-chef-item{
    display:grid;
    grid-template-columns:20.5% 1fr;
    align-items:center;
    gap:2.4%;
    padding:1.15% 1.4% 1.45% 1.5%;
    background:linear-gradient(90deg, rgba(7,7,7,.90) 0%, rgba(7,7,7,.86) 74%, rgba(7,7,7,.72) 100%);
    border-bottom:2px dotted rgba(173,126,55,.54);
}

.band-reference-chef-item:last-child{
    border-bottom:0;
}

.band-reference-chef-portrait{
    display:flex;
    justify-content:center;
    align-items:center;
}

.band-reference-chef-portrait img,
.band-reference-chef-placeholder{
    width:86%;
    aspect-ratio:1 / 1;
    border-radius:50%;
    border:2px solid #9e7130;
    box-shadow:0 0 0 2px rgba(17,13,9,.72), 0 4px 12px rgba(0,0,0,.5);
}

.band-reference-chef-portrait img{
    object-fit:cover;
    display:block;
    filter:sepia(.8) contrast(1.06) saturate(.60) brightness(.96);
}

.band-reference-chef-placeholder{
    display:grid;
    place-items:center;
    color:#d2ac6b;
    background:radial-gradient(circle,#2a2317,#0f0d0a 72%);
    font-family:Georgia,serif;
    font-size:2rem;
}

.band-reference-chef-copy h3{
    margin:0 0 .25em;
    color:#ede1c5;
    font-family:"Baskerville Old Face","Palatino Linotype","Book Antiqua",Georgia,serif;
    font-size:clamp(1.05rem,2.18vw,2rem);
    font-weight:700;
    line-height:1.05;
    letter-spacing:.01em;
}

.band-reference-chef-copy h3 em{
    color:#ce984c;
    font-style:italic;
    font-weight:400;
    font-size:.78em;
}

.band-reference-chef-text p,
.band-reference-chef-empty{
    margin:0;
    color:#dbceb2;
    font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
    font-size:clamp(.82rem,1.42vw,1.26rem);
    line-height:1.23;
}

.band-reference-chef-empty{
    opacity:.72;
    font-style:italic;
}

@media(max-width:900px){
    .band-reference-section{padding:20px 8px 55px}
}

@media(max-width:640px){
    .band-reference-chef-overlay{
        left:9.8%;
        right:12.2%;
        top:25.5%;
        height:40.4%;
    }

    .band-reference-chef-item{
        grid-template-columns:20% 1fr;
        gap:3%;
        padding:1.2% .8% 1.45% 1.2%;
    }

    .band-reference-chef-copy h3{
        font-size:clamp(.76rem,2.32vw,1rem);
    }

    .band-reference-chef-text p,
    .band-reference-chef-empty{
        font-size:clamp(.58rem,1.7vw,.78rem);
        line-height:1.16;
    }

    .band-reference-chef-placeholder{font-size:1rem}
}

/* =========================================
   FAMILY AFFAIRZ – REFERENZ-OVERLAY KORREKTUR V2
   Hintergrundvorlage bleibt vollständig erhalten.
   Nur der originale Köche-Inhalt wird blickdicht ersetzt.
========================================= */
.band-reference-poster{
    container-type:inline-size;
    background-image:var(--band-reference-image) !important;
    background-position:center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

.band-reference-chef-overlay{
    position:absolute;
    left:13.2%;
    right:12.5%;
    top:24.9%;
    height:42.1%;
    display:grid;
    grid-template-rows:repeat(5,minmax(0,1fr));
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at 28% 18%,rgba(127,91,39,.045),transparent 30%),
        radial-gradient(circle at 72% 78%,rgba(127,91,39,.035),transparent 30%),
        #080807;
    box-shadow:inset 0 0 9px rgba(0,0,0,.78);
}

.band-reference-chef-item{
    min-height:0;
    display:grid;
    grid-template-columns:20.5% minmax(0,1fr);
    align-items:center;
    gap:2.15%;
    padding:0 1.1% 0 0;
    overflow:hidden;
    background:transparent;
    border-bottom:2px dotted rgba(173,126,55,.55);
}
.band-reference-chef-item:last-child{border-bottom:0}

.band-reference-chef-portrait{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.band-reference-chef-portrait img,
.band-reference-chef-placeholder{
    width:11.1cqw;
    height:11.1cqw;
    max-width:none;
    flex:0 0 auto;
    border-radius:50%;
    border:.20cqw solid #9e7130;
    outline:.09cqw solid rgba(226,185,111,.42);
    outline-offset:.16cqw;
    box-shadow:0 .3cqw 1cqw rgba(0,0,0,.7);
}

.band-reference-chef-portrait img{
    object-fit:cover;
    display:block;
    filter:sepia(.82) contrast(1.08) saturate(.58) brightness(.95);
}

.band-reference-chef-placeholder{
    display:grid;
    place-items:center;
    color:#d2ac6b;
    background:radial-gradient(circle,#2a2317,#0f0d0a 72%);
    font-family:Georgia,serif;
    font-size:3cqw;
}

.band-reference-chef-copy{
    min-width:0;
    overflow:hidden;
}

.band-reference-chef-copy h3{
    margin:0 0 .22em;
    color:#ede1c5;
    font-family:"Baskerville Old Face","Palatino Linotype","Book Antiqua",Georgia,serif;
    font-size:2.65cqw;
    font-weight:700;
    line-height:1.03;
    letter-spacing:.005em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.band-reference-chef-copy h3 em{
    color:#ce984c;
    font-style:italic;
    font-weight:400;
    font-size:.70em;
}

.band-reference-chef-text,
.band-reference-chef-empty{
    overflow:hidden;
}

.band-reference-chef-text p,
.band-reference-chef-empty{
    margin:0;
    color:#dbceb2;
    font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
    font-size:1.62cqw;
    line-height:1.16;
}

.band-reference-chef-text p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.band-reference-chef-empty{
    opacity:.7;
    font-style:italic;
}

@media(max-width:640px){
    .band-reference-chef-overlay{
        left:13.2%;
        right:12.5%;
        top:24.9%;
        height:42.1%;
    }
}
/* =========================================
   FAMILY AFFAIRZ – FEINKORREKTUR REFERENZ-OVERLAY V3
   Kürzere Trenner, korrigierte Fußzeile und justierbare Porträts.
========================================= */
.band-reference-chef-overlay{
    left:13.2%;
    right:12.5%;
    top:24.45%;
    height:42.05%;
}

.band-reference-chef-item{
    position:relative;
    border-bottom:0;
    padding:0 1.1% 0 0;
}

.band-reference-chef-item::after{
    content:"";
    position:absolute;
    left:23.8%;
    right:1.4%;
    bottom:0;
    border-bottom:2px dotted rgba(173,126,55,.55);
}

.band-reference-chef-item:last-child::after{
    display:none;
}

.band-reference-chef-portrait{
    transform:translateY(var(--chef-portrait-offset-y, 0px));
}

.band-reference-footer-fix{
    position:absolute;
    left:18.5%;
    right:18.5%;
    bottom:1.55%;
    height:3.8%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg, rgba(8,8,7,.94), rgba(8,8,7,.98));
    z-index:3;
}

.band-reference-footer-fix::before,
.band-reference-footer-fix::after{
    content:"";
    position:absolute;
    top:50%;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#b88440;
    opacity:.95;
    transform:translateY(-50%);
}

.band-reference-footer-fix::before{left:6px}
.band-reference-footer-fix::after{right:6px}

.band-reference-footer-fix p{
    margin:0;
    color:#c79246;
    font-family:"URW Chancery L","Apple Chancery","Segoe Script","Brush Script MT",cursive;
    font-size:clamp(.95rem,2.1vw,1.55rem);
    line-height:1;
    font-style:italic;
    white-space:nowrap;
}

@media(max-width:640px){
    .band-reference-chef-overlay{
        top:24.45%;
        height:42.05%;
    }

    .band-reference-chef-item::after{
        left:23.2%;
        right:1.2%;
    }

    .band-reference-footer-fix{
        left:17.5%;
        right:17.5%;
        bottom:1.35%;
        height:4.2%;
    }

    .band-reference-footer-fix p{
        font-size:clamp(.62rem,2vw,.88rem);
    }
}

/* =========================================
   FAMILY AFFAIRZ – FOOTER MASK & SEPIA FIX V4
   Untere Restschrift entfernen, Linien durchziehen,
   Porträts generell in Sepia halten.
========================================= */
.band-reference-chef-portrait img{
    filter: sepia(1) grayscale(.12) contrast(1.08) saturate(.58) brightness(.94);
}

.band-reference-footer-fix{
    position:absolute;
    left:12.6%;
    right:12.6%;
    bottom:1.05%;
    height:4.9%;
    display:block;
    background:linear-gradient(180deg, rgba(8,8,7,.98), rgba(8,8,7,1));
    z-index:4;
    overflow:hidden;
}

.band-reference-footer-line,
.band-reference-footer-dot{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
}

.band-reference-footer-line{
    height:1px;
    background:#a77735;
    box-shadow:0 1px 0 rgba(207,154,74,.2);
}

.band-reference-footer-line-left{
    left:4.5%;
    width:39.5%;
}

.band-reference-footer-line-right{
    right:4.5%;
    width:39.5%;
}

.band-reference-footer-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#b88440;
}

.band-reference-footer-dot-left{
    left:1.9%;
}

.band-reference-footer-dot-right{
    right:1.9%;
}

@media(max-width:640px){
    .band-reference-footer-fix{
        left:12.3%;
        right:12.3%;
        bottom:.85%;
        height:5.15%;
    }

    .band-reference-footer-dot{
        width:5px;
        height:5px;
    }
}

/* V5: Footer is now cleaned directly in the reference image. */
.band-reference-footer-fix{display:none !important;}
.band-reference-chef-portrait img{
    filter:sepia(1) grayscale(.10) contrast(1.08) saturate(.58) brightness(.94) !important;
}

/* V6: Match the actual reference image geometry exactly. */
.band-reference-poster{aspect-ratio:1055 / 1491 !important;}
.band-reference-footer-fix{display:none !important;}
.band-reference-chef-portrait img{filter:sepia(1) grayscale(.25) contrast(1.18) saturate(.42) brightness(.90) !important;}

/* =========================================
   FAMILY AFFAIRZ – SPEISEKARTE IM BAND-INTRO
   Karte zwischen den beiden Einleitungstexten.
========================================= */
.band-stage-with-menu{
    display:block;
    min-height:0;
    padding-bottom:76px;
}

.band-intro-grid{
    margin-bottom:42px;
}

.band-reference-section-inline{
    padding:0 18px;
    background:transparent;
}

.band-reference-section-inline .band-reference-stage{
    width:min(1120px,calc(100% - 0px));
}

.band-after-menu-copy{
    margin-top:40px;
}

.band-after-menu-copy .section-copy{
    max-width:760px;
}

@media(max-width:800px){
    .band-intro-grid{margin-bottom:28px}
    .band-reference-section-inline{padding:0 7px}
    .band-after-menu-copy{margin-top:28px}
}

/* Bandfoto nach der Speisekarte ganz unten */
.band-intro-grid{
    display:block;
}

.band-photo-bottom{
    margin-top:36px;
    max-width:920px;
}

.band-photo-bottom img{
    width:100%;
    height:auto;
    display:block;
}

@media(max-width:800px){
    .band-photo-bottom{margin-top:28px}
}

/* =========================================
   STARTSEITE – RESPONSIVE LAYOUT
   Bildwechsel erfolgt in front-page.php
========================================= */


/* Smartphone / Tablet hochkant */
@media (max-width: 1366px) and (orientation: portrait) {

    .hero {
        background-position: calc(50% - 15px) 40%;
    }

}


/* Abdunklung auf kleineren Geräten */
@media (max-width: 1366px) {

    .hero:before {
        background:

            /* unten */
            linear-gradient(
                to top,
                rgba(12,7,18,.90) 0%,
                rgba(12,7,18,.45) 30%,
                rgba(12,7,18,.15) 60%,
                transparent 82%
            ),

            /* links / rechts */
            linear-gradient(
                to right,
                rgba(12,7,18,.50) 0%,
                rgba(12,7,18,.10) 50%,
                rgba(12,7,18,.50) 100%
            );
    }

}


/* Smartphone quer */
@media (max-width: 950px) and (orientation: landscape) {

    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .hero-content {
        transform: translateY(0);
    }

    .actions {
        margin-top: 16px;
        flex-wrap: nowrap;
    }

    .btn {
        padding: 10px 16px;
    }

}
/* =========================================
   FAMILY AFFAIRZ – KÖCHE OVERLAY FEINSCHLIFF V8
   Runde Ecken, freie Seitenornamente, Nancy höher
========================================= */
.band-reference-chef-overlay{
    top:25.25% !important;
    height:41.25% !important;

    overflow:visible !important;
    border-radius:22px;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,7,.72) 0%,
            rgba(8,8,7,.96) 3.5%,
            #080807 8%,
            #080807 92%,
            rgba(8,8,7,.96) 96.5%,
            rgba(8,8,7,.72) 100%
        ) !important;

    box-shadow:
        inset 12px 0 18px -14px rgba(0,0,0,.75),
        inset -12px 0 18px -14px rgba(0,0,0,.75),
        inset 0 7px 12px -12px rgba(0,0,0,.70),
        inset 0 -7px 12px -12px rgba(0,0,0,.70) !important;
}

.band-reference-chef-overlay::before,
.band-reference-chef-overlay::after{
    display:none !important;
}

.band-reference-chef-item{
    overflow:visible !important;
    background:transparent !important;
}

.band-reference-chef-item:first-child .band-reference-chef-portrait{
    position:relative;
    z-index:2;
    transform:translateY(
        calc(var(--chef-portrait-offset-y, 0px) - 10px)
    ) !important;
}

.band-reference-chef-item:first-child
.band-reference-chef-portrait::before{
    content:"";
    position:absolute;
    width:12.1cqw;
    height:12.1cqw;
    border-radius:50%;
    background:#080807;
    box-shadow:0 0 8px 5px rgba(8,8,7,.84);
    z-index:-1;
}

.band-reference-chef-item::after{
    left:23.8% !important;
    right:1.4% !important;
}

@media(max-width:640px){
    .band-reference-chef-overlay{
        top:25.25% !important;
        height:41.25% !important;
        border-radius:12px;
    }

    .band-reference-chef-item:first-child
    .band-reference-chef-portrait{
        transform:translateY(
            calc(var(--chef-portrait-offset-y, 0px) - 4px)
        ) !important;
    }
}
/* =========================================
   iPad / Tablet – Landscape
   Buttons vollständig im Hero halten
========================================= */

@media (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {

    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .hero-content {
        transform: translateY(40px);
    }

    .actions {
        margin-top: 18px;
    }
}

@media (max-width: 1366px) {
    .page-main {
        padding-top: 76px !important;
    }

    .page-main .page-hero {
        padding-top: 30px !important;
    }
}

/* =========================================
   Seitenhintergrund bis unter den Header
   ========================================= */

.live-main,
.news-main {
    background: var(--ink);
}

.booking-main {
    background: linear-gradient(
        135deg,
        var(--gold),
        #ff7b54 46%,
        var(--hot)
    );
}

.booking-heading {
    margin-bottom: 30px;
}

.booking-heading .section-title {
    margin-bottom: 0;
}

/* =========================================
   BOOKING – Überschrift wie andere Seiten
   Box bleibt mittig
   ========================================= */

.booking-page {
    display: block;
    min-height: calc(100vh - 76px);
}

/* Booking-Box mittig */
.booking-box {
    max-width: 900px;
    margin: 40px auto 0;
}

/* Booking-Box auf Desktop weiter nach unten */
@media (min-width: 1001px) {
    .booking-box {
        margin-top: 90px;
    }
}

.booking-page .kicker {
    color: var(--brown);
}

/* =========================================
   HEADER – Tablet ebenfalls Hamburger
   ========================================= */

@media (max-width: 1100px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #130e19;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
    }

    .menu.open {
        display: flex;
    }
}

/* =========================================
   TABLET + SMARTPHONE HEADER
   Logo | Socials | Hamburger
   ========================================= */

@media (max-width: 1100px) {

    .nav-row {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    .brand {
        grid-column: 1;
        justify-self: start;
    }

    .header-socials {
        grid-column: 2;
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;

        justify-self: center;
        margin: 0 !important;
    }

    .menu-toggle {
        grid-column: 3;
        justify-self: end;
        margin: 0 !important;
        display: block;
    }
}
/* Desktop:
   Logo | Socials | Menü
*/
@media (min-width: 1101px) {

    .nav-row {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center;
        gap: 22px;
    }

    .brand {
        grid-column: 1;
        justify-self: start;
    }

    .header-socials {
        grid-column: 2;
        justify-self: center;

        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }

    .menu {
        grid-column: 3;
        justify-self: end;
    }
}
/* =========================================
   FAMILY AFFAIRZ – SOCIAL ICONS
   Optik wie bei HUGE
   ========================================= */

.header-socials{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.header-socials a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:30px;
    height:30px;

    padding:0;
    margin:0;

    text-decoration:none;
}

.header-socials img{
    display:block;

    width:23px;
    height:23px;

    object-fit:contain;
}

.header-socials a:hover{
    opacity:.78;
    transform:translateY(-1px) scale(1.05);
}

/* =========================================
   MEDIA – VIDEOS & AUDIO
   page-media.php: direkte YouTube-Links + Audio
   ========================================= */

.media-page .media-content{
    margin-top:42px;
    display:block;
}

.media-page .media-youtube-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    width:100%;
    align-items:start;
}

.media-page .youtube-item{
    display:block;
    width:100%;
    min-width:0;
    margin:0;
    overflow:hidden;
}

.media-page .youtube-preview{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    overflow:hidden;
    border-radius:18px;
    background:#000;
    box-shadow:var(--shadow);
    text-decoration:none;
}

.media-page .youtube-preview img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    margin:0;
}

.media-page .youtube-play{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    display:grid;
    place-items:center;
    width:64px;
    height:46px;
    border-radius:12px;
    background:rgba(255,0,0,.92);
    color:#fff;
    font-size:22px;
    line-height:1;
}

.media-page .media-caption{
    display:block;
    margin:10px 4px 0;
    padding:0;
    color:var(--muted);
    font-size:.95rem;
    line-height:1.3;
}

.media-page .media-audio-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    width:100%;
    margin-top:38px;
    align-items:start;
}

.media-page .media-audio-item,
.media-page .media-audio-grid .wp-block-audio{
    width:100%;
    min-width:0;
    max-width:none;
    margin:0;
}

.media-page .media-audio-item audio,
.media-page .media-audio-grid audio{
    display:block;
    width:100%;
    max-width:100%;
}

.media-page .media-audio-item figcaption,
.media-page .media-audio-grid figcaption{
    margin:10px 4px 0;
    color:var(--muted);
    font-size:.95rem;
}

@media (min-width:701px) and (max-width:1100px){
    .media-page .media-youtube-grid,
    .media-page .media-audio-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:14px;
    }
}

@media (max-width:700px){
    .media-page .media-youtube-grid,
    .media-page .media-audio-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .media-page .youtube-item,
    .media-page .media-audio-item,
    .media-page .media-audio-grid audio{
        width:100%;
        max-width:100%;
    }
}
