/* ============================================================
   Kosmetik by Nel – Stylesheet
   Beige/Creme-Palette, mobile-first, keine externen Ressourcen
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --creme: #faf6f0;
  --sand: #f1e8dc;
  --beige: #e7daca;
  --taupe: #b3947a;
  --braun: #4a3a2a;
  --text: #33291f;
  --text-soft: #6e5f4e;
  --card: #fffcf7;
  --wa: #1fb356;
  --wa-dark: #178f45;
  --wa-ink: #ffffff;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --shadow: 0 24px 70px -38px rgba(51, 41, 31, 0.4);
  --container: 68rem;
}

/* ---------- Reset & Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 340;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--creme);
  background-image: radial-gradient(60rem 40rem at 85% -10%, rgba(231, 218, 202, 0.55), transparent 60%),
    radial-gradient(50rem 35rem at -15% 30%, rgba(241, 232, 220, 0.7), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--beige);
  color: var(--braun);
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 42rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--braun);
  color: var(--creme);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
}

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  padding: 1.2rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 430;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--braun);
  white-space: nowrap;
}

.wordmark em,
.hero__title em,
.site-footer__brand em {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  color: var(--taupe);
  padding: 0 0.15em;
  vertical-align: 0.08em;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 420;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--beige);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.6);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.site-nav__link:hover {
  color: var(--braun);
  border-color: var(--taupe);
  background: var(--card);
}

@media (max-width: 430px) {
  .site-nav__link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .site-nav__link {
    padding: 0.55rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  max-width: 46rem;
}

.hero__arch {
  position: absolute;
  inset: -14% 8% auto 8%;
  height: 120%;
  border-radius: 999rem 999rem 0 0;
  background: linear-gradient(180deg, rgba(241, 232, 220, 0.9), rgba(241, 232, 220, 0));
  border: 1px solid rgba(179, 148, 122, 0.22);
  border-bottom: none;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 700px) {
  .hero__arch {
    inset: -10% -10% auto -10%;
  }
}

.overline {
  font-size: 0.82rem;
  font-weight: 460;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.1rem;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 380;
  font-size: clamp(2.7rem, 9.5vw, 4.6rem);
  line-height: 1.05;
  color: var(--braun);
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.hero__greet {
  font-family: var(--font-head);
  font-weight: 420;
  font-size: clamp(1.25rem, 3.4vw, 1.55rem);
  color: var(--braun);
  margin-bottom: 0.6rem;
}

.hero__text {
  color: var(--text-soft);
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero__meta {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 470;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active {
  transform: translateY(1px);
}

.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 16px 34px -18px rgba(23, 143, 69, 0.75);
}
.btn--wa:hover {
  background: var(--wa-dark);
  box-shadow: 0 18px 38px -16px rgba(23, 143, 69, 0.8);
}

.btn--ghost {
  border: 1px solid var(--taupe);
  color: var(--braun);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--card);
  border-color: var(--braun);
}

/* ---------- Sektionen ---------- */
section {
  scroll-margin-top: 4rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  color: var(--braun);
  text-align: center;
  margin-bottom: 1.6rem;
}

.rule {
  border: none;
  height: 1px;
  width: 72px;
  margin: 0 auto 2.8rem;
  background: linear-gradient(90deg, transparent, var(--taupe), transparent);
}

/* Teaser */
.teaser {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 38rem;
  margin: 0 auto 1.4rem;
}

.chip {
  font-size: 0.95rem;
  font-weight: 420;
  color: var(--braun);
  background: var(--card);
  border: 1px solid var(--beige);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}

.teaser__note {
  color: var(--text-soft);
  font-size: 0.97rem;
}

/* Instagram */
.insta {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.insta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.insta__text {
  color: var(--text-soft);
}

/* Kontakt */
.kontakt {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.kontakt__card {
  background: var(--card);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 6vw, 3.2rem);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.kontakt__card .section-title {
  margin-bottom: 0.9rem;
}

.kontakt__line {
  color: var(--text-soft);
}

.kontakt__line a {
  color: var(--braun);
  text-decoration-color: var(--taupe);
  text-underline-offset: 3px;
}

.kontakt__adresse {
  font-size: 1.08rem;
  font-weight: 440;
}

.kontakt__zahlung {
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.kontakt__card .btn {
  margin-top: 1.4rem;
}

.kontakt__map {
  display: block;
  position: relative;
  width: 100%;
  margin-top: 1.2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--beige);
  transition: box-shadow 0.2s, transform 0.15s;
}

.kontakt__map:hover {
  box-shadow: 0 18px 44px -24px rgba(51, 41, 31, 0.45);
  transform: translateY(-1px);
}

.kontakt__map img {
  width: 100%;
  height: auto;
  display: block;
}

.kontakt__map-hint {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  background: rgba(255, 252, 247, 0.94);
  color: var(--braun);
  font-size: 0.85rem;
  font-weight: 450;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--beige);
  white-space: nowrap;
}

.kontakt__map-quelle {
  font-size: 0.72rem;
  color: var(--text-soft);
  opacity: 0.75;
  margin-top: 0.45rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--beige);
  padding: 2.6rem 0 5.5rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-head);
  font-weight: 430;
  font-size: 1.15rem;
  color: var(--braun);
  margin-bottom: 0.35rem;
}

