/* =========================================================================
   Salon Waclawik – seitenbezogene Bausteine
   Hero, Leistungsfinder, Besuch-Story, Team, Rechner, Fahrplan, Kontakt
   ========================================================================= */

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__raster { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__lead { max-width: 34rem; margin-top: 1.5rem; color: var(--braun); }
.hero__bild { position: relative; width: min(100%, 520px); margin-inline: auto; padding-left: 13%; padding-bottom: 7%; }
.hero__bogen { width: 100%; }
.hero__spiegel { position: absolute; left: 0; bottom: 0; width: 40%; z-index: 2; }
.hero .stempel { left: 0; top: 6%; }
@media (min-width: 900px) {
  .hero__raster { grid-template-columns: 1.08fr .92fr; }
  .hero__bild { margin-right: 0; width: 100%; max-width: 560px; }
}

/* ---------- Über uns ---------- */
.ueber { padding-bottom: clamp(5rem, 12vw, 10rem); }

/* ---------- Leistungsfinder ---------- */
.finder__wahl { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.75rem; }
@media (min-width: 760px) { .finder__wahl { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.finder__kasten { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; padding: 1.4rem .75rem 1.25rem; border: 1px solid var(--rahmen); background: transparent; cursor: pointer; font-family: var(--font-titel); font-size: 1.12rem; font-weight: 500; line-height: 1.25; color: var(--pflaume); transition: background .3s, color .3s; }
.finder__kasten img { width: 46px; height: 46px; transition: transform .4s, filter .3s; }
.finder__kasten:hover { background: var(--creme); }
.finder__kasten:hover img { transform: rotate(6deg); }
.finder__kasten[aria-pressed="true"] { background: var(--pflaume); color: var(--creme); }
.finder__kasten[aria-pressed="true"] img { filter: brightness(0) invert(.96) sepia(.1); }
.finder__antwort { margin-top: 1.5rem; background: var(--creme); border: 1px solid var(--rahmen); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1.5rem 3rem; animation: aufgehen .5s var(--ease); }
.finder__antwort[hidden] { display: none; }
@media (min-width: 860px) { .finder__antwort { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.finder__antwort h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: .75rem; }
.finder__antwort p { color: var(--braun); }
.finder__fakten { list-style: none; display: grid; gap: .5rem; }
.finder__fakten li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rahmen-zart); padding-bottom: .5rem; }
.finder__fakten span:first-child { color: var(--braun); }
.finder__fakten span:last-child { font-weight: 400; text-align: right; }
@keyframes aufgehen { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Leistungen ---------- */
.leistungen__raster { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.leistungen__kopf { margin-bottom: 3rem; }
.leistungen__bild { aspect-ratio: 4 / 3; }
@media (min-width: 1100px) {
  .leistungen__raster { grid-template-columns: 1fr 31%; align-items: stretch; }
  .leistungen__bild { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- Besuch-Story ---------- */
.besuch__raster { margin-top: clamp(2.5rem, 5vw, 4rem); }
.besuch__buehne { display: none; }
.besuch__stationen { list-style: none; display: grid; gap: 3rem; }
.besuch__station { position: relative; }
.besuch__mobilbild { margin-bottom: 1.25rem; max-width: 26rem; }
.besuch__nr { font-family: var(--font-titel); font-size: 2.4rem; line-height: 1; color: var(--rose); display: block; margin-bottom: .5rem; }
.besuch__station h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; margin-bottom: .6rem; }
.besuch__station p { color: var(--braun); max-width: 30rem; }
@media (min-width: 900px) {
  .besuch__raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
  .besuch__buehne { display: block; position: sticky; top: 9vh; }
  .besuch__rahmen { width: min(100%, 78vh * .8); margin-inline: auto; position: relative; }
  .besuch__rahmen img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease-in-out; }
  .besuch__rahmen img.aktiv { opacity: 1; }
  .besuch__faden { position: absolute; right: -4.5rem; top: 6%; height: 88%; width: 3rem; overflow: visible; }
  .besuch__faden path { fill: none; stroke: var(--linie); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .besuch__mobilbild { display: none; }
  .besuch__stationen { gap: 0; }
  .besuch__station { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s; }
  .besuch__station.aktiv { opacity: 1; }
  .besuch__station:last-child { min-height: 70vh; }
}

/* ---------- Team-Teaser ---------- */
.teamteaser__raster { display: grid; gap: 2.5rem; align-items: center; }
.teamteaser__bilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 2vw, 1.75rem); }
.teamteaser__bilder > :nth-child(2) { margin-top: 2.5rem; }
@media (min-width: 900px) { .teamteaser__raster { grid-template-columns: .8fr 1.2fr; } }

/* ---------- So erreichen Sie uns ---------- */
.erreichen__raster { display: grid; gap: 2.5rem; margin-top: 3rem; text-align: center; }
.erreichen__raster h3 { margin-bottom: .75rem; }
.erreichen__raster p { color: var(--braun); }
@media (min-width: 760px) { .erreichen__raster { grid-template-columns: repeat(3, 1fr); } }
.erreichen__linie { position: absolute; width: clamp(120px, 18vw, 260px); top: 0; pointer-events: none; }
.erreichen__linie path { fill: none; stroke: var(--linie); stroke-width: 2; stroke-linecap: round; }
.erreichen__linie--l { left: 0; }
.erreichen__linie--r { right: 0; top: auto; bottom: 0; }
@media (max-width: 759px) { .erreichen__linie { opacity: .6; width: 110px; } }

/* ---------- Team-Seite ---------- */
.teamfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 2.5rem 0 3rem; }
.teamraster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 800px) { .teamraster { grid-template-columns: repeat(3, 1fr); } }
.person { text-align: center; transition: opacity .4s, filter .4s; }
.person.gedimmt { opacity: .28; filter: grayscale(.6); }
.person__bild { position: relative; }
.person__bild img { position: absolute; inset: 0; transition: opacity .6s ease-in-out; }
.person__bild img + img { opacity: 0; }
.person:hover .person__bild img + img, .person:focus-within .person__bild img + img, .person.gewechselt .person__bild img + img { opacity: 1; }
.person h3 { margin-top: 1.1rem; font-size: 1.35rem; }
.person__rolle { color: var(--braun); font-weight: 400; font-size: .95rem; margin: .15rem 0 .6rem; }
.person__zitat { font-family: var(--font-titel); font-style: italic; color: var(--braun); max-width: 20rem; margin: 0 auto .9rem; }
.person__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; list-style: none; margin-bottom: 1rem; }
.person__tags li { font-size: .78rem; font-weight: 400; border: 1px solid var(--rahmen-zart); border-radius: 999px; padding: .15rem .65rem; color: var(--braun); }
.bildband { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); }
@media (min-width: 800px) { .bildband { grid-template-columns: repeat(4, 1fr); } .bildband > :nth-child(even) { margin-top: 2.5rem; } }

