/* css/pages.css */

/* ══ SHARED HERO BASE ══ */
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
}
.page-hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

/* ══ STARTSEITE ══ */
.home-hero {
  height: 100vh;
  min-height: 600px;
}
.home-hero .page-hero__bg {
  background-image: url('../assets/images/salon/aussen/aussen-1-clean.jpg');
}
.home-hero .page-hero__overlay {
  background: linear-gradient(to right, rgba(10,8,5,0.88) 0%, rgba(10,8,5,0.5) 55%, rgba(10,8,5,0.15) 100%);
}
.home-hero .page-hero__content {
  padding: 0 48px 80px;
  max-width: 680px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--color-gold); }
.hero-desc {
  font-size: var(--text-body);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
  font-family: var(--font-sans);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Info card (Glassmorphism) */
.hero-info-card {
  position: absolute;
  right: 48px; bottom: 80px;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 28px 32px;
  color: var(--color-white);
  min-width: 220px;
}
.hero-info-card__label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-info-card__item {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 5px;
}
.hero-info-card__divider {
  margin: 18px 0 14px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-indicator__line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  margin: 8px auto 0;
}

/* Gallery Strip */
.gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
}
.gallery-strip__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-strip__cell:hover img { transform: scale(1.04); }
.gallery-strip__cell--tall { grid-row: span 2; }
.gallery-strip__cell:last-child { grid-column: span 2; }

/* ══ LEISTUNGEN ══ */
.leistungen-hero {
  height: 46vh;
  min-height: 340px;
}
.leistungen-hero .page-hero__bg {
  background: linear-gradient(135deg, #221b14 0%, #0c0906 100%);
}
.leistungen-hero .page-hero__overlay {
  background: none;
}
.leistungen-hero .page-hero__content { padding: 0 48px 56px; }

/* Editorial blocks */
.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.leistung-block--reverse { direction: rtl; }
.leistung-block--reverse > * { direction: ltr; }
.leistung-block__img { position: relative; overflow: hidden; }
.leistung-block__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.leistung-block:hover .leistung-block__img img { transform: scale(1.04); }
.leistungen-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 48px 8px;
  text-align: center;
}
.leistungen-intro p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.leistung-block__text {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
}
.leistung-block--alt .leistung-block__text { background: var(--color-warm-white); }
.leistung-block__num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: #f0ebe5;
  line-height: 1;
  margin-bottom: -16px;
}
.leistung-block__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.leistung-block__desc {
  font-size: var(--text-body-sm);
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 380px;
}
.leistung-block__accent {
  width: 40px; height: 2px;
  background: var(--color-gold);
  margin-top: 24px;
  transition: width var(--transition-base);
}
.leistung-block:hover .leistung-block__accent { width: 80px; }

/* ══ TEAM ══ */
.team-hero {
  display: block;
  height: 70vh;                          /* etwas kleiner — nicht mehr volle Bildhöhe */
  min-height: 500px;
  max-height: 720px;
}
.team-hero__img {
  display: block;
  width: 100%;                           /* volle Breite */
  height: 100%;
  object-fit: cover;                     /* Gesichter bleiben, nur oben/unten leicht getrimmt */
  object-position: center;
}
.team-hero .page-hero__overlay {
  /* oben dunkel (Nav lesbar) + unten dunkel (Text + Button lesbar) */
  background:
    linear-gradient(to bottom, rgba(10,8,5,0.6) 0%, rgba(10,8,5,0) 16%),
    linear-gradient(to top, rgba(10,8,5,0.85) 0%, rgba(10,8,5,0.2) 34%, rgba(10,8,5,0) 58%);
}
.team-hero .page-hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 48px 44px;
}
.team-hero .page-hero__content .btn-primary { margin-top: 22px; }
.team-hero__cta-mobile { display: none; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--color-border);
}
.team-card {
  background: var(--color-white);
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: start;
  min-height: 460px;
}
.team-card__photo { position: relative; overflow: hidden; height: 460px; }
.team-card__img {
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 20%;
  transition: transform var(--transition-slow);
}
.team-card:hover .team-card__img { transform: scale(1.04); }
/* Gesichter angleichen (Carola weiter weg → reinzoomen; andere sind Nahaufnahmen) */
.team-card:nth-child(1) .team-card__img { background-size: cover; background-position: 50% 16%; }
.team-card:nth-child(2) .team-card__img { background-size: cover; background-position: 50% 16%; }
.team-card:nth-child(3) .team-card__img { background-size: cover; background-position: 50% 14%; }
.team-card:nth-child(4) .team-card__img { background-size: 108%; background-position: 50% 14%; }
.team-card__gold-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--color-gold);
}
.team-card__text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.team-card__role {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.team-card__bio {
  font-size: var(--text-body);
  line-height: 1.85;
  color: var(--color-text-muted);
}
.team-card__bio strong { color: var(--color-dark); font-weight: 600; }
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.skill-tag {
  background: #f5f0ea;
  color: #7a6f64;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 1px;
  padding: 5px 12px;
}

/* Team group photo — ungeschnitten, zentriert gerahmt (niemand wird abgeschnitten) */
.team-group { position: relative; max-width: 1040px; margin: 72px auto 0; overflow: hidden; }
.team-group:last-of-type { margin-bottom: 80px; }
.team-group--portrait { max-width: 620px; margin-top: 32px; }
.team-group img { width: 100%; height: auto; display: block; }
.team-group__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,21,16,0.72) 0%, rgba(26,21,16,0.15) 32%, rgba(26,21,16,0) 55%);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.team-group__text { color: var(--color-white); text-align: left; padding: 32px 36px; }
.team-group__text h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; margin-bottom: 8px; }
.team-group__text p { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 3px; color: var(--color-gold); text-transform: uppercase; }

