/* Antonella Kramis – base styles.
   "Nimm dir Zeit": calm, airy, turquoise + soft lavender (from the water-drop card) on a cool light ground.
   Body: system font stack. Titles: self-hosted Handlee (no external requests). */

@font-face {
	font-family: "Handlee";
	src: url("../fonts/handlee-latin-400-normal.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
	/* Latin range without U+0026: Handlee's "&" is a decorative "Et" that reads oddly (see the face below). */
	unicode-range: U+0000-0025, U+0027-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* A plain "&" from the system sans for titles. */
@font-face {
	font-family: "Handlee";
	src: local("Helvetica Neue"), local("HelveticaNeue"), local("Segoe UI"), local("Arial"), local("Roboto");
	font-weight: 400; font-style: normal;
	unicode-range: U+0026;
}

:root {
	--c-bg:          #f8fbfb;
	--c-turq:        #1f7a78;  /* buttons, links – 5:1 on white */
	--c-turq-dark:   #155a58;
	--c-turq-light:  #8fcfcb;
	--c-turq-soft:   #e4f2f1;
	--c-lav:         #9f98c8;
	--c-lav-soft:    #efedf7;
	--c-ink:         #1f3236;
	--c-deep:        #17363a;  /* hero shade */
	--c-text:        #1f3236;
	--c-text-soft:   #556569;
	--c-line:        rgba(31, 50, 54, 0.14);

	/* Tokens read by the Seelenspiel Booking plugin. */
	--c-bamboo:      var(--c-turq);
	--c-bamboo-dark: var(--c-turq-dark);

	/* Titles: Handlee – the handwriting font of her printed cards (self-hosted, OFL). The variable keeps its
	   name because the booking plugin reads --f-serif too. */
	--f-serif: "Handlee", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
	--f-sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--content: 42rem;
	--wide: 72rem;
	--gutter: clamp(1.25rem, 4vw, 2.75rem);
	--header-h: 4.75rem;
	--curve: clamp(1.5rem, 6vw, 5rem);  /* depth of the curved hero bottom / footer top */
}

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

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

body {
	margin: 0;
	font: 400 1.0625rem/1.75 var(--f-sans);
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--c-turq); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-turq-dark); }
:focus-visible { outline: 2px solid var(--c-turq); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--f-serif);
	font-weight: 400;
	line-height: 1.2;
	color: var(--c-ink);
	letter-spacing: 0;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 3rem 0 1rem; }
h3 { font-size: 1.3rem; margin: 2.25rem 0 0.75rem; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 1rem; left: 1rem; z-index: 100;
	padding: 0.75rem 1rem; background: var(--c-ink); color: #fff;
}

/* Header -------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(248, 251, 251, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: background-color 0.4s, border-color 0.4s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

/* Front page: header floats transparently over the light top of the water image. */
.home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; }
.home .site-main { margin-top: calc(-1 * var(--header-h)); }

.site-brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--c-ink); text-decoration: none; margin-right: auto; }
.site-brand:hover { color: var(--c-ink); }
.site-brand__mark { width: 5.25rem; height: auto; color: var(--c-turq); flex: none; }
.site-brand__name { font-family: var(--f-serif); font-size: 1.3rem; letter-spacing: 0.02em; }
.site-brand img { max-height: 3rem; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.main-nav a {
	color: var(--c-text);
	text-decoration: none;
	font-size: 0.95rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { border-bottom-color: var(--c-turq); color: var(--c-ink); }

.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; font-size: 0.8rem; letter-spacing: 0.08em; }
.lang-switch a { display: block; padding: 0.3rem 0.5rem; border-radius: 6px; color: var(--c-text-soft); text-decoration: none; }
.lang-switch .current-lang a { color: var(--c-ink); background: rgba(31, 122, 120, 0.1); }

.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--c-ink); cursor: pointer; }
.nav-toggle svg { width: 1.6rem; height: 1.6rem; display: block; }

@media (max-width: 860px) {
	.nav-toggle { display: block; order: 3; }
	.lang-switch { order: 2; }
	.main-nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-line);
		padding: 1rem var(--gutter) 1.5rem;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0.75rem; }
}

