/* =========================================================================
   Salon Waclawik – wiederkehrende Bausteine
   Kopf, Fuß, Knöpfe, Karten, Bildformen, Linien, Akkordeon, Preislisten
   ========================================================================= */

/* ---------- Infoleiste ---------- */
.infoleiste { background: var(--pflaume); color: var(--creme); font-size: .85rem; font-weight: 300; }
.infoleiste .innen { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; align-items: center; padding-block: .6rem; }
.infoleiste a { color: var(--creme); text-decoration: none; }
.infoleiste a:hover { color: var(--rose); }
.infoleiste__punkt { display: inline-flex; align-items: center; gap: .5rem; }
.infoleiste__punkt svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.infoleiste__rechts { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); margin-right: .5rem; vertical-align: .05em; }
.status[data-offen="ja"]::before { background: #a9c9a0; }
@media (max-width: 899px) { .infoleiste { display: none; } }

/* ---------- Kopf und Navigation ---------- */
.kopf { background: var(--creme); border-bottom: 1px solid var(--rahmen); position: relative; z-index: 30; }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.kopf__logo { display: block; width: clamp(170px, 20vw, 250px); flex: none; }
.kopf__logo img { width: 100%; }
.nav { display: none; }
.nav__liste { list-style: none; display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav a:not(.knopf), .nav__auf { font-weight: 400; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; color: var(--braun); text-decoration: none; background: none; border: 0; padding: .5rem 0; cursor: pointer; }
.nav a:hover, .nav__auf:hover, .nav a[aria-current="page"] { color: var(--pflaume); }
.nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--pflaume); }
.nav__auf { display: inline-flex; align-items: center; gap: .5rem; }
.nav__auf::after { content: ""; width: .5rem; height: .5rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-.15rem) rotate(45deg); transition: transform .3s; }
.nav__auf[aria-expanded="true"]::after { transform: translateY(.1rem) rotate(-135deg); }
.nav__unter-halter { position: relative; }
.nav__unter { position: absolute; top: calc(100% + 1.05rem); left: -1.5rem; min-width: 17rem; list-style: none; background: var(--creme); border: 1px solid var(--rahmen); padding: .75rem 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.nav__unter-halter.offen-menue .nav__unter { opacity: 1; visibility: visible; transform: none; }
.nav__unter a { display: block; padding: .55rem 1.5rem; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 300; }
.nav__unter a:hover { background: var(--sand); }
.kopf__knopf { display: none; }
.menue-knopf { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; margin-right: -8px; }
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { display: block; width: 24px; height: 1px; background: var(--pflaume); transition: transform .3s, opacity .3s; }
.menue-knopf span { position: relative; }
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -7px; }
.menue-knopf span::after { top: 7px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobiles Menü */
.mobilmenue { position: fixed; inset: 75px 0 0 0; z-index: 29; background: var(--creme); padding: 1.5rem var(--rand) 6rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.mobilmenue.offen-menue { transform: none; opacity: 1; visibility: visible; }
.mobilmenue ul { list-style: none; }
.mobilmenue > ul > li { border-bottom: 1px solid var(--rahmen-zart); }
.mobilmenue a { display: block; padding: .9rem 0; text-decoration: none; font-family: var(--font-titel); font-size: 1.5rem; }
.mobilmenue li li a { font-family: var(--font-text); font-size: 1rem; padding: .45rem 0 .45rem 1rem; color: var(--braun); }
.mobilmenue li ul { padding-bottom: .75rem; }
.mobilmenue .knopf { margin-top: 1.75rem; width: 100%; font-family: var(--font-text); font-size: 1rem; }

@media (min-width: 1080px) {
  .kopf .innen { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 90px; }
  .nav { display: block; }
  .nav--rechts { justify-self: end; }
  .nav--rechts .nav__liste { justify-content: flex-end; }
  .kopf__logo { justify-self: center; }
  .menue-knopf, .mobilmenue { display: none; }
}

/* ---------- Knöpfe und Textlinks ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 1.1rem 2.1rem; border: 1px solid var(--pflaume); background: transparent; color: var(--pflaume); font-weight: 400; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.knopf:hover, .knopf:focus-visible { background: var(--pflaume); color: var(--creme); }
.knopf--voll { background: var(--pflaume); color: var(--creme); }
.knopf--voll:hover, .knopf--voll:focus-visible { background: transparent; color: var(--pflaume); }
.knopf--klein { padding: .7rem 1.3rem; font-size: .9rem; }
.knopf--hell { border-color: var(--creme); color: var(--creme); }
.knopf--hell:hover, .knopf--hell:focus-visible { background: var(--creme); color: var(--pflaume); }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: 2.25rem; }
.pfeillink { display: inline-flex; align-items: center; gap: .75rem; font-weight: 400; text-decoration: none; color: var(--pflaume); }
.pfeillink::after { content: ""; width: 1.4rem; height: .6rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h21M17 1l4 4-4 4' fill='none' stroke='%23000'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h21M17 1l4 4-4 4' fill='none' stroke='%23000'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s; }
.pfeillink:hover::after { transform: translateX(5px); }
.telefon-gross { font-family: var(--font-titel); font-size: clamp(1.9rem, 4vw, 2.75rem); text-decoration: none; line-height: 1.1; white-space: nowrap; }

/* ---------- Bildformen ---------- */
.bild { position: relative; overflow: hidden; background: var(--sand); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--bogen { border-radius: 1000px 1000px 0 0; aspect-ratio: 4 / 5; }
.bild--bogen-schmal { border-radius: 1000px 1000px 0 0; aspect-ratio: 3 / 4; }
.bild--viertel-ul { border-radius: 0 0 0 50%; }
.bild--viertel-or { border-radius: 0 50% 0 0; }
.bild--viertel-ol { border-radius: 50% 0 0 0; }
.bild--viertel-ur { border-radius: 0 0 50% 0; }
.bild--ecke { border-radius: 0 100px 0 0; }
.bild--quadrat { aspect-ratio: 1; }
.bild--hoch { aspect-ratio: 2 / 3; }
.bild--portrait { aspect-ratio: 4 / 5; }

/* Bildgruppe: großes Bild + kleines, das unten links überlappt (Waxly-Hero) */
.bildgruppe { position: relative; padding-left: 14%; padding-bottom: 6%; }
.bildgruppe__klein { position: absolute; left: 0; bottom: 0; width: 38%; z-index: 2; }
.bildgruppe--rechts { padding-left: 0; padding-right: 14%; }
.bildgruppe--rechts .bildgruppe__klein { left: auto; right: 0; }
.bildgruppe__blume { position: absolute; z-index: 0; width: 46%; right: -12%; bottom: -8%; opacity: .7; pointer-events: none; }

/* Spiegel: Rahmen in der Form der weißen Salonspiegel */
.spiegel { border: clamp(8px, 1vw, 13px) solid #fff; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: #fff; aspect-ratio: 3 / 4; position: relative; box-shadow: 0 18px 40px -26px rgba(72, 49, 55, .55); }
.spiegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: spiegel 15s infinite; border-radius: clamp(10px, 1.2vw, 18px); }
.spiegel img:nth-child(1) { animation-delay: 0s; }
.spiegel img:nth-child(2) { animation-delay: 5s; }
.spiegel img:nth-child(3) { animation-delay: 10s; }
.spiegel:hover img, .spiegel.angehalten img { animation-play-state: paused; }
@keyframes spiegel { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spiegel img { animation: none; } .spiegel img:first-child { opacity: 1; } }
.spiegel-halt { position: absolute; left: 0; bottom: -2.4rem; font-size: .8rem; background: none; border: 0; padding: .25rem 0; text-decoration: underline; cursor: pointer; color: var(--braun); opacity: 0; }
.spiegel-halt:focus-visible { opacity: 1; }

/* Kreis-Schriftzug */
.stempel { position: absolute; width: clamp(96px, 11vw, 150px); aspect-ratio: 1; z-index: 3; animation: drehen 26s linear infinite; }
.stempel circle { fill: var(--creme); }
.stempel text { font-family: var(--font-titel); font-size: 12.4px; letter-spacing: .21em; fill: var(--pflaume); text-transform: uppercase; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* ---------- Die Strähne (Linien im Hintergrund) ---------- */
.straehne { position: absolute; left: 0; width: 100%; height: auto; z-index: 0; pointer-events: none; overflow: visible; }
.straehne path { fill: none; stroke: var(--linie); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.straehne--oben { top: 0; }
.straehne--unten { bottom: 0; }
.straehne--mitte { top: 50%; transform: translateY(-50%); }
.straehne--hell path { stroke: rgba(217, 170, 160, .5); }
.sektion--linie { overflow-x: clip; }

/* ---------- Überschrift mit Schreibschrift-Akzent ---------- */
.titel-akzent { position: relative; display: inline-block; margin-bottom: clamp(1.75rem, 3.4vw, 2.75rem); }
.titel-akzent__schrift { position: absolute; left: 50%; top: 52%; width: min(92%, 19rem); transform: translateX(-30%) rotate(-3deg); z-index: -1; opacity: .9; pointer-events: none; }
.titel-akzent--links .titel-akzent__schrift { left: 0; width: min(64%, 12rem); transform: translateX(22%) rotate(-4deg); }

/* ---------- Rahmenkarten ---------- */
.karten { display: grid; gap: clamp(1rem, 2.5vw, 2.5rem); }
@media (min-width: 640px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .karten--3 { grid-template-columns: repeat(3, 1fr); } }
.karte { border: 1px solid var(--rahmen); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; background: transparent; transition: background .4s; position: relative; }
.karte:hover { background: rgba(255, 253, 251, .6); }
.karte__icon { width: 60px; height: 60px; margin-bottom: 1.1rem; transition: clip-path .9s ease-out, transform .4s; transform-origin: 50% 90%; }
.js .einblenden .karte__icon, .js .karte.einblenden .karte__icon { clip-path: inset(100% 0 0 0); }
.js .einblenden.sichtbar .karte__icon { clip-path: inset(0 0 0 0); transition-delay: calc(var(--verzug, 0ms) + 150ms), 0ms; }
.karte:hover .karte__icon { transform: rotate(5deg); }
.karte h3 { margin-bottom: .6rem; }
.karte p { color: var(--braun); margin-bottom: 1.25rem; }
.karte .pfeillink { margin-top: auto; }
.karte .pfeillink::before { content: ""; position: absolute; inset: 0; }
.karte ul.haken { margin-bottom: 1.5rem; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { position: relative; background: var(--sand); text-align: center; padding: clamp(3.25rem, 7vw, 5.5rem) 0; overflow: hidden; }
.seitenkopf__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(247, 244, 238, .35), rgba(247, 244, 238, .65)); }
.seitenkopf .innen { z-index: 2; }
.seitenkopf h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; }
.seitenkopf__icon { width: 54px; height: 54px; margin: 0 auto .9rem; }
.kruemel { list-style: none; display: flex; justify-content: center; gap: .6rem; margin-top: .9rem; font-size: .9rem; color: var(--braun); }
.kruemel li + li::before { content: "›"; margin-right: .6rem; }
.kruemel a { text-decoration: none; }

/* ---------- CTA-Kasten ---------- */
.cta { position: relative; padding-block: clamp(4rem, 10vw, 9rem); background: var(--weiss); overflow: hidden; }
.cta__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta__kasten { position: relative; z-index: 1; width: min(100% - 2 * var(--rand), 680px); margin-inline: auto; background: var(--creme); text-align: center; padding: clamp(2.75rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); overflow: hidden; }
.cta__kasten h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta__kasten p { color: var(--braun); max-width: 26rem; margin: 1rem auto 0; }
.cta__kasten .knopfreihe { justify-content: center; }
.cta__ecke { position: absolute; width: 150px; pointer-events: none; }
.cta__ecke path { fill: none; stroke: var(--linie); stroke-width: 2; stroke-linecap: round; }
.cta__ecke--or { top: -6px; right: -6px; }
.cta__ecke--ul { bottom: -6px; left: -6px; transform: rotate(180deg); }
.cta--schlicht { background: transparent; padding-block: var(--sektion); }
.cta--schlicht .cta__kasten { background: var(--sand); }

/* ---------- Schritte mit Ziffern ---------- */
.schritte { list-style: none; display: grid; gap: 2rem; counter-reset: schritt; }
@media (min-width: 800px) { .schritte--reihe { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; } }
.schritte > li { counter-increment: schritt; position: relative; padding-top: 3.4rem; }
.schritte > li::before { content: counter(schritt, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-titel); font-size: 2.3rem; line-height: 1; color: var(--rose); }
.schritte > li::after { content: ""; position: absolute; top: 1.15rem; left: 3.6rem; right: 0; height: 1px; background: var(--rahmen-zart); }
.schritte h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.schritte p { color: var(--braun); }

/* ---------- Preislisten ---------- */
.preisliste { list-style: none; display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 760px) { .preisliste--2 { grid-template-columns: 1fr 1fr; } }
.preisliste li { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--rahmen-zart); }
.preisliste__name { font-family: var(--font-titel); font-size: 1.15rem; font-weight: 500; }
.preisliste__name small { display: block; font-family: var(--font-text); font-weight: 300; color: var(--braun); font-size: .9rem; margin-top: .15rem; }
.preisliste__preis { font-family: var(--font-titel); font-size: 1.15rem; white-space: nowrap; }

/* ---------- Akkordeon ---------- */
.fragen { display: grid; gap: .75rem; }
.fragen details { border: 1px solid var(--rahmen); }
.fragen summary { list-style: none; cursor: pointer; padding: 1.05rem 3.25rem 1.05rem 1.5rem; font-family: var(--font-titel); font-size: 1.12rem; font-weight: 500; position: relative; transition: background .3s, color .3s; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 1.5rem; top: 50%; width: .55rem; height: .55rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.fragen details[open] summary { background: var(--pflaume); color: var(--creme); }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fragen .antwort { padding: 1.25rem 1.5rem 1.5rem; color: var(--braun); }

/* ---------- Pillen ---------- */
.pillen { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.pille { border: 1px solid var(--rahmen); background: transparent; padding: .55rem 1.15rem; border-radius: 999px; font-size: .95rem; font-weight: 400; cursor: pointer; transition: background .3s, color .3s; color: var(--pflaume); text-decoration: none; }
.pille:hover { background: var(--sand); color: var(--pflaume); }
.pille[aria-pressed="true"], .pille.aktiv { background: var(--pflaume); color: var(--creme); }

/* ---------- Formularfelder ---------- */
.feld { display: grid; gap: .4rem; text-align: left; }
.feld label, .feld .feld__name { font-weight: 400; font-size: .95rem; }
.feld input, .feld select, .feld textarea { border: 1px solid var(--rahmen); background: var(--weiss); padding: .85rem 1rem; border-radius: 0; width: 100%; font-weight: 300; }
.feld textarea { min-height: 6.5rem; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--pflaume); outline-offset: 1px; }

/* ---------- Kennzahlen ---------- */
.zahlen { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; margin-top: 2.5rem; }
.zahl { text-align: center; }
.zahl b { display: block; font-family: var(--font-titel); font-weight: 400; font-size: 2.75rem; line-height: 1.1; }
.zahl span { font-weight: 400; font-size: .95rem; color: var(--braun); }

/* ---------- Hinweiskasten ---------- */
.hinweis { border-left: 0; background: var(--sand); padding: 1.5rem 1.75rem; }
.sektion--sand .hinweis { background: var(--creme); }
.hinweis h3 { font-size: 1.2rem; margin-bottom: .4rem; }

/* ---------- Fuß ---------- */
.fuss { position: relative; border-top: 1px solid var(--rahmen); background: var(--creme); overflow: hidden; }
.fuss__raster { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 700px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .fuss__raster { grid-template-columns: 1.4fr .9fr 1.1fr 1.2fr; } }
.fuss__logo { width: 230px; margin-bottom: 1.25rem; }
.fuss h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.1rem; }
.fuss ul { list-style: none; display: grid; gap: .55rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss p, .fuss li { color: var(--braun); font-size: 1rem; }
.zeiten { width: 100%; border-collapse: collapse; }
.zeiten th, .zeiten td { text-align: left; font-weight: 300; padding: .2rem 0; color: var(--braun); vertical-align: top; }
.zeiten td { text-align: right; white-space: nowrap; padding-left: 1rem; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 500; color: var(--pflaume); }
.fuss__leiste { background: var(--pflaume); color: var(--creme); font-size: .85rem; position: relative; z-index: 1; }
.fuss__leiste .innen { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; justify-content: space-between; padding-block: .9rem; }
.fuss__leiste a { color: var(--creme); }
.fuss__leiste nav { display: flex; gap: 1.5rem; }
@media (max-width: 899px) { .fuss__leiste { padding-bottom: 64px; } }

/* ---------- Feste Leiste unten (mobil) ---------- */
.mobilleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--creme); border-top: 1px solid var(--rahmen); }
.mobilleiste a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; text-decoration: none; font-weight: 400; font-size: .95rem; border-left: 1px solid var(--rahmen-zart); }
.mobilleiste a:first-child { border-left: 0; }
.mobilleiste a.voll { background: var(--pflaume); color: var(--creme); }
.mobilleiste svg { width: 16px; height: 16px; fill: currentColor; }
@media (min-width: 900px) { .mobilleiste { display: none; } }
