/* ============================================================
   Studio 63 Hairstylist — 1:1 Re-Build
   Farben: #7C232E (Wein), #FFBC7D (Peach), #F3F3F1 (Beige)
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-surface: #f3f3f1;
  --color-text: #1a1a1a;
  --color-muted: #6b635c;
  --color-accent: #7c232e;
  --color-accent-2: #ffbc7d;
  --color-accent-dark: #5e1a23;
  --color-border: #e2dcd2;

  --font-display: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  --font-body: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;

  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;

  --container: 1340px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Typography — matches original Trebuchet MS sizes */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 4.5vw, 3.125rem); margin-bottom: var(--space-3); text-align: center; }
h3 { font-size: 1.5rem; }

/* Layout helpers */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.section { padding-block: var(--space-6); }

/* Top bar (wine-red, 3-col with plain white icons) — original: 20px Trebuchet w600 */
.topbar {
  background: var(--color-accent);
  color: #fff;
  padding-block: 0.5rem;
  font-family: "Trebuchet MS", sans-serif;
}
.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  padding-inline: clamp(0.75rem, 4vw, 3rem);
}
.topbar-col { display: flex; align-items: center; gap: 0.5rem; justify-content: center; }
.topbar-col + .topbar-col {
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  padding-left: 1.25rem;
}
.topbar-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.topbar-icon svg { width: 18px; height: 18px; }
.topbar-text { font-size: 14px; line-height: 1.2; font-weight: 600; }
.topbar-text strong { font-weight: 600; white-space: nowrap; }
.topbar-text br, .topbar-text .topbar-sub, .topbar-text .topbar-sub-num { display: none; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--color-accent-2); }
/* Hide opening-hours column on mobile */
.topbar-col--hours { display: none; }

/* Tablet+ — show all 3 cols, larger icons, multi-line text, no separator */
@media (min-width: 768px) {
  .topbar { padding-block: 1rem; }
  .topbar .container {
    justify-content: space-between;
    gap: 1rem;
  }
  .topbar-col + .topbar-col { border-left: none; padding-left: 0; }
  .topbar-col--hours { display: flex; }
  .topbar-icon svg { width: 32px; height: 32px; }
  .topbar-text { font-size: 20px; line-height: 30px; text-align: center; }
  .topbar-text strong { display: block; }
  .topbar-text br { display: inline; }
  .topbar-text .topbar-sub-num { display: inline; }
  .topbar-text .topbar-sub { display: block; }
}

/* Burger menu — completely hidden (no nav anywhere) */
.burger, .mobile-nav, .nav-overlay { display: none !important; }
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-accent);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-in nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 85vw);
  background: #fff;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 50;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  overflow-y: auto;
}
.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.mobile-nav a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-text);
}
.mobile-nav a:hover { color: var(--color-accent); }
.mobile-nav .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 45;
}
.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  border-radius: 0;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); }

/* Hero — fills viewport minus topbar so chevron stays visible */
.hero {
  position: relative;
  min-height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { min-height: calc(100vh - 130px); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url("../images/hero.webp") type("image/webp"),
    url("../images/hero.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(210, 210, 210, 0.7);
  z-index: -1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
  padding-bottom: 10rem;
}
.hero-logo { max-width: min(700px, 90vw); width: 100%; height: auto; }
@media (min-width: 768px) {
  .hero-content { gap: 6rem; }
  .hero-logo { max-width: min(1400px, 90vw); }
}
.hero .btn--primary { padding: 15px 30px; font-size: 22px; }
.hero-chevron {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent);
  animation: bounce 2s infinite;
}
.hero-chevron svg { width: 64px; height: 64px; stroke-width: 2; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Welcome */
.welcome {
  text-align: center;
  background: #fff;
  padding-block: var(--space-6);
}
.welcome p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 26px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text);
}
.welcome h3.bold {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .welcome p { font-size: 25px; line-height: 37.5px; }
  .welcome h3.bold { font-size: 35px; line-height: 35px; }
}

