/* ===== Farben: dunkel (Standard) und hell ===== */
:root{
  --bg:#17171a; --surface:#212125; --line:#33333a; --text:#efece6; --muted:#a6a199;
  --accent:#b49a7b; --accent-ink:#17171a; --frame:#3d3d44; --shade:rgba(0,0,0,.55);
  --edge:clamp(16px,4vw,56px); --nav-h:64px; --radius:6px;
  color-scheme:dark;
}
:root[data-theme=light]{
  --bg:#f3f3f1; --surface:#ffffff; --line:#dcdcd7; --text:#1f1f22; --muted:#66625c;
  --accent:#8a6d4b; --accent-ink:#ffffff; --frame:#d2d2cc; --shade:rgba(0,0,0,.45);
  color-scheme:light;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font:17px/1.65 "Source Sans 3",system-ui,sans-serif;transition:background .3s,color .3s}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,.logo{font-family:"Bricolage Grotesque",sans-serif;font-weight:700;letter-spacing:-.01em;line-height:1.1}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--accent-ink);padding:6px 12px;z-index:200}
.skip:focus{left:8px}

/* ===== Navigation ===== */
.nav{position:sticky;top:0;height:var(--nav-h);z-index:50;display:flex;align-items:center;gap:8px;
     padding:0 var(--edge);background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);
     border-bottom:1px solid var(--line)}
.logo{font-size:22px;margin-right:auto}
.logo span{color:var(--accent)}
.nav ul{display:flex;gap:26px;list-style:none;margin-left:18px}
.nav ul a{font-size:15px;color:var(--muted);transition:color .2s}
.nav ul a:hover,.nav ul a[aria-current=page]{color:var(--text)}
.nav ul a[aria-current=page]{box-shadow:0 2px 0 var(--accent)}
.theme-btn,.music{background:none;border:0;color:var(--muted);cursor:pointer;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;transition:color .2s,background .2s}
.theme-btn:hover,.music:hover{color:var(--text);background:var(--surface)}
.theme-btn svg,.music svg{width:21px;height:21px;fill:currentColor}
.music[aria-pressed=true]{color:var(--accent)}
.music .on,.music[aria-pressed=true] .off{display:none}
.music[aria-pressed=true] .on{display:block}
.music-ctl{display:flex;align-items:center;gap:2px}
.vol{width:84px;accent-color:var(--accent);cursor:pointer}
.burger{display:none;background:none;border:0;cursor:pointer;width:36px;height:36px;position:relative;z-index:60}
.burger span,.burger span::before,.burger span::after{content:"";position:absolute;left:6px;right:6px;height:2px;background:var(--text);transition:.3s}
.burger span{top:17px}.burger span::before{top:-7px;left:0;right:0}.burger span::after{top:7px;left:0;right:0}
.nav.open .burger span{background:transparent}
.nav.open .burger span::before{top:0;transform:rotate(45deg)}
.nav.open .burger span::after{top:0;transform:rotate(-45deg)}

/* ===== Knöpfe ===== */
.btn{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:999px;font-weight:600;font-size:15px;
     border:1px solid var(--accent);color:var(--text);cursor:pointer;transition:background .2s,color .2s,transform .2s}
.btn:hover{transform:translateY(-1px)}
.btn.fill{background:var(--accent);color:var(--accent-ink)}
.btn.ghost{background:transparent}
.btn.ghost:hover{background:var(--accent);color:var(--accent-ink)}
.actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.actions.left{justify-content:flex-start}

/* ===== Startseite: großes Foto ===== */
.hero{position:relative;height:calc(100svh - var(--nav-h));min-height:520px;max-height:960px;overflow:hidden;color:#fff}
.hero-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.05);
                 transition:opacity 1.6s ease,transform 8s linear}
.hero-slides img.on{opacity:1;transform:scale(1)}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.25) 55%,rgba(0,0,0,0) 100%),
             linear-gradient(0deg,rgba(0,0,0,.45),transparent 40%)}
