/*
 * Barbara Hönigschnabl – Interimsseite
 * Farben & Schrift laut CD (Babsi_Branding_Uebersicht.pdf)
 */

/* Bilo (Adobe Font) – sobald Lizenz/Webfont vorliegt, hier einbinden:
@font-face {
	font-family: "Bilo";
	src: url("../fonts/bilo-regular.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
*/

:root {
	/* Primärfarben */
	--waldgruen: #183e1e;
	--moosgruen: #3b6645;
	--blattgruen: #9cc178;

	/* Sekundärfarben (Regenbogen) */
	--rot: #ea5153;
	--orange: #f59f40;
	--gelb: #f9e880;
	--blau: #70a3bd;
	--lila: #8a5e9f;

	--hell: #f4f7ef;
	--weiss: #fff;
	--text: #1b2a1d;

	--font: "Bilo", "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(1.25rem, 5vw, 4rem);
	--section: clamp(4rem, 10vw, 8rem);
	--measure: 40rem;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: var(--font);
	font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
	line-height: 1.6;
}

img,
svg {
	display: block;
	max-width: 100%;
}

h1,
h2 {
	margin: 0 0 1em;
	color: var(--waldgruen);
	font-weight: 700;
	line-height: 1.15;
}

h2 {
	font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--moosgruen);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--waldgruen);
}

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

.container {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: var(--section);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 10;
	padding: 0.5em 1em;
	background: var(--weiss);
	color: var(--waldgruen);
}

.skip-link:focus {
	top: 1rem;
}

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	grid-template-rows: 100%;
	/* mobil max. 90svh, damit darunter immer etwas Inhalt sichtbar ist */
	height: min(90svh, 60rem);
	min-height: min(32rem, 90svh);
	overflow: hidden;
	background: var(--waldgruen);
	color: var(--weiss);
}

.hero__main,
.hero__side {
	grid-area: 1 / 1;
	min-height: 0;
}

.hero__main img,
.hero__side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Fokuspunkte = Gesicht */
.hero__main img {
	object-position: 47% 33%;
}

.hero__side img {
	object-position: 48% 40%;
}

.hero__side {
	display: none;
}

/* Verlauf für Lesbarkeit von Logo & Titel */
.hero__main {
	position: relative;
}

.hero__main::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(170deg, rgb(10 25 12 / 0.75) 0%, rgb(10 25 12 / 0.35) 35%, transparent 60%);
}

.hero__brand {
	grid-area: 1 / 1;
	z-index: 1;
	align-self: start;
	padding: clamp(1.5rem, 4vw, 3rem) var(--gutter);
}

.hero__logo {
	width: clamp(10rem, 22vw, 17rem);
	margin: 0 0 1.25rem;
	color: var(--weiss);
}

.hero__logo svg {
	width: 100%;
	aspect-ratio: 566.929 / 220.686;
}

.hero__title {
	margin: 0;
	font-size: clamp(0.9375rem, 0.4vw + 0.8rem, 1.0625rem);
	line-height: 1.4;
	text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
}

.pronouns {
	font-weight: 400;
	opacity: 0.85;
}

.hero__cta {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(1.5rem, 4vw, 3rem);
	z-index: 1;
	padding: 0.75em 1.5em;
	border-radius: 2em 2em 2em 0.3em;
	background: var(--blattgruen);
	color: var(--waldgruen);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s;
}

.hero__cta:hover {
	background: var(--weiss);
	color: var(--waldgruen);
}

@media (min-width: 60em) {
	.hero {
		grid-template-columns: 62fr 38fr;
		height: min(100svh, 60rem);
		min-height: 32rem;
	}

	.hero__side {
		display: block;
		grid-area: 1 / 2;
	}
}

/* Intro ------------------------------------------------------------------ */

/* dezente Schilfblätter als Rahmen (Variante C2) */
.intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.intro__leaves {
	position: absolute;
	bottom: 0;
	z-index: -1;
	width: auto;
	max-width: none;
	height: 26rem;
	pointer-events: none;
}

.intro__leaves--left {
	left: -2.5rem;
}

.intro__leaves--right {
	right: -2rem;
}

@media (min-width: 48em) {
	.intro__leaves {
		height: min(100%, 50rem);
	}
}

