/* Hundecoiffeur Jessica – Entwurf
   Blush aus ihrem Logo, Dobermann-Braun (Raya) als Text, ein Pink als Akzent. */

:root {
  --grund: #F5E4E2;
  --grund-2: #EFD6D3;
  --text: #2E1F1B;
  --text-2: rgba(46, 31, 27, .7);
  --text-3: rgba(46, 31, 27, .5);
  --linie: rgba(46, 31, 27, .16);
  --pink: #C8336E;
  --pink-dunkel: #A9265A;
  --tan: #B8703A;
  --dunkel: #2E1F1B;
  --hell: #F8ECEA;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", cursive;

  --rand: 20px;
  --abschnitt: 72px;
  --breite: 1200px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}
@media (min-width: 900px) {
  :root { --rand: 40px; --abschnitt: 128px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.rand { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.leise { color: var(--text-2); }
.hand { font-family: var(--hand); font-weight: 600; color: var(--pink); font-size: 1.5em; line-height: 1; }

.h2 {
  font: 400 34px/1.05 var(--serif);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.h3 { font: 600 15px/1.4 var(--sans); color: var(--text-3); margin: 0 0 8px; }
@media (min-width: 900px) { .h2 { font-size: 56px; margin-bottom: 40px; } }

/* Knopf */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  background: var(--pink); color: #FFF7F9;
  border: 0; border-radius: 999px;
  font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease-out, transform .15s ease-out;
}
.knopf:hover { background: var(--pink-dunkel); }
.knopf:active { transform: scale(.98); }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--rand);
  font-size: 15px; font-weight: 600;
  transition: background-color .3s ease-out, box-shadow .3s ease-out;
}
.kopf.fest { background: rgba(245, 228, 226, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--linie); }
.kopf a { text-decoration: none; padding: 8px 0; }
.kopf-termin { color: var(--pink); }

/* Einstieg: Pink aus dem Logo, Name riesig, Hunde davor */
.einstieg {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  background: var(--pink); color: var(--hell);
  padding-bottom: 40px;
}
.einstieg-buehne { position: relative; display: grid; justify-items: center; align-content: center; padding-top: 72px; }
.einstieg-ober { position: relative; z-index: 1; font-size: 15px; font-weight: 500; color: rgba(248, 236, 234, .82); margin-bottom: 8px; }
.name {
  position: relative; z-index: 1; margin: 0;
  font: 400 27vw/0.8 var(--serif);
  letter-spacing: -0.05em;
  color: var(--hell);
  white-space: nowrap;
}
.name-innen { display: block; }
.hunde {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: -9vw;
  height: min(92vw, 48svh);
  will-change: transform;
}
.hund { height: 100%; width: auto; filter: drop-shadow(0 18px 18px rgba(80, 10, 40, .35)); }
.hund-pudel { height: 92%; margin-right: -4%; }
.hund-raya { position: relative; }
.hunde::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -4%; height: 12%;
  background: radial-gradient(closest-side, rgba(90, 10, 45, .35), transparent);
}
.einstieg-unten { position: relative; z-index: 3; display: grid; gap: 24px; padding-top: 24px; width: 100%; }
.einstieg-satz { font: 400 21px/1.25 var(--serif); letter-spacing: -0.01em; max-width: 22ch; }
.einstieg-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.einstieg-fakt { font-size: 15px; color: rgba(248, 236, 234, .82); font-variant-numeric: tabular-nums; }
.knopf-hell { background: var(--hell); color: var(--pink-dunkel); }
.knopf-hell:hover { background: #fff; }

.kopf.auf-pink { color: var(--hell); }
.kopf.auf-pink .kopf-termin { color: var(--hell); }
.kopf.fest { color: var(--text); }
.kopf.fest .kopf-termin { color: var(--pink); }

@media (min-width: 900px) {
  .einstieg { padding-bottom: 56px; }
  .einstieg-buehne { padding-top: 104px; }
  .name { font-size: min(29vw, 40svh); }
  .hunde { height: min(52svh, 600px); margin-top: calc(min(29vw, 40svh) * -0.62); }
  .einstieg-unten { grid-template-columns: 1fr auto; align-items: end; }
  .einstieg-satz { font-size: 30px; }
}

/* Handstrich */
.strich { position: absolute; pointer-events: none; overflow: visible; }
.strich path { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Seifenblasen (wie im Logo: Hund in der Badewanne) */
.blasen { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.blase {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  pointer-events: auto; cursor: pointer;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 5%, rgba(255,255,255,0) 9%),
    radial-gradient(circle at 70% 76%, rgba(255,255,255,.5) 0 3%, rgba(255,255,255,0) 6%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 58%, rgba(255,230,245,.28) 70%, rgba(190,225,255,.38) 82%, rgba(255,250,210,.4) 92%, rgba(255,255,255,.65) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  -webkit-tap-highlight-color: transparent;
}
.blase.platzt { transition: transform .22s ease-out, opacity .22s ease-out; opacity: 0; }

/* Raya */
.raya { padding: var(--abschnitt) 0; }
.raya-aussage { font: 400 40px/1.05 var(--serif); letter-spacing: -0.03em; max-width: 16ch; margin-bottom: 64px; }
.raya-aussage .hand { font-size: 1.3em; display: inline-block; transform: rotate(-4deg); margin-right: 4px; }
@media (min-width: 900px) { .raya-aussage { font-size: 88px; margin-bottom: 104px; } }
.raya-raster { display: grid; gap: 40px; }
.raya-bild { margin: 0; }
.raya-bild .bild-maske { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; }
.raya-bild img { width: 100%; height: 100%; object-fit: cover; }
.raya-bild figcaption { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--text-2); }
.raya-bild figcaption .hand { font-size: 32px; }
.raya-text p { max-width: 58ch; margin-bottom: 16px; }
.zitat { position: relative; margin: 40px 0 0; padding: 0; }
.zitat p { font: 400 26px/1.25 var(--serif); letter-spacing: -0.01em; max-width: 20ch; margin: 0; }
.strich-unter { position: relative; display: block; width: min(300px, 80%); height: 24px; margin-top: 8px; }
@media (min-width: 900px) {
  .raya-raster { grid-template-columns: 5fr 6fr; gap: 104px; align-items: center; }
  .raya-bild { max-width: 440px; }
  .zitat p { font-size: 36px; }
}

/* Gästebuch */
.gaeste { padding: var(--abschnitt) 0; background: var(--grund-2); }
.gaeste .h2 { margin-bottom: 8px; }
.gaeste-intro { color: var(--text-2); margin-bottom: 40px; }
.gaeste-reihe {
  list-style: none; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 8px var(--rand) 24px;
  scroll-padding-inline: var(--rand);
  scrollbar-width: none;
}
.gaeste-reihe::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .gaeste-reihe { grid-auto-columns: 300px; } }
@media (min-width: 1280px) {
  .gaeste-reihe { padding-inline: calc((100vw - var(--breite)) / 2); scroll-padding-inline: calc((100vw - var(--breite)) / 2); }
}
.gast { scroll-snap-align: start; }
.gast { position: relative; }
.gast:nth-child(3n+1) .gast-bild { transform: rotate(-2.5deg); }
.gast:nth-child(3n+2) .gast-bild { transform: rotate(1.8deg) translateY(12px); }
.gast:nth-child(3n) .gast-bild { transform: rotate(-.8deg) translateY(-4px); }
.gast::before {
  content: ""; position: absolute; z-index: 1; top: -6px; left: 50%;
  width: 84px; height: 24px; margin-left: -42px;
  background: rgba(200, 51, 110, .32); transform: rotate(-4deg);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0);
}
.gast:nth-child(even)::before { background: rgba(184, 112, 58, .3); transform: rotate(5deg); }
.gast-bild {
  display: grid; place-items: center;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--hell); border-radius: 4px;
  padding: 8px 8px 40px;
  box-shadow: 0 1px 2px rgba(46, 31, 27, .08), 0 12px 24px -16px rgba(46, 31, 27, .35);
  transition: transform .6s var(--expo);
}
.gast-bild img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.gast:hover .gast-bild { transform: rotate(0) translateY(-8px) scale(1.02); }
.gast-bild.leer { padding: 8px; background: var(--hell); align-content: center; gap: 8px; text-align: center; }
.foto-folgt { font-size: 13px; color: var(--text-3); }
.gast-bild.leer .hand { font-size: 56px; }
.gast-name { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--text-2); }
.gast-name .hand { font-size: 34px; }
.gast-was { margin-top: 8px; font-size: 16px; max-width: 30ch; }
.gast-neu .gast-bild { position: relative; background: transparent; border: 1.5px dashed rgba(200, 51, 110, .5); box-shadow: none; text-decoration: none; }
.strich-herz { position: relative; width: 45%; height: auto; }

