/*
 * Whobert – Basis-Stylesheet.
 * Design-System aus den Referenzentwürfen (referenz-startseite.html /
 * referenz-unterseiten.html), CLAUDE.md und STREIFEN.md. Farben, Schriften
 * und Streifen-Tokens kommen aus theme.json; hier nur kurze Aliase, damit
 * der Rest des CSS mit den kompakten Namen aus dem Entwurf arbeiten kann.
 */

:root {
	--schwarz: var(--wp--preset--color--schwarz);
	--merlot: var(--wp--preset--color--merlot);
	--creme: var(--wp--preset--color--creme);
	--rosa: var(--wp--preset--color--rosa);
	--zitrone: var(--wp--preset--color--zitrone);
	--blau: var(--wp--preset--color--blau);
	--orange: var(--wp--preset--color--orange);
	--rot: var(--wp--preset--color--rot);
	--rottief: var(--wp--preset--color--rottief);
	--suedsee: var(--wp--preset--color--suedsee);
	--sand: var(--wp--preset--color--sand);
	--flieder: var(--wp--preset--color--flieder);
	--eisblau: var(--wp--preset--color--eisblau);
	--senf: var(--wp--preset--color--senf);
	--tanne: var(--wp--preset--color--tanne);
	--kugel: var(--wp--preset--color--kugel);
	--stripe: var(--wp--custom--stripe);
	--stripe-d: var(--wp--custom--stripe-d);
	--display: var(--wp--preset--font-family--display);
	--body: var(--wp--preset--font-family--body);
	--ease: var(--wp--custom--ease);
}

/* Das hidden-Attribut muss IMMER gewinnen, auch gegen eigene display:grid/
   flex-Regeln auf demselben Element (z. B. .bcond, .consent-panel) - sonst
   schlägt eine Autoren-Regel mit gleicher/geringerer Spezifität die
   UA-Standardregel [hidden]{display:none} und das Element bleibt sichtbar,
   obwohl JS/HTML es ausblenden wollte. Live getestet, siehe OFFEN.md. */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
a[href^="tel:"] { white-space: nowrap; }
html { scroll-behavior: smooth; }
body.whobert {
	margin: 0;
	background: var(--creme);
	color: var(--merlot);
	font-family: var(--body);
	font-weight: 400;
	font-size: clamp(15px, 1.02vw, 17px);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 4px; }
