/* ============================================================
   Cosi Brautmoden – main.css
   Palette: Ivory / Creme / Gold / Ink
   Fonts: Cormorant Garamond (Headings) · Jost (Body)
   ============================================================ */

:root {
  --ivory: #fbf9f5;
  --cream: #f3ede4;
  --cream-dark: #e9e0d2;
  --gold: #b3946a;
  --gold-soft: #cdb694;
  --rose: #c9a9a0;
  --ink: #2e2a26;
  --ink-soft: #5c554d;
  --white: #ffffff;
  --shadow: 0 18px 50px -22px rgba(46, 42, 38, 0.25);
  --radius: 4px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Layout ---------- */

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-solid {
  background: var(--gold);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.1rem 0;
}

.site-header.scrolled {
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(46, 42, 38, 0.08);
  padding: 0.55rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.35s ease;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-header.scrolled .brand {
  color: var(--ink);
}

.brand-logo {
  display: block;
  height: 118px;
  width: auto;
  filter: invert(1);
  transition: filter 0.35s ease, height 0.35s ease;
}

.site-header.scrolled .brand-logo,
.legal-header .brand-logo,
.nav-open .brand-logo {
  filter: none;
}

.site-header.scrolled .brand-logo {
  height: 82px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.site-header.scrolled .main-nav a {
  color: var(--ink-soft);
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1.3rem !important;
  border-radius: var(--radius);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  margin: 6px auto;
  transition: all 0.3s ease;
}

.site-header.scrolled .nav-toggle span,
.nav-open .nav-toggle span {
  background: var(--ink);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(24, 20, 16, 0.78) 0%,
    rgba(24, 20, 16, 0.35) 45%,
    rgba(24, 20, 16, 0.25) 100%
  );
}

.hero-content {
  width: min(1160px, 92%);
  margin-inline: auto;
  padding: 0 0 clamp(4rem, 10vh, 7rem);
  color: var(--white);
  max-width: 1160px;
}

.hero .eyebrow {
  color: #f0d9a8;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  max-width: 16ch;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 52ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: none;
}

/* ---------- USP bar ---------- */

.usp {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.usp-item .usp-icon {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.usp-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.usp-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text p + p {
  margin-top: 1.1rem;
}

.about-text .signature {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
}

/* ---------- Schneiderei ---------- */

.schneiderei {
  background: var(--warm-bg);
  padding: 5.5rem 0;
}

.schneiderei-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  flex-direction: column;
}

.schneiderei-icon {
  font-size: 3.2rem;
  color: var(--gold-soft);
  line-height: 1;
}

.schneiderei-text {
  max-width: 680px;
}

.schneiderei-text h2 {
  margin-bottom: 1rem;
}

.schneiderei-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

/* ---------- Sortiment ---------- */

.sortiment {
  background: var(--cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  font-family: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
  outline: none;
}

.card .card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.card-cta {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: transform 0.3s ease;
}

.card:hover .card-cta {
  transform: translateX(4px);
}

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

.preise-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.price-facts {
  display: grid;
  gap: 1rem;
}

.price-facts li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
}

.price-facts li::before {
  content: "—";
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Galerie ---------- */

.galerie-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.6rem;
}

.galerie-filter button {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  background: transparent;
  border: 1px solid var(--cream-dark);
  border-radius: 100px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.galerie-filter button:hover,
.galerie-filter button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--cream-dark);
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galerie-item:hover img {
  transform: scale(1.05);
}

.galerie-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(24, 20, 16, 0.7), transparent);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.galerie-item:hover figcaption {
  opacity: 1;
}

.galerie-item.hidden {
  display: none;
}

.galerie-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.galerie-more-wrap .galerie-more {
  display: inline-flex;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 17, 14, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox.open {
  display: flex;
}

.lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-height: 82vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin-top: 0.8rem;
  color: var(--white);
  font-size: 0.9rem;
  gap: 1rem;
}

.lightbox-caption {
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #eee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 310;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 310;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 2vh 2vw;
  }

  .lightbox-prev {
    left: 0.6rem;
    width: 42px;
    height: 42px;
  }

  .lightbox-next {
    right: 0.6rem;
    width: 42px;
    height: 42px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .lightbox img {
    max-height: 76vh;
  }

  .lightbox-meta {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
}

/* Kategorie-Galerie Modal */

.card-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(24, 20, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.card-modal.open {
  display: flex;
}

.card-modal-inner {
  position: relative;
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.4rem;
}

.card-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

.card-modal-title {
  margin-bottom: 1.8rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.card-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-modal-grid figure {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  background: var(--cream-dark);
}

.card-modal-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-modal-grid figure:hover img {
  transform: scale(1.05);
}

.card-modal-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
  padding: 2rem 0;
}

@media (max-width: 720px) {
  .card-modal {
    padding: 0;
  }

  .card-modal-inner {
    border-radius: 0;
    max-height: 100vh;
    padding: 1.6rem;
  }

  .card-modal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
}

/* ---------- Besuch / Ablauf ---------- */

.besuch {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.besuch h2,
.besuch h3 {
  color: var(--white);
}

.besuch .eyebrow {
  color: var(--gold-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.4rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold-soft);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
}

/* ---------- Standorte ---------- */

.standorte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.standort-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
}

.standort-card .eyebrow {
  margin-bottom: 0.5rem;
}

.standort-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}

.standort-card address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.standort-card .kontakt-links {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.standort-card .kontakt-links a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  width: fit-content;
  transition: color 0.3s ease;
}

.standort-card .kontakt-links a:hover {
  color: var(--gold);
}

.hours {
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.4rem;
  font-size: 0.95rem;
}

.hours dt {
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hours dd {
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}

.standort-card .maps-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- CTA ---------- */

.cta {
  background: var(--cream);
  text-align: center;
}

.cta h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta p {
  max-width: 52ch;
  margin: 0 auto 2.2rem;
  color: var(--ink-soft);
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.6rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer-nav a {
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-credit {
  margin-top: 1.5rem;
  text-align: center;
}

.footer-credit a {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding-top: clamp(8rem, 16vw, 11rem);
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.6rem;
  margin: 2.6rem 0 0.9rem;
}

.legal-page h3 {
  font-size: 1.2rem;
  margin: 1.8rem 0 0.6rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  max-width: 78ch;
}

.legal-page p + p {
  margin-top: 0.9rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.8rem 0;
}

.legal-page a {
  color: var(--gold);
  word-break: break-word;
}

.legal-header .brand,
.legal-header .main-nav a {
  color: var(--ink);
}

.legal-header .nav-toggle span {
  background: var(--ink);
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  padding: 1.1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: baseline;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.marquee-track i {
  color: var(--gold-soft);
  font-style: normal;
  font-size: 0.8rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Stil-Finder ---------- */

.stilfinder {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(179, 148, 106, 0.12), transparent 55%),
    var(--ivory);
}

.stilfinder-box {
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.stilfinder-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.stilfinder-progress span {
  width: 34px;
  height: 2px;
  background: var(--cream-dark);
  transition: background 0.3s ease;
}

.stilfinder-progress span.done {
  background: var(--gold);
}

.stilfinder-question {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.8rem;
  min-height: 2.4em;
}

.stilfinder-options {
  display: grid;
  gap: 0.8rem;
}

.stilfinder-options button {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 1rem 1.4rem;
  background: var(--ivory);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
}

.stilfinder-options button:hover {
  border-color: var(--gold);
  background: var(--cream);
  transform: translateY(-2px);
}

.stilfinder-result {
  display: none;
}

.stilfinder-result.show {
  display: block;
  animation: fadeUp 0.6s ease;
}

.stilfinder-result .eyebrow {
  margin-bottom: 0.6rem;
}

.stilfinder-result h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-bottom: 0.9rem;
}

.stilfinder-result p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}

.stilfinder-restart {
  display: block;
  margin: 1.2rem auto 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 2px;
}

.stilfinder-restart:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Kontaktformular ---------- */

.kontaktform {
  background: var(--cream);
}

.kontaktform-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.kontaktform-intro p {
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.kontaktform-intro .kontakt-alt {
  display: grid;
  gap: 0.5rem;
  font-size: 0.98rem;
}

.kontaktform-intro .kontakt-alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  width: fit-content;
  transition: color 0.3s ease;
}

.kontaktform-intro .kontakt-alt a:hover {
  color: var(--gold);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 148, 106, 0.15);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: #fdf3f3;
  border-left: 2px solid #b4544d;
  color: #8a3d37;
  font-size: 0.95rem;
}

.form-error.show {
  display: block;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card button[type="submit"][disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Instagram / iPhone 17 Pro Mockup ---------- */

.insta {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.insta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.insta-text .eyebrow {
  color: var(--gold-soft);
}

.insta-text h2 {
  color: var(--white);
}

.insta-text p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  color: var(--gold-soft);
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(205, 182, 148, 0.35);
  padding-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.insta-handle:hover {
  color: var(--white);
}

/* Phone */

.iphone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.iphone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #48484a);
  padding: 10px;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.75),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
  transition: transform 0.6s ease;
}

.iphone:hover {
  transform: rotate(0deg) scale(1.015);
}

/* Titan-Rahmen-Glanz */
.iphone::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* Seitentasten */
.iphone .btn-side,
.iphone .btn-action,
.iphone .btn-power {
  position: absolute;
  background: #2c2c2e;
  border-radius: 3px;
}

.iphone .btn-action { left: -3px; top: 18%; width: 3px; height: 4.5%; }
.iphone .btn-side { left: -3px; top: 26%; width: 3px; height: 12%; }
.iphone .btn-power { right: -3px; top: 28%; width: 3px; height: 9%; }

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
}

.iphone-screen video,
.iphone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Dynamic Island */
.iphone-screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 4;
}

.iphone-reel-link {
  position: absolute;
  inset: auto 0 10% 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.iphone-screen:has(video[playing]) .iphone-reel-link,
.iphone-screen:hover .iphone-reel-link {
  opacity: 0;
}

.iphone-reel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ---------- Bewertungen ---------- */

.bewertungen {
  padding: 6.5rem 0;
  background: var(--white);
}

.reviews-summary {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.rating-stars {
  color: #c5a059;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  line-height: 1;
}

.rating-score {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
}

.rating-score strong {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.reviews-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.6rem;
}

.review-card {
  background: var(--warm-bg);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  flex-grow: 1;
}

.review-card footer {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.6rem;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media (max-width: 960px) {
  .usp-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .preise-inner,
  .standorte-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.8rem;
    text-align: center;
  }

  .main-nav a,
  .site-header.scrolled .main-nav a {
    color: var(--ink);
    font-size: 1rem;
  }

  .nav-open .brand {
    color: var(--ink);
  }

  /* Menü offen: Header immer identisch, egal wie weit gescrollt */
  .nav-open .site-header,
  .nav-open .site-header.scrolled {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 1.1rem 0;
  }

  .nav-open .brand-logo,
  .nav-open .site-header.scrolled .brand-logo {
    height: 78px;
    filter: none;
  }

  /* Sections enger auf Mobile */
  section {
    padding: 3.8rem 0;
  }

  /* Hero: Gesichter sichtbar, Text unten lesbar */
  .hero {
    min-height: 92svh;
  }

  .hero-media,
  .hero-media img {
    object-position: center 22%;
  }

  .hero::after {
    background: linear-gradient(
      to top,
      rgba(24, 20, 16, 0.85) 0%,
      rgba(24, 20, 16, 0.55) 30%,
      rgba(24, 20, 16, 0.1) 55%,
      rgba(24, 20, 16, 0.15) 100%
    );
  }

  .hero-content {
    padding-bottom: 2.4rem;
  }

  .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    max-width: 100%;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 0.85rem;
    max-width: 100%;
    margin-bottom: 1.4rem;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .usp-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .standort-card {
    padding: 2rem 1.5rem;
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 78px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  /* Instagram-Section zentriert */
  .insta-grid {
    text-align: center;
  }

  .insta-handle {
    margin-inline: auto;
  }

  .iphone {
    transform: rotate(0deg);
  }

  /* Schneiderei etwas enger */
  .schneiderei {
    padding: 3.8rem 0;
  }
}

@media (max-width: 480px) {
  .container,
  .hero-content {
    width: 90%;
  }

  .card-grid,
  .galerie-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  }

  .hero p {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-actions .btn {
    font-size: 0.78rem;
    padding: 0.6rem 1.2rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 64px;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .card,
  .standort-card {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 960px) {
  .kontaktform-grid {
    grid-template-columns: 1fr;
  }

  .insta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .insta-text p {
    margin-inline: auto;
  }
}

/* Secondhand & Verleih */
.secondhand {
  background: var(--cream);
  padding: 5rem 0;
}

.secondhand .secondhand-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 2rem 0;
}

.secondhand .secondhand-empty a {
  color: var(--gold);
}