/* Pflege und Preis */
.pflege { padding: var(--abschnitt) 0; }
.pflege-raster { display: grid; gap: 40px; }
.preis { font: 400 22px/1.2 var(--serif); margin-bottom: 8px; }
.preis-zahl { font-size: 56px; letter-spacing: -0.03em; color: var(--pink); display: block; line-height: 1; margin-bottom: 8px; }
.pflege-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.pflege-liste li { padding: 16px 0; border-bottom: 1px solid var(--linie); font-size: 18px; }
.ort-raster { display: grid; gap: 40px; margin-top: 64px; }
.zeiten { margin: 0; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.zeiten dt { font-weight: 600; }
.zeiten dd { margin: 0; text-align: right; }
.zeiten .heute dt::after { content: " · heute"; color: var(--pink); font-weight: 500; }
@media (min-width: 900px) {
  .pflege-raster { grid-template-columns: 5fr 6fr; gap: 104px; }
  .pflege-liste li { font-size: 20px; }
  .preis-zahl { font-size: 88px; }
  .ort-raster { grid-template-columns: 5fr 6fr; gap: 104px; }
  .ort-raster .ort:last-child { order: -1; }
}

/* Termin (Mittelpunkt) */
.termin { padding: var(--abschnitt) 0; background: var(--dunkel); color: var(--hell); }
.termin-raster { display: grid; gap: 40px; }
.termin-titel { font: 400 48px/1 var(--serif); letter-spacing: -0.03em; margin: 0 0 24px; }
.termin-kopf > p { color: rgba(248, 236, 234, .72); max-width: 40ch; }
.termin-direkt { margin-top: 24px; line-height: 2; }
.termin-direkt a { color: var(--hell); text-decoration-color: var(--pink); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .termin-raster { grid-template-columns: 5fr 6fr; gap: 104px; align-items: start; }
  .termin-titel { font-size: 88px; }
}

.karte {
  background: var(--hell); color: var(--text);
  border-radius: 8px; padding: 24px;
  display: grid; gap: 24px;
}
@media (min-width: 900px) { .karte { padding: 40px; } }
.feld-paar { display: grid; gap: 16px; }
@media (min-width: 560px) { .feld-paar { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.feld input {
  font: 400 17px/1.4 var(--sans); color: var(--text);
  background: #FFFDFC; border: 1px solid var(--linie); border-radius: 8px;
  padding: 12px 16px; min-height: 48px; width: 100%;
  transition: border-color .15s ease-out;
}
.feld input:focus { outline: none; border-color: var(--pink); }
.wahl { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wahl legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wahl span {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--linie); font-size: 15px;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.wahl input:checked + span { background: var(--text); color: var(--hell); border-color: var(--text); }
.wahl input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.schalter { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.schalter input { appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--linie); position: relative; cursor: pointer; margin: 0; transition: background-color .15s ease-out; }
.schalter input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--expo); }
.schalter input:checked { background: var(--pink); }
.schalter input:checked::after { transform: translateX(18px); }
.vorschau { border-left: 2px solid var(--pink); padding: 8px 0 8px 16px; }
.vorschau-titel { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
#vorschau-text { font-size: 15px; color: var(--text-2); white-space: pre-line; }
.knopf-gross { width: 100%; min-height: 56px; }

/* Fuss */
.fuss { background: var(--dunkel); color: var(--hell); padding: 64px 0 40px; border-top: 1px solid rgba(248, 236, 234, .12); }
.fuss-raster { display: grid; gap: 16px; }
.fuss-name { font: 400 40px/1 var(--serif); letter-spacing: -0.03em; }
@media (min-width: 900px) { .fuss-name { font-size: 72px; } }
.fuss .leise a, .termin-direkt a { display: inline-block; padding: 4px 0; }
.fuss .leise { color: rgba(248, 236, 234, .7); font-size: 15px; }
.entwurf { margin-top: 24px; font-size: 13px; color: rgba(248, 236, 234, .5); }

/* Bewegung */
.js .name { clip-path: inset(0 0 100% 0); }
.js .name-innen { transform: translateY(40%); }
.js.da .name { clip-path: inset(-10% 0 -10% 0); transition: clip-path 1.1s var(--expo); }
.js.da .name-innen { transform: none; transition: transform 1.1s var(--expo); }
.js .hund { opacity: 0; transform: translateY(64px) scale(1.04); }
.js.da .hund { opacity: 1; transform: none; transition: opacity .6s ease-out .35s, transform 1.4s var(--expo) .35s; }
.js.da .hund-raya { transition-delay: .5s; }

.js [data-reveal] { clip-path: inset(100% 0 0 0); }
.js [data-reveal] img { transform: scale(1.15); }
.js [data-reveal].offen { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--expo) .15s; }
.js [data-reveal].offen img { transform: scale(1); transition: transform 1.4s var(--expo) .15s; }

.js .strich path { stroke-dasharray: var(--l, 2000); stroke-dashoffset: var(--l, 2000); }
.js .strich.zeichnen path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.65, 0, .35, 1) .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .name-innen, .js .hund, .js [data-reveal] img { transform: none !important; opacity: 1 !important; transition: none !important; }
  .js .name, .js [data-reveal] { clip-path: none !important; transition: none !important; }
  .js .strich path { stroke-dashoffset: 0 !important; transition: none !important; }
  .gast-bild { transition: none; }
}

@media (min-width: 1100px) {
  .gaeste-reihe { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 64px 40px; max-width: calc(var(--breite) + 80px); margin: 0 auto; padding: 24px 40px; }
  .gaeste-intro-wisch { display: none; }
}
