/* ==========================================================================
   Marcze – Theme-Styles
   Ruhig, typografisch, viel Weißraum. Farben: Anthrazit, Graphit, Greige, Beige.
   ========================================================================== */

/* Figtree (SIL Open Font License) – lokal eingebunden, keine Verbindung zu Google. */
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-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;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-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;
}

:root {
	--c-text: #333333;
	--c-graphit: #474745;
	--c-graphit-dark: #2e2e2c;
	--c-greige: #bab8b3;
	--c-beige: #faf9f7;
	--c-sand: #f1eee9;
	--c-line: #e4e0da;
	--c-muted: #6f6c66;
	--c-soft: #a29f98;
	--c-white: #ffffff;

	--font: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--max: 1450px;
	--pad-x: clamp(20px, 7vw, 102px);
	--content-left: max(var(--pad-x), calc((100% - var(--max)) / 2));
	--section-y: clamp(80px, 10vw, 170px);

	--fs-body: clamp(17px, 0.15vw + 16px, 18px);
	--fs-intro: clamp(20px, 0.55vw + 17px, 26px);
	--fs-hero: clamp(22px, 1.4vw + 14px, 34px);
	--fs-h1: clamp(42px, 3.4vw + 20px, 68px);
	--fs-display: clamp(36px, 4.2vw + 14px, 74px);
	--fs-h2: clamp(34px, 2.7vw + 16px, 55px);
	--fs-lead: clamp(28px, 1.6vw + 14px, 42px);
	--fs-h3: clamp(21px, 0.4vw + 18px, 24px);

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.78;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

a {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.2em;
}

figure {
	margin: 0;
}

strong,
b {
	font-weight: 600;
}

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

::selection {
	background: var(--c-greige);
	color: var(--c-text);
}

.wrap {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--pad-x));
	margin-inline: auto;
	padding-inline: var(--pad-x);
}

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

.icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--c-white);
	font-weight: 600;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Typo-Bausteine
   -------------------------------------------------------------------------- */