/* Team — V5-Stil: kompakte Karten, kleines Foto links, keine Eigenschaftsboxen */
.team-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 64px auto 0;
  padding: 0 48px;
}
.team-full-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--color-warm-white);
  padding: 32px;
  border: 1px solid var(--color-border);
}
.team-full-card__photo {
  width: 150px;
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}
.team-full-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
.team-full-card__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.team-full-card__role {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 16px;
}
.team-full-card__bio {
  font-size: var(--text-body-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
}
.team-full-card__bio strong { color: var(--color-dark); font-weight: 600; }
.team-full-card__bio p + p { margin-top: 0.8rem; }

/* ══ KONTAKT ══ */
.kontakt-hero {
  height: 40vh;
  min-height: 320px;
}
.kontakt-hero .page-hero__bg {
  background: linear-gradient(135deg, #221b14 0%, #0c0906 100%);
}
.kontakt-hero .page-hero__overlay { background: none; }
.kontakt-hero .page-hero__content { padding: 0 48px; align-self: center; }

/* Contact grid */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; }
.kontakt-left { padding: 60px 48px; }
.kontakt-right { background: var(--color-warm-white); }
.kontakt-right__map { width: 100%; height: 320px; border: none; display: block; }
.kontakt-right__photo img { width: 100%; height: 240px; object-fit: cover; }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f7f0;
  color: #3a7a3a;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.status-badge--closed { background: #f7f0f0; color: #7a3a3a; }
.status-badge__dot { width: 7px; height: 7px; background: #4caf50; border-radius: 50%; }
.status-badge--closed .status-badge__dot { background: #ca4444; }

/* Info blocks */
.info-block { margin-bottom: 36px; }
.info-block__label {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-block__label::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.info-block__tel {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  transition: color var(--transition-base);
}
.info-block__tel:hover { color: var(--color-gold); }
.opening-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); }
.opening-table tr { border-bottom: 1px solid var(--color-border); }
.opening-table td { padding: 9px 0; font-size: 0.8125rem; color: var(--color-text-muted); }
.opening-table td:last-child { text-align: right; }

/* Chat CTA section */
.chat-cta-section { background: var(--color-dark); padding: 64px 48px; }
.chat-cta-section p { font-size: var(--text-body-sm); color: #777; margin-bottom: 32px; max-width: 440px; }

/* ── Responsive pages ── */
@media (max-width: 900px) {
  .home-hero .page-hero__content { padding: 0 24px 60px; }
  /* Handy: Titelfoto ohne weiße Blende oben */
  .home-hero .page-hero__bg { background-image: url('../assets/images/salon/aussen/aussen-1-mobile.jpg'); }
  .hero-info-card { display: none; }
  /* Handy: saubere 2×2-Galerie, alle 4 Bilder gleich groß */
  .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-strip__cell--tall { grid-row: span 1; }
  .gallery-strip__cell:last-child { grid-column: auto; }
  .gallery-strip__cell { height: 180px; }
  .leistung-block { grid-template-columns: 1fr; }
  .leistung-block__img { height: 260px; }
  .leistung-block--reverse { direction: ltr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card__photo { height: 320px; }
  .team-full-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 20px; }
  /* Handy: Foto oben, Text volle Breite darunter (nicht in schmale Spalte quetschen) */
  .team-full-card { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .team-full-card__photo { width: 180px; height: 220px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .leistungen-hero .page-hero__content,
  .kontakt-hero .page-hero__content { padding: 0 24px 40px; }
  /* Team-Hero mobil: ganzes Bild (kein Zuschnitt), Titel klein drauf, nur Button darunter.
     Nav sitzt als eigener Balken darüber → oben kein Abdunkeln mehr nötig. */
  .team-hero { display: block; height: auto; min-height: 0; max-height: none; }
  .team-hero__img { width: 100%; height: auto; object-fit: initial; }
  .team-hero .page-hero__overlay {
    display: block;
    background: linear-gradient(to top, rgba(10,8,5,0.85) 0%, rgba(10,8,5,0.1) 42%, rgba(10,8,5,0) 60%);
  }
  .team-hero .page-hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 24px 14px; }
  .team-hero .page-hero__content h1 { font-size: 30px !important; }
  .team-hero .page-hero__content .eyebrow { font-size: 0.55rem; margin-bottom: 6px; }
  .team-hero__cta { display: none; }
  .team-hero__cta-mobile { display: block; text-align: center; padding: 20px 24px 4px; }
  .chat-cta-section { padding: 48px 24px; }
  .site-footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════
   STARTSEITE — Übersichts-Sektionen (Single-Scroll)
   v1-Look, damit beim Scrollen alles im Überblick ist.
   ════════════════════════════════════════════════════ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head__line { width: 48px; height: 2px; background: var(--color-gold); margin: 18px auto 0; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  margin-top: 22px;
}
.section-head p {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: 16px;
}

/* ── Leistungen-Übersicht ── */
.home-services { padding: 96px 48px; background: var(--color-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: 1120px;
  margin: 0 auto;
}
.service-card { background: var(--color-white); padding: 46px 38px; transition: background var(--transition-base); }
.service-card:hover { background: var(--color-warm-white); }
.service-card__num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: #ece5db;
  line-height: 1;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  margin: 6px 0 14px;
}
.service-card__line { width: 32px; height: 2px; background: var(--color-gold); margin-bottom: 16px; transition: width var(--transition-base); }
.service-card:hover .service-card__line { width: 56px; }
.service-card__desc { font-family: var(--font-sans); font-size: var(--text-body-sm); line-height: 1.8; color: var(--color-text-light); }

/* ── Team-Vorschau ── */
.home-team { padding: 96px 48px; background: var(--color-warm-white); }
.team-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1120px; margin: 0 auto; }
.team-preview__card { display: block; text-decoration: none; color: inherit; text-align: center; }
.team-preview__photo { position: relative; overflow: hidden; aspect-ratio: 4/5; width: 100%; max-width: 168px; margin: 0 auto 16px; border-radius: 4px; }
.team-preview__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform var(--transition-slow); }
.team-preview__card:hover .team-preview__photo img { transform: scale(1.05); }
.team-preview__photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--color-gold); }
.team-preview__name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 5px; transition: color var(--transition-base); }
.team-preview__card:hover .team-preview__name { color: var(--color-gold); }
.team-preview__role { font-family: var(--font-sans); font-size: 0.625rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0; }
.team-preview__bio { font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.7; color: var(--color-text-muted); }
.home-team__cta { text-align: center; margin-top: 52px; }