.hero-text{position:absolute;z-index:2;left:var(--edge);right:var(--edge);bottom:clamp(48px,10vh,110px);max-width:980px}
.hero h1{font-size:clamp(36px,5.6vw,76px);text-wrap:balance;max-width:16ch}
.hero-text p{font-size:clamp(17px,1.7vw,21px);margin:18px 0 28px;color:#e8e4dc;max-width:46ch}
.hero .btn{color:#fff}
.hero .btn.fill{color:#17171a;background:#d4bc9c;border-color:#d4bc9c}
.hero .btn.ghost{border-color:rgba(255,255,255,.7)}
.hero .btn.ghost:hover{background:#fff;color:#17171a}
.hero-credit{position:absolute;z-index:2;right:var(--edge);bottom:24px;font-size:14px;color:#ddd;border-bottom:1px solid rgba(255,255,255,.4)}

/* ===== Abschnitte ===== */
.band{max-width:1440px;margin:0 auto;padding:clamp(56px,8vw,104px) var(--edge) 0}
.band-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin-bottom:28px}
.band h2{font-size:clamp(28px,3.4vw,44px)}
.sub{color:var(--muted);flex-basis:100%;max-width:62ch}
.more-link{color:var(--accent);font-weight:600}
.more-link::after{content:" ›"}

/* Karten der Alben: Bild mit 1 px Rahmen, Text darunter; letzte Reihe mittig */
.cards{--cols:3;display:flex;flex-wrap:wrap;justify-content:center;gap:28px 18px;list-style:none}
.cards.four{--cols:4}
.card{position:relative;flex:0 0 calc((100% - (var(--cols) - 1) * 18px) / var(--cols))}
.card .pic{position:relative;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--frame);border-radius:var(--radius);background:#000}
/* Bild steht leicht vergrößert und zoomt beim Überfahren sanft heraus */
.card img{width:100%;height:100%;object-fit:cover;transform:scale(1.08);transition:transform .9s cubic-bezier(.2,.7,.2,1),filter .6s}
.card a:hover img,.card a:focus-visible img{transform:scale(1);filter:brightness(1.06)}
/* Albenname im Bild auf weichem Verlauf */
.card .cap{position:absolute;inset:auto 0 0 0;padding:56px 18px 16px;
  background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.35) 55%,transparent);color:#fff;text-align:center}
.card h3{font-size:21px;line-height:1.2;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.5);
  transition:color .35s,transform .5s cubic-bezier(.2,.7,.2,1);text-wrap:balance}
.card a:hover h3,.card a:focus-visible h3{color:#d9bf9c;transform:scale(1.05)}
.card p{color:rgba(255,255,255,.78);font-size:14px;margin-top:4px}
.card .play{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.5);
            backdrop-filter:blur(6px);display:grid;place-items:center;opacity:0;transition:opacity .3s}
.card:hover .play,.card .play:focus-visible{opacity:1}
.card .play svg{width:15px;height:15px;fill:#fff;margin-left:2px}

/* Karte */
.map{height:min(55vh,500px);max-width:900px;margin-inline:auto;border:1px solid var(--frame);border-radius:var(--radius);overflow:hidden;background:var(--surface);
     display:grid;place-items:center;color:var(--muted)}
.leaflet-container{font:inherit;background:var(--surface)}
:root:not([data-theme=light]) .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6)}
.pin span{display:block;width:22px;height:22px;border-radius:50%;background:var(--accent);border:3px solid #fff;
          box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 35%,transparent);transition:transform .2s}
.pin:hover span{transform:scale(1.2)}
.map{position:relative}
.map.active{border-color:var(--accent)}
.map-hint{position:absolute;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;font-size:18px;
          opacity:0;pointer-events:none;transition:opacity .25s}
.map-hint.show{opacity:1}
.map .leaflet-popup-content-wrapper{border-radius:var(--radius);padding:0;overflow:hidden;background:var(--surface);color:var(--text)}
.map .leaflet-popup-content{margin:0;width:220px!important}
.map .leaflet-popup-tip{background:var(--surface)}
.pin-card{display:block;color:var(--text)!important}
.pin-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.pin-card b{display:block;padding:10px 12px 0;font:700 16px/1.25 "Bricolage Grotesque"}
.pin-card small{display:block;padding:2px 12px 12px;color:var(--muted)}

/* Über Silke */
.about{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(28px,5vw,72px);align-items:center;padding-bottom:clamp(56px,8vw,104px)}
.about img{width:100%;max-width:440px;justify-self:center;border-radius:var(--radius);border:1px solid var(--frame)}
.about h2{margin-bottom:18px}
.about p{color:var(--muted);margin-bottom:14px;max-width:60ch}