.eyebrow {
	margin: 0 0 clamp(40px, 6vw, 96px);
	color: var(--c-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eyebrow--tight {
	margin-bottom: clamp(20px, 2.5vw, 32px);
}

.eyebrow--on-greige {
	color: var(--c-graphit);
}

.display {
	font-size: var(--fs-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.link-caps {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 2px solid currentColor;
	color: var(--c-white);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.link-underline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 2px;
	border-bottom: 2px solid currentColor;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: opacity 0.2s;
}

.link-underline .icon {
	width: 16px;
	height: 16px;
}

.link-underline:hover {
	opacity: 0.7;
}

.link-strong {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 2px solid currentColor;
	font-size: clamp(18px, 0.3vw + 16px, 20px);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: opacity 0.2s;
}

.link-strong:hover {
	opacity: 0.7;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 28px;
	border: 0;
	background: var(--c-graphit);
	color: var(--c-white);
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
	background: var(--c-graphit-dark);
}

.btn:active {
	transform: translateY(1px);
}

.btn--lg {
	padding: 20px 34px;
	font-size: 18px;
}

.btn--block {
	width: 100%;
}

.btn--outline {
	background: transparent;
	color: var(--c-graphit);
	box-shadow: inset 0 0 0 2px var(--c-graphit);
}

.btn--outline:hover {
	background: var(--c-graphit);
	color: var(--c-white);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags li {
	padding: 5px 12px;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.split-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 7vw, 110px);
	align-items: start;
	margin-bottom: clamp(56px, 8vw, 120px);
}

.split-intro p {
	margin: 0;
}

.split-intro__lead {
	font-size: var(--fs-lead);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.keywords {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: var(--fs-lead);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-align: right;
}

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 20;
	background: var(--c-white);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(24px, 6vw, 90px);
	padding: clamp(18px, 2.6vw, 38px) clamp(20px, 3.5vw, 51px);
}

.site-logo {
	display: block;
	flex: none;
	width: clamp(64px, 6vw, 92px);
}

.site-logo img {
	width: 100%;
}

.main-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px clamp(24px, 3vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	color: var(--c-text);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav a[aria-current="page"] {
	color: var(--c-soft);
}

.site-header__end {
	display: flex;
	flex: none;
	align-items: center;
	gap: clamp(20px, 2.4vw, 40px);
	margin-left: auto;
}

.header-cta {
	gap: 10px;
	padding: 12px 20px;
	font-size: 15px;
}

.nav-toggle {
	position: relative;
	display: none;
	flex: none;
	width: 48px;
	height: 48px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-text);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	position: absolute;
	left: 12px;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform 0.3s var(--ease), background-color 0.2s;
}

.nav-toggle__bars {
	top: 23px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	left: 0;
}

.nav-toggle__bars::before {
	top: -7px;
}

.nav-toggle__bars::after {
	top: 7px;
}

.nav-open .nav-toggle__bars {
	background: transparent;
}

.nav-open .nav-toggle__bars::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 110px var(--pad-x) 40px;
	overflow-y: auto;
	background: var(--c-beige);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0s 0.3s;
}

.nav-open .mobile-nav {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s;
}

.mobile-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav__list a {
	display: block;
	padding: 4px 0;
	font-size: clamp(28px, 7vw, 40px);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.mobile-nav__contact {
	display: grid;
	justify-items: start;
	gap: 14px;
}

.mobile-nav__contact a:not(.btn) {
	font-weight: 600;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Startseite: Einstieg
   -------------------------------------------------------------------------- */

.hero-statement {
	padding: clamp(48px, 10vw, 190px) 0 clamp(64px, 11vw, 210px);
}

.hero-statement__text {
	max-width: 790px;
	margin: 0 0 0 clamp(0px, 9vw, 130px);
	font-size: var(--fs-hero);
	font-weight: 500;
	line-height: 1.76;
	letter-spacing: -0.005em;
}

.hero-visual {
	position: relative;
	background: var(--c-beige);
}

.hero-visual__figure {
	margin-left: clamp(20px, 13vw, 190px);
}

.hero-visual__img {
	width: 100%;
	height: clamp(320px, 52vw, 820px);
	object-fit: cover;
	object-position: 64% 32%;
}

.side-label {
	position: absolute;
	bottom: 0;
	left: clamp(20px, 4.4vw, 64px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	margin: 0;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0.01em;
}

.side-label span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.side-label::after {
	content: "";
	width: 1px;
	height: 90px;
	background: var(--c-text);
}

.intro {
	padding: clamp(64px, 9vw, 150px) 0 clamp(150px, 17vw, 272px);
	background: var(--c-beige);
}

.intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 8vw, 110px);
	align-items: start;
}

.intro__title {
	margin: 0;
	font-size: var(--fs-h1);
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.intro__text {
	margin: 0;
	font-size: var(--fs-intro);
	font-weight: 500;
	line-height: 1.77;
}

.partner-band {
	position: relative;
	margin: -102px var(--pad-x) 0 0;
	background: var(--c-greige);
}

.partner-band__inner {
	/* Linke Kante bündig mit dem Inhaltsraster (das Band endet rechts um --pad-x früher). */
	padding: clamp(56px, 9vw, 136px) var(--pad-x) clamp(56px, 9vw, 136px) max(var(--pad-x), calc((100% + var(--pad-x) - var(--max)) / 2));
}

.partner-band__text {
	max-width: 900px;
	margin: 0 0 clamp(28px, 3vw, 44px);
	font-size: var(--fs-intro);
	font-weight: 500;
	line-height: 1.77;
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(56px, 6vw, 92px) clamp(40px, 7vw, 96px);
}

.service__num {
	margin: 0 0 clamp(20px, 2.6vw, 40px);
	color: var(--c-soft);
	font-size: 14px;
	line-height: 1;
}

.service__title {
	margin: 0 0 clamp(20px, 2.6vw, 38px);
	font-size: var(--fs-h2);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.service__text {
	max-width: 560px;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */

.statement {
	position: relative;
	padding: var(--section-y) 0 clamp(96px, 11vw, 170px);
	background: var(--c-beige);
}

.statement::after {
	content: "";
	position: absolute;
	bottom: -45px;
	left: var(--content-left);
	width: 4px;
	height: 90px;
	background: var(--c-text);
}

.statement__title {
	max-width: 1240px;
	margin: 0 0 clamp(48px, 7vw, 120px);
}

.statement__body {
	max-width: 820px;
	margin-left: min(34%, 500px);
}

.statement__contact {
	margin: 2em 0 0;
	font-weight: 600;
}

.statement__contact a {
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.statement__or {
	margin: 0 0.4em;
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   Eigene Projekte
   -------------------------------------------------------------------------- */

.project {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}

.project + .project {
	margin-top: clamp(88px, 11vw, 170px);
}

.project:nth-child(even) {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.project:nth-child(even) .project__media {
	order: 2;
	padding: 0 0 9% 9%;
}

.project:nth-child(even) .phone {
	right: auto;
	left: 0;
}

.project__media {
	position: relative;
	padding: 0 9% 9% 0;
}

.browser {
	overflow: hidden;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	box-shadow: 0 40px 80px -48px rgba(51, 51, 51, 0.45);
}

.browser__bar {
	display: flex;
	gap: 7px;
	align-items: center;
	height: 30px;
	padding-left: 14px;
	border-bottom: 1px solid var(--c-line);
	background: var(--c-sand);
}

.browser__bar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c-greige);
}

.browser__screen {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top;
}

.phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25%;
	max-width: 200px;
	overflow: hidden;
	aspect-ratio: 600 / 1298;
	border: clamp(4px, 0.5vw, 7px) solid #232321;
	border-radius: clamp(14px, 2.2vw, 30px);
	background: var(--c-white);
	box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.5);
}

.phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.project__kicker {
	margin: 0 0 18px;
	color: var(--c-muted);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.project__title {
	margin: 0 0 24px;
	font-size: var(--fs-h2);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.project__text {
	margin: 0 0 28px;
}

.project__links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 32px 0 0;
}

/* --------------------------------------------------------------------------
   Kundenprojekte
   -------------------------------------------------------------------------- */

.references {
	background: var(--c-beige);
}

.ref-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(64px, 7vw, 96px) clamp(32px, 4vw, 64px);
}

.ref-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 28px;
	background: var(--c-white);
	box-shadow: 0 30px 60px -44px rgba(51, 51, 51, 0.5);
}

.ref-card__media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 1.2s var(--ease);
}

.ref-card__phone {
	position: absolute;
	right: 6%;
	bottom: -14%;
	width: 21%;
	overflow: hidden;
	aspect-ratio: 600 / 1298;
	border: 5px solid #232321;
	border-radius: 18px;
	background: var(--c-white);
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
	transition: transform 0.9s var(--ease);
}

.ref-card__phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.ref-card:hover .ref-card__media > img {
	transform: scale(1.03);
}

.ref-card:hover .ref-card__phone {
	transform: translateY(-8%);
}

.ref-card .tags {
	margin-bottom: 18px;
}

.ref-card__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 1.4vw + 16px, 40px);
	letter-spacing: -0.02em;
}

.ref-card__text {
	max-width: 600px;
	margin: 0 0 22px;
}

.references__more {
	margin: clamp(48px, 6vw, 88px) 0 0;
	text-align: right;
}

/* --------------------------------------------------------------------------
   Ablauf
   -------------------------------------------------------------------------- */

.process__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(44px, 5vw, 72px) clamp(32px, 4vw, 64px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	padding-top: 26px;
	border-top: 1px solid var(--c-line);
}

.step__num {
	color: var(--c-soft);
	font-size: 14px;
}

.step__title {
	margin: 10px 0 12px;
	font-size: var(--fs-h3);
	line-height: 1.3;
}

.step__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Über mich
   -------------------------------------------------------------------------- */

.about {
	background: var(--c-beige);
}

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: start;
}

.about__photo img {
	width: 100%;
}

.about__body .eyebrow {
	margin-bottom: clamp(28px, 3vw, 44px);
}

.about__title {
	margin: 0 0 clamp(24px, 3vw, 36px);
	font-size: var(--fs-h2);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.about__sign {
	margin-top: 1.8em;
}

.about__facts {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 20px clamp(28px, 4vw, 56px);
	margin: clamp(32px, 4vw, 48px) 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--c-line);
}

.about__facts dt {
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.about__facts dd {
	margin: 4px 0 0;
	font-weight: 600;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Ratgeber-Karten
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(48px, 5vw, 72px) clamp(28px, 3vw, 48px);
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.post-card__media {
	display: block;
	overflow: hidden;
	text-decoration: none;
	aspect-ratio: 16 / 10;
	background: var(--c-beige);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.03);
}

.post-card__fallback {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: clamp(20px, 2.4vw, 34px);
	background: var(--c-beige);
	color: var(--c-greige);
	transition: background-color 0.4s;
}

.post-card__dots {
	display: flex;
	gap: 8px;
	align-self: flex-end;
}

.post-card__dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
}

.post-card__word {
	font-size: clamp(30px, 2.8vw, 50px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

.post-card__fallback--wordpress {
	background: var(--c-sand);
	color: #a9a59d;
}

.post-card__fallback--app-entwicklung {
	background: var(--c-graphit);
	color: #9a9892;
}

.post-card__fallback--datenschutz {
	background: var(--c-greige);
	color: var(--c-white);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0.6em;
	margin: 24px 0 10px;
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-card__meta span + span::before {
	content: "·";
	margin-right: 0.6em;
}

.post-card__title {
	margin: 0 0 12px;
	font-size: clamp(21px, 0.6vw + 16px, 26px);
	line-height: 1.28;
}

.post-card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	text-decoration: none;
	transition: background-size 0.4s var(--ease);
}

.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.post-card:hover .post-card__title a {
	background-size: 100% 2px;
}

.post-card__excerpt {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.7;
}

.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 15px;
	font-weight: 600;
}

.post-card__more .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s var(--ease);
}

.post-card:hover .post-card__more .icon {
	transform: translateX(4px);
}

.post-card--feature {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	margin-bottom: clamp(56px, 7vw, 100px);
	padding-bottom: clamp(56px, 7vw, 100px);
	border-bottom: 1px solid var(--c-line);
}

.post-card--feature .post-card__meta {
	margin-top: 0;
}

.post-card--feature .post-card__title {
	font-size: clamp(28px, 1.8vw + 16px, 46px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.post-card--feature .post-card__excerpt {
	font-size: var(--fs-body);
}

.post-card--feature .post-card__word {
	font-size: clamp(40px, 5vw, 84px);
}

.ratgeber-teaser .references__more {
	text-align: right;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
	background: var(--c-beige);
}

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: start;
}

.faq__intro .eyebrow {
	margin-bottom: clamp(28px, 3vw, 44px);
}

.faq__lead {
	margin: 0 0 24px;
	font-size: var(--fs-lead);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.faq__item {
	border-top: 1px solid #dcd8d1;
}

.faq__item:last-child {
	border-bottom: 1px solid #dcd8d1;
}

.faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	font-size: clamp(18px, 0.4vw + 15px, 21px);
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__icon {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 4px;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--ease);
}

.faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
	max-width: 760px;
	padding: 0 44px 28px 0;
}

.faq__answer p {
	margin: 0;
}

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

.contact {
	background: var(--c-greige);
}

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(48px, 7vw, 110px);
	align-items: start;
}

