/*
Theme Name: Yanina Hair & Cosmetic
Theme URI: https://hairandcosmetic.ch/
Author: techQ
Author URI: https://techq.ch/
Description: Eigenes Theme für Yanina Hair & Cosmetic in Islikon. Nachbau des Entwurfs «Yanina Website» aus Claude Design: Startseite, Preise, Über mich, Standort, Termin buchen, Impressum, Datenschutz. Die Preisliste auf der Seite «Preise» ist die einzige Quelle für die Behandlungskarten der Startseite und die Auswahl im Anfrageformular.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietär – nur für hairandcosmetic.ch
Text Domain: yanina
*/

/* ------------------------------------------------------------------
   Grundlagen
   Werte 1:1 aus «Yanina Website.dc.html». Der Entwurf rechnet mit
   box-sizing:border-box, darum gilt das hier überall.
   ------------------------------------------------------------------ */
:root {
	--yn-serif: 'Cormorant Garamond', Georgia, serif;
	--yn-sans: Jost, 'Helvetica Neue', Arial, sans-serif;
	--yn-espresso: #3A2619;
	--yn-mokka: #5A3E2B;
	--yn-bronze: #7F6242;
	--yn-taupe: #8C7259;
	--yn-raute: #9C8164;
	--yn-sand: #B9A285;
	--yn-rahmen: #CBB89D;
	--yn-karte-rand: #D6C6AF;
	--yn-linie: #DDD0BD;
	--yn-linie-fein: #E2D6C4;
	--yn-leinen: #F1EBE2;
	--yn-creme: #F4EEE6;
	--yn-papier: #F7F2EB;
	--yn-feld: #FBF8F3;
	--yn-text: #4E3A2C;
	--yn-text-lead: #5E4838;
	--yn-text-leise: #6E5848;
	--yn-fehler: #8A3B2A;
	--yn-rand: clamp(20px, 5vw, 48px);
}

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	color: var(--yn-espresso);
	font-family: var(--yn-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #F1EBE2 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .36 0 0 0 0 .24 4 0 0 0 -2.9'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--yn-espresso); text-decoration: none; }
a:hover { color: var(--yn-bronze); }
input, select, textarea, button { font-family: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--yn-bronze); outline-offset: 3px; }

.wp-site-blocks :where(p, h1, h2, h3, h4, figure, ul, ol) { margin: 0; }

/* Ganze Seite: Fusszeile bleibt unten, auch bei kurzen Seiten */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.yn-haupt { flex: 1; }

/* ------------------------------------------------------------------
   Kopfzeile
   ------------------------------------------------------------------ */
.yn-kopf-huelle { position: sticky; top: 0; z-index: 20; }
.admin-bar .yn-kopf-huelle { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .yn-kopf-huelle { top: 0; } }

.yn-kopf {
	background: rgba(241, 235, 226, .94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--yn-linie);
}
.yn-kopf__leiste {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--yn-rand);
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.yn-wortmarke { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--yn-bronze); }
a.yn-wortmarke:hover { color: var(--yn-bronze); }
.yn-wortmarke__name { font-family: var(--yn-serif); font-weight: 500; font-size: 28px; letter-spacing: .24em; line-height: 1; }
.yn-wortmarke__zusatz { font-size: 9.5px; letter-spacing: .36em; color: var(--yn-taupe); }