/* Hero ---------------------------------------------------------------- */
/* Wrapper: hero + three echoes of its curved edge (ripples spreading out, each fainter). */
.hero-wrap {
	--hero-curve: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
	--echo-gap: clamp(0.6rem, 1.6vw, 1.25rem);
	position: relative;
	isolation: isolate;
	padding-bottom: calc(3 * var(--echo-gap));
}
.hero-echo span {
	position: absolute; left: 0; right: 0; top: 0;
	bottom: calc((3 - var(--n)) * var(--echo-gap));  /* band n ends n gaps below the hero */
	z-index: calc(-1 * var(--n));                     /* nearer bands on top */
	border-radius: var(--hero-curve);
	background: var(--c-turq);
	opacity: var(--o);
	pointer-events: none;
}
.hero-echo span:nth-child(1) { --n: 1; --o: 0.28; }
.hero-echo span:nth-child(2) { --n: 2; --o: 0.16; }
.hero-echo span:nth-child(3) { --n: 3; --o: 0.08; }

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 54rem);
	padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 9vh, 6.5rem);
	color: #fff;
	text-align: center;
	overflow: hidden;
	/* Gently curved lower edge, like the surface of the water. */
	border-radius: var(--hero-curve);
}
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	will-change: translate;  /* parallax offset set by assets/js/parallax.js */
	/* Shown until the WebGL water (assets/js/water.js) has started, and without WebGL.
	   A Customizer hero image replaces it (inline background-image). */
	background-color: var(--c-turq);
	background-image: linear-gradient(to bottom, var(--c-turq-soft) 0%, var(--c-turq-light) 22%, var(--c-turq) 58%, var(--c-deep) 100%);
	background-size: cover;
	background-position: 50% 30%;
	animation: ak-settle 2.4s ease-out both;
}
/* Water: the gradient above, plus layers of soft light and shade streaks that drift sideways in
   opposite directions (their overlap shimmers like a water surface), finer toward the top for depth.
   The streaks are SVG noise tiles, rasterised once; only transform is animated (compositor). */
.hero__water {
	position: absolute; inset: 0;
	overflow: hidden;
}
.hero__plane {
	--tile: 1200px;
	position: absolute;
	top: 0; bottom: 0; left: calc(-1 * var(--tile)); right: calc(-1 * var(--tile));
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .06' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .89 0 0 0 0 .95 0 0 0 0 .95 6 0 0 0 -3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / var(--tile) 260px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 18%, #000 40%, transparent 70%);
	mask-image: linear-gradient(to bottom, transparent 4%, #000 18%, #000 40%, transparent 70%);
	opacity: 0.8;
	animation: ak-drift 70s linear infinite;
}
.hero__plane--2 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .03' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .89 0 0 0 0 .95 0 0 0 0 .95 6 0 0 0 -3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .035' numOctaves='2' seed='13' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .21 0 0 0 0 .23 -5 0 0 0 2.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: var(--tile) 520px, var(--tile) 460px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 15%, #000 40%, #000 75%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 15%, #000 40%, #000 75%, transparent 100%);
	opacity: 0.6;
	animation-duration: 110s;
	animation-direction: reverse;
}
/* Moves by exactly one tile per loop → seamless. */
@keyframes ak-drift {
	from { transform: translate3d(calc(-1 * var(--tile) / 2), 0, 0); }
	to   { transform: translate3d(calc(var(--tile) / 2), 0, 0); }
}

/* Deep shade at the bottom for legible text. */
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(248, 251, 251, 0.55) 0, rgba(248, 251, 251, 0) calc(var(--header-h) + 2rem)),
		linear-gradient(to bottom, rgba(23, 54, 58, 0) 38%, rgba(23, 54, 58, 0.38) 68%, rgba(23, 54, 58, 0.72) 100%);
}

.hero__inner { width: 100%; animation: ak-fade 2s 0.3s ease-out both; }
.hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}
.hero__title {
	font-size: clamp(3rem, 8vw, 6rem);
	line-height: 1.05;
	margin: 0 0 1.25rem;
	color: #fff;
	text-shadow: 0 2px 30px rgba(23, 54, 58, 0.35);
}
.hero__lead {
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.9);
	max-width: 34rem;
	margin: 0 auto 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }

/* Uses the individual `scale` property so it doesn't clash with the parallax `translate`. */
@keyframes ak-settle { from { scale: 1.04; } to { scale: 1; } }
@keyframes ak-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.hero__bg, .hero__inner { animation: none; }
	.hero__plane { animation: none; }
}

@media (max-width: 600px) {
	/* Shorter hero on phones: the source photo is small, so don't zoom it more than needed. */
	.hero { min-height: min(80svh, 40rem); padding-top: calc(var(--header-h) + 2rem); }
	.hero__bg { background-position: 50% 25%; }
	.site-brand__name { font-size: 1.15rem; white-space: nowrap; }
	.site-brand { gap: 0.5rem; }
	.site-brand__mark { width: 3.5rem; }
	.site-header__inner { gap: 0.75rem; }
}

/* Buttons ------------------------------------------------------------- */
.button,
.wp-block-button__link,
button.ss-btn,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font: 500 0.95rem/1 var(--f-sans);
	letter-spacing: 0.04em;
	text-decoration: none;
	padding: 1rem 1.75rem;
	border-radius: 999px;
	border: 1px solid var(--c-turq);
	background: var(--c-turq);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.button:hover,