.contact__title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	font-size: clamp(36px, 3.2vw + 12px, 60px);
}

.contact__text {
	max-width: 560px;
	margin: 0 0 clamp(32px, 4vw, 48px);
}

.contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.contact__direct {
	display: grid;
	gap: 10px;
	margin: clamp(32px, 4vw, 48px) 0 0;
	padding: 0;
	list-style: none;
}

.contact__direct a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: clamp(18px, 0.4vw + 16px, 21px);
	font-weight: 600;
	text-decoration: none;
}

.contact__direct a:hover {
	text-decoration: underline;
}

.contact__form-title {
	margin: 0 0 24px;
	font-size: clamp(19px, 0.4vw + 16px, 22px);
	font-weight: 600;
}

.field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 18px;
}

.field label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: inherit;
	font-size: 17px;
	line-height: 1.4;
	appearance: none;
}

.field select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	outline: 2px solid var(--c-text);
	outline-offset: 0;
}

.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-note {
	margin: 4px 0 24px;
	font-size: 14px;
	line-height: 1.6;
}

.form-note a {
	font-weight: 600;
}

.form-status {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-left: 4px solid;
	background: var(--c-white);
	font-weight: 600;
	line-height: 1.5;
}

.form-status--success {
	border-color: #3d6b46;
}