/* ── CTA-Band ── */
.home-cta { background: var(--color-dark); border-top: 3px solid var(--color-gold); padding: 84px 48px; text-align: center; }
.home-cta h2 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 46px); font-weight: 300; color: var(--color-white); line-height: 1.15; margin: 22px 0 14px; }
.home-cta p { font-family: var(--font-sans); font-size: var(--text-body-sm); color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 34px; line-height: 1.8; }
.home-cta__line { width: 48px; height: 2px; background: var(--color-gold); margin: 0 auto; }
.home-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .home-services, .home-team, .home-cta { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-preview { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .team-preview { grid-template-columns: 1fr; max-width: 320px; }
}
/* ── Leistungs-Unterpunkte (CMS) ── */
.leistung-block__list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.leistung-block__list li { position: relative; padding-left: 1.6em; margin-bottom: 0.4em; font-family: var(--font-sans); font-size: var(--text-body-sm); color: var(--color-text-light); line-height: 1.8; }
.leistung-block__list li::before { content: "\2192"; position: absolute; left: 0; color: #c9b99a; }
.service-card__list { margin-top: 0.75rem; }

/* ── Logo-Bild in der Nav (CMS) ── */
.logo-wrap .logo-img { height: 30px; width: auto; display: block; transition: height 0.3s ease; }
.site-header.scrolled .logo-wrap .logo-img { height: 26px; }
@media (max-width: 768px) { .logo-wrap .logo-img { height: 24px; } }

/* ── Kontakt: "So finden Sie uns" — Maps unter den Öffnungszeiten ── */
.kontakt-map { padding: 8px 48px 72px; }
.kontakt-map__head { text-align: center; margin-bottom: 28px; }
.kontakt-map__title { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; color: var(--color-dark); margin-top: 6px; }
.kontakt-map__frame { width: 100%; height: 460px; border: 0; display: block; }
@media (max-width: 768px) {
  .kontakt-map { padding: 8px 24px 48px; }
  .kontakt-map__frame { height: 320px; }
}

/* Kontakt-Foto füllt die rechte Spalte (keine Lücke) */
.kontakt-right { display: flex; }
.kontakt-right__photo { width: 100%; overflow: hidden; }
.kontakt-right__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