.wp-block-button__link:hover,
button.ss-btn:hover,
input[type="submit"]:hover { background: var(--c-turq-dark); border-color: var(--c-turq-dark); color: #fff; }
.button--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.button--ghost:hover { background: var(--c-turq-soft); border-color: var(--c-turq-light); color: var(--c-ink); }
.button--light { background: #fff; border-color: #fff; color: var(--c-turq-dark); }
.button--light:hover { background: var(--c-turq-soft); border-color: var(--c-turq-soft); color: var(--c-turq-dark); }
.button--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.button--outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; color: #fff; }
button[disabled], .button[disabled] { opacity: 0.5; cursor: not-allowed; }

.text-link { font-weight: 500; text-decoration: none; }

/* Content ------------------------------------------------------------- */
.page-header { max-width: var(--content); margin: clamp(3rem, 7vw, 5.5rem) auto 2.5rem; padding: 0 var(--gutter); text-align: center; }
.page-header h1::after {
	content: "";
	display: block;
	width: 3rem; height: 1px;
	margin: 1.5rem auto 0;
	background: var(--c-turq-light);
}

.content { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto clamp(4rem, 9vw, 7rem); padding: 0 var(--gutter); }
.home .content { padding-top: clamp(3rem, 7vw, 5rem); scroll-margin-top: var(--header-h); }

.ripple-divider { display: block; width: 6.5rem; height: auto; margin: 0 auto clamp(2rem, 5vw, 3rem) !important; color: var(--c-turq); }

/* Ripple graphic (logo + divider) ------------------------------------- */
.ripple { overflow: visible; }
.ripple ellipse {
	fill: none;
	stroke: currentColor;
	stroke-width: 1px;
	vector-effect: non-scaling-stroke;  /* hairlines stay crisp at any size/scale */
	transform-box: view-box;
	transform-origin: 60px 12px;
}
/* Static composition: core, mid ring, outer ring. */
.ripple__ring:nth-of-type(2) { transform: scale(0.5); opacity: 0.6; }
.ripple__ring:nth-of-type(3) { opacity: 0.3; }
.ripple__ring:nth-of-type(4) { opacity: 0; }

/* Live: rings grow out of the centre and fade, staggered – slow, like a drop on still water. */
.ripple--live .ripple__ring { animation: ak-ripple 6s cubic-bezier(0.2, 0.5, 0.4, 1) infinite both; }
.ripple--live .ripple__ring:nth-of-type(3) { animation-delay: -2s; }
.ripple--live .ripple__ring:nth-of-type(4) { animation-delay: -4s; }
.ripple--live .ripple__core { animation: ak-ripple-core 6s ease-in-out infinite; }
@keyframes ak-ripple {
	0%   { transform: scale(0.14); opacity: 0; }
	12%  { opacity: 0.85; }
	100% { transform: scale(1); opacity: 0; }
}
@keyframes ak-ripple-core { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
	.ripple--live .ripple__ring, .ripple--live .ripple__core { animation: none; }
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content blockquote {
	margin: 2.75rem 0;
	padding: 1.75rem 2rem;
	background: var(--c-turq-soft);
	border-left: 3px solid var(--c-lav);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--f-serif);
	font-size: 1.3rem;
	line-height: 1.55;
}
.entry-content blockquote p { margin: 0; }
.entry-content hr { border: 0; height: 1px; background: var(--c-line); margin: 3.5rem 0; }
.entry-content .alignwide { max-width: var(--wide); }

.post-list { display: grid; gap: 1.25rem; max-width: var(--content); margin: 0 auto 5rem; padding: 0 var(--gutter); }
.card { padding: 1.75rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.card h2 { margin-top: 0; }
.card h2 a { color: inherit; text-decoration: none; }
.entry-meta { font-size: 0.9rem; color: var(--c-text-soft); margin: 0 0 0.5rem; }

/* Forms (booking) ----------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
	width: 100%;
	font: inherit;
	color: var(--c-text);
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--c-turq); outline-offset: 1px; border-color: transparent; }
label { font-weight: 600; font-size: 0.95rem; }
body .ss-booking { --ssb-soft: #fff; }
.ss-cal__month { font-weight: 400; } /* Handlee has one weight – avoid faux bold */ /* beats the plugin default (loaded later) */

/* Footer -------------------------------------------------------------- */
/* Keep the footer at the bottom of the window on short pages. */
.site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }
.site-footer {
	background: var(--c-turq-soft);
	color: var(--c-text-soft);
	padding: calc(2.5rem + var(--curve)) 0 2rem;
	font-size: 0.95rem;
	position: relative;
}
/* Curved top edge in the same direction as the hero's lower edge (dips in the middle):
   the hero's curve shape, painted in the page background over the top of the footer. */
.site-footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0;
	height: var(--curve);
	background: var(--c-bg);
	border-radius: 0 0 50% 50% / 0 0 var(--curve) var(--curve);
	pointer-events: none;
}
.site-footer a { color: var(--c-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--c-turq-dark); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; align-items: start; }
.site-footer__name { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-ink); margin: 0 0 0.5rem; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; justify-items: end; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: 0.85rem; }
@media (max-width: 600px) { .site-footer ul { justify-items: start; } }