.form-status--error {
	border-color: #a3392b;
}

/* --------------------------------------------------------------------------
   Fußbereich
   -------------------------------------------------------------------------- */

.site-footer__main {
	padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 8vw, 110px);
	background: var(--c-graphit);
	color: var(--c-white);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px clamp(32px, 6vw, 96px);
}

.footer-title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	color: var(--c-greige);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-col p {
	max-width: 380px;
	margin: 0;
}

.footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-list a {
	color: var(--c-white);
	text-decoration: none;
}

.footer-list a:hover {
	text-decoration: underline;
}

.footer-list--contact {
	display: grid;
	gap: 6px;
	margin-top: 28px;
}

.footer-list--contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.footer-list--contact .icon {
	width: 18px;
	height: 18px;
	color: var(--c-greige);
}

.site-footer__bottom {
	padding: 52px 0 64px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px clamp(32px, 5vw, 72px);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom__claim {
	margin-top: 6px !important;
	font-size: 13px;
	font-weight: 500;
}

.footer-bottom__address {
	margin-left: auto;
	font-style: normal;
}

.legal-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-list a {
	display: inline-block;
	border-bottom: 2px solid currentColor;
	line-height: 1.3;
	text-decoration: none;
}

.legal-list li + li {
	margin-top: 4px;
}

.fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	display: none;
	flex-direction: column;
	gap: 12px;
}

.fab a {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--c-graphit);
	color: var(--c-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.fab .icon {
	width: 22px;
	height: 22px;
}

/* --------------------------------------------------------------------------
   Ratgeber: Übersicht
   -------------------------------------------------------------------------- */

.page-hero {
	padding: clamp(48px, 7vw, 120px) 0 clamp(48px, 6vw, 96px);
}

.page-hero__title {
	max-width: 1100px;
	margin: 0 0 clamp(20px, 2.4vw, 32px);
	font-size: var(--fs-h1);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.page-hero__intro {
	max-width: 880px;
	margin: 0;
	font-size: var(--fs-intro);
	font-weight: 500;
	line-height: 1.7;
}

.page-hero--compact .page-hero__title {
	font-size: clamp(36px, 2.6vw + 18px, 58px);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(32px, 4vw, 48px);
}

.chip {
	padding: 8px 18px;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.chip:hover {
	border-color: var(--c-text);
}

.chip.is-active {
	border-color: var(--c-graphit);
	background: var(--c-graphit);
	color: var(--c-white);
}

.blog-list {
	padding-bottom: var(--section-y);
}

.empty-state {
	padding: clamp(32px, 4vw, 56px);
	background: var(--c-beige);
}

.empty-state__title {
	margin: 0 0 12px;
	font-size: clamp(22px, 1vw + 16px, 28px);
	font-weight: 600;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(56px, 7vw, 96px);
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid var(--c-line);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--c-graphit);
	background: var(--c-graphit);
	color: var(--c-white);
}

.pagination a.page-numbers:hover {
	border-color: var(--c-text);
}

.cta-band {
	padding: var(--section-y) 0;
	background: var(--c-greige);
}

.cta-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.cta-band__title {
	margin: 0 0 clamp(20px, 2.4vw, 32px);
}

.cta-band__text {
	max-width: 600px;
	margin: 0 0 clamp(28px, 3vw, 40px);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	align-items: center;
}

.cta-band__photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Ratgeber: Beitrag
   -------------------------------------------------------------------------- */

.article-hero {
	padding: clamp(40px, 6vw, 96px) 0 clamp(48px, 6vw, 96px);
	background: var(--c-beige);
}

.has-post-thumbnail .article-hero {
	padding-bottom: clamp(110px, 13vw, 200px);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-bottom: clamp(24px, 3.5vw, 48px);
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
}

.breadcrumbs a {
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--c-text);
	text-decoration: underline;
}

.article-hero__title {
	max-width: 1080px;
	margin: 0 0 clamp(20px, 2.4vw, 32px);
	font-size: clamp(34px, 2.8vw + 16px, 62px);
	line-height: 1.13;
	letter-spacing: -0.02em;
}

.article-hero__lead {
	max-width: 880px;
	margin: 0 0 clamp(28px, 3vw, 40px);
	font-size: var(--fs-intro);
	font-weight: 500;
	line-height: 1.65;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 0.75em;
	color: var(--c-muted);
	font-size: 15px;
	line-height: 1.4;
}

.article-meta .avatar {
	width: 44px;
	height: 44px;
	margin-right: 4px;
	border-radius: 50%;
	object-fit: cover;
}

.article-meta__author {
	color: var(--c-text);
	font-weight: 600;
}

.article-meta > :nth-child(n + 3)::before {
	content: "·";
	margin-right: 0.75em;
}

.article-cover {
	margin-top: calc(-1 * clamp(64px, 8vw, 130px));
}

.article-cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(40px, 7vw, 110px);
	align-items: start;
	padding-block: clamp(48px, 6vw, 96px) clamp(64px, 8vw, 120px);
}

