/* ATILIO – gemeinsame Gestaltung für Unterseiten (Gewinnspiel, Kollektion) und das Karussell.
   Schriften liegen bereits unter assets/fonts/ (lokal gehostet). */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-400.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-garamond-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jost-300.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jost-400.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jost-500.woff2') format('woff2'); }

:root {
  --bg: #0A0A0A; --bg-2: #1A1A1A; --gold: #C9A96E; --gold-dim: rgba(201,169,110,0.35);
  --text: #E5E5E5; --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); max-width: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; line-height: 1.7; max-width: 100%; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Keine automatische Silbentrennung */
h1, h2, h3, h4, p, li, summary { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--bg); padding: .6rem 1rem; z-index: 10000; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 0.9rem clamp(1.1rem, 5vw, 4rem); background: rgba(10,10,10,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201,169,110,0.15); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); padding: 0.3rem 0; position: relative; transition: color .3s; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--gold); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--gold-dim); color: var(--gold); padding: 0.65rem 1.4rem; transition: all .4s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
  .nav .nav-cta { background: var(--gold); color: var(--bg); border-color: var(--gold); padding: .55rem .95rem; font-size: .66rem; letter-spacing: .14em; }
  .nav nav { order: 3; flex: 0 0 100%; margin: .45rem -1.1rem 0; min-width: 0; }
  .nav-links { gap: .2rem; padding: 0 1.1rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { display: block; padding: .7rem .7rem .75rem; font-size: .68rem; letter-spacing: .16em; }
  .nav-links a::after { left: .7rem; width: calc(100% - 1.4rem); bottom: .3rem; }
}