/* ===== Galerie-Übersicht ===== */
.page-head{max-width:1440px;margin:0 auto;padding:clamp(48px,7vw,88px) var(--edge) 0}
.page-head h1{font-size:clamp(40px,6vw,76px)}
.page-head p{color:var(--muted);font-size:19px;margin:12px 0 24px;max-width:60ch}
.jump{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.jump a{padding:6px 14px;border:1px solid var(--line);border-radius:999px;font-size:15px;color:var(--muted);transition:.2s}
.jump a:hover{border-color:var(--accent);color:var(--text)}
.region:last-of-type{padding-bottom:clamp(56px,8vw,104px)}

/* ===== Albumseite ===== */
.album-hero{position:relative;height:min(78svh,820px);min-height:380px;overflow:hidden;color:#fff}
.album-hero img{width:100%;height:100%;object-fit:cover}
.album-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.15) 50%,transparent 100%)}
.album-hero-text{position:absolute;z-index:2;left:var(--edge);right:var(--edge);bottom:clamp(28px,6vh,64px)}
.album-hero h1{font-size:clamp(36px,6vw,80px);text-wrap:balance}
.album-hero .meta{margin-top:10px;font-size:18px;color:#e6e1d8}
.crumbs{font-size:14px;color:#d8d2c8;margin-bottom:12px}
.crumbs a{border-bottom:1px solid rgba(255,255,255,.35)}
.hero-jump{position:absolute;inset:0;z-index:1}
.hero-more{display:inline-block;margin-top:16px;padding:8px 16px;border:1px solid rgba(255,255,255,.6);border-radius:999px;font-size:15px;color:#fff;background:rgba(0,0,0,.25)}
.hero-more:hover{border-color:var(--accent)}
.photos-bar{max-width:1600px;margin:0 auto 14px;padding:0 var(--edge);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;scroll-margin-top:72px}
.photos-bar span{color:var(--muted);font-size:15px}
.album-intro{max-width:880px;margin:0 auto;padding:clamp(36px,5vw,64px) var(--edge)}
.album-intro p{font-size:clamp(18px,1.6vw,21px);color:var(--muted);margin-bottom:24px}
.album-photos{max-width:1600px;margin:0 auto;padding:0 var(--edge)}
.photos{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin-bottom:4px}
.photo{position:relative;display:block;flex:0 0 calc((100% - 12px) / 4);aspect-ratio:3/2;border:1px solid var(--frame);overflow:hidden;background:#000;cursor:zoom-in}
.photo img{width:100%;height:100%;object-fit:cover;transition:filter .3s}
.photo:hover img{filter:brightness(.85)}
.photo.last{flex-grow:0!important;flex-shrink:0}
.photo.feature{margin:clamp(28px,4vw,56px) 0;border:0}
.photo.feature img{max-height:82svh;width:100%;object-fit:cover}
.note{text-align:center;color:var(--muted);font-size:15px;padding:28px var(--edge) 0}
.note a{color:var(--accent);border-bottom:1px solid currentColor}
.neighbours{max-width:1440px;margin:0 auto;padding:clamp(48px,6vw,80px) var(--edge);display:grid;grid-template-columns:1fr 1fr;gap:18px}
.next-card{position:relative;display:block;height:220px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--frame);color:#fff}
.next-card img{width:100%;height:100%;object-fit:cover;filter:brightness(.55);transition:transform .8s,filter .4s}
.next-card:hover img{transform:scale(1.04);filter:brightness(.45)}
.next-card span{position:absolute;left:22px;bottom:18px;right:22px}
.next-card small{display:block;color:#d8cfc2;font-size:14px}
.next-card b{font:700 clamp(20px,2.2vw,28px)/1.15 "Bricolage Grotesque"}
.next-card[rel=next] span{text-align:right}

/* Seite „Alle als Slideshow“ (klassischer Kopfbereich) */
.page{padding:0 var(--edge) 80px}
.head{max-width:900px;margin:0 auto;padding:clamp(48px,7vw,88px) 0 0;text-align:center}
.head h1{font-size:clamp(36px,5vw,64px)}
.head p{color:var(--muted);margin:14px auto 24px}

footer{padding:36px var(--edge);color:var(--muted);font-size:14px;border-top:1px solid var(--line);text-align:center}

/* ===== Slideshow ===== */
.ss{position:fixed;inset:0;z-index:100;background:#000;display:none;color:#fff}
.ss.open{display:block}
.ss figure{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:opacity 1.6s ease}
.ss figure.on{opacity:1}
.ss figure img{max-width:100vw;max-height:100vh;width:auto;height:auto;object-fit:contain}
.ss-bar{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:6px;padding:12px 16px;
        background:linear-gradient(transparent,rgba(0,0,0,.85));transition:opacity .4s}
.ss.idle .ss-bar,.ss.idle .ss-close{opacity:0;cursor:none}
.ss-cap{flex:1;min-width:0;font-size:15px;color:#ddd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ss-cap b{font-family:"Bricolage Grotesque";margin-right:8px}
.ss-cap i{font-style:normal;color:#888}
.ss button{background:none;border:0;color:#fff;cursor:pointer;width:44px;height:44px;display:grid;place-items:center;opacity:.85}
.ss button:hover{opacity:1;background:none}
.ss button svg{width:22px;height:22px;fill:currentColor}
.ss .music[aria-pressed=true]{color:#d4bc9c}
.ss .vol{width:80px;accent-color:#d4bc9c}
.ss-close{position:absolute;top:10px;right:10px;transition:opacity .4s}
.ss-progress{position:absolute;left:0;bottom:0;height:2px;background:#d4bc9c;width:0}

/* ===== Sanftes Einblenden (nur mit JavaScript) ===== */
.js-reveal .reveal{opacity:0;transform:translateY(18px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js-reveal .reveal.in{opacity:1;transform:none}

/* ===== Bildschirmgrößen ===== */
@media (max-width:1100px){ .cards.four{--cols:2} }
@media (max-width:1100px){ .photo{flex-basis:calc((100% - 8px) / 3)} }
@media (max-width:900px){
  .cards{--cols:2}
  .about{grid-template-columns:1fr}
}
@media (max-width:820px){
  .burger{display:block}
  .nav ul{position:fixed;inset:0;background:var(--bg);flex-direction:column;align-items:center;justify-content:center;gap:22px;margin:0;
          opacity:0;pointer-events:none;transition:opacity .3s}
  .nav.open ul{opacity:1;pointer-events:auto}
  .nav ul a{font-size:24px;color:var(--text)}
  .vol{width:60px}
  .card .play{opacity:1}
  /* Albumseite am Handy: kürzeres Titelbild, alle Fotos als 3er-Raster */
  .album-hero{height:52svh;min-height:300px}
  .album-intro{padding-top:24px;padding-bottom:20px}
  .album-intro p{margin-bottom:16px}
  .album-intro [data-slideshow]{display:none}
  .photos-bar{padding:0 12px}
  .photos-bar .btn{width:100%;text-align:center}
  .album-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:0 6px}
  .photos{display:contents}
  .photo{flex:none!important;aspect-ratio:1/1!important;width:auto!important}
  .photo.feature{margin:0;border:1px solid var(--frame)}
  .photo.feature img{max-height:none}
  .js-reveal .photo.reveal{opacity:1;transform:none}
  .neighbours{grid-template-columns:1fr}
  .next-card[rel=next] span{text-align:left}
}
@media (max-width:560px){
  .cards,.cards.four{--cols:1}
  .logo{font-size:19px}
  .vol{display:none}
  .hero-credit{display:none}
}
@media (prefers-reduced-motion:reduce){ *{transition:none!important} html{scroll-behavior:auto} }

/* ===== Bilder vor einfachem Herunterladen schützen (Ziehen, Markieren, Langdrücken auf dem Handy) ===== */
img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.photo,.card .pic,.album-hero,.hero-slides,.ss figure,.next-card{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
footer small{display:block;margin-top:6px;font-size:12.5px;opacity:.8}
/* Instagram-Link in der Fußzeile */
footer .insta{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;padding:9px 18px 9px 12px;border:1px solid var(--line);
  border-radius:999px;color:var(--text);text-decoration:none;font-size:15px;transition:color .3s,border-color .3s,transform .3s}
footer .insta svg{width:24px;height:24px;border-radius:6px}
footer .insta:hover,footer .insta:focus-visible{color:var(--accent);border-color:var(--accent);transform:translateY(-2px)}
footer .insta + br{display:none}
footer{display:flex;flex-direction:column;align-items:center}

/* Textseite (Datenschutz) */
.text-body{max-width:calc(760px + 2 * var(--edge));margin:0 auto;padding:8px var(--edge) clamp(56px,8vw,96px)}
.text-body h2{font-size:22px;margin:32px 0 8px}
.text-body p{font-size:17px;line-height:1.6;color:var(--muted);margin-bottom:12px;max-width:68ch}
.text-page .page-head{max-width:calc(760px + 2 * var(--edge))}
.text-body a, footer a:not(.insta){color:inherit;text-decoration:underline;text-underline-offset:3px}
.text-body .stand{font-size:14px;margin-top:28px}