.article-main {
	max-width: 760px;
}

/* Die Seitenleiste reicht bis zum Ende des Textes, damit die Box darin mitwandern kann. */
.article-aside {
	align-self: stretch;
}

.aside-cta {
	position: sticky;
	top: 40px;
	padding: 30px;
	border-top: 4px solid var(--c-text);
	background: var(--c-beige);
}

.admin-bar .aside-cta {
	top: 72px;
}

.aside-cta__head {
	display: flex;
	gap: 14px;
	align-items: center;
}

.aside-cta__head .avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.aside-cta__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.aside-cta__text {
	margin: 18px 0 22px;
	font-size: 16px;
	line-height: 1.65;
}

.aside-cta__direct {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	font-size: 15px;
}

.aside-cta__direct a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	text-decoration: none;
}

.aside-cta__direct a:hover {
	text-decoration: underline;
}

.aside-cta__direct .icon {
	width: 18px;
	height: 18px;
}

.author-box {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin-top: clamp(48px, 6vw, 72px);
	padding-top: 40px;
	border-top: 1px solid var(--c-line);
}

.author-box .avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box__name {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
}

.author-box__text {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.7;
}

.related {
	border-top: 1px solid var(--c-line);
}

/* Inhalt (Beiträge und Seiten) */

.entry-content {
	font-size: clamp(17px, 0.2vw + 16px, 19px);
	line-height: 1.8;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin: 1.9em 0 0.6em;
	font-size: clamp(27px, 1.2vw + 18px, 38px);
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.entry-content h3 {
	margin: 1.7em 0 0.5em;
	font-size: clamp(21px, 0.5vw + 17px, 26px);
	line-height: 1.3;
}

.entry-content h4 {
	margin: 1.6em 0 0.4em;
	font-size: 20px;
}

.entry-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content li::marker {
	color: var(--c-muted);
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 28px;
	border-left: 4px solid var(--c-text);
	font-size: 1.12em;
	font-weight: 500;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.8em;
	color: var(--c-muted);
	font-size: 15px;
	font-style: normal;
}

.entry-content figure {
	margin: 2.2em 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
}

.entry-content img {
	height: auto;
}

.entry-content hr {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--c-line);
}

.entry-content code {
	padding: 2px 6px;
	background: var(--c-sand);
	font-size: 0.86em;
}

.entry-content pre {
	overflow-x: auto;
	margin: 2em 0;
	padding: 20px 24px;
	background: #2b2b29;
	color: #f5f3ef;
	font-size: 15px;
	line-height: 1.6;
}

.entry-content pre code {
	padding: 0;
	background: none;
	font-size: inherit;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.entry-content th,
.entry-content td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	font-weight: 600;
}

.entry-content .wp-block-table {
	margin: 2em 0;
	overflow-x: auto;
}

