/* HAIR & BEAUTY by Sabrina – Coming Soon */
@font-face {
  font-family: "Strich";
  src: url("../fonts/strich-tenor.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+002D, U+2010-2014;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/bodoni-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/bodoni-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bodoni-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bodoni-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tenor-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tenor-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --nude: #ebdcd0;
  --nude-hell: #f4ece3;
  --papier: #f7f2eb;
  --espresso: #3b2d26;
  --espresso-tief: #2a201b;
  --espresso-soft: #5a4a41;
  --gold: #9c7a3c;
  --gold-hell: #c9a45c;
  --gold-text: #7a5e2b;
  --gold-glanz: #f3e2b0;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: "Strich", "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
  --glanzgold: linear-gradient(135deg, #8d6c2f 0%, #c9a45c 22%, #f3e2b0 45%, #c9a45c 60%, #9c7a3c 80%, #e8d29a 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--espresso);
  background-color: var(--papier);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.serif { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 28; }

::selection {
  background: var(--gold-hell);
  color: var(--espresso-tief);
}

:focus-visible {
  outline: 2px solid var(--gold-hell);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  background: var(--espresso-tief);
  color: #fff;
}

/* Feines Korn + Wasserzeichen */
.atmosphere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgb(217 188 124 / 0.28), transparent 62%),
    url("../assets/grain.svg");
  background-size: auto, 180px 180px;
  opacity: 1;
}
.atmosphere > * { position: relative; z-index: 1; }

.watermark {
  position: absolute;
  top: -8%;
  right: -18%;
  height: 92%;
  width: auto;
  max-width: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (max-width: 839px) {
  .watermark {
    right: -42%;
    height: 70%;
    top: -4%;
    opacity: 0.04;
  }
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 4rem)); }
}

/* Intro: Logo neben Countdown */
.intro {
  padding: 3.25rem 0 2.25rem;
}
@media (min-width: 840px) {
  .intro { padding: 5.5rem 0 2.75rem; }
}
@media (min-width: 840px) and (min-height: 800px) {
  .intro {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
}
@media (min-width: 840px) {
  .lockup {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4.5rem;
  }
}

.logo-col {
  flex: 0 1 auto;
  width: min(17.5rem, 74vw);
}
@media (min-width: 840px) {
  .logo-col { width: min(22.5rem, 38%); }
}
.logo-col img {
  display: block;
  width: 100%;
  height: auto;
}

.count-col {
  flex: 1 1 auto;
  width: 100%;
  max-width: 36rem;
  text-align: center;
}
@media (min-width: 840px) {
  .count-col {
    text-align: left;
    padding-left: 4.5rem;
    border-left: 1px solid transparent;
    border-image: var(--glanzgold) 1;
  }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem 0.65rem;
  align-items: end;
}
@media (min-width: 840px) {
  .countdown { gap: 0.5rem 1.15rem; }
}

.tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
@media (min-width: 840px) {
  .tick { align-items: flex-start; }
}

.tick .val {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(2.15rem, 8vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--espresso-tief);
}
@media (min-width: 840px) {
  .tick .val { font-size: clamp(3.1rem, 5.2vw, 4.35rem); }
}

.tick .unit {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  width: 100%;
  border-top: 1px solid rgb(201 164 92 / 0.55);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.3;
}
@media (min-width: 840px) {
  .tick .unit { letter-spacing: 0.28em; font-size: 0.6875rem; }
}
.unit .short { display: inline; }
.unit .full { display: none; }
@media (min-width: 840px) {
  .unit .short { display: none; }
  .unit .full { display: inline; }
}

.opened {
  display: none;
}
.is-open .countdown { display: none; }
.is-open .opened { display: block; }

.opened h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.15;
  color: var(--espresso-tief);
}
.opened .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  height: 3.25rem;
  padding: 0 1.8rem;
  color: #e8d29a;
  background: var(--espresso-tief);
  box-shadow: inset 0 0 0 1px rgb(232 210 154 / 0.28);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), transform 0.3s var(--ease);
}
.opened .cta:hover {
  background: #1e1714;
  transform: translateY(-1px);
}

.meta {
  margin: 2.75rem auto 0;
  max-width: 38rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.85;
}
@media (min-width: 840px) {
  .meta { margin-top: 3.5rem; letter-spacing: 0.2em; }
}

/* Flyer */
.flyer-section {
  padding: 0.5rem 0 4.5rem;
}
@media (min-width: 840px) {
  .flyer-section { padding: 1rem 0 6rem; }
}

.flyer-karte {
  display: block;
  width: min(32rem, 100%);
  margin: 0 auto;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 0 0 1px rgb(156 122 60 / 0.28),
    0 2px 6px rgb(59 45 38 / 0.05),
    0 18px 44px -12px rgb(59 45 38 / 0.22),
    0 42px 90px -28px rgb(59 45 38 / 0.2);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.flyer-karte:hover,
.flyer-karte:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgb(156 122 60 / 0.4),
    0 4px 10px rgb(59 45 38 / 0.06),
    0 24px 50px -12px rgb(59 45 38 / 0.28),
    0 50px 100px -28px rgb(59 45 38 / 0.24);
}
.flyer-karte img,
.flyer-karte picture {
  display: block;
  width: 100%;
  height: auto;
}
.flyer-hint {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--espresso-soft);
}
.js .nojs-only { display: none; }
.nojs-only { display: inline; }

/* Footer */
footer {
  border-top: 1px solid rgb(201 164 92 / 0.28);
  padding: 1.6rem 0 2rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--espresso-soft);
  line-height: 1.9;
}
footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgb(201 164 92 / 0.45);
}
footer a:hover { color: var(--gold-text); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  width: 100%;
  height: 100%;
  background: rgb(30 23 20 / 0.9);
  place-items: center;
}
#lightbox.is-open { display: grid; }
#lightbox img {
  display: block;
  max-width: min(52rem, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(201 164 92 / 0.28), 0 24px 80px rgb(0 0 0 / 0.5);
}
#lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  color: #ebdcd0;
  background: rgb(30 23 20 / 0.55);
  border: 1px solid rgb(201 164 92 / 0.4);
  cursor: pointer;
}
#lightbox-close:hover,
#lightbox-close:focus-visible {
  color: #f3e2b0;
  border-color: #c9a45c;
}
#lightbox-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .flyer-karte:hover { transform: none; }
}
