/* GALELI Startseite: Hero A/B/C, Laufband, Kollektion */

@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-normal.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url(../fonts/MrsSaintDelafield.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

.gm-sec.gl-start { --gl-gold: #b8955a; --gl-gold-hell: #e2c891; --gl-nacht: #0b0a09; --gl-kursiv: "Cormorant Garamond", Georgia, serif; --gl-edel: "Bodoni Moda", Didot, Georgia, serif; --gl-signatur: "Mrs Saint Delafield", cursive; }
.gm-sec.gl-hero { padding: 16px 32px 0; }
.gm-sec.gl-hero > .gl-ha, .gm-sec.gl-hero > .gl-hb, .gm-sec.gl-hero > .gl-hc { display: none; }
.gm-sec.gl-hero[data-v="a"] > .gl-ha, .gm-sec.gl-hero[data-v="b"] > .gl-hb, .gm-sec.gl-hero[data-v="c"] > .gl-hc { display: block; }

.gl-start .gl-caps { margin: 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.gl-start .gl-lead { font-size: 17px; line-height: 1.65; max-width: 520px; margin: 0; }
.gl-start .gl-knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.gl-start .gl-knopf { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 50px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s, color .2s; }
.gl-start .gl-knopf:hover { transform: translateY(-1px); }
.gl-start .gl-knopf--weiss { background: #fff; color: #111 !important; }
.gl-start .gl-knopf--gold { background: var(--gl-gold); color: #fff !important; }
.gl-start .gl-knopf--schwarz { background: #111; color: #fff !important; }
.gl-start .gl-knopf--linie { border: 1px solid rgba(255,255,255,.55); color: #fff !important; }
.gl-start .gl-knopf--linie:hover { background: rgba(255,255,255,.1); }
.gl-start .gl-knopf--linie-dunkel { border: 1px solid #111; color: #111 !important; }

/* ---------- A · Kontrast ---------- */
.gl-start .gl-ha-karte { position: relative; display: flex; align-items: center; min-height: min(calc(100vh - 120px), 860px); border-radius: 22px; overflow: hidden; background: var(--gl-nacht); color: #fff; }
.gl-start .gl-ha-bild { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 76%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); animation: gl-zoom 9s cubic-bezier(.2,.6,.2,1) both; }
.gl-start .gl-ha-karte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,10,9,.45), transparent 30%); pointer-events: none; }
.gl-start .gl-ha-text { position: relative; z-index: 2; width: min(660px, 100%); padding: 70px 0 70px 64px; }
.gl-start .gl-ha .gl-caps { color: rgba(255,255,255,.75); animation: gl-auf 1s .1s both; }
.gl-start .gl-ha-titel { margin: 18px 0 0 !important; font-weight: 300 !important; line-height: .95 !important; color: #fff; font-size: inherit !important; }
.gl-start .gl-ha .gl-fein { display: block; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .02em; margin-bottom: 4px; animation: gl-auf .9s .2s both; }
.gl-start .gl-ha .gl-schrift { display: block; font-family: var(--gl-kursiv); font-style: italic; font-weight: 400; font-size: clamp(60px, 8.4vw, 136px); letter-spacing: -.01em; line-height: .92; }
.gl-start .gl-ha .gl-wort { font-style: inherit; white-space: nowrap; display: inline-block; }
.gl-start .gl-ha .gl-schrift span { display: inline-block; color: var(--gl-gold-hell); text-shadow: 0 2px 30px rgba(226,200,145,.25); animation: gl-buchstabe .9s cubic-bezier(.2,.7,.2,1) both; }
.gl-start .gl-ha .gl-strich { height: 1px; width: 0; background: linear-gradient(90deg, var(--gl-gold-hell), transparent); margin: 22px 0; animation: gl-strich 1.4s 1.5s cubic-bezier(.2,.7,.2,1) forwards; }
.gl-start .gl-ha .gl-lead { color: rgba(255,255,255,.86); animation: gl-auf 1s 1.6s both; }
.gl-start .gl-ha .gl-knopfzeile { animation: gl-auf 1s 1.85s both; }

/* ---------- B · Handschrift ---------- */
.gl-start .gl-hb { border-radius: 22px; overflow: hidden; position: relative; background: var(--gl-nacht); color: #fff; }
.gl-start .gl-hb::before { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.gl-start .gl-hb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 72% 45%, rgba(184,149,90,.16), transparent 70%), radial-gradient(ellipse 50% 60% at 15% 90%, rgba(120,70,40,.18), transparent 70%); }
.gl-start .gl-hb-innen { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; min-height: min(calc(100vh - 120px), 860px); padding: 40px 48px 40px 64px; }
.gl-start .gl-hb .gl-caps { color: var(--gl-gold-hell); animation: gl-auf 1s .1s both; }
.gl-start .gl-signatur { font-family: var(--gl-signatur); font-size: clamp(88px, 10.5vw, 170px); line-height: 1.05; color: var(--gl-gold-hell); margin: 20px 0 -6px -6px; white-space: nowrap; text-shadow: 0 0 30px rgba(226,200,145,.25); clip-path: inset(-20% 100% -40% 0); animation: gl-schreiben 2.8s .4s cubic-bezier(.45,.1,.35,1) forwards; }
.gl-start .gl-hb-titel { margin: 0 0 22px !important; font-weight: 300 !important; font-size: clamp(36px, 4.2vw, 62px) !important; line-height: 1.05 !important; letter-spacing: -.015em; color: #fff; animation: gl-auf 1s 2.4s both; }
.gl-start .gl-hb-titel em { font-family: var(--gl-kursiv); font-size: 1.12em; color: var(--gl-gold-hell); }
.gl-start .gl-hb .gl-lead { color: rgba(255,255,255,.75); animation: gl-auf 1s 2.7s both; }
.gl-start .gl-hb .gl-knopfzeile { animation: gl-auf 1s 2.9s both; }
.gl-start .gl-hb-bild { position: relative; height: min(calc(100vh - 200px), 760px); min-height: 460px; border-radius: 18px; overflow: hidden; animation: gl-auf 1.4s .2s both; }
.gl-start .gl-hb-bild::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(226,200,145,.35); border-radius: 10px; pointer-events: none; }
.gl-start .gl-hb-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ---------- C · Edel-Serif ---------- */
.gl-start .gl-hc-innen { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto 1fr auto; column-gap: 64px; min-height: min(calc(100vh - 110px), 880px); padding: 0 32px; color: #111; }
.gl-start .gl-hc-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 16px; border-bottom: 1px solid #111; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.gl-start .gl-hc-titel { align-self: center; margin: 40px 0 !important; font-family: var(--gl-edel) !important; font-weight: 400 !important; font-size: clamp(56px, 8vw, 146px) !important; line-height: .9 !important; letter-spacing: -.03em; color: #111; }
.gl-start .gl-hc-titel .gl-z { display: block; overflow: hidden; padding-bottom: .06em; }
.gl-start .gl-hc-titel .gl-z > span { display: block; animation: gl-hoch 1.2s cubic-bezier(.2,.75,.15,1) both; }
.gl-start .gl-hc-titel .gl-z:nth-child(2) > span { animation-delay: .15s; padding-left: .9em; }
.gl-start .gl-hc-titel .gl-z:nth-child(3) > span { animation-delay: .3s; }
.gl-start .gl-hc-titel em { font-style: italic; color: var(--gl-gold); }
.gl-start .gl-hc-bild { grid-row: 2 / 4; grid-column: 2; position: relative; margin: 32px 0 !important; min-height: 460px; border-radius: 999px 999px 18px 18px; overflow: hidden; animation: gl-vorhang 1.6s .35s cubic-bezier(.7,0,.2,1) both; }
.gl-start .gl-hc-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: gl-zoom 3s .35s cubic-bezier(.2,.6,.2,1) both; }
.gl-start .gl-hc-bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.gl-start .gl-hc-fuss { padding: 0 0 48px; animation: gl-auf 1s 1s both; }
.gl-start .gl-hc .gl-lead { color: #2b2824; }

@keyframes gl-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes gl-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gl-buchstabe { from { opacity: 0; filter: blur(8px); transform: translateY(18px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes gl-strich { to { width: 180px; } }
@keyframes gl-schreiben { to { clip-path: inset(-20% -5% -40% 0); } }
@keyframes gl-hoch { from { transform: translateY(105%); } to { transform: none; } }
@keyframes gl-vorhang { from { clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px); } to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }

/* ---------- Umschalter (nur Testadresse) ---------- */
.gl-umschalter { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 50px; background: rgba(20,18,16,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); font-family: "DM Sans", system-ui, sans-serif; }
.gl-umschalter > span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-right: 8px; }
.gl-umschalter button { padding: 10px 16px; border: 0; border-radius: 50px; background: none; font: inherit; font-size: 13.5px; color: rgba(255,255,255,.78); cursor: pointer; white-space: nowrap; }
.gl-umschalter button b { font-weight: 600; margin-right: 6px; color: var(--gl-gold-hell); }
.gl-umschalter button.is-an { background: #fff; color: #111; }
.gl-umschalter button.is-an b { color: var(--gl-gold); }

/* ---------- Laufband ---------- */
.gm-sec.gl-laufband { padding: 52px 0 46px; overflow: hidden; border-bottom: 1px solid #e3ddd4; }
.gm-sec.gl-laufband .gl-caps { text-align: center; color: #7c756c; margin-bottom: 28px; }
.gl-start .gl-band-fenster { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gl-start .gl-band { display: flex; width: max-content; animation: gl-laufen 42s linear infinite; }
.gl-start .gl-band:hover { animation-play-state: paused; }
.gl-start .gl-band-kopie { display: flex; }
.gl-start .gl-band img { height: 44px; width: auto; margin: 0 44px; filter: grayscale(1) brightness(0); opacity: .45; transition: opacity .3s; }
.gl-start .gl-band img:hover { opacity: .85; }
@keyframes gl-laufen { to { transform: translateX(-50%); } }

/* ---------- Kollektion als Wischleiste ---------- */
.gm-sec.gl-kollektion { padding: 100px 0 90px; }
.gl-start .gl-kollektion-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 64px; margin-bottom: 40px; }
.gm-sec.gl-kollektion .gl-caps { color: #7c756c; }
.gm-sec.gl-kollektion h2 { margin: 12px 0 0 !important; font-weight: 300; font-size: clamp(36px, 4vw, 56px) !important; line-height: 1.05; letter-spacing: -.015em; color: #111; }
.gm-sec.gl-kollektion h2 em { font-family: var(--gl-kursiv); color: var(--gl-gold); }
.gl-start .gl-pfeile { display: flex; align-items: center; gap: 10px; }
.gl-start .gl-pfeile button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #111; background: none; display: grid; place-items: center; color: #111; cursor: pointer; transition: background .2s, color .2s; }
.gl-start .gl-pfeile button:hover { background: #111; color: #fff; }
.gl-start .gl-pfeile button[data-r="-1"] .gl-icon { transform: scaleX(-1); }
.gl-start .gl-alle { margin-left: 10px; color: #111; font-size: 14.5px; border-bottom: 1px solid var(--gl-gold); text-decoration: none; }
.gl-start .gl-leiste { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 64px 20px; scroll-padding: 0 64px; scrollbar-width: none; }
.gl-start .gl-leiste::-webkit-scrollbar { display: none; }
.gl-start .gl-karte-p { flex: 0 0 min(360px, 78vw); scroll-snap-align: start; background: #fff; border-radius: 20px; padding: 16px 16px 22px; transition: transform .35s, box-shadow .35s; }
.gl-start .gl-karte-p:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(60,40,20,.12); }
.gl-start .gl-karte-p-link { display: block; color: inherit; text-decoration: none; }
.gl-start .gl-karte-p .gl-mp-bild { aspect-ratio: 1 / 1.08; margin-bottom: 18px; }
.gl-start .gl-karte-p .gl-caps { color: #7c756c; }
.gl-start .gl-karte-p h3 { margin: 6px 0 10px !important; font-weight: 400; font-size: 24px !important; letter-spacing: .02em; color: #111; }
.gl-start .gl-karte-p-fuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.gl-start .gl-karte-p-fuss a { font-size: 13.5px; color: #111; border-bottom: 1px solid var(--gl-gold); text-decoration: none; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 1080px) {
  .gl-start .gl-ha-text { padding-left: 44px; width: min(560px, 100%); }
  .gl-start .gl-hb-innen { padding-left: 44px; }
}
@media (max-width: 900px) {
  .gm-sec.gl-hero { padding: 12px 12px 0; }
  .gl-start .gl-ha-karte { flex-direction: column; align-items: stretch; min-height: 0; }
  .gl-start .gl-ha-bild { position: relative; width: 100%; height: 56svh; min-height: 360px; margin-bottom: -36px; object-position: 62% 72%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
  .gl-start .gl-ha-karte::after { display: none; }
  .gl-start .gl-ha-text { padding: 0 24px 100px; width: 100%; }
  .gl-start .gl-hb-innen { grid-template-columns: 1fr; padding: 20px 20px 0; gap: 0; min-height: 0; }
  .gl-start .gl-hb-text { order: 2; padding: 18px 4px 100px; }
  .gl-start .gl-hb-bild { order: 1; height: 46svh; min-height: 320px; }
  .gl-start .gl-hb-bild img { object-position: 50% 30%; }
  .gl-start .gl-hc-innen { grid-template-columns: 1fr; column-gap: 0; padding: 0 8px; min-height: 0; }
  .gl-start .gl-hc-meta span:last-child { display: none; }
  .gl-start .gl-hc-titel { margin: 28px 0 22px !important; }
  .gl-start .gl-hc-bild { grid-row: auto; grid-column: auto; min-height: 0; aspect-ratio: 4 / 4.6; margin: 0 0 26px !important; }
  .gl-start .gl-hc-fuss { padding-bottom: 100px; }
  .gl-umschalter { bottom: 12px; padding: 5px; width: calc(100% - 24px); justify-content: space-between; }
  .gl-umschalter > span { display: none; }
  .gl-umschalter button { flex: 1; padding: 10px 4px; font-size: 12.5px; }
  .gm-sec.gl-kollektion { padding: 64px 0; }
  .gl-start .gl-kollektion-kopf { padding: 0 20px; }
  .gl-start .gl-pfeile button { display: none; }
  .gl-start .gl-leiste { padding: 0 20px 20px; gap: 14px; scroll-padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-start *, .gl-start *::before { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .gl-start .gl-band { animation: none; }
}
.gl-start .gl-mp-bild img { width: 88%; height: 88%; max-width: none; object-fit: contain; mix-blend-mode: multiply; }

body.gl-mob-auf .gl-umschalter { display: none; }

/* Neues & Aktionen (unter der Kollektion, Banner aus inc/startseite.php galeli_aktionen()) */
.gm-sec.gl-aktionen { padding: 80px 0 20px; }
.gm-sec.gl-aktionen .gl-caps { color: #7c756c; }
.gm-sec.gl-aktionen h2 { margin: 12px 0 0 !important; font-weight: 300; font-size: clamp(36px, 4vw, 56px) !important; line-height: 1.05; letter-spacing: -.015em; color: #111; }
.gm-sec.gl-aktionen h2 em { font-family: var(--gl-kursiv); color: var(--gl-gold); }
.gl-start .gl-aktionen-liste { display: grid; gap: 22px; padding: 0 64px; }
.gl-start .gl-aktion { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--gl-nacht); aspect-ratio: 1937 / 812; }
.gl-start .gl-aktion img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-start .gl-aktion::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.2) 38%, transparent 60%); pointer-events: none; }
.gl-start .gl-aktion-text { position: absolute; left: 48px; bottom: 44px; z-index: 1; color: #fff; max-width: 70%; }
.gl-start .gl-aktion-label { display: inline-block; background: #fff; color: #111; border-radius: 50px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.gl-start .gl-aktion h3 { margin: 18px 0 22px !important; color: #fff !important; font-weight: 300; font-size: clamp(30px, 3.6vw, 52px) !important; line-height: 1.05; letter-spacing: -.01em; }
.gl-start .gl-aktion .gl-knopf--linie { border: 1px solid rgba(255,255,255,.85); color: #fff !important; background: transparent; }
.gl-start .gl-aktion .gl-knopf--linie:hover { background: #fff; color: #111 !important; }
@media (max-width: 760px) {
	.gm-sec.gl-aktionen { padding: 56px 0 10px; }
	.gl-start .gl-aktionen-liste { padding: 0 20px; }
	.gl-start .gl-aktion { aspect-ratio: 4 / 5; }
	.gl-start .gl-aktion img { object-position: 42% center; }
	.gl-start .gl-aktion::after { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 45%, transparent 65%); }
	.gl-start .gl-aktion-text { left: 22px; right: 22px; bottom: 26px; max-width: none; }
}