.entry-content .wp-block-button__link {
	padding: 16px 28px;
	border-radius: 0;
	background: var(--c-graphit);
	color: var(--c-white);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.entry-content .has-beige-background-color {
	padding: clamp(24px, 3vw, 40px);
}

.entry-content--page {
	max-width: 820px;
}

.entry-content--page h2 {
	font-size: clamp(23px, 0.7vw + 18px, 30px);
}

.entry-content--page h3 {
	font-size: clamp(19px, 0.3vw + 17px, 22px);
}

.page-body {
	padding-bottom: var(--section-y);
}

/* --------------------------------------------------------------------------
   Buchungs-CTAs (PHP-Markup und Block-Muster)
   -------------------------------------------------------------------------- */

.mc-cta {
	margin: clamp(40px, 5vw, 64px) 0;
	padding: clamp(28px, 4vw, 52px);
	background: var(--c-graphit);
	color: var(--c-white);
}

.mc-cta > :last-child {
	margin-bottom: 0;
}

.mc-cta .mc-cta__title,
.entry-content .mc-cta h2,
.entry-content .mc-cta h3 {
	margin: 0 0 0.5em;
	color: inherit;
	font-size: clamp(24px, 1.1vw + 16px, 34px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.mc-cta p {
	margin: 0 0 1em;
}

.mc-cta .mc-cta__text {
	max-width: 640px;
	font-size: clamp(16px, 0.2vw + 15px, 18px);
	line-height: 1.7;
}

.mc-cta--dark .mc-cta__text,
.wp-block-group.mc-cta--dark p {
	color: #e8e6e1;
}

.mc-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
	margin-top: 26px;
}

.mc-cta__direct {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px 24px;
	margin: 0 !important;
	font-size: 16px;
}

.mc-cta__direct a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.mc-cta .btn,
.mc-cta .wp-block-button__link {
	background: var(--c-white);
	color: var(--c-text);
}

.mc-cta .btn:hover,
.mc-cta .wp-block-button__link:hover {
	background: #efede8;
}

.mc-cta .wp-block-buttons {
	margin-top: 26px;
}

.mc-cta--light {
	background: var(--c-greige);
	color: var(--c-text);
}

.mc-cta--light .btn,
.mc-cta--light .wp-block-button__link {
	background: var(--c-graphit);
	color: var(--c-white);
}

.mc-cta--light .btn:hover,
.mc-cta--light .wp-block-button__link:hover {
	background: var(--c-graphit-dark);
}

.mc-cta--light .mc-cta__direct a {
	border-bottom-color: rgba(51, 51, 51, 0.4);
}

.mc-cta--compact {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	align-items: center;
	justify-content: space-between;
	padding: clamp(24px, 3vw, 36px);
	border-left: 4px solid var(--c-text);
	background: var(--c-beige);
	color: var(--c-text);
}

.mc-cta--compact .mc-cta__body {
	flex: 1 1 320px;
}

.mc-cta--compact .mc-cta__title,
.entry-content .mc-cta--compact h2,
.entry-content .mc-cta--compact h3 {
	margin: 0 0 6px;
	font-size: clamp(20px, 0.5vw + 17px, 24px);
}

.mc-cta--compact .mc-cta__text,
.wp-block-group.mc-cta--compact p {
	margin: 0;
	font-size: 16px;
}

.mc-cta--compact .mc-cta__actions,
.mc-cta--compact .wp-block-buttons {
	margin: 0;
}

.mc-cta--compact .btn,
.mc-cta--compact .wp-block-button__link {
	background: var(--c-graphit);
	color: var(--c-white);
}

.mc-cta--compact .btn:hover,
.mc-cta--compact .wp-block-button__link:hover {
	background: var(--c-graphit-dark);
}

/* --------------------------------------------------------------------------
   Sonstiges
   -------------------------------------------------------------------------- */

.link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: clamp(28px, 3vw, 40px) 0 0;
	padding: 0;
	list-style: none;
}

/* Sanftes Einblenden beim Scrollen (nur mit JS, respektiert reduzierte Bewegung). */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

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

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1080px) {
	html {
		scroll-padding-top: 90px;
	}

	.site-header {
		position: sticky;
		top: 0;
		box-shadow: 0 1px 0 var(--c-line);
	}

	.admin-bar .site-header {
		top: 32px;
	}

	.nav-open .site-header {
		z-index: 60;
		background: var(--c-beige);
		box-shadow: none;
	}

	.main-nav,
	.header-cta {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.site-header__inner {
		gap: 16px;
	}
}

@media (min-width: 1081px) {
	.mobile-nav {
		display: none;
	}
}

/* Mit Buchungs-Button im Kopfbereich: Abstände auf kleineren Desktop-Breiten verringern, damit das Menü einzeilig bleibt. */
@media (min-width: 1081px) and (max-width: 1439px) {
	.site-header__inner:has(.header-cta) {
		gap: clamp(24px, 3vw, 44px);
	}

	.site-header__inner:has(.header-cta) .main-nav__list {
		column-gap: clamp(22px, 2.2vw, 32px);
	}
}

@media (min-width: 1081px) and (max-width: 1279px) {
	.header-cta svg {
		display: none;
	}
}

@media (max-width: 1000px) {
	.article-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.article-aside {
		display: none;
	}

	.article-main {
		max-width: none;
	}
}

@media (max-width: 900px) {
	.intro__grid,
	.split-intro,
	.about__grid,
	.faq__grid,
	.contact__grid,
	.cta-band__grid,
	.post-card--feature,
	.project {
		grid-template-columns: minmax(0, 1fr);
	}

	.project:nth-child(even) {
		grid-template-columns: minmax(0, 1fr);
	}

	.project:nth-child(even) .project__media {
		order: 0;
		padding: 0 9% 9% 0;
	}

	.project:nth-child(even) .phone {
		right: 0;
		left: auto;
	}

	.keywords {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0 0.5em;
		text-align: left;
	}

	.side-label {
		display: none;
	}

	.partner-band {
		margin-top: -64px;
	}

	.partner-band__text {
		max-width: none;
	}

	.statement__body {
		margin-left: 0;
	}

	.process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about__photo {
		max-width: 520px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom__address {
		margin-left: 0;
	}

	.fab {
		display: flex;
	}

	.nav-open .fab {
		display: none;
	}

	.site-footer__bottom {
		padding-bottom: 140px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.services__grid,
	.ref-grid,
	.post-grid,
	.process__grid,
	.field-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-visual__figure {
		margin-left: var(--pad-x);
	}

	.hero-statement__text {
		margin-left: 0;
	}

	.about__facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.references__more {
		text-align: left;
	}

	.ratgeber-teaser .references__more {
		text-align: left;
	}

	.author-box {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 18px;
	}

	.author-box .avatar {
		width: 64px;
		height: 64px;
	}

	.faq__answer {
		padding-right: 0;
	}
}

@media (max-width: 600px) {
	.contact__actions .btn {
		flex: 1 1 100%;
	}

	.admin-bar .site-header {
		top: 0;
	}
}

/* ==========================================================================
   Firmenlogo (Marcze Media) links im Kopfbereich
   ========================================================================== */

.site-logo--wortmarke {
	width: clamp(124px, 10vw, 172px);
}

.site-logo--wortmarke img {
	height: auto;
}

/* ==========================================================================
   Terminbuchung
   ========================================================================== */

.page-hero--booking {
	padding-bottom: clamp(40px, 5vw, 72px);
}

.booking-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}

.booking-facts {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.booking-facts li {
	padding-top: 16px;
	border-top: 1px solid var(--c-line);
}

.booking-facts strong {
	display: block;
	font-size: clamp(19px, 0.5vw + 16px, 22px);
	line-height: 1.3;
}

.booking-facts span {
	color: var(--c-muted);
	font-size: 15px;
}

.booking-section {
	padding-bottom: var(--section-y);
}

.booking-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.booking {
	position: relative;
	padding: clamp(22px, 3.5vw, 48px);
	background: var(--c-beige);
	scroll-margin-top: 24px;
}

.booking__noscript {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-left: 4px solid var(--c-text);
	background: var(--c-white);
}

.booking__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0 0 clamp(24px, 3vw, 40px);
	padding: 0 0 clamp(18px, 2vw, 24px);
	border-bottom: 1px solid var(--c-line);
	list-style: none;
	color: var(--c-muted);
	font-size: 15px;
	font-weight: 600;
}

.booking__steps li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.booking__steps span {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 13px;
}

.booking__steps .is-current {
	color: var(--c-text);
}

.booking__steps .is-current span {
	border-color: var(--c-graphit);
	background: var(--c-graphit);
	color: var(--c-white);
}

.booking__steps .is-done {
	color: var(--c-text);
}

.booking__notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid #a3392b;
	background: var(--c-white);
	font-weight: 600;
}

.booking__pick {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.booking__month {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.booking__month-label {
	margin: 0;
	font-size: clamp(19px, 0.5vw + 16px, 22px);
	font-weight: 600;
}

.booking__nav {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	color: var(--c-text);
	cursor: pointer;
	transition: border-color 0.2s;
}

.booking__nav:hover:not(:disabled) {
	border-color: var(--c-text);
}

.booking__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.booking__weekdays,
.booking__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.booking__weekdays {
	margin-bottom: 6px;
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.booking__day {
	aspect-ratio: 1;
	min-height: 40px;
	padding: 0;
	border: 1px solid transparent;
	background: transparent;
	color: var(--c-soft);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
}

.booking__day.is-empty {
	visibility: hidden;
}

.booking__day.is-available {
	border-color: var(--c-line);
	background: var(--c-white);
	color: var(--c-text);
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.booking__day.is-available:hover {
	border-color: var(--c-text);
}

.booking__day.is-selected {
	border-color: var(--c-graphit);
	background: var(--c-graphit);
	color: var(--c-white);
}

.booking__times-title {
	margin: 0 0 16px;
	font-size: clamp(19px, 0.5vw + 16px, 22px);
	font-weight: 600;
	line-height: 1.35;
	scroll-margin-top: 90px;
}

.booking__slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 8px;
}

.booking__slot {
	padding: 12px 8px;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	color: var(--c-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.booking__slot:hover {
	border-color: var(--c-graphit);
	background: var(--c-graphit);
	color: var(--c-white);
}

.booking__tz {
	margin: 18px 0 0;
	color: var(--c-muted);
	font-size: 14px;
}

.booking.is-loading .booking__pick {
	opacity: 0.55;
	pointer-events: none;
}

.booking__summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
	padding: 18px 22px;
	border-left: 4px solid var(--c-text);
	background: var(--c-white);
}

.booking__summary p {
	margin: 0;
	line-height: 1.45;
}

.booking__summary-label {
	display: block;
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.booking__summary strong {
	font-size: clamp(17px, 0.4vw + 15px, 20px);
}

.booking__change {
	padding: 0 0 2px;
	border: 0;
	border-bottom: 2px solid currentColor;
	background: none;
	color: var(--c-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.booking__modes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.booking__modes legend {
	margin-bottom: 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
}

.booking__mode {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--c-line);
	background: var(--c-white);
	cursor: pointer;
}

.booking__mode:has(input:checked) {
	border-color: var(--c-graphit);
	box-shadow: inset 0 0 0 1px var(--c-graphit);
}

.booking__mode input {
	margin: 4px 0 0;
	accent-color: var(--c-graphit);
}

.booking__mode strong {
	display: block;
	line-height: 1.3;
}

.booking__mode small {
	color: var(--c-muted);
	font-size: 14px;
}

.booking .field input,
.booking .field select,
.booking .field textarea {
	border-color: var(--c-line);
}

.booking__error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-left: 4px solid #a3392b;
	background: var(--c-white);
	font-weight: 600;
}

.btn.is-busy {
	opacity: 0.7;
	cursor: progress;
}

.booking__done {
	padding: clamp(8px, 2vw, 24px) 0;
	outline: none;
}

.booking__done-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--c-graphit);
	color: var(--c-white);
}

.booking__done-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 1.6vw + 16px, 40px);
	letter-spacing: -0.02em;
}

.booking__done-when {
	margin: 0 0 6px;
	font-size: clamp(18px, 0.5vw + 15px, 21px);
	font-weight: 600;
}

.booking__done-mail {
	color: var(--c-muted);
}

.booking__done-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 32px;
	align-items: center;
	margin-top: 28px;
}

.booking-message {
	margin-bottom: 28px;
	padding: clamp(22px, 3vw, 36px);
	border-left: 4px solid var(--c-text);
	background: var(--c-beige);
}

.booking-message__title {
	margin: 0 0 10px;
	font-size: clamp(21px, 0.8vw + 16px, 26px);
	font-weight: 600;
}

.booking-message form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	margin-top: 20px;
}