.yn-nav { display: flex; align-items: center; gap: 32px; }
.yn-nav__link {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.yn-nav__link[aria-current="page"] { border-bottom-color: var(--yn-bronze); }

.yn-knopf {
	display: inline-block;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 18px 30px;
	background: var(--yn-espresso);
	color: var(--yn-creme);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	text-align: center;
	transition: background-color .15s ease, color .15s ease;
}
.yn-knopf:hover, .yn-knopf:focus-visible { background: var(--yn-mokka); color: var(--yn-creme); }
.yn-knopf--klein { padding: 13px 22px; }

.yn-menueknopf {
	display: none;
	background: none;
	border: 1px solid var(--yn-espresso);
	color: var(--yn-espresso);
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding: 12px 16px;
	min-height: 44px;
	cursor: pointer;
	border-radius: 0;
}

.yn-mobilnav {
	display: none;
	border-top: 1px solid var(--yn-linie);
	padding: 16px var(--yn-rand) 32px;
	flex-direction: column;
	background: var(--yn-leinen);
}
.yn-mobilnav a {
	font-family: var(--yn-serif);
	font-size: 30px;
	padding: 12px 0;
	border-bottom: 1px solid var(--yn-linie);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.yn-mobilnav a span { font-family: var(--yn-sans); font-size: 14px; color: var(--yn-taupe); }

@media (max-width: 859.98px) {
	.yn-nav { display: none; }
	.yn-menueknopf { display: inline-block; }
	.yn-kopf--offen .yn-mobilnav { display: flex; }
	/* Ohne JavaScript bleibt das Menü offen, damit jede Seite erreichbar ist */
	html:not(.yn-js) .yn-mobilnav { display: flex; }
	html:not(.yn-js) .yn-menueknopf { display: none; }
}

/* ------------------------------------------------------------------
   Knöpfe der Blöcke (core/button) – «Füllen» dunkel, «Kontur» umrandet
   ------------------------------------------------------------------ */
.yn-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
:root .wp-block-button .wp-block-button__link {
	display: inline-block;
	font-family: var(--yn-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 18px 30px;
	background: var(--yn-espresso);
	color: var(--yn-creme);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-decoration: none;
	text-align: center;
	transition: background-color .15s ease, color .15s ease;
}
:root .wp-block-button .wp-block-button__link:hover,
:root .wp-block-button .wp-block-button__link:focus-visible { background: var(--yn-mokka); color: var(--yn-creme); }
:root .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--yn-espresso);
	border: 1px solid var(--yn-espresso);
	padding: 17px 30px;
}
:root .wp-block-button.is-style-outline > .wp-block-button__link:hover,
:root .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible { background: var(--yn-espresso); color: var(--yn-creme); }

.yn-knoepfe--mitte { justify-content: center; padding-top: 0; margin-top: 56px; }
.yn-knoepfe--zentriert { justify-content: center; padding-top: 0; }
.yn-knoepfe--voll { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; padding-top: 0; }
.yn-knoepfe--voll > .wp-block-button { width: 100%; }
:root .yn-knoepfe--voll .wp-block-button .wp-block-button__link { display: block; width: 100%; padding: 18px 24px; }
:root .yn-knoepfe--voll .wp-block-button.is-style-outline > .wp-block-button__link { padding: 17px 24px; }

/* ------------------------------------------------------------------
   Trennzeichen: Linie – Raute – Linie
   ------------------------------------------------------------------ */
:root .wp-block-separator.is-style-yn-ornament,
:root .wp-block-separator.is-style-yn-ornament-klein,
:root .wp-block-separator.is-style-yn-ornament-links {
	position: relative;
	overflow: visible;
	border: 0;
	margin: 0 auto;
	opacity: 1;
	color: transparent;
	max-width: 100%;
	width: 138px;
	height: 6px;
	background:
		linear-gradient(var(--yn-sand), var(--yn-sand)) left center / 56px 1px no-repeat,
		linear-gradient(var(--yn-sand), var(--yn-sand)) right center / 56px 1px no-repeat;
}
:root .wp-block-separator.is-style-yn-ornament::after,
:root .wp-block-separator.is-style-yn-ornament-klein::after,
:root .wp-block-separator.is-style-yn-ornament-links::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border: 1px solid var(--yn-raute);
	transform: translate(-50%, -50%) rotate(45deg);
}
:root .wp-block-separator.is-style-yn-ornament-klein {
	width: 101px;
	height: 5px;
	background:
		linear-gradient(var(--yn-sand), var(--yn-sand)) left center / 40px 1px no-repeat,
		linear-gradient(var(--yn-sand), var(--yn-sand)) right center / 40px 1px no-repeat;
}
:root .wp-block-separator.is-style-yn-ornament-klein::after { width: 5px; height: 5px; }
:root .wp-block-separator.is-style-yn-ornament-links {
	width: 72px;
	margin: 0;
	background: linear-gradient(var(--yn-sand), var(--yn-sand)) left center / 56px 1px no-repeat;
}
:root .wp-block-separator.is-style-yn-ornament-links::after { left: auto; right: 0; transform: translateY(-50%) rotate(45deg); }

