/* ==========================================================================
   IL SALONE ? Design v2 (clean, minimal)
   Pfad: /assets/css/style.css
   ========================================================================== */

:root {
  /* Brand & Neutrals */
  --black: #141414;
  --white: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --text: #151515;
  --muted: #757575;
  --border: #e2e2e2;

  /* Akzent ? sehr zur?ckhaltend */
  --accent: #111111;         /* Buttons / Links */
  --accent-soft: #f0ebe4;    /* optionaler Sand-Hintergrund */
  --accent-text: #7a5e3b;    /* dezenter Text-Akzent (wenn ?berhaupt) */

  /* UI */
  --radius-sm: 8px;
  --radius-lg: 14px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
  --max-width: 1080px;

  --transition-fast: 0.18s ease-out;
}

/* Reset / Basics
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* Typografie
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

p {
  margin: 0 0 0.8rem;
  line-height: 1.7;
  font-size: 0.98rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.text-muted {
  color: var(--muted);
}

.text-link {
  font-size: 0.88rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.text-link:hover {
  opacity: 0.8;
}

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

.main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  padding: 3.7rem 1.4rem;
  margin: 0 auto;
}

.section-narrow {
  max-width: 760px;
}

.section-cta {
  margin-top: 1rem;
}

/* Simple 2er-Grid, wird mobil automatisch einspaltig */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: flex-start;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: rein schwarz/weiss, sehr schlicht */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
}

.logo span:first-child {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-links a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.55);
}

.nav-links .nav-cta {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--black);
  background: var(--black);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.nav-links .nav-cta:hover {
  background: #000000;
}

/* Mobile Toggle */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #202020;
  transition: transform var(--transition-fast),
    opacity var(--transition-fast), translate var(--transition-fast);
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
  translate: 0 3px;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: var(--black);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #000000;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.btn-ghost:hover {
  background: #fdfdfd;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.btn-link {
  background: transparent;
  border-color: transparent;
  padding: 0;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.btn-link:hover {
  opacity: 0.85;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: start;
  padding-top: 2.6rem;
}

.hero-text {
  max-width: 32rem;
}

.hero-tagline {
  font-size: 1rem;
  margin-top: 0.9rem;
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.badge {
  font-size: 0.78rem;
  padding: 0.26rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: #555;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.hero-meta {
  margin-top: 1.2rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Hero-Bild rechts: nur Foto, keine Karte mehr */

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-photo {
  width: min(440px, 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  background: #000;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Sections / Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.4rem 1.6rem;
}

.list-muted {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.list-muted li + li {
  margin-top: 0.18rem;
}

/* Leistungen / Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.service-pill {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-pill-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.service-pill-price {
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.service-pill-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.1rem 1.3rem;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

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

.contact-cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 1.4rem 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fafafa;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Scroll-in Animation (optional, sehr dezent)
   -------------------------------------------------------------------------- */

.card,
.service-pill,
.team-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.card.is-visible,
.service-pill.is-visible,
.team-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Formulare ? falls du auf kontakt.php welches hast
   -------------------------------------------------------------------------- */

.contact-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
}

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

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

@media (max-width: 960px) {
  .hero,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 2rem;
  }

  .hero-media {
    order: -1;
    justify-content: flex-start;
  }

  .hero-photo {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .section {
    padding: 2.8rem 1.4rem;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    margin: 0;
    padding: 0.7rem 1.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    translate: 0 -6px;
    transition:
      opacity var(--transition-fast),
      transform var(--transition-fast),
      translate var(--transition-fast);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
    translate: 0 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links .nav-cta {
    margin-top: 0.3rem;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 2rem;
  }

  .contact-cta-row {
    flex-direction: column;
  }

  .btn,
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* Hovers (Desktop)
   -------------------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  .card,
  .service-pill,
  .team-card {
    transition:
      transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.26s cubic-bezier(0.4, 0, 0.2, 1),
      border-color 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .service-pill:hover,
  .team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
    border-color: #d7d7d7;
  }

  .hero-photo img {
    transition: transform 0.4s ease-out;
  }

  .hero-photo:hover img {
    transform: scale(1.02);
  }
}