.booking-content {
	margin-top: clamp(40px, 5vw, 64px);
}

.booking-aside {
	position: sticky;
	top: 40px;
	padding-top: 22px;
	border-top: 4px solid var(--c-text);
}

.booking-aside__person {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 24px;
}

.booking-aside__person .avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.booking-aside__person p {
	margin: 0;
	line-height: 1.35;
}

.booking-aside__person span {
	display: block;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.booking-aside__person strong {
	display: block;
	font-size: 19px;
}

.booking-aside__person em {
	color: var(--c-muted);
	font-size: 14px;
	font-style: normal;
}

.booking-aside__title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
}

.booking-aside__list {
	margin: 0 0 26px;
	padding-left: 1.1em;
	font-size: 16px;
	line-height: 1.65;
}

.booking-aside__list li + li {
	margin-top: 6px;
}

.booking-aside__direct {
	display: grid;
	gap: 8px;
	margin: 0;
	font-size: 15px;
}

.booking-aside__direct a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	text-decoration: none;
}

.booking-aside__direct a:hover {
	text-decoration: underline;
}

.booking-aside__direct .icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 1100px) {
	.booking-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking-aside {
		position: static;
	}
}

@media (max-width: 900px) {
	.booking-hero,
	.booking__pick {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.booking-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking__modes {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking__day {
		min-height: 36px;
		font-size: 15px;
	}

	.booking__steps {
		gap: 8px 14px;
	}

	.booking__steps li:not(.is-current) {
		gap: 0;
		font-size: 0;
	}

	.booking__steps li:not(.is-current) span {
		font-size: 13px;
	}
}

/* ==========================================================================
   Leistungen: Links auf der Startseite, Übersicht und Unterseiten
   ========================================================================== */

.service__title a {
	color: inherit;
	text-decoration: none;
}

.service__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.service__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: clamp(20px, 2.4vw, 28px);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.service__more .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.service__more:hover .icon,
.service-list__link:hover .icon {
	transform: translateX(4px);
}

.service-hero {
	background: var(--c-beige);
}

.service-hero__num {
	margin: 0 0 clamp(12px, 1.6vw, 20px);
	color: var(--c-soft);
	font-size: 14px;
	line-height: 1;
}

.service-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 36px;
	align-items: center;
	margin-top: clamp(32px, 4vw, 52px);
}

.entry-content--service h2 {
	font-size: clamp(24px, 0.8vw + 18px, 32px);
}

.entry-content--service li strong {
	font-weight: 600;
}

/* Häufige Fragen (Block „Details“) im Stil der FAQ auf der Startseite */
.entry-content .wp-block-details {
	margin: 0;
	padding: 0;
	border-top: 1px solid #dcd8d1;
}

.entry-content .wp-block-details:last-of-type,
.entry-content .wp-block-details:has(+ :not(.wp-block-details)) {
	border-bottom: 1px solid #dcd8d1;
}

.entry-content .wp-block-details + .wp-block-details {
	margin-top: 0;
}

.entry-content .wp-block-details summary {
	position: relative;
	padding: 22px 40px 22px 0;
	font-size: clamp(17px, 0.3vw + 15px, 19px);
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}

.entry-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.entry-content .wp-block-details summary::before,
.entry-content .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 34px;
	right: 2px;
	width: 16px;
	height: 2px;
	background: currentColor;
	transition: transform 0.3s var(--ease);
}

