/* ============================================================
   Salon Lichtblick Friseursalon – Hamburg
   Design: Dark Editorial / Urban Musterviertel
   ============================================================ */

:root {
  --bg: #121110;
  --bg-2: #1a1816;
  --surface: #201d1a;
  --line: rgba(243, 237, 228, 0.12);
  --cream: #f3ede4;
  --muted: #a89f93;
  --copper: #d29a6a;
  --copper-2: #b4713f;
  --accent-grad: linear-gradient(100deg, #d29a6a 0%, #e8c39a 50%, #b4713f 100%);
  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;
  --radius: 18px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: var(--bg); }

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(18, 17, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 640;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  color: var(--cream) !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta::after { display: none; }

.nav-cta:hover { background: var(--copper); color: var(--bg) !important; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(210, 154, 106, 0.16), transparent 65%),
    radial-gradient(45% 40% at 12% 85%, rgba(180, 113, 63, 0.10), transparent 60%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 28px;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent-grad);
}

.hero h1 {
  font-size: clamp(3rem, 9.5vw, 7.4rem);
  margin-bottom: 10px;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseIn 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.hero h1 .word:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .word:nth-child(3) > span { animation-delay: 0.24s; }

.hero h1 em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes riseIn {
  to { transform: translateY(0); }
}

.hero-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 22px 0 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-solid {
  background: var(--accent-grad);
  color: var(--bg);
  font-weight: 600;
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(210, 154, 106, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}

/* Hero-Schere (animiertes SVG) */
.hero-scissors {
  position: absolute;
  right: clamp(-40px, 4vw, 90px);
  top: 50%;
  width: clamp(180px, 26vw, 380px);
  transform: translateY(-50%) rotate(-14deg);
  opacity: 0.9;
  pointer-events: none;
}

.hero-scissors svg {
  width: 100%;
  height: auto;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.45));
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2.5deg); }
}

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-2);
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  padding: 0 26px;
  color: var(--muted);
}

.marquee span:nth-child(odd) {
  color: var(--copper);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sektionen ---------- */

.section { padding: 110px 0; }

.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 64px; }

.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

.section-head p { color: var(--muted); margin-top: 18px; }

.section-head h2 em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .word > span { animation: none; transform: none; }
  .marquee-track { animation: none; }
  .hero-scissors svg { animation: none; }
}

/* ---------- Cards / Leistungen ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 0%, rgba(210, 154, 106, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(210, 154, 106, 0.45);
}

.card:hover::before { opacity: 1; }

.card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--copper);
}

.card .icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 1.45rem; margin-bottom: 12px; }

.card p { color: var(--muted); font-size: 0.97rem; }

.card .num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(243, 237, 228, 0.22);
}

/* ---------- Split (Text + Visual) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.split h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 22px; }

.split p { color: var(--muted); margin-bottom: 18px; }

.split .facts {
  list-style: none;
  margin: 28px 0 34px;
  display: grid;
  gap: 14px;
}

.split .facts li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--cream);
}

.split .facts li::before {
  content: "—";
  color: var(--copper);
}

/* Stilisiertes Visual statt Foto */
.visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(85% 60% at 70% 15%, rgba(210, 154, 106, 0.28), transparent 62%),
    linear-gradient(160deg, #26211c 0%, #171412 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.visual .v-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(243, 237, 228, 0.85);
  position: relative;
  z-index: 2;
}

.visual .v-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0 34px,
    rgba(243, 237, 228, 0.045) 34px 35px
  );
}

.visual .v-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 104px;
  height: 104px;
  animation: spin 16s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .visual .v-badge { animation: none; }
}

/* ---------- Bewertungen ---------- */

.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  padding: 34px 38px;
  border: 1px dashed rgba(210, 154, 106, 0.55);
  border-radius: var(--radius);
  background: rgba(210, 154, 106, 0.05);
  margin-bottom: 46px;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stars { display: flex; gap: 4px; color: var(--copper); }
