/*
Theme Name: Ordersystems
Theme URI: https://ordersystems.at
Author: Ordersystems.at
Description: Mobile-first One-Pager für Ordersystems.at – Boniersysteme & Registrierkassen mieten. Dunkles Design mit grünen Akzenten, eingebundenes Buchungs-Widget, Impressum & Datenschutz.
Version: 1.2.1
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ordersystems
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #050605;
	--bg-alt: #0a0d0b;
	--surface: #111512;
	--surface-2: #171c18;
	--line: rgba(255, 255, 255, .08);
	--line-strong: rgba(255, 255, 255, .14);
	--text: #f2f5f3;
	--muted: #a2aca5;
	--green: #39a751;
	--green-hi: #4fc468;
	--green-soft: rgba(57, 167, 81, .14);
	--green-ink: #04210c;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 18px;
	--radius-sm: 12px;
	--gutter: 16px;
	--header-h: 104px;
	--section-y: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

@media (min-width: 640px) {
	:root { --gutter: 24px; --section-y: 96px; }
}
@media (min-width: 960px) {
	:root { --gutter: 32px; --section-y: 120px; }
}
@media (min-width: 1080px) {
	:root { --header-h: 76px; }
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-hi); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--green); color: var(--green-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--green-ink); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

.text-accent { color: var(--green); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-hi);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 28px -10px rgba(57, 167, 81, .7); }
.btn--primary:hover { background: var(--green-hi); color: #fff; }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--green); color: #fff; background: var(--green-soft); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Header & Navigation (mobile first)
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: background .3s, border-color .3s, backdrop-filter .3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(5, 6, 5, .82);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-color: var(--line);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__inner { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: #fff; height: 56px; }
.brand:hover { color: #fff; }
.brand__mark { width: 36px; height: 36px; }
.brand__img { width: auto; height: 36px; }
.brand__name span { color: var(--green); }

.site-header__portal { margin-left: auto; padding: 8px 12px; gap: 8px; }
.site-header__portal .icon { width: 18px; height: 18px; }
.site-header__portal-label { display: none; }
.site-header__cta { margin-left: 8px; }
.site-header__portal, .site-header__cta { flex: none; white-space: nowrap; }
@media (max-width: 459.98px) {
	.brand { font-size: 17px; gap: 8px; }
	.brand__mark { width: 32px; height: 32px; }
}
@media (max-width: 379.98px) { .site-header__cta { display: none; } }
@media (min-width: 640px) { .site-header__portal-label { display: inline; } .site-header__portal { padding: 8px 16px; } }
.site-header__cta .hide-sm { display: none; }
@media (min-width: 400px) { .site-header__cta .hide-sm { display: inline; } .site-header__cta .show-sm { display: none; } }

/* Menüleiste – mobil als wischbare zweite Zeile */
.nav { order: 3; width: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent); width: calc(100% + var(--gutter) * 2); }
.nav::-webkit-scrollbar { display: none; }
.nav__list { display: flex; gap: 6px; padding: 2px 24px 10px 0; width: max-content; }
.nav__list a {
	display: block; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
	font-size: 14px; font-weight: 600; color: var(--muted);
	background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
	transition: color .2s, background .2s, border-color .2s;
}
.nav__list a:hover { color: #fff; }
.nav__list a.is-active { color: #fff; background: var(--green-soft); border-color: rgba(57, 167, 81, .5); }

@media (max-width: 1079.98px) {
	.site-header { background: rgba(5, 6, 5, .88); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
}

@media (min-width: 1080px) {
	.site-header__inner { flex-wrap: nowrap; }
	.brand { font-size: 20px; height: auto; }
	.brand__mark { width: 42px; height: 42px; }
	.brand__img { height: 42px; }
	.nav { order: 0; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
	.nav__list { gap: 2px; padding: 0; width: auto; }
	.nav__list a { font-size: 14.5px; padding: 8px 10px; background: none; border-color: transparent; }
	.nav__list a:hover { background: rgba(255, 255, 255, .05); }
	.site-header__portal { margin-left: 12px; }
	.site-header__cta { margin-left: 8px; }
}
@media (min-width: 1280px) {
	.nav__list a { font-size: 15px; padding: 8px 13px; }
}

/* Sticky Anfrage-Button (nur mobil) */
.mobile-cta {
	position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter);
	bottom: calc(12px + env(safe-area-inset-bottom));
	display: flex; align-items: center; justify-content: center; min-height: 52px;
	border-radius: 999px; background: var(--green); color: #fff; font-weight: 700;
	box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7), 0 6px 24px -8px rgba(57, 167, 81, .6);
	transform: translateY(140%); transition: transform .35s var(--ease);
}
.mobile-cta:hover { color: #fff; }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 1080px) { .mobile-cta { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	padding: calc(var(--header-h) + 36px) 0 64px;
}
.hero__glow {
	position: absolute; inset: -20% -30% auto; height: 680px; pointer-events: none;
	background:
		radial-gradient(closest-side at 70% 40%, rgba(57, 167, 81, .28), transparent 70%),
		radial-gradient(closest-side at 15% 10%, rgba(57, 167, 81, .12), transparent 70%);
	filter: blur(10px);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
	mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
	opacity: .5;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; }
.hero__title { font-size: clamp(2rem, 8.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 18px; }
.hero__lead { font-size: 17px; color: var(--muted); max-width: 560px; }
.hero__actions { display: grid; gap: 12px; margin: 28px 0 24px; }
.hero__portal { margin: -8px 0 22px; color: var(--muted); font-size: 15px; }
.hero__portal a { display: inline-flex; align-items: center; gap: 6px; color: var(--green-hi); font-weight: 700; }
.hero__portal a .icon { width: 16px; height: 16px; transition: transform .2s; }
.hero__portal a:hover .icon { transform: translateX(3px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--green); width: 18px; height: 18px; }

@media (min-width: 520px) {
	.hero__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
	.hero { padding: calc(var(--header-h) + 72px) 0 110px; min-height: 100svh; display: flex; align-items: center; }
	.hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
	.hero__lead { font-size: 19px; }
}

/* Gerät */
.hero__device { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.hero__hint { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0 0; }

.phone {
	position: relative; margin-inline: auto; width: 100%; max-width: 330px; aspect-ratio: 9 / 18.5;
	padding: 10px; border-radius: 42px;
	background: linear-gradient(145deg, #2a302c, #0d100e 40%, #1b201c);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -30px rgba(57, 167, 81, .45);
	animation: float 7s ease-in-out infinite;
}
.phone::before {
	content: ""; position: absolute; top: 18px; left: 50%; width: 12px; height: 12px; margin-left: -6px; z-index: 3;
	border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #111;
}
.phone__screen { height: 100%; border-radius: 33px; overflow: hidden; background: #1b1b1b; }
@keyframes float { 50% { transform: translateY(-10px); } }
.phone:hover, .phone:focus-within { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }

/* Bonier-App (Nachbau der BonDroid-Oberfläche) */
.bd {
	position: relative; height: 100%; padding-top: 26px; overflow: hidden;
	background: #1b1b1b; color: #fff;
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0;
	font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0;
	-webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.bd button { font-family: inherit; letter-spacing: 0; }
.bd__screen { height: 100%; display: flex; flex-direction: column; }
.bd__screen[hidden] { display: none; }

.bd__head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 8px; flex: none; }
.bd__pill {
	display: grid; place-items: center; width: 48px; height: 32px; border-radius: 16px; border: 0; flex: none;
	background: #3da34a; box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
.bd__pill i, .bd__pill i::before, .bd__pill i::after { display: block; width: 18px; height: 2px; background: #1b1b1b; border-radius: 1px; }
.bd__pill i { position: relative; }
.bd__pill i::before, .bd__pill i::after { content: ""; position: absolute; left: 0; }
.bd__pill i::before { top: -5px; }
.bd__pill i::after { top: 5px; }
.bd__title { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bd__round {
	margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; flex: none;
	display: grid; place-items: center; background: #3da34a; color: #1b1b1b; box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
	transition: transform .15s;
}
.bd__round:active { transform: scale(.92); }
.bd__round--gray { background: #4a4a4a; color: #d0d0d0; }
.bd__round svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tische */
.bd__rows { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #2c2c2c; flex: none; }
.bd__rows button { border: 0; background: none; padding: 6px 0 8px; font-size: 13px; color: #8d8d8d; border-bottom: 2px solid transparent; }
.bd__rows button.is-active { color: #fff; font-weight: 700; border-bottom-color: #3da34a; }
.bd__tables { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; align-content: start; overflow: auto; flex: 1; }
.bd__table {
	height: 52px; border: 0; border-radius: 6px; background: #3a3a3a; color: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
	font-size: 22px; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	transition: background .15s, transform .12s;
}
.bd__table:active { transform: scale(.97); }
.bd__table.is-open { background: #3da34a; }
.bd__table small { font-size: 11px; font-weight: 700; margin-top: 2px; }
.bd__fab {
	position: absolute; left: 14px; bottom: 16px; width: 50px; height: 50px; border-radius: 50%;
	display: grid; place-items: center; background: #3da34a; color: #1b1b1b; font-weight: 800; font-size: 15px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .6);
}

/* Bestellmaske */
.bd__lines { flex: 1 1 auto; min-height: 60px; overflow-y: auto; margin: 0 4px; scrollbar-width: none; }
.bd__lines::-webkit-scrollbar { display: none; }
.bd__line {
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 6px 8px; color: #111;
	border-bottom: 1px solid rgba(0, 0, 0, .35); font-size: 15px; line-height: 1.2;
	animation: bd-in .25s ease-out;
}
.bd__line span:first-child { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd__line span:last-child { flex: none; font-weight: 500; }
@keyframes bd-in { from { opacity: 0; transform: translateX(-12px); } }

.bd__sum {
	flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px;
	margin-top: 4px; padding: 5px 8px; background: #3c3c3c; font-size: 16px; font-weight: 500; line-height: 1.2;
}
.bd__sum strong { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bd__cats { flex: none; display: grid; grid-template-columns: 1fr 1fr; background: #232323; }
.bd__cats button { border: 0; background: none; padding: 4px 0 5px; font-size: 13px; color: #8a8a8a; line-height: 1.2; }
.bd__cats button.is-active { color: #fff; font-weight: 700; }

.bd__grid { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 42px; gap: 3px; padding: 4px 3px 6px; }
.bd__item {
	position: relative; border: 0; border-radius: 5px; padding: 1px 3px; overflow: hidden;
	font-size: 13px; font-weight: 700; line-height: 1.05; text-align: center; color: #111; word-break: break-word; hyphens: auto;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .5); transition: transform .1s, filter .1s;
}
.bd__item::before { content: ""; position: absolute; left: 0; top: 0; border: 4px solid transparent; border-top-color: rgba(0, 0, 0, .45); border-left-color: rgba(0, 0, 0, .45); border-top-left-radius: 5px; }
.bd__item:active, .bd__item.is-hit { transform: scale(.93); filter: brightness(1.25); }
.bd__item[hidden] { display: none; }

.bd--yellow { background: #ffff38; }
.bd--cyan { background: #7cf6f6; }
.bd--red { background: #ff1d1d; }
.bd--orange { background: #c2491b; color: #fff; }
.bd--tan { background: #d5a145; }
.bd--brown { background: #523f3c; color: #fff; }
.bd--pink { background: #ff86d6; }
.bd--salmon { background: #ff8c82; }
.bd--green { background: #2ff08a; }
.bd--violet { background: #6a5ad8; color: #fff; }
.bd__line.bd--orange, .bd__line.bd--brown { color: #fff; }

.bd__toast {
	position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 5; padding: 12px; border-radius: 10px;
	background: #3da34a; color: #fff; font-weight: 700; font-size: 14px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .6);
	transform: translateY(140%); opacity: 0; transition: transform .3s var(--ease), opacity .3s;
}
.bd__toast.is-visible { transform: none; opacity: 1; }
.hero__hint-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #111; vertical-align: -4px; }
.hero__hint-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Kennzahlen & Partner
   ========================================================================== */
.stats { padding: 8px 0 var(--section-y); }
.stats__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden;
	border-radius: var(--radius); border: 1px solid var(--line); background: var(--line);
}
.stat { background: var(--bg-alt); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: clamp(1.9rem, 8vw, 3rem); line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.35; }
@media (min-width: 768px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat { padding: 32px 28px; }
}

.partners { margin-top: 40px; text-align: center; }
.partners__label { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.partners__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.partners__logos img { width: auto; height: 72px; opacity: .65; transition: opacity .2s; }
.partners__logos a:hover img, .partners__logos img:hover { opacity: 1; }
@media (min-width: 768px) { .partners__logos img { height: 92px; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__title { font-size: clamp(1.75rem, 6.4vw, 3rem); letter-spacing: -.03em; margin-bottom: 16px; }
.section__lead { color: var(--muted); font-size: 17px; margin: 0; }
@media (min-width: 960px) { .section__head { margin-bottom: 56px; } .section__lead { font-size: 18px; } }

/* Features */
.features { display: grid; gap: 16px; }
.feature {
	position: relative; padding: 28px 24px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--green);
	transition: transform .25s var(--ease), border-color .25s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(57, 167, 81, .45); border-top-color: var(--green-hi); }
.feature > .feature__icon { width: auto; height: auto; margin-bottom: 18px; background: none; border: 0; display: block; color: var(--green); }
.feature > .feature__icon .icon { width: 40px; height: 40px; stroke-width: 2; }
.feature h3 { color: var(--green-hi); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; }
.feature strong { color: var(--green-hi); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 24px; } .feature { padding: 36px 32px; } }

.card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
	background: var(--green-soft); color: var(--green-hi); border: 1px solid rgba(57, 167, 81, .3);
}
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

.callout {
	margin-top: 20px; padding: 26px 24px; border-radius: var(--radius);
	border: 1px solid rgba(57, 167, 81, .35);
	background: radial-gradient(120% 140% at 0% 0%, rgba(57, 167, 81, .2), transparent 60%), var(--surface);
	display: grid; gap: 18px;
}
.callout h3 { font-size: 22px; margin-bottom: 6px; }
.callout p { color: var(--muted); margin: 0; }
@media (min-width: 768px) { .callout { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; } }

/* Leistungen */
.cards { display: grid; gap: 16px; }
.card { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: rgba(57, 167, 81, .45); transform: translateY(-3px); }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* Ablauf */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 28px; }
.step:not(:last-child)::before {
	content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px;
	background: linear-gradient(var(--green), rgba(57, 167, 81, .1));
}
.step__num {
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: var(--green); color: #fff; font-weight: 800; font-size: 18px;
	box-shadow: 0 0 0 6px var(--green-soft);
}
.step__body { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__body h3 { font-size: 19px; margin-bottom: 8px; }
.step__body p { color: var(--muted); margin: 0; }
.step__options { display: grid; gap: 12px; padding: 12px; }
.option { padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.option__tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-hi); font-size: 12px; font-weight: 700; }
@media (min-width: 768px) {
	.step { grid-template-columns: 56px 1fr; gap: 28px; padding-bottom: 32px; }
	.step__num { width: 56px; height: 56px; font-size: 22px; }
	.step:not(:last-child)::before { left: 27px; top: 60px; }
	.step__body { padding: 26px 30px; }
	.step__options { grid-template-columns: 1fr 1fr; padding: 14px; gap: 14px; }
	.option { padding: 20px 22px; }
}

/* Preise */
.pricing { display: grid; gap: 16px; }
.price {
	position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
}
.price--featured {
	border-color: rgba(57, 167, 81, .6);
	background: radial-gradient(120% 80% at 50% 0%, rgba(57, 167, 81, .2), transparent 70%), var(--surface);
	box-shadow: 0 30px 60px -30px rgba(57, 167, 81, .45);
}
.price__name { font-size: 17px; color: var(--muted); font-weight: 700; letter-spacing: 0; min-height: 0; margin-bottom: 14px; }
.price--featured .price__name { color: #fff; }
.price__amount { display: flex; align-items: baseline; gap: 4px; font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.price__cur { font-size: 26px; color: var(--green-hi); }
.price__unit { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.price__extra { color: var(--muted); font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.price__extra strong { color: #fff; }
.price__list { display: grid; gap: 10px; margin-bottom: 24px; color: #dfe5e1; font-size: 15px; }
.price__list li, .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.price__list .icon, .checklist .icon { color: var(--green-hi); width: 20px; height: 20px; margin-top: 2px; }
.price .btn { margin-top: auto; }
@media (min-width: 900px) {
	.pricing { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
	.price { padding: 34px 30px; }
	.price__name { min-height: 2.6em; }
}

.pricing-more { display: grid; gap: 16px; margin-top: 16px; }
.extras, .notes { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.extras h3, .notes h3 { font-size: 19px; margin-bottom: 16px; }
.extras__list { margin: 0; }
.extras__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.extras__row:last-child { border-bottom: 0; padding-bottom: 0; }
.extras__row dt { color: #dfe5e1; }
.extras__row dd { margin: 0; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checklist { display: grid; gap: 12px; margin-bottom: 24px; color: #dfe5e1; }
@media (min-width: 900px) {
	.pricing-more { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
	.extras, .notes { padding: 32px 30px; }
}

/* Über uns */
.about { display: grid; gap: 40px; }
.about__copy > p { color: var(--muted); }
.about__copy h3 { font-size: 21px; margin: 28px 0 12px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.mini-stats li { padding: 16px 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.mini-stats strong { display: block; font-size: clamp(1.25rem, 5.4vw, 1.9rem); letter-spacing: -.03em; color: var(--green-hi); line-height: 1.1; font-variant-numeric: tabular-nums; }
.mini-stats__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.about__team {
	align-self: start; padding: 28px 24px; border-radius: var(--radius);
	background: radial-gradient(120% 90% at 100% 0%, rgba(57, 167, 81, .18), transparent 60%), var(--surface);
	border: 1px solid var(--line);
}
.about__team h3 { font-size: 24px; margin-bottom: 12px; }
.about__team p { color: var(--muted); }
.team { display: grid; gap: 12px; margin: 24px 0; }
.person { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.person__avatar {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: linear-gradient(140deg, var(--green-hi), #1f6d33); color: #fff; font-weight: 800; letter-spacing: .02em;
}
.about__focus { margin: 0; font-size: 15px; }
@media (min-width: 960px) {
	.about { grid-template-columns: 1.1fr .9fr; gap: 64px; }
	.about__team { position: sticky; top: calc(var(--header-h) + 24px); padding: 36px 32px; }
}

/* Anfrage */
.contact { display: grid; gap: 24px; }
.contact__cards { display: grid; gap: 12px; order: 2; }
.booking { order: 1; }
.contact-card {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--line); font-weight: 700; word-break: break-word;
	transition: border-color .2s;
}
.contact-card:hover { border-color: rgba(57, 167, 81, .5); color: #fff; }
.contact-card .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--green-soft); color: var(--green-hi); }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card--portal { border-color: rgba(57, 167, 81, .45); background: radial-gradient(120% 140% at 0% 0%, rgba(57, 167, 81, .16), transparent 60%), var(--surface); }
.contact__note { padding: 18px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; }
.contact__note h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.contact__note p { margin: 0; }

/* Buchungs-Widget: Höhe passend zur tatsächlichen Breite des iframes */
.booking { container-type: inline-size; min-width: 0; }
.booking__frame {
	width: 100%; height: 2040px; border: 0; border-radius: var(--radius);
	background: transparent; color-scheme: dark;
}
@container (min-width: 340px) { .booking__frame { height: 1940px; } }
@container (min-width: 400px) { .booking__frame { height: 1880px; } }
@container (min-width: 520px) { .booking__frame { height: 1830px; } }
@container (min-width: 640px) { .booking__frame { height: 1530px; } }
@container (min-width: 900px) { .booking__frame { height: 1230px; } }
.booking__frame.is-autosized { transition: height .25s; }
.booking__fallback { margin: 12px 4px 0; color: var(--muted); font-size: 14px; }
.booking__fallback a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) {
	.contact__cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
	.contact { grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
	.contact__cards { order: 0; grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz …)
   ========================================================================== */
.subpage { padding: calc(var(--header-h) + 40px) 0 var(--section-y); min-height: 70vh; }
.page__head { margin-bottom: 32px; }
.page__back { display: inline-block; margin-bottom: 16px; color: var(--muted); font-weight: 600; font-size: 14px; }
.page__title { font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -.035em; }
.subpage--404 .btn { margin-top: 12px; }

.prose { color: #d4dbd6; font-size: 16.5px; }
.prose h2 { font-size: 22px; margin: 2em 0 .6em; color: #fff; }
.prose h3 { font-size: 18px; margin: 1.6em 0 .5em; color: #fff; }
.prose a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose strong { color: #fff; }
.prose > *:first-child { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #030403; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__brand p { color: var(--muted); margin: 14px 0 0; max-width: 340px; font-size: 15px; }
.site-footer__title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.site-footer__links { display: grid; gap: 8px; font-size: 15px; }
.site-footer__links li { color: #cfd6d1; }
.site-footer__bottom {
	margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
	.site-footer { padding-bottom: 40px; }
}

/* ==========================================================================
   Animationen (nur mit JS, respektiert reduzierte Bewegung)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* WordPress-Kernklassen */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { color: var(--muted); font-size: 14px; }