:root .wp-block-separator.is-style-yn-linie {
	border: 0;
	margin: 0;
	width: 100%;
	max-width: none;
	height: 1px;
	opacity: 1;
	background: var(--yn-linie-fein);
}

/* ------------------------------------------------------------------
   Gemeinsame Bausteine
   ------------------------------------------------------------------ */
.yn-kicker { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--yn-bronze); }
.yn-label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--yn-bronze); }

.yn-rahmenbild {
	padding: 14px;
	border: 1px solid var(--yn-rahmen);
	max-width: 540px;
	width: 100%;
	justify-self: center;
	margin: 0;
}
.yn-rahmenbild img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.yn-rahmenbild--portrait { max-width: 500px; }
.yn-rahmenbild--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }

.yn-karte { background: var(--yn-papier); border: 1px solid var(--yn-karte-rand); }

.yn-seite {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) var(--yn-rand) clamp(64px, 8vw, 104px);
}
.yn-seite--schmal { max-width: 820px; }
.yn-seitenkopf {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
	margin-bottom: clamp(36px, 5vw, 56px);
}
.yn-seitenkopf--dicht { margin-bottom: 0; }
.yn-h1 {
	font-family: var(--yn-serif);
	font-weight: 500;
	font-size: clamp(34px, 5.4vw, 58px);
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.1;
}
.yn-h1--lang { font-size: clamp(30px, 5.4vw, 58px); }

.yn-band { border-top: 1px solid var(--yn-linie); }
.yn-band--getoent { background: rgba(247, 242, 235, .6); }
.yn-band__innen { max-width: 1200px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--yn-rand); }
.yn-band__innen--schmal { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.yn-abschnittskopf { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 48px; }
.yn-h2 {
	font-family: var(--yn-serif);
	font-weight: 500;
	font-size: clamp(30px, 4vw, 42px);
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: normal;
}
.yn-h2--klein { font-size: clamp(28px, 4vw, 40px); }

/* ------------------------------------------------------------------
   Startseite
   ------------------------------------------------------------------ */
.yn-hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 8vw, 104px) var(--yn-rand) clamp(56px, 8vw, 96px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.yn-hero__text { display: flex; flex-direction: column; gap: 28px; }
.yn-hero__titel {
	font-family: var(--yn-serif);
	font-weight: 300;
	font-size: clamp(46px, 6.6vw, 86px);
	line-height: 1.02;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.yn-hero__titel em, .yn-ueber__titel em { font-weight: 400; }
.yn-lead {
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--yn-text-lead);
	max-width: 460px;
	text-wrap: pretty;
}

.yn-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.yn-behandlung {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px 28px;
	border: 1px solid var(--yn-karte-rand);
	background: var(--yn-papier);
	min-height: 190px;
	color: var(--yn-espresso);
	transition: border-color .15s ease;
}
.yn-behandlung:hover, .yn-behandlung:focus-visible { border-color: var(--yn-taupe); color: var(--yn-espresso); }
.yn-behandlung__titel { font-family: var(--yn-serif); font-weight: 500; font-size: 24px; letter-spacing: .1em; text-transform: uppercase; }
.yn-behandlung__auszug { font-family: var(--yn-serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--yn-text-leise); flex: 1; }
.yn-behandlung__fuss {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--yn-bronze);
	border-top: 1px solid var(--yn-linie-fein);
	padding-top: 14px;
}

.yn-zeiten-gross { display: flex; flex-direction: column; gap: 8px; font-family: var(--yn-serif); font-size: clamp(24px, 3.4vw, 32px); }

/* ------------------------------------------------------------------
   Preise
   ------------------------------------------------------------------ */