.entry-content .wp-block-details summary::after {
	transform: rotate(90deg);
}

.entry-content .wp-block-details[open] summary::after {
	transform: rotate(0deg);
}

.entry-content .wp-block-details > :not(summary) {
	margin: 0 0 24px;
	padding-right: 40px;
}

/* Liste „Weitere Leistungen“ / Übersicht */
.service-more {
	background: var(--c-beige);
}

.service-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(40px, 6vw, 96px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list__item {
	border-top: 1px solid #dcd8d1;
}

.service-list__item:nth-last-child(-n+2) {
	border-bottom: 1px solid #dcd8d1;
}

.service-list__link {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: baseline;
	padding: clamp(20px, 2.2vw, 30px) 0;
	color: var(--c-text);
	text-decoration: none;
}

.service-list__num {
	color: var(--c-soft);
	font-size: 14px;
}

.service-list__title {
	display: block;
	font-size: clamp(21px, 0.8vw + 16px, 28px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.service-list__text {
	display: block;
	max-width: 520px;
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.7;
}

.service-list__link .icon {
	align-self: center;
	width: 22px;
	height: 22px;
	transition: transform 0.2s var(--ease);
}

a.service-list__link:hover .service-list__title {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.service-list--text .service-list__link {
	padding-block: clamp(28px, 3vw, 44px);
}

@media (max-width: 900px) {
	.service-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-list__item:nth-last-child(2) {
		border-bottom: 0;
	}
}

@media (max-width: 600px) {
	.service-list__link {
		grid-template-columns: 32px minmax(0, 1fr) auto;
		gap: 12px;
	}
}
