/* ==========================================================================
   Hundesalon Fellschere – Stylesheet
   Farben und Schriften zentral in :root anpassbar.
   ========================================================================== */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fbf7f1;
  --bg-tint: #f3ebe0;
  --surface: #ffffff;
  --ink: #2a2522;
  --ink-soft: #5e5550;
  --primary: #24504b;       /* tiefes Salbeigrün */
  --primary-dark: #183a36;
  --accent: #b5704f;        /* Kupfer, passend zum Schild */
  --accent-soft: #f1ddd0;
  --line: #e6dccf;

  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgb(42 37 34 / .06), 0 8px 24px rgb(42 37 34 / .07);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--primary-dark);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.small { font-size: .875rem; color: var(--ink-soft); }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .75em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-small { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 241 / .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--primary-dark);
}
.logo:hover { color: var(--primary-dark); }
.logo-icon {
  width: 34px; height: 34px; padding: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
}
.logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.logo-text em, .footer-brand em { font-style: italic; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  color: var(--ink); font-weight: 700; text-decoration: none;
  padding: .3em 0; border-bottom: 2px solid transparent;
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--primary); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 13px; width: 22px; height: 2px;
  background: var(--primary-dark); border-radius: 2px;
  transition: transform .25s, opacity .2s;
  content: "";
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgb(42 37 34 / .08);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a:hover { border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
}
.hero .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero .lead { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.75rem; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  list-style: none; margin: 0; padding: 0;
  font-weight: 700; font-size: .95rem; color: var(--ink-soft);
}
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts li::before {
  content: ""; width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5704f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-media {
  position: relative;
  max-width: 440px;
  justify-self: center;
}
.hero-media::before {
  content: "";
  position: absolute; inset: 8% -10% -6% 10%;
  background: var(--accent-soft);
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  z-index: -1;
}
.hero-media img {
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-paw {
  position: absolute; left: -28px; bottom: 40px;
  width: 72px; height: 72px; padding: 16px;
  border-radius: 50%;
  background: var(--primary); box-shadow: var(--shadow);
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-14deg);
}
@media (max-width: 599px) {
  .hero-paw { left: 12px; bottom: 16px; width: 60px; height: 60px; padding: 14px; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-tinted { background: var(--bg-tint); }
.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head p:last-child { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none; margin: 0; padding: 0;
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { margin-bottom: .35em; }
.service p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Preise ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card h3 { margin-bottom: .1em; }
.price-size { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.price {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: var(--primary);
  margin: .4rem 0 1rem;
}
.price span { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.price-text { font-size: 1.6rem; padding-block: .5rem; }
.price-examples { font-size: .92rem; color: var(--ink-soft); margin: auto 0 0; }
.price-card-featured { background: var(--primary); }
.price-card-featured h3, .price-card-featured .price { color: #fff; }
.price-card-featured .price-size,
.price-card-featured .price span,
.price-card-featured .price-examples { color: rgb(255 255 255 / .8); }

.price-notes {
  max-width: 720px; margin: 2.5rem auto 0;
  text-align: center; color: var(--ink-soft);
}

/* ---------- Über mich ---------- */
.about {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 400px 1fr; }
}
.about-media { margin: 0; max-width: 400px; justify-self: center; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}
.about-text p { color: var(--ink-soft); }
.signature {
  font-family: var(--font-head); font-style: italic;
  font-size: 1.5rem; color: var(--accent) !important;
  margin-top: 1.5rem;
}

.salon-panorama { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }
.salon-panorama img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.salon-panorama figcaption { margin-top: .75rem; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a {
  display: block; overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(20 17 15 / .94);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 86vh;
  width: auto; height: auto;
  border-radius: 12px;
}
.lightbox button {
  position: absolute;
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .12); color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgb(255 255 255 / .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 480px; } }
.contact-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600;
  color: var(--primary); text-decoration: none;
  margin: .5rem 0 1.75rem;
}
.contact-phone .icon { width: .9em; height: .9em; color: var(--accent); }
.contact-list { display: grid; gap: 1.25rem; margin: 0 0 2rem; }
.contact-list dt {
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.contact-list dd { margin: .2rem 0 0; }
.contact-media { margin: 0; }
.contact-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgb(255 255 255 / .8);
  padding-block: 3rem;
  text-align: center;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer .small { color: rgb(255 255 255 / .6); margin: 0; }
.footer-brand { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: .5rem; }
.footer-brand em { color: #e3a88a; }
.site-footer nav { display: flex; justify-content: center; gap: 1.5rem; margin: 1.25rem 0; font-weight: 700; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }
.todo {
  background: #fff3cd; color: #6b4e00;
  padding: .1em .4em; border-radius: 4px; font-weight: 700;
}
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.footer-credit, .site-footer .footer-credit a { color: rgb(255 255 255 / .6); }
.site-footer .footer-credit a { text-decoration: none; }
.site-footer .footer-credit a:hover { color: #fff; text-decoration: underline; }