/* ---------- Leistungsseiten ---------- */
.einstieg__bilder { max-width: 520px; margin-inline: auto; width: 100%; }
.vergleich { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .vergleich { grid-template-columns: 1fr 1fr; } }
.pakete { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .pakete { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pakete { grid-template-columns: repeat(3, 1fr); } }
.paket { border: 1px solid var(--rahmen); padding: 1.75rem; display: flex; flex-direction: column; }
.paket h3 { font-size: 1.3rem; }
.paket__dauer { font-family: var(--font-titel); font-size: 1.5rem; margin: .35rem 0 .75rem; color: var(--pflaume); }
.paket p { color: var(--braun); }
.paket .knopf { margin-top: auto; align-self: flex-start; }
.paket p:last-of-type { margin-bottom: 1.5rem; }

/* ---------- Zonen-Rechner Haarentfernung ---------- */
.rechner { border: 1px solid var(--rahmen); background: var(--creme); }
.rechner__kopf { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rahmen); }
.rechner__kopf h3 { font-size: 1.4rem; }
.rechner__koerper { display: grid; }
@media (min-width: 900px) { .rechner__koerper { grid-template-columns: 1fr 340px; } }
.zonen { list-style: none; display: grid; padding: clamp(1rem, 3vw, 2rem); gap: .5rem; align-content: start; }
@media (min-width: 620px) { .zonen { grid-template-columns: 1fr 1fr; } }
.zone { position: relative; }
.zone input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.zone label { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 1rem .8rem 2.9rem; border: 1px solid var(--rahmen-zart); cursor: pointer; transition: background .25s, border-color .25s; position: relative; }
.zone label::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 1.1rem; height: 1.1rem; border: 1px solid var(--rahmen); transform: translateY(-50%); background: var(--weiss); }
.zone label::after { content: ""; position: absolute; left: 1.28rem; top: 50%; width: .55rem; height: .3rem; border-left: 2px solid var(--creme); border-bottom: 2px solid var(--creme); transform: translateY(-70%) rotate(-45deg); opacity: 0; }
.zone input:checked + label { background: var(--sand); border-color: var(--rahmen); }
.zone input:checked + label::before { background: var(--pflaume); border-color: var(--pflaume); }
.zone input:checked + label::after { opacity: 1; }
.zone input:focus-visible + label { outline: 2px solid var(--pflaume); outline-offset: 2px; }
.zone__preis { font-family: var(--font-titel); white-space: nowrap; }
.rechner__summe { background: var(--sand); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .75rem; border-top: 1px solid var(--rahmen); }
@media (min-width: 900px) { .rechner__summe { border-top: 0; border-left: 1px solid var(--rahmen); position: sticky; top: 0; align-self: start; min-height: 100%; } }
.rechner__betrag { font-family: var(--font-titel); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; }
.rechner__summe ul { list-style: none; font-size: .95rem; color: var(--braun); display: grid; gap: .2rem; }
.rechner__summe .knopf { margin-top: .75rem; }
.rechner__summe small { color: var(--braun); }