.site-footer__meta {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.site-footer__meta a {
  text-decoration-color: var(--taupe);
  text-underline-offset: 3px;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 1.1rem;
}

.site-footer__nav a {
  font-size: 0.95rem;
  font-weight: 430;
  color: var(--braun);
  text-decoration: none;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 1px;
}
.site-footer__nav a:hover {
  border-color: var(--braun);
}

.site-footer__copy {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- Sticky WhatsApp (Mobile) ---------- */
.wa-sticky {
  position: fixed;
  right: 1.05rem;
  bottom: calc(1.05rem + env(safe-area-inset-bottom, 0px));
  width: 3.55rem;
  height: 3.55rem;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(23, 143, 69, 0.85);
  z-index: 50;
  transition: transform 0.15s, background 0.2s;
}
.wa-sticky:hover {
  background: var(--wa-dark);
}
.wa-sticky:active {
  transform: scale(0.96);
}
.wa-sticky .icon {
  width: 1.7rem;
  height: 1.7rem;
}

@media (min-width: 760px) {
  .wa-sticky {
    display: none;
  }
  .site-footer {
    padding-bottom: 2.6rem;
  }
}

/* ---------- Rechtliche Seiten ---------- */
.legal {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.7rem);
  color: var(--braun);
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-head);
  font-weight: 460;
  font-size: 1.22rem;
  color: var(--braun);
  margin: 2rem 0 0.6rem;
}

.legal p {
  color: var(--text);
  margin-bottom: 0.8rem;
}

.legal a {
  color: var(--braun);
  text-decoration-color: var(--taupe);
  text-underline-offset: 3px;
}

.legal__stand {
  margin-top: 2.4rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ---------- Nav-Anker (nur Desktop) ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav__anchor {
  display: none;
  text-decoration: none;
  font-weight: 430;
  font-size: 0.97rem;
  color: var(--text-soft);
  transition: color 0.2s;
}
.site-nav__anchor:hover {
  color: var(--braun);
}

@media (min-width: 860px) {
  .site-nav__anchor {
    display: inline-block;
  }
}

/* ---------- Hero mit Foto ---------- */
.hero--split {
  padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(3rem, 7vw, 5.5rem);
  text-align: left;
  overflow: visible;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--container);
}

.hero--split .hero__content {
  text-align: center;
}

.hero--split .hero__text {
  margin-bottom: 1.8rem;
}

.hero__media {
  display: flex;
  justify-content: center;
}

.arch-img {
  border-radius: 999rem 999rem var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid rgba(179, 148, 122, 0.35);
  box-shadow: var(--shadow);
  background: var(--sand);
  width: min(78vw, 21rem);
}

.arch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.arch-img--hero {
  width: min(78vw, 24rem);
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
  .hero--split .hero__content {
    text-align: left;
  }
  .hero--split .hero__cta {
    align-items: flex-start;
  }
  .arch-img--hero {
    width: min(100%, 26rem);
  }
}

/* ---------- Über mich ---------- */
.ueber {
  background: var(--sand);
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.ueber__grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.ueber__media {
  display: flex;
  justify-content: center;
}

.arch-img--ueber {
  background: var(--creme);
}

.section-title--left {
  text-align: center;
}

.ueber__text {
  color: var(--text);
  max-width: 36rem;
  margin: 0 auto 1.3rem;
  text-align: center;
}

.chips--left {
  margin-bottom: 0;
}

@media (min-width: 860px) {
  .ueber__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
  }
  .section-title--left,
  .ueber__text {
    text-align: left;
    margin-inline: 0;
  }
  .chips--left {
    justify-content: flex-start;
  }
}

/* ---------- Preisliste ---------- */
.container--mid {
  width: min(100% - 2.5rem, 50rem);
}

.leistungen {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.leistungen .rule {
  margin-bottom: 1rem;
}

.preisliste {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.preisliste__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--beige);
}

.preisliste__name {
  font-family: var(--font-head);
  font-weight: 450;
  font-size: 1.12rem;
  color: var(--braun);
  margin-bottom: 0.15rem;
}

.preisliste__desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 34rem;
}

.preisliste__preis-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  padding-top: 0.1rem;
}

.preisliste__preis {
  font-family: var(--font-head);
  font-weight: 470;
  font-size: 1.12rem;
  color: var(--braun);
  white-space: nowrap;
}

.preisliste__dauer {
  font-size: 0.85rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.leistungen__hinweis {
  font-size: 0.95rem;
  color: var(--text-soft);
  text-align: center;
  max-width: 34rem;
  margin: 0 auto;
}

.cta-band {
  margin-top: 2.4rem;
  background: var(--card);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cta-band__text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--braun);
  max-width: 26rem;
  line-height: 1.4;
}

/* ---------- Studio ---------- */
.studio {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.studio__text {
  color: var(--text-soft);
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.studio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.studio__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--beige);
  background: var(--sand);
}

.studio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.faq .rule {
  margin-bottom: 1.2rem;
}

.faq__item {
  border-bottom: 1px solid var(--beige);
}

.faq__q {
  font-family: var(--font-head);
  font-weight: 450;
  font-size: 1.08rem;
  color: var(--braun);
  padding: 1.05rem 2.2rem 1.05rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--taupe);
  transition: transform 0.2s;
}

.faq__item[open] .faq__q::after {
  content: "–";
}

.faq__q:hover {
  color: var(--text);
}

.faq__a {
  color: var(--text-soft);
  padding: 0 2.2rem 1.2rem 0;
  max-width: 44rem;
}

.hero__title-sub {
  display: block;
  margin-bottom: 1.1rem;
}

.kontakt__insta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.kontakt__insta a {
  color: var(--braun);
  text-decoration-color: var(--taupe);
  text-underline-offset: 3px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