.yn-sprung { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px auto 48px; max-width: 860px; }
.yn-sprung a {
	display: inline-flex;
	align-items: center;
	background: none;
	border: 1px solid var(--yn-rahmen);
	color: var(--yn-espresso);
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding: 12px 16px;
	min-height: 44px;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.yn-sprung a:hover, .yn-sprung a:focus-visible { background: var(--yn-espresso); color: var(--yn-creme); border-color: var(--yn-espresso); }

.yn-preisraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; align-items: stretch; }
.yn-kategorie {
	background: var(--yn-papier);
	border: 1px solid var(--yn-karte-rand);
	padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 44px);
	display: flex;
	flex-direction: column;
	gap: 22px;
	scroll-margin-top: 110px;
}
.yn-kategorie__kopf { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.yn-kategorie__titel {
	font-family: var(--yn-serif);
	font-weight: 500;
	font-size: clamp(24px, 3vw, 30px);
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.2;
	text-wrap: balance;
}

/* Ausgabe der Preistabelle (siehe inc/preise.php) */
.yn-preise { list-style: none; padding: 6px 0 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.yn-preis { display: flex; flex-direction: column; gap: 2px; }
.yn-preis__zeile { display: flex; align-items: baseline; gap: 10px; }
.yn-preis__name { font-family: var(--yn-serif); font-style: italic; font-size: 21px; line-height: 1.3; }
.yn-preis__punkte { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--yn-raute); transform: translateY(-5px); }
.yn-preis__betrag { font-family: var(--yn-serif); font-size: 20px; white-space: nowrap; }
.yn-preis__hinweis { align-self: flex-end; font-family: var(--yn-serif); font-size: 17px; color: var(--yn-text-leise); }

/* Im Editor bleibt es eine Tabelle – lesbar gestaltet */
.yn-preisliste { margin: 0; }
.yn-preisliste table { width: 100%; border-collapse: collapse; font-family: var(--yn-serif); font-size: 19px; }
.yn-preisliste td { border: 0; border-bottom: 1px dotted var(--yn-raute); padding: 6px 4px; vertical-align: baseline; }
.yn-preisliste td:first-child { font-style: italic; }
.yn-preisliste td:not(:first-child) { white-space: nowrap; text-align: right; }

.yn-tipp { border: 1px solid var(--yn-sand); padding: 14px 18px; font-size: 14px; line-height: 1.6; color: var(--yn-text); margin-top: auto; }
.yn-tipp strong { font-weight: 500; }

/* ------------------------------------------------------------------
   Über mich
   ------------------------------------------------------------------ */
.yn-ueber {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--yn-rand);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.yn-ueber__text { display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.yn-ueber__titel { font-family: var(--yn-serif); font-weight: 300; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.05; }
.yn-intro { font-family: var(--yn-serif); font-size: 24px; line-height: 1.45; color: var(--yn-espresso); text-wrap: pretty; }
.yn-fliesstext { font-size: 17px; line-height: 1.75; font-weight: 300; color: var(--yn-text); text-wrap: pretty; }

/* ------------------------------------------------------------------
   Standort
   ------------------------------------------------------------------ */
.yn-standort-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.yn-karte--info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.yn-infoblock { display: flex; flex-direction: column; gap: 10px; }
.yn-adresse { font-family: var(--yn-serif); font-size: 26px; line-height: 1.3; }
/* Absätze mit einem einzelnen Link: der Link ist wie im Entwurf ein Flex-Element */
.yn-routelink, .yn-kontaktlink, .yn-fuss__link { display: flex; align-items: flex-start; }
.yn-routelink a {
	display: inline-block;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yn-bronze);
	border-bottom: 1px solid var(--yn-sand);
	padding-bottom: 2px;
}
.yn-zeitzeile { display: flex; justify-content: space-between; gap: 16px; font-family: var(--yn-serif); font-size: 22px; flex-wrap: wrap; }
.yn-kontaktlink a { display: inline-block; font-family: var(--yn-serif); font-size: 22px; border-bottom: 1px solid var(--yn-sand); }
.yn-kartenrahmen { height: 100%; min-height: 420px; border: 1px solid var(--yn-karte-rand); background: #EAE1D4; padding: 10px; display: flex; }
.yn-kartenrahmen iframe { flex: 1; width: 100%; min-height: 400px; border: 0; filter: sepia(.35) saturate(.75); }

/* ------------------------------------------------------------------
   Termin buchen
   ------------------------------------------------------------------ */
.yn-termin-raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 20px;
	align-items: start;
	max-width: 1040px;
	margin: 0 auto;
}
.yn-karte--termin { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.yn-termin__titel { font-family: var(--yn-serif); font-size: 28px; line-height: 1.25; }
.yn-termin__text { font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--yn-text); }
.yn-zeiten-klein { display: flex; flex-direction: column; gap: 6px; font-family: var(--yn-serif); font-size: 20px; }

.yn-formular { padding: clamp(28px, 4vw, 44px); scroll-margin-top: 110px; }
.yn-form { display: flex; flex-direction: column; gap: 22px; }
.yn-feld { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.yn-feld__name { font-size: 13px; color: var(--yn-text); padding: 0; }
.yn-form select,
.yn-form input[type="text"],
.yn-form input[type="date"],
.yn-form textarea {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	background-color: var(--yn-feld);
	border: 1px solid var(--yn-rahmen);
	border-radius: 0;
	padding: 13px 16px;
	font-size: 16px;
	color: var(--yn-espresso);
	min-height: 50px;
	margin: 0;
}
.yn-form select {
	padding: 14px 44px 14px 16px;
	/* feste Zeilenhöhe (= «normal» bei Jost): Chrome rechnet die Höhe eines
	   Auswahlfelds nach dem Schrifttausch nicht neu – so bleibt sie 53 px */
	line-height: 23px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%237F6242' stroke-width='1.3'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.yn-form textarea { resize: vertical; min-height: 0; }
.yn-form select:focus, .yn-form input:focus, .yn-form textarea:focus { outline: 2px solid var(--yn-bronze); outline-offset: 0; }

.yn-feldpaar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.yn-fehler { font-size: 14px; color: var(--yn-fehler); }
.yn-senden { width: 100%; padding: 18px 24px; min-height: 52px; }
.yn-form__hinweis { font-size: 13px; color: var(--yn-text-leise); line-height: 1.6; }
.yn-honig { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.yn-danke { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 12px 0; }
.yn-danke__titel { font-family: var(--yn-serif); font-size: 32px; line-height: 1.2; }
.yn-danke__text { font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--yn-text); }
.yn-danke__text strong { font-weight: 500; }
.yn-knopf-rand {
	display: inline-block;
	background: none;
	border: 1px solid var(--yn-espresso);
	color: var(--yn-espresso);
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 14px 22px;
	min-height: 44px;
}
.yn-knopf-rand:hover, .yn-knopf-rand:focus-visible { background: var(--yn-espresso); color: var(--yn-creme); }

/* ------------------------------------------------------------------
   Impressum, Datenschutz
   ------------------------------------------------------------------ */
.yn-textkarte {
	padding: clamp(28px, 5vw, 56px);
	display: flex;
	flex-direction: column;
	gap: 32px;
	font-size: 15px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--yn-text);
}
.yn-absatz { display: flex; flex-direction: column; gap: 8px; }
.yn-absatz__titel { font-family: var(--yn-sans); font-size: 11px; font-weight: 400; line-height: 1.75; letter-spacing: .28em; text-transform: uppercase; color: var(--yn-bronze); }
.yn-textkarte a { border-bottom: 1px solid var(--yn-sand); }
.yn-textkarte p { text-wrap: pretty; }
.yn-stand { font-size: 13px; color: var(--yn-text-leise); }

/* ------------------------------------------------------------------
   Fusszeile
   ------------------------------------------------------------------ */
.yn-fuss { border-top: 1px solid var(--yn-linie); background: #EAE2D6; }
.yn-fuss__raster {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px var(--yn-rand) 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 40px;
}
.yn-wortmarke--fuss { align-self: flex-start; gap: 6px; }
.yn-wortmarke--fuss .yn-wortmarke__name { font-size: 30px; }
.yn-wortmarke--fuss .yn-wortmarke__zusatz { font-size: 10px; }
.yn-fuss__spalte { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.yn-fuss__spalte--kontakt { line-height: 1.6; color: var(--yn-text); }
.yn-fuss__spalte .yn-label { margin-bottom: 4px; }
.yn-fuss__link a { display: inline-block; border-bottom: 1px solid var(--yn-sand); }
.yn-fuss__link--abstand { margin-top: 8px; }
.yn-fuss__leiste {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px var(--yn-rand) 32px;
	border-top: 1px solid var(--yn-karte-rand);
	font-size: 12px;
	color: var(--yn-text-leise);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}
.yn-fuss__recht { display: flex; gap: 20px; }
.yn-fuss__recht a { color: var(--yn-text-leise); }
.yn-fuss__recht a:hover { color: var(--yn-espresso); }

/* ------------------------------------------------------------------
   Hinweis im Editor, wenn ein Baustein keine Daten findet
   ------------------------------------------------------------------ */
.yn-editor-hinweis { padding: 16px 20px; border: 1px dashed var(--yn-sand); font-size: 14px; color: var(--yn-text-leise); background: var(--yn-feld); }

.yn-lead--mitte { margin: 0 auto 32px; text-align: center; }

/* ------------------------------------------------------------------
   Karte auf «Standort»: Google Maps erst nach Klick (Datenschutz)
   ------------------------------------------------------------------ */
.yn-karte-hinweis {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: clamp(28px, 4vw, 48px);
	text-align: center;
	background-color: var(--yn-leinen);
	background-image:
		linear-gradient(118deg, transparent 46%, rgba(185, 162, 133, .22) 46%, rgba(185, 162, 133, .22) 48.5%, transparent 48.5%),
		linear-gradient(24deg, transparent 63%, rgba(185, 162, 133, .16) 63%, rgba(185, 162, 133, .16) 64.5%, transparent 64.5%),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(185, 162, 133, .14) 31px 32px),
		repeating-linear-gradient(90deg, transparent 0 31px, rgba(185, 162, 133, .14) 31px 32px);
}
.yn-karte-hinweis__raute {
	width: 14px;
	height: 14px;
	border: 1px solid var(--yn-bronze);
	transform: rotate(45deg);
	margin-bottom: 6px;
	position: relative;
}
.yn-karte-hinweis__raute::after { content: ""; position: absolute; inset: 4px; background: var(--yn-bronze); }
.yn-karte-hinweis__ort { font-family: var(--yn-serif); font-size: 26px; line-height: 1.3; }
.yn-karte-hinweis__text { max-width: 360px; font-size: 14px; line-height: 1.6; font-weight: 300; color: var(--yn-text); text-wrap: pretty; }
.yn-karte-hinweis__text a { border-bottom: 1px solid var(--yn-sand); }
.yn-karte-hinweis .yn-knopf { margin-top: 6px; }
.yn-karte-hinweis__link { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--yn-bronze); border-bottom: 1px solid var(--yn-sand); padding-bottom: 2px; }
html:not(.yn-js) [data-yn-karte-laden] { display: none; }

/* Sprungziele (z. B. /datenschutz/#google-maps) nicht unter der festen Kopfzeile verstecken */
.yn-absatz[id] { scroll-margin-top: 110px; }

/* ------------------------------------------------------------------
   Schmale Bildschirme (320–375 px) und enge Kartenraster.
   Im Entwurf liefen hier lange Wörter («GESICHTSBEHANDLUNG», 316 px)
   über den Kartenrand. Getrennt wird nur, wo das Wort sonst über den
   Rand ragt. Container Queries messen die INNENbreite (ohne Polsterung):
   Karte 28 px Polster, Wort 316 px → unter 288 px; Preiskarte 20 px
   Polster, Wort 333 px mittig → unter 297 px. Bei 1280/390 px wie im Entwurf.
   ------------------------------------------------------------------ */
.yn-behandlung, .yn-kategorie { container-type: inline-size; }
@container (max-width: 287px) {
	.yn-behandlung__titel { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}
@container (max-width: 296px) {
	.yn-kategorie__titel { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}
/* Preiszeile: wie im Entwurf bricht zuerst der Name um. Erst wenn auch das nicht
   reicht (Preiskarte unter 261 px innen, 320-px-Handys), rutscht der Preis
   rechtsbündig in die nächste Zeile. */
@container (max-width: 260px) {
	.yn-preis__zeile { flex-wrap: wrap; }
	.yn-preis__betrag { margin-left: auto; }
}
@media (max-width: 359.98px) {
	.yn-h1, .yn-h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
}

/* ------------------------------------------------------------------
   Termin: Kalender und Uhrzeiten (assets/js/site.js)
   ------------------------------------------------------------------ */
.yn-termin { gap: 10px; }
.yn-feld__hilfe { font-size: 12px; letter-spacing: .03em; color: var(--yn-text-leise); }
.yn-feld__hilfe > span { white-space: nowrap; }
.yn-feld__optional { font-size: 12px; color: var(--yn-text-leise); }
.yn-termin__einfach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }

.yn-kal { border: 1px solid var(--yn-rahmen); background: var(--yn-feld); padding: 14px 14px 12px; }
.yn-kal__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.yn-kal__monat { font-family: var(--yn-serif); font-size: 22px; letter-spacing: .06em; white-space: nowrap; }
.yn-kal__nav {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--yn-karte-rand);
	border-radius: 0;
	background: transparent;
	color: var(--yn-espresso);
	font-family: var(--yn-serif);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.yn-kal__nav:hover:not(:disabled) { background: var(--yn-espresso); color: var(--yn-creme); border-color: var(--yn-espresso); }
.yn-kal__nav:disabled { opacity: .3; cursor: default; }
.yn-kal__raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.yn-kal__wt { padding: 4px 0 6px; text-align: center; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--yn-sand); }
.yn-kal__wt.ist-offen { color: var(--yn-bronze); font-weight: 500; }
.yn-kal__tag {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	min-width: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 0;
	background: none;
	color: #CDBFAC;
	font-family: var(--yn-serif);
	font-size: 18px;
	line-height: 1;
	cursor: default;
}
.yn-kal__tag.ist-offen {
	color: var(--yn-espresso);
	background: var(--yn-papier);
	border-color: var(--yn-karte-rand);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.yn-kal__tag.ist-offen:hover { border-color: var(--yn-espresso); }
.yn-kal__tag[aria-pressed="true"] { background: var(--yn-espresso); color: var(--yn-creme); border-color: var(--yn-espresso); }
.yn-kal__tag.ist-heute::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 5px;
	width: 4px;
	height: 4px;
	background: var(--yn-sand);
	transform: translateX(-50%) rotate(45deg);
}

.yn-zeiten { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.yn-zeiten__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.yn-zeit {
	padding: 10px 0;
	border: 1px solid var(--yn-rahmen);
	border-radius: 0;
	background: var(--yn-feld);
	color: var(--yn-espresso);
	font-family: var(--yn-sans);
	font-size: 14px;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.yn-zeit:hover { border-color: var(--yn-espresso); }
.yn-zeit[aria-pressed="true"] { background: var(--yn-espresso); color: var(--yn-creme); border-color: var(--yn-espresso); }

.yn-termin__wahl { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-family: var(--yn-serif); font-size: 20px; line-height: 1.3; }
.yn-termin__wahl::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--yn-raute); transform: rotate(45deg); }

@media (max-width: 420px) {
	.yn-formular { padding: 24px 20px; }
	.yn-kal { padding: 10px 8px 8px; }
	.yn-kal__raster { gap: 2px; }
	.yn-kal__tag { min-height: 36px; font-size: 17px; }
	.yn-kal__monat { font-size: 19px; letter-spacing: .03em; }
	.yn-kal__kopf { gap: 6px; }
	.yn-kal__nav { width: 34px; height: 34px; }
}

/* Geschlossene Tage: an sich ein Öffnungstag, aber zu (Ferien, Feiertag) */
.yn-kal__tag.ist-zu { border: 1px dashed var(--yn-linie); text-decoration: line-through; text-decoration-color: var(--yn-sand); }
.yn-termin__zu { color: var(--yn-bronze); }
.yn-termin__zu > span { white-space: nowrap; }
.yn-zeiten__hinweis { line-height: 1.5; }
