/* ==========================================================================
   LASHBAR Düsseldorf – Styles
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f1ec;
  --bg-soft: #ece7df;
  --surface: #fbf9f6;
  --ink: #1c1a17;
  --ink-soft: #4a443d;
  --muted: #675d53;
  --line: rgba(28, 26, 23, 0.12);
  --accent: #a2836b;
  --wa: #1f8f55;

  --radius-lg: 28px;
  --radius-md: 18px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 350;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

.skip-link:focus {
  top: 16px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 241, 236, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height 0.4s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
  height: 72px;
}

.logo img {
  width: clamp(112px, 12vw, 150px);
  height: auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-right: clamp(14px, 2.5vw, 36px);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--btn-bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

.btn:hover,
.btn:focus-visible {
  color: var(--bg);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
    scale 0.3s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

/* Füllung wächst kreisförmig vom Mauspunkt aus */
.btn--solid::before {
  inset: auto;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wa);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.7s var(--ease-out);
}

.btn--solid:hover::before,
.btn--solid:focus-visible::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  border-color: var(--wa);
  box-shadow: 0 14px 30px -12px rgba(31, 143, 85, 0.55);
}

.btn--solid:active {
  scale: 0.96;
}

/* Runder Icon-Button (Instagram) */
.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), scale 0.3s var(--ease-out);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.6s var(--ease-out);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.icon-btn:hover svg,
.icon-btn:focus-visible svg {
  transform: rotate(-8deg) scale(1.1);
}

.icon-btn:active {
  scale: 0.94;
}

/* WhatsApp-Icon „klingelt“ */
.btn:hover svg,
.btn:focus-visible svg {
  animation: btn-ring 0.8s var(--ease-out);
}

@keyframes btn-ring {
  0% { transform: rotate(0); }
  15% { transform: rotate(-16deg) scale(1.12); }
  30% { transform: rotate(13deg) scale(1.12); }
  45% { transform: rotate(-9deg) scale(1.08); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
  100% { transform: rotate(0); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.text-link span {
  position: relative;
}

.text-link span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.text-link:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.5s var(--ease-out);
}

.text-link:hover svg {
  transform: translateY(3px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 136px 0 clamp(56px, 8vw, 104px);
}

/* Wabernde Farbflächen im Hintergrund – fixiert, daher immer sichtbar */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

body::before {
  top: -18vmax;
  left: -14vmax;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(circle, rgba(196, 160, 128, 0.26), rgba(196, 160, 128, 0) 65%);
}

body::after {
  right: -18vmax;
  bottom: -22vmax;
  width: 76vmax;
  height: 76vmax;
  background: radial-gradient(circle, rgba(214, 178, 150, 0.24), rgba(214, 178, 150, 0) 65%);
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: blob-a 16s ease-in-out infinite alternate;
  }

  body::after {
    animation: blob-b 20s ease-in-out infinite alternate;
  }
}

@keyframes blob-a {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8vw, 6vh) scale(1.12); }
  66% { transform: translate(-3vw, 12vh) scale(0.94); }
  100% { transform: translate(6vw, -4vh) scale(1.06); }
}