.stars svg { width: 22px; height: 22px; }

.rating-meta { color: var(--muted); font-size: 0.9rem; }

.badge-demo {
  display: inline-block;
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--muted);
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.5;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-card cite strong { color: var(--copper); }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
}

.info-box h3 { font-size: 1.4rem; margin-bottom: 20px; }

.info-list { list-style: none; display: grid; gap: 16px; }

.info-list li { display: grid; gap: 3px; }

.info-list .lbl {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 154, 106, 0.5);
  transition: color 0.2s ease;
  width: fit-content;
}

.info-list a:hover { color: var(--copper); }

.hours { width: 100%; border-collapse: collapse; }

.hours td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.hours td:last-child { text-align: right; color: var(--muted); }

.note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Stilisierte Karte (SVG) */
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background: var(--surface);
  position: relative;
}

.map-card svg { display: block; width: 100%; height: 100%; }

.map-pin { animation: pulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin { animation: none; }
}

/* ---------- CTA-Band ---------- */

.cta-band {
  text-align: center;
  padding: 120px 0;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(210, 154, 106, 0.22), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  margin-bottom: 20px;
}

.cta-band h2 em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-band p { color: var(--muted); margin-bottom: 38px; }

.cta-band .tel-big {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid var(--copper);
  transition: color 0.2s ease;
}

.cta-band .tel-big:hover { color: var(--copper); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 34px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.95rem;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover { color: var(--copper); opacity: 1; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.footer-brand em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-note { color: var(--muted); font-size: 0.9rem; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Unterseiten ---------- */

.page-hero {
  padding: calc(var(--nav-h) + 90px) 0 70px;
  background:
    radial-gradient(50% 60% at 80% 0%, rgba(210, 154, 106, 0.14), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.page-hero h1 em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p { color: var(--muted); max-width: 560px; margin-top: 20px; font-size: 1.05rem; }

/* Service-Liste (leistungen.html) */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-row:first-of-type { border-top: 1px solid var(--line); }

.service-row .icon { width: 52px; height: 52px; color: var(--copper); }
.service-row .icon svg { width: 100%; height: 100%; }

.service-row h3 { font-size: 1.5rem; margin-bottom: 8px; }

.service-row p { color: var(--muted); max-width: 620px; }

/* Musterkennzeichnung (Impressum/Datenschutz) */
.ph {
  background: rgba(210, 154, 106, 0.16);
  border: 1px dashed rgba(210, 154, 106, 0.6);
  border-radius: 6px;
  padding: 1px 8px;
  color: var(--copper);
  font-style: normal;
  white-space: nowrap;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
}

.legal p, .legal li { color: var(--muted); max-width: 760px; }

.legal ul { padding-left: 20px; margin-top: 10px; }

.legal address {
  font-style: normal;
  color: var(--cream);
  margin: 14px 0;
  line-height: 1.8;
}

/* Formular */
.form-grid { display: grid; gap: 18px; }

.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--copper);
}

.form-grid textarea { min-height: 130px; resize: vertical; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-scissors { opacity: 0.35; }

  /* Zwischen 720 und 900 px war die Leiste zu eng: die Telefonnummer brach
     mitten in der Pille um und stand ausserhalb, "Ueber uns" ebenso.
     Enger stellen und Umbrueche verbieten - das Menue uebernimmt erst ab
     720 px, bis dahin muss die Zeile in einer Zeile bleiben. */
  .nav-links { gap: 18px; }
  .nav-links a { white-space: nowrap; font-size: 0.78rem; }
  .nav-cta { padding: 9px 16px; }
}

@media (max-width: 720px) {
  .burger { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(18, 17, 16, 0.97);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1.25rem; }

  .section { padding: 78px 0; }

  .rating-banner { padding: 26px 22px; }

  .badge-demo { margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr; }
}