/* Ease ---------------------------------------------------------------- */

/* 1. Soft page transitions (View Transitions; browsers without support simply navigate).
      The header keeps its place while the page content cross-fades. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.6s; animation-timing-function: ease; }
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}

/* 2. Gentle reveal on scroll (assets/js/reveal.js). Same selector list as in the script.
      .ak-reveal is only set when motion is allowed (inline script in <head>). */
.ak-reveal :is(.page-header, .entry-content > *, .post-list > *) {
	transition: opacity 1.1s ease, translate 1.3s cubic-bezier(0.2, 0.6, 0.2, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
.ak-reveal :is(.page-header, .entry-content > *, .post-list > *):not(.is-visible) {
	opacity: 0;
	translate: 0 14px;
}

/* 3. Atempause ([ak_atempause], inc/atempause.php). 10 s per breath: 4 s in, 6 s out, three times. */
.atempause {
	margin: 3.5rem 0;
	padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
	text-align: center;
	background: var(--c-turq-soft);
	border-radius: var(--radius);
}
.atempause .atempause__title { margin-top: 0; }
.atempause__intro { max-width: 30rem; margin: 0 auto 1.5rem; color: var(--c-text-soft); }
.atempause__circle { position: relative; width: min(15rem, 70vw); margin: 0 auto 1.75rem; aspect-ratio: 1; }
.atempause__circle svg { display: block; width: 100%; height: 100%; scale: 0.62; overflow: visible; }
.atempause__core { fill: var(--c-turq); opacity: 0.22; }
.atempause__ring { fill: none; stroke: var(--c-turq); stroke-width: 1; opacity: 0.35; }
.atempause__ring + .atempause__ring { opacity: 0.55; }
.atempause__word {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-family: var(--f-serif);
	font-size: 1.45rem;
	color: var(--c-turq-dark);
	opacity: 0;
}
.atempause__status { min-height: 1.75em; margin: 1rem 0 0; font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-turq-dark); }

.atempause.is-breathing svg { animation: ak-breathe 10s ease-in-out 3; }
.atempause.is-breathing .atempause__word--in  { animation: ak-word-in 10s linear 3; }
.atempause.is-breathing .atempause__word--out { animation: ak-word-out 10s linear 3; }
@keyframes ak-breathe {
	0%   { scale: 0.62; }
	40%  { scale: 1; }     /* 4 s in */
	100% { scale: 0.62; }  /* 6 s out */
}
@keyframes ak-word-in  { 0% { opacity: 0; } 6% { opacity: 1; } 34% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes ak-word-out { 0%, 40% { opacity: 0; } 46% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
/* Reduced motion: breathe with light instead of size. */
@media (prefers-reduced-motion: reduce) {
	.atempause.is-breathing svg { animation-name: ak-breathe-soft; }
	@keyframes ak-breathe-soft { 0% { opacity: 0.45; } 40% { opacity: 1; } 100% { opacity: 0.45; } }
}

/* 4. Questions as quiet fold-outs ("Ihr erster Besuch"; core Details block). */
.entry-content .wp-block-details { margin: 0; border-top: 1px solid var(--c-line); }
.entry-content .wp-block-details:not(:has(+ .wp-block-details)) { border-bottom: 1px solid var(--c-line); margin-bottom: 2rem; }
.wp-block-details summary {
	position: relative;
	padding: 1.1rem 2.5rem 1.1rem 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--f-serif);
	font-size: 1.2rem;
	color: var(--c-ink);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	position: absolute; right: 0.4rem; top: 50%;
	translate: 0 -50%;
	font-family: var(--f-sans);
	font-size: 1.5rem; line-height: 1;
	color: var(--c-turq);
	transition: rotate 0.4s ease;
}
.wp-block-details[open] summary::after { rotate: 45deg; }
.wp-block-details summary:hover { color: var(--c-turq-dark); }
.wp-block-details > :not(summary) { margin: 0 0 1.25rem; color: var(--c-text-soft); }
/* Smooth opening where supported (progressive enhancement). */
:root { interpolate-size: allow-keywords; }
.wp-block-details::details-content { height: 0; overflow: clip; transition: height 0.5s ease, content-visibility 0.5s allow-discrete; }
.wp-block-details[open]::details-content { height: auto; }
@media (prefers-reduced-motion: reduce) {
	.wp-block-details::details-content { transition: none; }
}