.intro .container {
	display: grid;
	gap: 0 clamp(2rem, 6vw, 6rem);
}

.intro__text {
	max-width: var(--measure);
}

.lead {
	color: var(--waldgruen);
	font-size: 1.2em;
	line-height: 1.5;
}

@media (min-width: 60em) {
	.intro .container {
		grid-template-columns: 1fr 2fr;
	}
}

/* Werte ------------------------------------------------------------------ */

.values {
	background: var(--hell);
}

.values__inner {
	display: grid;
	gap: 2rem clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.values__inner > div {
	max-width: var(--measure);
}

.values__bubbles {
	width: clamp(5rem, 16vw, 11rem);
	height: auto;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.tags li {
	padding: 0.3em 0.9em;
	border-radius: 1.2em 1.2em 1.2em 0.25em;
	background: var(--weiss);
	color: var(--waldgruen);
	font-size: 0.875em;
	font-weight: 700;
	box-shadow: inset 0 0 0 2px var(--blattgruen);
}

@media (min-width: 48em) {
	.values__inner {
		grid-template-columns: auto 1fr;
	}
}

/* Kosten ----------------------------------------------------------------- */

.prices__inner {
	display: grid;
	gap: 2.5rem clamp(2.5rem, 6vw, 4.5rem);
	align-items: start;
}

.prices__table {
	width: 100%;
	border-collapse: collapse;
}

.prices__table th,
.prices__table td {
	padding: 1.1rem 0;
	border-bottom: 1px solid #d9e4cc;
	text-align: left;
	vertical-align: baseline;
}

.prices__table thead th {
	padding-top: 0;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--waldgruen);
	color: var(--moosgruen);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prices__table tbody th {
	color: var(--waldgruen);
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.3;
}

.prices__duration {
	display: none;
	color: var(--moosgruen);
	white-space: nowrap;
}

.prices__duration-inline {
	display: block;
	margin-top: 0.15em;
	color: var(--moosgruen);
	font-size: 0.8em;
	font-weight: 400;
}

.prices__table .prices__amount {
	padding-left: 1rem;
	text-align: right;
	white-space: nowrap;
}

.prices__table tbody .prices__amount {
	color: var(--waldgruen);
	font-size: 1.15em;
	font-weight: 700;
}

.facts {
	padding: 1.75rem 1.5rem 2rem;
	border-radius: 1.75rem 1.75rem 1.75rem 0.375rem;
	background: var(--hell);
}

.facts h3 {
	margin: 0 0 1.25rem;
	color: var(--waldgruen);
	font-size: 1.25rem;
	line-height: 1.3;
}

.facts ul {
	display: grid;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.facts li {
	display: flex;
	gap: 0.75rem;
}

.facts__icon {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.15em;
}

/* dezente Regenbogen-Akzente (Sekundärfarben) */
.facts li:nth-child(1) .facts__icon { fill: var(--rot); }
.facts li:nth-child(2) .facts__icon { fill: var(--orange); }
.facts li:nth-child(3) .facts__icon { fill: var(--blau); }
.facts li:nth-child(4) .facts__icon { fill: var(--lila); }

@media (min-width: 40em) {
	.prices__table .prices__duration {
		display: table-cell;
		padding-left: 1rem;
	}

	.prices__duration-inline {
		display: none;
	}
}

@media (min-width: 64em) {
	.prices__inner {
		grid-template-columns: minmax(0, 1fr) 25rem;
	}

	.facts {
		margin-top: 0.5rem;
		padding: 2.25rem 2.25rem 2.5rem;
		border-radius: 2rem 2rem 2rem 0.375rem;
	}
}

/* Kontakt ---------------------------------------------------------------- */

.contact {
	position: relative;
	isolation: isolate;
	display: grid;
	overflow: hidden;
	background: var(--waldgruen);
	color: var(--weiss);
}

.contact__photo img {
	width: 100%;
	height: clamp(22rem, 110vw, 30rem);
	object-fit: cover;
	object-position: 48% 42%;
}

.contact__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

/* dezente CD-Sprechblasen im Hintergrund, rechts oben angeschnitten */
.contact::before {
	content: "";
	position: absolute;
	top: -2.5rem;
	right: -3rem;
	z-index: -1;
	width: clamp(10rem, 30vw, 17rem);
	aspect-ratio: 300 / 420;
	background: url("../img/bubbles.svg") no-repeat center / contain;
	opacity: 0.12;
	pointer-events: none;
}

.contact h2 {
	margin-bottom: 0.3em;
	color: var(--blattgruen);
}

.contact__lead {
	font-size: 1.2em;
}

.contact__list {
	display: grid;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.contact__list address {
	font-style: normal;
}

.contact__list a {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	min-height: 2.75rem;
	color: var(--weiss);
	font-size: 1.125em;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__list a:hover {
	color: var(--blattgruen);
}

.contact__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: var(--blattgruen);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact__signature {
	margin: 2rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--moosgruen);
	color: #d8e7c8;
	font-size: 0.9375rem;
}

.contact__signature strong {
	color: var(--weiss);
}

@media (min-width: 60em) {
	.contact {
		grid-template-columns: 5fr 7fr;
	}

	/* Bild füllt die Spalte, bestimmt aber nicht die Höhe der Sektion */
	.contact__photo {
		position: relative;
	}

	.contact__photo img {
		position: absolute;
		inset: 0;
		height: 100%;
	}

	.contact__inner {
		max-width: 44rem;
		padding: clamp(3rem, 5vw, 4.5rem) clamp(3rem, 6vw, 6rem);
	}

	.contact__signature {
		margin-top: 1.5rem;
		padding-top: 1.25rem;
	}

	.contact__list a {
		font-size: 1.3em;
	}
}

/* Footer ----------------------------------------------------------------- */

.footer {
	padding-block: 3rem;
	color: var(--waldgruen);
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.footer__logo {
	width: 9rem;
	aspect-ratio: 566.929 / 220.686;
}

/* dezenter Regenbogen-Akzent (Sekundärfarben) */
.rainbow {
	display: flex;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rainbow li {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50% 50% 50% 0.1rem;
}

.rainbow li:nth-child(1) { background: var(--rot); }
.rainbow li:nth-child(2) { background: var(--orange); }
.rainbow li:nth-child(3) { background: var(--gelb); }
.rainbow li:nth-child(4) { background: var(--blattgruen); }
.rainbow li:nth-child(5) { background: var(--blau); }
.rainbow li:nth-child(6) { background: var(--lila); }

.footer__small {
	margin: 0;
	font-size: 0.875rem;
}

/* Rechtstexte ------------------------------------------------------------ */

.legal {
	max-width: calc(var(--measure) + 2 * var(--gutter));
}

.legal h1 {
	font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.legal h1:not(:first-child) {
	margin-top: 1.5em;
}

.legal h2 {
	margin-top: 2.5em;
	font-size: 1.375rem;
}

.legal-header {
	padding-block: 1.5rem;
	background: var(--waldgruen);
}

.legal-header a {
	display: block;
	width: 9rem;
	color: var(--weiss);
}

.legal-header svg {
	width: 100%;
	aspect-ratio: 566.929 / 220.686;
}

/* 404 -------------------------------------------------------------------- */

.notfound {
	padding-block: var(--section);
}

.notfound__inner {
	display: grid;
	gap: 2.5rem clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.notfound__mark {
	position: relative;
	width: clamp(8rem, 24vw, 13rem);
}

.notfound__mark img {
	width: 100%;
	height: auto;
}

/* Zahl in der großen (moosgrünen) Sprechblase */
.notfound__mark span {
	position: absolute;
	left: 8%;
	top: 45%;
	width: 62%;
	color: var(--weiss);
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	font-weight: 700;
	text-align: center;
}

.notfound__text {
	max-width: var(--measure);
}

.notfound h1 {
	margin-bottom: 0.6em;
	font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
}

.notfound__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.button {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.6em 1.4em;
	border-radius: 2em 2em 2em 0.3em;
	background: var(--waldgruen);
	color: var(--weiss);
	font-weight: 700;
	text-decoration: none;
}

.button:hover {
	background: var(--moosgruen);
	color: var(--weiss);
}

.button--ghost {
	background: transparent;
	color: var(--waldgruen);
	box-shadow: inset 0 0 0 2px var(--blattgruen);
}

.button--ghost:hover {
	background: var(--hell);
	color: var(--waldgruen);
}

@media (min-width: 48em) {
	.notfound__inner {
		grid-template-columns: auto 1fr;
	}
}