.wbi { font-style: italic; }
.eyebrow { font-weight: 600; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Reveal-Animation für Sektionen, die per IntersectionObserver eingeblendet werden */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Menüknopf aus der Bildmarke ---------- */
.burger, .reserve { will-change: transform; }
body.hidenav .burger { transform: translateY(-160%); }
body.hidenav .reserve { transform: translateY(-200%); }
body.open .burger { transform: none !important; }
.burger {
	position: fixed; z-index: 120; top: clamp(.85rem, 2vw, 1.5rem); left: clamp(.85rem, 2vw, 1.5rem);
	width: clamp(50px, 4.4vw, 60px); aspect-ratio: 1; border-radius: 50%;
	background: var(--rosa); display: grid; place-items: center;
	box-shadow: 0 5px 20px rgba(73, 3, 1, .26);
	transition: transform .35s var(--ease), background .35s var(--ease);
}
.burger:hover { transform: scale(1.09) rotate(-4deg); }
.burger .bm { width: 58%; aspect-ratio: 114/119; transition: transform .4s var(--ease), opacity .3s; }
body.open .burger { background: var(--zitrone); }
body.open .burger .bm { transform: rotate(90deg) scale(.92); }

.stickmark {
	position: fixed; z-index: 119; top: clamp(.85rem, 2vw, 1.5rem); left: 50%;
	width: clamp(46px, 4vw, 56px); aspect-ratio: 1; border-radius: 50%;
	background: var(--creme); display: grid; place-items: center;
	box-shadow: 0 5px 20px rgba(73, 3, 1, .26);
	transform: translate(-50%, -190%); opacity: 0; pointer-events: none;
	transition: transform .55s var(--ease), opacity .4s var(--ease);
}
body.marked .stickmark { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.stickmark svg { width: 60%; aspect-ratio: 280/218; color: var(--merlot); }
.stickmark:hover { transform: translate(-50%, 0) scale(1.08); }
body.open .stickmark { opacity: 0; transform: translate(-50%, -190%); }

.reserve {
	position: fixed; z-index: 120; top: clamp(1.1rem, 2.6vw, 2rem); right: clamp(.9rem, 2.2vw, 1.7rem);
	background: var(--zitrone); color: var(--merlot); font-weight: 600; font-size: .8rem; letter-spacing: .03em;
	padding: .9rem 1.5rem; border-radius: 999px; box-shadow: 0 6px 26px rgba(73, 3, 1, .3);
	transition: transform .3s var(--ease), background .3s, color .3s;
}
.reserve:hover { transform: scale(1.05); background: var(--orange); color: var(--creme); }
body.admin-bar .burger { top: calc(32px + clamp(.85rem, 2vw, 1.5rem)); }
body.admin-bar .reserve { top: calc(32px + clamp(1.1rem, 2.6vw, 2rem)); }
body.admin-bar .stickmark { top: calc(32px + clamp(.85rem, 2vw, 1.5rem)); }
@media screen and (max-width: 782px) {
	body.admin-bar .burger { top: calc(46px + clamp(.85rem, 2vw, 1.5rem)); }
	body.admin-bar .reserve { top: calc(46px + clamp(1.1rem, 2.6vw, 2rem)); }
	body.admin-bar .stickmark { top: calc(46px + clamp(.85rem, 2vw, 1.5rem)); }
}

.menu {
	position: fixed; inset: 0; z-index: 110; background: var(--blau);
	display: flex; flex-direction: column; justify-content: center; gap: .1rem;
	padding: clamp(5rem, 10vw, 7rem) clamp(1.5rem, 7vw, 7rem);
	clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease); overflow-y: auto;
}
body.open .menu { clip-path: inset(0 0 0 0); }
.menu a {
	font-family: var(--display); font-weight: 800; color: var(--creme);
	font-size: clamp(1.43rem, 4.95vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em;
	opacity: 0; transform: translateY(28px);
	transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
	width: max-content; max-width: 100%;
}
body.open .menu a { opacity: 1; transform: none; }
body.open .menu a:nth-of-type(1) { transition-delay: .28s; }
body.open .menu a:nth-of-type(2) { transition-delay: .34s; }
body.open .menu a:nth-of-type(3) { transition-delay: .40s; }
body.open .menu a:nth-of-type(4) { transition-delay: .46s; }
body.open .menu a:nth-of-type(5) { transition-delay: .52s; }
body.open .menu a:nth-of-type(6) { transition-delay: .58s; }
body.open .menu a:nth-of-type(7) { transition-delay: .64s; }
body.open .menu a:nth-of-type(8) { transition-delay: .70s; }
body.open .menu a:nth-of-type(9) { transition-delay: .76s; }
.menu a:hover { color: var(--zitrone); }
.menu .sub { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: -.1rem 0 .5rem 1.6rem; opacity: 0; transition: opacity .5s var(--ease) .5s; }
body.open .menu .sub { opacity: 1; }
.menu .sub a { font-family: var(--body); font-weight: 500; font-size: .98rem; letter-spacing: 0; opacity: 1; transform: none; color: rgba(255, 245, 239, .82); transition-delay: 0s !important; }
.menu .sub a:hover { color: var(--zitrone); }
.mfoot { margin-top: clamp(1.4rem, 3.5vw, 2.6rem); color: var(--creme); opacity: .85; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.mfoot a { font-family: var(--body); font-weight: 400; font-size: inherit; letter-spacing: normal; line-height: inherit; color: inherit; opacity: 1; transform: none; width: auto; max-width: none; }
.mlogo {
	position: absolute; bottom: clamp(1.6rem, 4vw, 3rem); right: clamp(1.5rem, 7vw, 7rem);
	width: clamp(90px, 13vw, 170px); height: auto; aspect-ratio: 553/335; color: var(--creme);
	opacity: 0; transform: translateY(-10px); transition: opacity .5s var(--ease) .45s, transform .5s var(--ease) .45s;
}
body.open .mlogo { opacity: .92; transform: none; }

/* ---------- Intro-Wipe, einmalig ---------- */
#intro { position: fixed; inset: 0; z-index: 200; background: var(--creme); display: grid; place-items: center; overflow: hidden; }
#intro .bars { position: absolute; inset: 0; display: flex; }
#intro .bars i { flex: 1; background: var(--rosa); transform-origin: top; animation: barUp .9s var(--ease) forwards; box-shadow: 1px 0 0 0 var(--rosa), -1px 0 0 0 var(--rosa); }
#intro .bars i:nth-child(1) { animation-delay: .72s; }
#intro .bars i:nth-child(2) { animation-delay: .80s; }
#intro .bars i:nth-child(3) { animation-delay: .88s; }
#intro .bars i:nth-child(4) { animation-delay: .96s; }
#intro .bars i:nth-child(5) { animation-delay: 1.04s; }
#intro .bars i:nth-child(6) { animation-delay: 1.12s; }
@keyframes barUp { to { transform: scaleY(0); } }
#intro .im { position: relative; z-index: 2; width: clamp(150px, 26vw, 300px); aspect-ratio: 553/335; color: var(--merlot); animation: imOut .5s var(--ease) .92s forwards; }
@keyframes imOut { to { opacity: 0; transform: translateY(-14px); } }
#intro.gone { opacity: 0; pointer-events: none; transition: opacity .35s ease; }

/* ---------- Newsletter, volle Breite Rosa ---------- */
.news { position: relative; z-index: 5; background: var(--rosa); color: var(--merlot); padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1.2rem, 3.5vw, 3rem); }
.news-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.news h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: .9; letter-spacing: -.03em; margin: 0 0 .6rem; }
.news p { margin: 0; max-width: 40ch; font-size: .98rem; }
.news form,
.news .sib_signup_form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.news .sib_signup_form p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; flex: 1 1 auto; }
.news .sib_signup_form .sib-email-area { flex: 1 1 240px; display: flex; }
.news .sib_signup_form label { font-size: .82rem; }
.news .sib_signup_form .sib-email-area label,
.news .sib_signup_form .sib-multi-lists-area > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.news .sib-multi-lists-area { flex-basis: 100%; order: 3; }
.news .sib-multi-lists { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.news .sib-multi-lists div { display: flex; align-items: center; gap: .4rem; font-size: .82rem; }
.news .sib-multi-lists input[type="checkbox"] { accent-color: var(--merlot); width: 1.05em; height: 1.05em; }
.news .sib_signup_form input:not([type="checkbox"]):not([type="submit"]) {
	flex: 1 1 240px; min-width: 0; border: 2.5px solid var(--merlot); background: var(--creme); color: var(--merlot);
	font: inherit; font-size: .95rem; padding: .9rem 1.1rem; border-radius: 999px;
}
.news input::placeholder,
.news .sib_signup_form input::placeholder { color: rgba(73, 3, 1, .55); }
.news button,
.news .sib_signup_form input[type="submit"] {
	background: var(--merlot); color: var(--creme); font-weight: 600; font-size: .82rem; letter-spacing: .04em;
	padding: .95rem 1.8rem; border-radius: 999px; border: none; transition: transform .3s var(--ease), background .3s;
}
.news button:hover,
.news .sib_signup_form input[type="submit"]:hover { transform: scale(1.05); background: var(--blau); color: var(--creme); }
.news .sib_signup_form .sib_loader { flex-basis: 100%; }
.news small { display: block; margin-top: .7rem; font-size: .74rem; opacity: .75; max-width: 46ch; }
.news small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.news small a:hover { color: var(--blau); }
@media (max-width: 900px) { .news-in { grid-template-columns: 1fr; } }

/* ---------- Streifenband Übergang zum Fuß ---------- */
.bridge { position: relative; z-index: 5; height: clamp(76px, 11svh, 130px); }

/* ---------- Fuß ---------- */
.foot { position: relative; z-index: 5; background: var(--schwarz); color: var(--creme); padding: clamp(3.6rem, 7vw, 6rem) clamp(1.4rem, 4vw, 3.6rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.8rem, 4vw, 3.5rem); max-width: 1400px; margin: 0 auto; align-items: start; }
.foot h4 { font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rosa); margin: 0 0 1rem; }
.foot p { margin: 0 0 .38rem; font-size: 1rem; color: rgba(255, 245, 239, .88); }
.foot a:hover { color: var(--zitrone); }
.blk { margin-bottom: 2.2rem; }
.blk:last-child { margin-bottom: 0; }
.blk h5 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 0 0 .5rem; color: var(--creme); }
.fsocial { max-width: 1400px; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem 1rem; }
.fsocial a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; color: var(--creme); transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.fsocial a svg { width: 26px; height: 26px; fill: currentColor; display: block; }
.fsocial a:hover, .fsocial a:focus-visible { color: var(--schwarz); background: var(--creme); transform: translateY(-2px); }
@media (max-width: 700px) { .fsocial { justify-content: flex-start; } }
.fbtns { max-width: 1400px; margin: clamp(1.4rem, 3vw, 2.4rem) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.6vw, 1.2rem); }
@media (max-width: 700px) { .fbtns { grid-template-columns: 1fr; } }
.fbtn { display: flex; flex-direction: column; gap: .25rem; padding: 1.7rem 1.9rem; border-radius: 22px; transition: transform .3s var(--ease), background .3s; }
.fbtn .l { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -.02em; }
.fbtn .s { font-size: .82rem; opacity: .85; }
.fbtn:hover { transform: translateY(-4px); }
.fbtn.gut, .fbtn.job { background: var(--rosa); color: var(--merlot); }
.fbtn.gut:hover, .fbtn.job:hover { background: var(--zitrone); }
.foot .fbtn:hover { color: inherit; }
.bigmark { max-width: 1400px; margin: clamp(2.8rem, 6vw, 4.8rem) auto 0; color: var(--creme); display: flex; justify-content: center; overflow: hidden; }
.bigmark .lgblock { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.bigmark.in .lgblock { opacity: 1; transform: none; }
.legal { max-width: 1400px; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 245, 239, .24); display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; font-size: .78rem; color: rgba(255, 245, 239, .66); }
.legal a:hover { color: var(--creme); }
.legal .sp { flex: 1 1 auto; }
.note { position: relative; z-index: 5; background: var(--creme); color: #6b4b46; padding: 1rem clamp(1.2rem, 3.5vw, 3rem); font-size: .76rem; text-align: center; }

.lgblock { --lw: clamp(180px, 25vw, 360px); width: var(--lw); display: flex; flex-direction: column; align-items: center; }
.lgblock svg { width: 100%; height: auto; aspect-ratio: 553/335; }
.lgblock .sub {
	font-family: var(--display); font-weight: 800; color: currentColor;
	font-size: calc(var(--lw) * .095); line-height: 1; letter-spacing: -.02em;
	margin-top: calc(var(--lw) * .095 * .667); white-space: nowrap;
}

/* ---------- Cursor (nur bei pointer:fine) ---------- */
#cur { position: fixed; z-index: 150; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); pointer-events: none; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; display: none; }
#cur.big { width: 92px; height: 92px; background: var(--zitrone); }
#cur em { font-family: var(--body); font-style: normal; font-weight: 600; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--merlot); opacity: 0; transition: opacity .25s; display: grid; place-items: center; width: 100%; height: 100%; text-align: center; }
#cur.big em { opacity: 1; }
@media (pointer: fine) { #cur { display: grid; place-items: center; } }

/* ---------- Cookie-Banner ---------- */
.consent { position: fixed; z-index: 180; left: 0; right: 0; bottom: 0; background: var(--creme); color: var(--merlot); border-top: 3px solid var(--merlot); padding: clamp(1.1rem, 2.6vw, 1.8rem) clamp(1.2rem, 3.5vw, 2.4rem); }
.consent[hidden] { display: none !important; }
.consent-in { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: space-between; }
.consent p { margin: 0; font-size: .88rem; max-width: 62ch; }
.consent p a { text-decoration: underline; text-underline-offset: 2px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-btns button { font-weight: 600; font-size: .82rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--merlot); transition: transform .2s var(--ease), background .2s, color .2s; }
.consent-btns button:hover { transform: scale(1.04); }
.consent-accept { background: var(--merlot); color: var(--creme); }
.consent-reject { background: var(--creme); color: var(--merlot); }
.consent-settings { background: transparent; color: var(--merlot); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.consent-panel { max-width: 1400px; margin: 1rem auto 0; display: grid; gap: .7rem; }
.consent-panel[hidden] { display: none !important; }
.consent-row { display: flex; align-items: flex-start; gap: .7rem; font-size: .86rem; }
.consent-row input { margin-top: .25rem; }
.consent-widerruf { position: fixed; z-index: 60; left: 1rem; bottom: 1rem; background: var(--creme); color: var(--merlot); border: 2px solid var(--merlot); border-radius: 999px; padding: .5rem 1rem; font-size: .74rem; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	#intro { display: none; }
	.rv { opacity: 1; transform: none; }
	.menu { display: none; }
	body.open .menu { display: flex; clip-path: none; }
}