/* Gallery wrapper for mobile arrows */
.gallery-wrap { position: relative; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.gallery-arrow:hover { background: var(--color-accent); color: #fff; }
.gallery-arrow:active { transform: translateY(-50%) scale(0.94); }
.gallery-arrow svg { width: 22px; height: 22px; }
.gallery-arrow--prev { left: 0.75rem; }
.gallery-arrow--next { right: 0.75rem; }

/* Gallery — horizontal carousel on mobile, 5-col strip on desktop */
.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  scrollbar-width: thin;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #ddd;
  flex: 0 0 75%;
  scroll-snap-align: center;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
@media (min-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
  .gallery figure { flex: none; }
  .gallery-arrow { display: none; }
}

/* Testimonials — wine-red background, white text, no cards */
.testimonials-section {
  background: var(--color-accent);
  color: #fff;
  padding-block: var(--space-6);
}
.testimonials-section h2 { color: #fff; margin-bottom: var(--space-5); }
.testimonials {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: #fff;
  color: #000;
  text-align: center;
  padding: 2rem 1.5rem;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 25px;
  line-height: 37.5px;
  margin-bottom: 1.5rem;
  color: #000;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 0.75rem;
  color: #000;
}
.stars { color: var(--color-accent-2); font-size: 1.5rem; letter-spacing: 4px; }

/* Prices — preise.jpg with white overlay for readability */
.prices-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-6);
}
.prices-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url("../images/preise.webp") type("image/webp"),
    url("../images/preise.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.prices-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  z-index: -1;
}
/* Tab container with wine-red border (Damen / Herren) */
.tabs {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto var(--space-4);
}
.tab {
  flex: 1 1 50%;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  color: var(--color-accent);
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.tab svg { width: 22px; height: 22px; }
.tab:hover { background: rgba(124, 35, 46, 0.08); }
.tab[aria-selected="true"] {
  background: var(--color-accent);
  color: #fff;
}
.tab-panel { display: none; max-width: 1140px; margin: 0 auto; }
.tab-panel[data-active="true"] { display: block; }
.price-subnote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 37.5px;
  color: #000;
  margin-bottom: var(--space-3);
}
/* 2-column grid for Damen */
.price-columns {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .price-columns { grid-template-columns: 1fr 1fr; }
}
.price-group { margin-bottom: var(--space-4); }
.price-group-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  color: #000;
  background: transparent;
  padding: 0;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
}
.price-list {
  display: flex;
  flex-direction: column;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
}
.price-list li:last-child { border-bottom: none; }
.price-list .name { color: #000; font-size: 25px; line-height: 37.5px; }
.price-list .price { color: #333; white-space: nowrap; font-weight: 700; font-size: 25px; line-height: 37.5px; }

/* Contact — modern card layout */
.contact-section {
  background: #fff;
  padding-block: var(--space-6);
}
.contact-section h2 { color: var(--color-text); margin-bottom: var(--space-2); }
.contact-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-5);
  color: var(--color-muted);
  font-size: 18px;
  line-height: 28px;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:not(.contact-card--static):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124, 35, 46, 0.12);
  border-color: var(--color-accent);
}
.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s ease;
}
.contact-card-icon svg { width: 28px; height: 28px; }
.contact-card:not(.contact-card--static):hover .contact-card-icon {
  background: var(--color-accent-dark);
}
.contact-card-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 26px;
  color: var(--color-text);
  word-break: break-word;
}
.contact-card-value strong { font-weight: 700; }