/* ---------- Hochzeits-Fahrplan ---------- */
.fahrplan__eingabe { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: center; margin: 2.5rem 0 1rem; }
.fahrplan { list-style: none; position: relative; margin-top: 3rem; display: grid; gap: 0; }
.fahrplan::before { content: ""; position: absolute; left: 11px; top: .5rem; bottom: .5rem; width: 1px; background: var(--rahmen-zart); }
.fahrplan li { position: relative; padding: 0 0 2.5rem 3rem; }
.fahrplan li::before { content: ""; position: absolute; left: 4px; top: .55rem; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--rahmen); background: var(--creme); }
.fahrplan li.vorbei { opacity: .5; }
.fahrplan li.tag-x::before { background: var(--rose); border-color: var(--rose); width: 21px; height: 21px; left: 1px; }
.fahrplan__wann { font-weight: 400; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--braun); }
.fahrplan__datum { font-family: var(--font-titel); font-size: 1.05rem; color: var(--pflaume); margin-left: .5rem; text-transform: none; letter-spacing: 0; }
.fahrplan h3 { margin: .2rem 0 .4rem; }
.fahrplan p { color: var(--braun); max-width: 38rem; }
@media (min-width: 900px) {
  .fahrplan::before { left: 50%; }
  .fahrplan li { width: 50%; padding: 0 3.5rem 3rem 0; text-align: right; }
  .fahrplan li p { margin-left: auto; }
  .fahrplan li::before { left: auto; right: -8px; }
  .fahrplan li.tag-x::before { right: -11px; left: auto; }
  .fahrplan li:nth-child(even) { margin-left: 50%; padding: 0 0 3rem 3.5rem; text-align: left; }
  .fahrplan li:nth-child(even) p { margin-left: 0; }
  .fahrplan li:nth-child(even)::before { right: auto; left: -8px; }
  .fahrplan li.tag-x:nth-child(even)::before { left: -11px; }
}

/* ---------- Kontakt ---------- */
.kontaktkarte { border: 1px solid var(--rahmen); padding: clamp(1.5rem, 4vw, 2.75rem); }
.kontaktkarte + .kontaktkarte { margin-top: 1.5rem; }
.kontaktkarte h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.kontaktkarte .zeiten th, .kontaktkarte .zeiten td { padding: .45rem 0; border-bottom: 1px solid var(--rahmen-zart); }
.lageplan { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 2rem; }
.lageplan svg.straehne { top: 0; height: 100%; }
.lageplan__nadel { width: 46px; margin: 0 auto 1rem; fill: var(--pflaume); }

/* ---------- Rechtstexte ---------- */
.rechtstext h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 2rem; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 2.75rem; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.rechtstext p, .rechtstext li { color: var(--braun); }
.rechtstext a { word-break: break-word; }

/* ---------- 404 ---------- */
.nichtda { text-align: center; padding-block: clamp(5rem, 14vw, 10rem); }
.nichtda .knopfreihe { justify-content: center; }
