/* ==========================================================================
   Cuore Ama – Coming soon
   Basis: Bootstrap 5.3 (Reboot + Utilities). Desktop-Maße sind aus dem
   Figma-Frame „Coming Soon + Text“ (1920 px breit) abgeleitet und in vw
   umgerechnet (1px = 1/19.2 vw).
   ========================================================================== */

/* Schrift lokal eingebunden (kein Google-Fonts-Request, DSGVO-freundlich) */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/figtree-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2");
}
/* Ersatz für Museo Sans Cond (H1) bis zur finalen Site */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
}

:root {
  --bs-body-font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #000;
  --bs-body-bg: #fff;
  --ca-gutter: 16px;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Header ------------------------------------------------------------- */

.site-header {
  gap: 1rem;
  padding: 22px var(--ca-gutter) 0;
}

.site-nav ul {
  column-gap: 1.25rem;
  row-gap: .25rem;
  font-size: 15px;
  line-height: 1.2;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-logo {
  flex-shrink: 0;
  width: 130px;
}

/* --- Hero (Mobile/Tablet zuerst) ----------------------------------------- */

.hero {
  padding: 0 var(--ca-gutter) var(--ca-gutter);
  margin-top: 64px;
}

/* Foto füllt den Bildschirm, bleibt aber in sinnvollen Proportionen */
.hero-stage {
  position: relative;
  height: clamp(100vw, calc(100vh - 160px), 165vw);
  height: clamp(100vw, calc(100svh - 160px), 165vw);
}

.hero-stage picture,
.hero-photo {
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: 45% 50%;
}

.hero-lips {
  position: absolute;
  z-index: 2;
  top: -40px;
  left: 4%;
  width: 28%;
  max-width: 180px;
}

/* Mobil übernimmt der Claim selbst den weißen Ausschnitt */
.hero-cutout {
  display: none;
}

.hero-claim {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -1px;
  width: 46%;
  max-width: 260px;
  padding: 14px 14px 0 0;
  background: #fff;
  text-align: right;
}

.hero-claim img {
  margin-left: auto;
}

.hero-subline {
  margin-top: .6rem !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

/* --- Intro-Text ------------------------------------------------------------ */

.intro {
  display: grid;
  gap: 20px;
  padding: 56px var(--ca-gutter) 48px;
}

.intro-head {
  align-self: start;
}

.intro-eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.intro-title {
  margin: 0;
  font-family: "Barlow Condensed", "Figtree", sans-serif;
  font-size: clamp(32px, 9.5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.intro-text {
  font-size: 17px;
  line-height: 1.5;
}

.intro-text p {
  margin-bottom: 1.5em;
}

/* --- Footer / Impressum ---------------------------------------------------- */

.site-footer {
  padding: 0 var(--ca-gutter) 20px;
  text-align: right;
}

.imprint-link {
  font-size: 13px;
  color: inherit;
  text-decoration: none;
}

.imprint-link:hover,
.imprint-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.imprint {
  width: min(420px, calc(100% - 2 * var(--ca-gutter)));
  padding: 0;
  border: 0;
  color: inherit;
  background: #fff;
}

.imprint::backdrop {
  background: rgba(0, 0, 0, .55);
}

/* Fallback ohne JavaScript: Sprung auf #impressum zeigt den Inhalt */
.imprint:target {
  display: block;
}

.imprint-inner {
  position: relative;
  padding: 32px 28px 28px;
  font-size: 15px;
  line-height: 1.5;
}

.imprint h2 {
  margin-bottom: 1rem;
  font-size: 22px;
  font-weight: 500;
}

.imprint a {
  color: inherit;
}

.imprint-close {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 8px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: inherit;
}

@media (min-width: 576px) {
  .hero-stage {
    height: clamp(56vw, calc(100vh - 200px), 100vw);
    height: clamp(56vw, calc(100svh - 200px), 100vw);
  }
  .hero-lips {
    top: -56px;
    max-width: 150px;
  }
  .hero-claim {
    max-width: 230px;
  }
  .hero-subline {
    font-size: 15px;
  }
  .intro {
    padding-top: 72px;
  }
  .intro-text {
    font-size: 18px;
  }
}

/* --- Desktop: Layout wie im Figma-Frame ----------------------------------- */

@media (min-width: 992px) {
  .site-header {
    padding: 2.66vw 2.92vw 0 3.125vw;          /* 51 / 56 / 60 px */
  }

  .site-nav {
    margin-top: .94vw;                         /* 18 px */
  }

  .site-nav ul {
    column-gap: 3.02vw;                        /* 58 px */
    font-size: max(16px, 1.354vw);             /* 26 px */
  }

  .site-logo {
    width: max(150px, 13.96vw);                /* 268 px */
  }

  .hero {
    margin-top: 5.27vw;                        /* Foto beginnt bei 201.5 px */
    padding: 0 3.125vw 3.18vw 20.08vw;         /* 60 / 61 / 385.5 px */
  }

  .hero-stage {
    /* Foto füllt den restlichen Viewport (bei 1920 × 1080: 817.5 px) */
    height: max(32vw, calc(100vh - 13.67vw));
    height: max(32vw, calc(100svh - 13.67vw));
  }

  .hero-photo {
    object-position: 50% 50%;
  }

  .hero-lips {
    top: 5.44vw;                               /* 104.5 px unter Foto-Oberkante */
    left: -13.46vw;                            /* ragt 258.5 px nach links */
    width: 15.89vw;                            /* 305 px */
    max-width: none;
  }

  .hero-cutout {
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: -1px;
    width: 9.5vw;                              /* 182.5 px */
    height: 11.25vw;                           /* 216 px */
    background: #fff;
  }

  /* rechtsbündig, endet 152 px rechts der Foto-Kante */
  .hero-claim {
    left: auto;
    right: calc(100% - 7.92vw);
    bottom: -.26vw;
    width: auto;
    max-width: none;
    padding: 0;
    background: none;
  }

  .hero-claim img {
    width: 11.72vw;                            /* 225 px */
  }

  .hero-subline {
    margin-top: .96vw !important;              /* 18.5 px */
    font-size: max(14px, 1.12vw);              /* 21.5 px */
    white-space: nowrap;
  }

  /* H1 links (ab 60 px), Text rechts (933–1864 px) */
  .intro {
    grid-template-columns: 45.47vw 1fr;
    gap: 0;
    padding: 9.93vw 2.92vw 6.5vw 3.125vw;      /* Eyebrow + Text beginnen bei 1271 px */
  }

  .intro-eyebrow {
    margin: 0 0 .69vw .31vw;                   /* Figma: x 66, y 1271; H1 folgt bei y 1313 */
    font-size: max(14px, 1.094vw);             /* 21 px */
  }

  .intro-title {
    max-width: 40.8vw;                         /* 784 px */
    font-size: 4.17vw;                         /* 80 px */
    line-height: 1.2;
  }

  .intro-text {
    font-size: max(16px, 1.458vw);             /* 28 px */
    line-height: 1.36;
  }

  .intro-text p {
    margin-bottom: 1.36em;                     /* eine Leerzeile wie im Entwurf */
  }

  .site-footer {
    padding: 0 2.92vw 2vw;
  }

  .imprint-link {
    font-size: max(13px, .73vw);
  }
}

/* --- 404-Seite ------------------------------------------------------------ */

.notfound {
  max-width: 560px;
  margin: 0 auto;
  padding: 12vh var(--ca-gutter) 4rem;
  text-align: center;
}

.notfound-lips {
  width: 160px;
  margin: 0 auto 2rem;
}

.notfound h1 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
}

.notfound-link {
  display: inline-block;
  margin-top: 1rem;
  color: inherit;
  text-underline-offset: .2em;
}