@keyframes blob-b {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-10vw, 8vh) scale(0.92); }
  66% { transform: translate(-4vw, -6vh) scale(1.14); }
  100% { transform: translate(-12vw, 4vh) scale(1); }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hero__title {
  margin: 28px 0 0;
  font-size: clamp(52px, 8.4vw, 124px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__title .line > span {
  display: block;
}

.hero__rule {
  width: 72px;
  height: 1px;
  margin: 36px 0 28px;
  background: var(--ink);
  transform-origin: left;
}

.hero__text {
  max-width: 34ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 40px;
}

.hero__media {
  position: relative;
}

.hero__image {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero__badge {
  position: absolute;
  left: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(251, 249, 246, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__title {
  margin-top: 18px;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section__intro {
  max-width: 40ch;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
}

.prices__group + .prices__group {
  margin-top: clamp(48px, 6vw, 72px);
}

.prices__group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.prices__group-title h3 {
  font: inherit;
  letter-spacing: inherit;
}

.prices__group-meta {
  flex-shrink: 0;
  margin-left: 16px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.price-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 4px 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.price-row__name {
  font-size: 15px;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-row__sub {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-soft);
}

.price-row__note {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.price-row__note svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.price-row__time {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.price-row__price {
  min-width: 4.5ch;
  font-size: 19px;
  font-weight: 450;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out), border-color 0.8s var(--ease-out);
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(162, 131, 107, 0.3);
}

/* Glow als eigene Ebene: blendet weich ein und „atmet“ beim Hover */
a.contact-card {
  position: relative;
}

a.contact-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 22px 2px rgba(196, 160, 128, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease-out);
}

a.contact-card:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  a.contact-card:hover::after {
    animation: card-glow 3.2s ease-in-out infinite;
  }
}

@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 18px 1px rgba(196, 160, 128, 0.12); }
  50% { box-shadow: 0 0 30px 5px rgba(196, 160, 128, 0.22); }
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  transition: background-color 0.8s var(--ease-out), color 0.8s var(--ease-out);
}

a.contact-card:hover .contact-card__icon {
  background: rgba(162, 131, 107, 0.2);
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__label {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-card__hint {
  font-size: 14px;
  color: var(--ink-soft);
}

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

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.site-footer .logo img {
  width: 104px;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__meta a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */

.legal {
  padding: 152px 0 clamp(72px, 10vw, 120px);
}

.legal__content {
  max-width: 760px;
}

.legal__content h1 {
  margin: 18px 0 48px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal__content h2 {
  margin: 44px 0 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal__content p,
.legal__content ul {
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.legal__content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.placeholder {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(162, 131, 107, 0.18);
  color: var(--ink);
}

.notice {
  margin-bottom: 40px;
  padding: 18px 22px;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

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

.error-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 110px);
  min-height: calc(100svh - 110px);
  padding: 140px 0 80px;
}

.error-page .hero__title {
  font-size: clamp(48px, 7.6vw, 112px);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  margin-top: 40px;
}

.error-page .text-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Animationen (nur wenn JS aktiv & Bewegung erwünscht)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .anim-fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js .hero__title .line > span {
    transform: translateY(105%);
    transition: transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js .hero__rule {
    transform: scaleX(0);
    transition: transform 0.8s var(--ease-in-out);
    transition-delay: var(--d, 0s);
  }

  .js .hero__image {
    clip-path: inset(100% 0 0 0 round var(--radius-lg));
    transition: clip-path 1.1s var(--ease-in-out);
  }

  .js .hero__image img {
    transform: scale(1.18);
    transition: transform 1.6s var(--ease-out);
  }

  .js .hero__badge {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s var(--ease-out) 0.8s, transform 0.7s var(--ease-out) 0.8s;
  }

  .js.is-loaded .anim-fade,
  .js .hero__media.is-ready .hero__badge {
    opacity: 1;
    transform: none;
  }

  .js.is-loaded .hero__title .line > span,
  .js.is-loaded .hero__rule,
  .js .hero__media.is-ready .hero__image img {
    transform: none;
  }

  .js .hero__media.is-ready .hero__image {
    clip-path: inset(0 0 0 0 round var(--radius-lg));
  }

  /* nach dem Einblenden wieder die Button-Transitions nutzen */
  .js.is-loaded .btn--solid.anim-fade {
    transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
      scale 0.3s var(--ease-out), box-shadow 0.6s var(--ease-out),
      opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Kontakt-Cards: nach dem Einblenden wieder weiche Hover-Übergänge */
  .js a.contact-card.reveal.is-visible {
    transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 0.8s var(--ease-out),
      border-color 0.8s var(--ease-out);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 112px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
  }

  .prices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    height: 72px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .site-header__right {
    gap: 8px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 92px;
  }

  .hero__image {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
  }

  .price-row__main {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .price-row__time {
    grid-column: 1;
    grid-row: 2;
  }

  .price-row__price {
    grid-column: 2;
    grid-row: 2;
  }

  .price-row__name {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__meta > * {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn svg {
    animation: none !important;
  }
}