/* ---------- Grundbausteine ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem); }
.section-pad { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.page-top { padding-top: clamp(8.5rem, 16vw, 11rem); }
.eyebrow { font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 1rem; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--gold); flex: 0 0 auto; }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--white); line-height: 1.15; letter-spacing: .02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h3 { font-family: var(--serif); font-weight: 500; color: var(--white); font-size: 1.45rem; line-height: 1.25; }
.lead { font-size: 1.08rem; max-width: 40rem; margin-top: 1.4rem; }
.gold-divider { width: 100%; height: 1px; border: 0; background: linear-gradient(to right, transparent, var(--gold-dim) 20%, var(--gold) 50%, var(--gold-dim) 80%, transparent); }
.btn-gold { display: inline-block; position: relative; overflow: hidden; font-family: var(--sans); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 1rem 2.4rem; background: transparent; cursor: pointer; transition: color .45s; z-index: 1; text-align: center; }
.btn-gold::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.65,0,.35,1); z-index: -1; }
.btn-gold:hover, .btn-gold:focus-visible { color: var(--bg); }
.btn-gold:hover::before, .btn-gold:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2.2rem; }
.btn-ghost { border-color: var(--gold-dim); }
.crumbs { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(229,229,229,.6); margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { margin: 0 .5rem; color: var(--gold); }

/* ---------- Gewinnspiel ---------- */
.gw-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.gw-hero > * { min-width: 0; }
.status { display: inline-block; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: .35rem .9rem; margin-bottom: 1.4rem; }
.status.is-over { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
/* Gewinnspiel-Bild: zuerst schwarz-weiß, bei Mouseover/Fokus farbig (Handy: immer farbig) */
.gw-visual { position: relative; border: 1px solid rgba(201,169,110,.28); background: var(--bg-2); max-width: 420px; margin-inline: auto; width: 100%; }
.gw-visual img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
@media (hover: hover) {
  .gw-visual img { filter: grayscale(1) contrast(1.05) brightness(.95); transition: filter .8s ease; }
  .gw-visual:hover img, .gw-visual:focus-within img { filter: none; }
}
.gw-visual a { display: block; }
.gw-visual::after { content: ''; position: absolute; inset: .9rem; border: 1px solid rgba(201,169,110,.28); pointer-events: none; }
.offer-box { margin-top: 2.6rem; padding: 1.8rem 1.6rem; border: 1px solid var(--gold); background: rgba(201,169,110,.06); text-align: center; }
.offer-box .idx { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: .1em; margin-bottom: .4rem; }
.offer-box p { color: var(--white); }
.offer-box strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.offer-box .note { margin-top: .6rem; font-size: .8rem; color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.step { border: 1px solid rgba(201,169,110,.28); padding: 2rem 1.7rem; background: var(--bg); }
.step .idx { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: .1em; }
.step h3 { margin: .3rem 0 .6rem; }
.timeline { list-style: none; margin-top: 2.6rem; border-left: 1px solid var(--gold-dim); padding-left: 1.6rem; display: grid; gap: 1.4rem; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.6rem - 4px); top: .55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline .when { font-family: var(--serif); font-size: 1.25rem; color: var(--white); }
.timeline .what { font-size: .92rem; }
.bg-alt { background: linear-gradient(var(--bg-2), var(--bg)); }
/* Aufklappbare Bereiche (Teilnahmebedingungen) */
.acc { margin-top: 2.2rem; display: grid; gap: .9rem; }
details.dd { border: 1px solid rgba(201,169,110,.3); background: var(--bg); }
details.dd[open] { border-color: rgba(201,169,110,.7); }
details.dd summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; font-family: var(--serif); font-size: 1.35rem; color: var(--white); }
details.dd summary::-webkit-details-marker { display: none; }
details.dd summary::after { content: '+'; font-family: var(--sans); font-size: 1.6rem; color: var(--gold); line-height: 1; transition: transform .35s; flex: 0 0 auto; }
details.dd[open] summary::after { transform: rotate(45deg); }
details.dd .dd-body { padding: .2rem 1.5rem 1.6rem; font-size: .92rem; }
details.dd ol { padding-left: 1.3rem; display: grid; gap: .8rem; }
details.dd li::marker { color: var(--gold); }
details.dd strong { color: var(--white); font-weight: 400; }
details.dd p + p { margin-top: .8rem; }

/* ---------- Platzhalter, wo noch kein Foto vorliegt ---------- */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; min-height: 100%; background: repeating-linear-gradient(135deg, #141414 0 14px, #181818 14px 28px); border: 1px dashed var(--gold-dim); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.15rem; padding: 1rem; }
.ph small { display: block; font-family: var(--sans); font-style: normal; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(229,229,229,.55); margin-top: .5rem; }

/* ---------- Kollektion: Galerie ---------- */
.cat { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; margin-bottom: 1.6rem; }
.cat-head p { max-width: 36rem; font-size: .95rem; }
.cat-head .idx { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: .1em; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.thumb { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg-2); border: 0; padding: 0; cursor: pointer; display: block; width: 100%; color: inherit; font: inherit; }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: filter .6s, transform 1s cubic-bezier(.22,1,.36,1); }
.thumb:hover img, .thumb:focus-visible img { filter: brightness(1); transform: scale(1.05); }
.thumb::after { content: ''; position: absolute; inset: .7rem; border: 1px solid rgba(201,169,110,.28); pointer-events: none; transition: border-color .5s; }
.thumb:hover::after { border-color: rgba(201,169,110,.7); }
dialog.lightbox { background: rgba(10,10,10,.97); color: var(--text); border: 1px solid var(--gold-dim); width: min(94vw, 760px); max-height: 94vh; padding: 1rem; margin: auto; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.82); }
dialog.lightbox .lb-stage { aspect-ratio: 2 / 3; max-height: 76vh; margin: 0 auto; background: var(--bg-2); overflow: hidden; }
dialog.lightbox .lb-stage img { width: 100%; height: 100%; object-fit: contain; }
dialog.lightbox .lb-cap { text-align: center; padding: .9rem 0 .2rem; font-size: .85rem; letter-spacing: .08em; }
dialog.lightbox .lb-bar { display: flex; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
dialog.lightbox button { background: none; border: 1px solid var(--gold-dim); color: var(--gold); font: inherit; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 1rem; cursor: pointer; }
dialog.lightbox button:hover { background: var(--gold); color: var(--bg); }

/* ---------- Karussell (Kreis): vorn scharf, nach hinten gestaffelt unschärfer ---------- */
.ring { position: relative; margin-top: 2.4rem; }
.ring-stage { list-style: none; display: flex; gap: 1rem; overflow-x: auto; padding: .4rem 0 1rem; scroll-snap-type: x mandatory; }
.ring-item { flex: 0 0 min(70vw, 260px); aspect-ratio: 2 / 3; position: relative; scroll-snap-align: center; overflow: hidden; background: var(--bg-2); border: 1px solid rgba(201,169,110,.28); }
.ring-item img { width: 100%; height: 100%; object-fit: cover; }
.ring-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem 1.1rem; background: linear-gradient(to top, rgba(10,10,10,.92), transparent); z-index: 2; pointer-events: none; }
.ring-cap .idx { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: .9rem; letter-spacing: .1em; }
.ring-cap h3 { font-size: 1.3rem; margin-top: .1rem; }
/* Mit JavaScript: kreisförmige Anordnung */
.ring.is-ring .ring-stage { display: block; overflow: visible; position: relative; height: calc(clamp(12rem, 24vw, 17.5rem) * 1.5 + 2.5rem); padding: 0; perspective: 1400px; }
.ring.is-ring .ring-item { position: absolute; left: 50%; top: 0; width: clamp(12rem, 24vw, 17.5rem); flex: none; margin-left: calc(clamp(12rem, 24vw, 17.5rem) / -2); transition: transform 1.1s cubic-bezier(.22,1,.36,1), filter 1.1s ease, opacity 1.1s ease; will-change: transform, filter; cursor: pointer; }
.ring.is-ring .ring-item:not(.is-front) .ring-cap { opacity: 0; }
.ring.is-ring .ring-cap { transition: opacity .6s; }
.ring-ctrl { display: flex; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 1.2rem; }
.ring-ctrl button { background: none; border: 1px solid var(--gold-dim); color: var(--gold); width: 2.8rem; height: 2.8rem; cursor: pointer; font-size: 1.1rem; transition: all .35s; }
.ring-ctrl button:hover { background: var(--gold); color: var(--bg); }
.ring-ctrl .ring-state { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(229,229,229,.55); min-width: 7rem; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Abschluss, Footer, Dialoge ---------- */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.link-list { list-style: none; display: grid; gap: .7rem; margin-top: 1.6rem; }
.link-list a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); padding-bottom: .1rem; }
.link-list a:hover { color: var(--white); border-color: var(--gold); }
footer { border-top: 1px solid rgba(201,169,110,.15); padding: 3rem clamp(1.25rem, 5vw, 4rem) 2.2rem; background: var(--bg); }
.footer-grid { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-addr { font-size: .85rem; margin-top: .7rem; color: rgba(229,229,229,.65); }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; list-style: none; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links a, .footer-links button { color: rgba(229,229,229,.7); background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; transition: color .3s; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold); }
.footer-bottom { max-width: 1180px; margin: 2.2rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(229,229,229,.08); font-size: .72rem; letter-spacing: .12em; color: rgba(229,229,229,.45); }
.whatsapp-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 95; width: 54px; height: 54px; border-radius: 50%; background: #1EBE5D; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(0,0,0,.45); transition: transform .35s; }
.whatsapp-float svg { width: 27px; height: 27px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1); }
dialog.legal { background: var(--bg-2); color: var(--text); border: 1px solid var(--gold-dim); max-width: 620px; width: calc(100% - 3rem); padding: 2.4rem; font-size: .9rem; max-height: 85vh; overflow-y: auto; margin: auto; }
dialog.legal::backdrop { background: rgba(10,10,10,.8); backdrop-filter: blur(4px); }
dialog.legal h3 { font-size: 1.7rem; margin-bottom: 1.2rem; }
dialog.legal h4 { font-family: var(--serif); color: var(--white); font-size: 1.2rem; font-weight: 500; margin: 1.4rem 0 .5rem; }
dialog.legal p { margin-bottom: .9rem; }
dialog.legal a { color: var(--gold); text-decoration: underline; }
dialog.legal .close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--gold); font-size: 1.5rem; cursor: pointer; line-height: 1; }
#consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: none; padding: 1.3rem clamp(1.25rem, 5vw, 4rem) calc(1.3rem + env(safe-area-inset-bottom, 0px)); background: rgba(26,26,26,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--gold-dim); font-size: .88rem; }
#consent-banner .consent-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 2.4rem; flex-wrap: wrap; }
#consent-banner p { flex: 1 1 26rem; margin: 0; }
#consent-banner .consent-link { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; cursor: pointer; }
#consent-banner .consent-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
#consent-banner .consent-btn { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); background: transparent; border: 1px solid var(--gold); padding: .8rem 1.8rem; cursor: pointer; transition: background .35s, color .35s; }
#consent-banner .consent-btn:hover { background: var(--gold); color: var(--bg); }

@media (max-width: 860px) {
  .gw-hero { grid-template-columns: minmax(0, 1fr); }
  .gw-visual { order: -1; max-width: 340px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ring.is-ring .ring-item { width: clamp(9.5rem, 40vw, 13rem); margin-left: calc(clamp(9.5rem, 40vw, 13rem) / -2); }
  .ring.is-ring .ring-stage { height: calc(clamp(9.5rem, 40vw, 13rem) * 1.5 + 2rem); }
}
@media (max-width: 560px) {
  dialog.legal { padding: 1.8rem 1.25rem; width: calc(100% - 1.5rem); }
  #consent-banner p { flex-basis: 100%; }
  #consent-banner .consent-actions { width: 100%; }
  #consent-banner .consent-btn { flex: 1 1 0; padding: .8rem .6rem; }
  .btn-gold { padding: 1rem 1.5rem; letter-spacing: .18em; }
}