/* Job notice (subtle text in contact area) */
.job-notice {
  text-align: center;
  padding: var(--space-4) 1rem;
  background: #fff;
  font-style: italic;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Map — Google Maps iframe with consent gate */
.map { padding: 0; position: relative; }
.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1);
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 420px;
  background: #2a2a2a image-set(
    url("../images/aussen.webp") type("image/webp"),
    url("../images/aussen.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  filter: grayscale(1);
  transition: filter 0.2s;
  border: 0;
}
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.map-placeholder:hover, .map-placeholder:focus { filter: grayscale(0.6); outline: none; }
.map-placeholder-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  color: #fff;
  padding: 1.5rem;
  max-width: 480px;
}
.map-placeholder-inner svg { width: 42px; height: 42px; }
.map-placeholder-inner strong { font-size: 1.25rem; }
.map-placeholder-inner span { font-size: 0.9rem; opacity: 0.85; line-height: 1.4; }

.map-placeholder-inner a { color: #fff; text-decoration: underline; }
.map-placeholder-inner .btn { margin-top: 0.6rem; padding: 11px 24px; font-size: 1rem; }

/* Footer — original footer.jpg as background, NO overlay, full-height (~750px) */
.site-footer {
  position: relative;
  background-image: image-set(
    url("../images/footer.webp") type("image/webp"),
    url("../images/footer.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center center;
  color: var(--color-text);
  min-height: 750px;
  padding-block: 150px;
  font-size: 1.1rem;
}

/* Wine-red bottom strip with "Made by ..." */
.copyright {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.copyright a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.copyright a:hover { border-bottom-color: #fff; }
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; text-align: left; align-items: center; }
}
.footer-logo img { max-width: 400px; width: 100%; height: auto; margin: 0 auto; }
.footer-info {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 37.5px;
  text-align: center;
}
.footer-info .phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 24px;
  margin-top: 1rem;
  font-family: "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: 25px;
  border-radius: 3px;
}
.footer-info .phone-btn:hover { background: var(--color-accent-dark); }
.footer-info .phone-btn svg { width: 22px; height: 22px; }
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 25px;
  font-weight: 400;
}
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  margin-top: auto;
  padding-top: var(--space-3);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.footer-bottom a { color: var(--color-accent); }

/* Legal pages — minimal header (beige #F3F3F1 like original) + original heading sizes */
.legal-header {
  background: #f3f3f1;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 105px;
  display: flex;
  align-items: center;
}
.legal-header .container { display: flex; align-items: center; margin-inline: 0; }
.legal-header img { max-width: 250px; height: auto; }

.legal {
  padding-block: var(--space-6);
  max-width: 900px;
  margin-inline: 0;
  margin-left: 0;
  text-align: left;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  text-align: left;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-align: left;
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: #000;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal p, .legal ul {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 33px;
  color: #000;
  margin-bottom: 1rem;
}
.legal a { color: var(--color-accent); }
.legal a:hover { text-decoration: underline; }

/* Mobile font scale-down (overrides for sizes that would be too large on phones) */
@media (max-width: 767px) {
  .footer-info { font-size: 18px; line-height: 26px; }
  .footer-info .phone-btn { font-size: 18px; padding: 10px 18px; }
  .footer-logo img { max-width: 240px; }
  .footer-links ul { font-size: 18px; }
  .copyright { font-size: 14px; }

  .testimonial blockquote { font-size: 17px; line-height: 26px; }
  .testimonial cite { font-size: 17px; }

  .price-subnote { font-size: 16px; line-height: 24px; }
  .price-group-head { font-size: 18px; }
  .price-list .name, .price-list .price { font-size: 16px; line-height: 24px; }
  .tab { font-size: 18px; padding: 0.7rem 1rem; gap: 0.4rem; }
  .tab svg { width: 18px; height: 18px; }

  .btn { font-size: 16px; padding: 0.7rem 1.5rem; }
  .hero .btn--primary { padding: 12px 24px; font-size: 17px; }

  .contact-intro { font-size: 16px; line-height: 24px; }
  .contact-card { padding: 1.75rem 1rem; }
  .contact-card-value { font-size: 16px; line-height: 22px; }

  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 22px; }
  .legal h3 { font-size: 20px; }
  .legal p, .legal ul { font-size: 17px; line-height: 26px; }
}

/* Utilities */
.no-scroll { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
