/*
Theme Name: Physio.ge
Theme URI: https://physio.ge/
Author: mytalent
Description: Schlankes Theme für physio.ge ohne Page-Builder. Inhalte werden im Block-Editor gepflegt.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: physio-ge
*/

/* ---------- Grundlagen ---------- */

/* Die Schrift wird in assets/fonts.css definiert. */

:root {
	--blue: #1299d1;
	--blue-strong: #0a72a3;
	--blue-deep: #0b3a5c;
	--red: #db4f4f;
	--ink: #0d1f2d;
	--text: #33475a;
	--muted: #5d7183;
	--line: #dce7ef;
	--bg: #ffffff;
	--bg-soft: #f4f9fc;
	--bg-tint: #e8f5fb;
	--radius: 18px;
	--shadow: 0 1px 2px rgb(13 31 45 / 6%), 0 8px 24px rgb(13 31 45 / 8%);
	--max: 1180px;
	--narrow: 820px;
	--gutter: 24px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/g%3E%3C/svg%3E");
	--i-cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 9 12 4 2 9l10 5 10-5Z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5'/%3E%3C/g%3E%3C/svg%3E");
	--i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/g%3E%3C/svg%3E");
	--i-anchor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 21V8M7 12H4a8 8 0 0 0 16 0h-3'/%3E%3Ccircle cx='12' cy='5.5' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
	--i-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-strong); text-underline-offset: .15em; }
a:hover { color: #08618b; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
strong, b { color: var(--ink); font-weight: 700; }
figure { margin: 0; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

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

/* Klassische Themes: WordPress legt um Gruppen-Inhalte ein zusätzliches div.
   "display: contents" lässt die Kinder direkt am Raster/Flex der Gruppe teilnehmen. */
.wp-block-group__inner-container { display: contents; }
/* Abstände der Block-Layouts zurücksetzen – Abstände regelt das Theme. */
.entry :where(.wp-block-group, .wp-block-group__inner-container) > * { margin-block-start: 0; }

/* ---------- Buttons ---------- */

.btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border: 0; border-radius: 999px;
	font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
	background: var(--blue-strong); color: #fff;
	box-shadow: 0 6px 18px rgb(10 114 163 / 25%);
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
	cursor: pointer;
}
.btn:hover, .wp-block-button__link:hover { background: #08618b; color: #fff; transform: translateY(-1px); }
.wp-block-button:not(.is-style-ghost):not(.is-style-light):not(.is-style-outline) .wp-block-button__link::after {
	content: ""; width: 18px; height: 18px; background: currentColor; flex: none;
	-webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
}
.is-style-ghost .wp-block-button__link,
.is-style-outline .wp-block-button__link,
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.is-style-ghost .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover,
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--blue); }
.is-style-light .wp-block-button__link { background: #fff; color: var(--blue-deep); box-shadow: none; }
.is-style-light .wp-block-button__link:hover { background: var(--bg-tint); color: var(--blue-deep); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.wp-block-buttons.is-content-justification-center, .has-text-align-center + .wp-block-buttons { justify-content: center; }
.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(255 255 255 / 90%);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: block; flex: none; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--blue-strong); }
.btn--header { padding: 11px 18px; font-size: .9375rem; }

/* ---------- Inhaltsbereich allgemein ---------- */

.entry > *:not(.alignfull):not(.pg-section):not(section) {
	max-width: var(--narrow); margin-inline: auto; padding-inline: var(--gutter);
	box-sizing: content-box;
}
.entry > :first-child:not(section):not(.pg-section) { margin-top: clamp(40px, 6vw, 80px); }
.entry > :last-child:not(section):not(.pg-section) { margin-bottom: clamp(56px, 8vw, 96px); }
.entry > h1:not(:first-child), .entry > h2, .entry > h3 { margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--blue); }
.entry .wp-block-table table { width: 100%; border-collapse: collapse; }
.entry .wp-block-table td, .entry .wp-block-table th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry .wp-block-embed { margin: 0 0 1.5em; }
.entry .wp-block-embed__wrapper iframe { width: 100%; border-radius: var(--radius); }
.entry .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; height: 100%; }
.entry .wp-block-video video { width: 100%; border-radius: var(--radius); }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* Akkordeon (Details-Block) */
.wp-block-details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0; margin: 0 0 12px; }
.wp-block-details summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--blue-strong); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 20px; }
.wp-block-details > :last-child:not(summary) { padding-bottom: 18px; }

/* ---------- Sektionen (umgewandelte Seiten) ---------- */

.pg-section { padding: clamp(56px, 8vw, 96px) 0; }
.pg-section > :not(.wp-block-group__inner-container), .pg-section > .wp-block-group__inner-container > * { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.pg-section--narrow > :not(.wp-block-group__inner-container), .pg-section--narrow > .wp-block-group__inner-container > * { max-width: var(--narrow); }
.pg-section + .pg-section:not(.pg-tint):not(.pg-dark) { padding-top: 0; }
.pg-tint { background: var(--bg-tint); }
.pg-soft { background: var(--bg-soft); }
.pg-dark { background: var(--blue-deep); color: #d5e8f4; }
.pg-dark :is(h1, h2, h3, h4, strong, b) { color: #fff; }
.pg-dark a:not(.wp-block-button__link) { color: #fff; }
.pg-section h1:first-child, .pg-section h2:first-child { margin-top: 0; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; margin-block: 24px; }
.pg-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.pg-stack > * + *, .pg-stack > .wp-block-group__inner-container > * + * { margin-top: 16px; }
.pg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--text); }
.pg-card :is(h2, h3, h4) { color: var(--ink); }
.pg-card p:last-child { margin-bottom: 0; }
.pg-card img { margin-bottom: 16px; max-height: 56px; width: auto; }
.pg-center { text-align: center; }
.pg-center .wp-block-buttons { justify-content: center; }
.pg-section > .wp-block-group__inner-container > :is(.wp-block-buttons, .wp-block-image, .pg-grid, .pg-card) { margin-block: 24px; }
.pg-section .wp-block-image img { border-radius: var(--radius); }
.pg-hero { background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); text-align: center; }
.pg-hero h1 { max-width: 18ch; margin-inline: auto; }
.pg-hero p { font-size: 1.1875rem; max-width: 40em; margin-inline: auto; }
.pg-hero .wp-block-buttons { justify-content: center; }

.pg-dark.pg-hero { background: linear-gradient(160deg, var(--blue-deep) 0%, #0e5683 100%); }
.pg-cell > .wp-block-group__inner-container > * + *, .pg-card > .wp-block-group__inner-container > * + * { margin-top: 14px; }
.pg-card :is(h1, h2) { font-size: 1.5rem; }
.pg-card.pg-dark { background: var(--blue-deep); border-color: var(--blue-deep); color: #d5e8f4; }
.pg-card.pg-dark :is(h2, h3, h4) { color: #fff; }
.pg-card :is(h3, h4), .pg-cell :is(h3, h4) { font-size: 1.125rem; margin-bottom: .4em; }
.pg-grid .pg-cell .wp-block-image img { width: 100%; }
.pg-card img[src$=".svg"], .pg-cell img[src$=".svg"] { width: 56px; height: 56px; object-fit: contain; }
.pg-center img { margin-inline: auto; }
.pg-small { font-size: 1.125rem !important; letter-spacing: 0; }
.pg-lead { font-size: 1.1875rem; color: inherit; max-width: 46em; }
.pg-center .pg-lead, .has-text-align-center.pg-lead { margin-inline: auto; }
.pg-feature { position: relative; padding-left: 34px; margin-block: 18px; }
.pg-feature::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; background: var(--blue); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.pg-feature h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.pg-feature p { margin: 0; color: var(--muted); font-size: .9375rem; }
.pg-dark .pg-feature p { color: #c4dcea; }
.pg-counter strong { display: block; font-size: 2.4rem; letter-spacing: -.02em; }
.pg-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5em; border-radius: var(--radius); overflow: hidden; background: #000; }
.pg-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-price strong { font-size: 2rem; letter-spacing: -.02em; }

/* Agenda / Preisliste */
.pg-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.pg-list > li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0; }
.pg-list > li strong:first-child { display: block; font-size: 1.0625rem; margin-bottom: 4px; }

/* ---------- Startseite ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.eyebrow { font-size: .8125rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-strong) !important; margin: 0 0 14px !important; }

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--blue-strong); }
.hero h1 .mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; background: var(--red); border-radius: 99px; opacity: .85; }
.hero .lead { font-size: 1.25rem; color: var(--text); max-width: 34em; margin: 20px 0 32px; }
.checks { list-style: none; padding: 0 !important; margin: 32px 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--ink); margin: 0; }
.checks li::before, .ticks li::before {
	content: ""; width: 20px; height: 20px; flex: none; background: var(--blue);
	-webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.hero-media { position: relative; }
.hero-media .wp-block-image img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.float-card { position: absolute; left: -32px; bottom: 32px; margin: 0 !important; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; max-width: 250px; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.float-card strong { display: block; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.float-card--top { left: auto; right: -20px; top: 28px; bottom: auto; }

.stats { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 24px; text-align: center; margin: 0 !important; color: var(--muted); font-size: .9375rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; counter-reset: step; }
.step { grid-column: span 2; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 24px; }
.step:nth-child(n+4) { grid-column: span 3; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-strong); font-weight: 800; margin-bottom: 18px; }
.step p { font-size: .9375rem; color: var(--muted); margin: 0; }
.steps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 44px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--ink); }
.pill::before { content: ""; width: 18px; height: 18px; background: var(--blue); -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }

.funding { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.funding-side { display: grid; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { margin-bottom: 18px; }
.funding-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 18px; }
.funding-list li { position: relative; padding-left: 120px; margin: 0; min-height: 34px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.funding-list li strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.funding-list mark, .funding-list .amount { position: absolute; left: 0; top: 0; width: 104px; text-align: center; background: var(--bg-tint); color: var(--blue-deep); border-radius: 8px; padding: 6px 8px; font-weight: 800; font-size: .875rem; line-height: 1.4; }
.ticks { list-style: none; padding: 0 !important; margin: 0 0 28px !important; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 0; }
.ticks li::before { width: 22px; height: 22px; margin-top: 2px; }
.callout { background: var(--blue-deep); color: #d9ecf7; border-radius: var(--radius); padding: 28px 32px; }
.callout h3 { color: #fff; }
.callout p { margin: 0; }

.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.why-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.why-item::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; background: var(--bg-tint) var(--icon, none) center / 22px no-repeat; }
.why-item--cap { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230a72a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 9 12 4 2 9l10 5 10-5Z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5'/%3E%3C/g%3E%3C/svg%3E"); }
.why-item--globe { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230a72a3' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/g%3E%3C/svg%3E"); }
.why-item--anchor { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230a72a3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 21V8M7 12H4a8 8 0 0 0 16 0h-3'/%3E%3Ccircle cx='12' cy='5.5' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); }
.why-item--target { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230a72a3' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%230a72a3'/%3E%3C/g%3E%3C/svg%3E"); }
.why-item p { font-size: .9375rem; color: var(--muted); margin: 0; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { display: flex; flex-direction: column; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -13px; left: 32px; margin: 0; background: var(--blue-strong); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; line-height: 1.3; }
.price .value { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin: 6px 0 18px; }
.price .value em { font-style: normal; font-size: .9375rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price p { font-size: .9375rem; color: var(--muted); }
.price .note { margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .8125rem; }
.prices-foot { display: flex; justify-content: center; margin-top: 40px; }

/* Team-Sektion steht als letzte vor dem Footer: das Gruppenfoto schließt bündig mit dem Footer ab. */
.team { text-align: center; padding-bottom: 0 !important; }
.team .section-head { margin-bottom: 0; }
.team .wp-block-image.team-image { margin: 48px auto 0; max-width: 1000px; }
.team-image img { width: 100%; display: block; }

.cta { background: var(--blue-deep); color: #cfe6f4; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.125rem; }

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

.site-footer { background: var(--ink); color: #b6c6d3; padding: 72px 0 32px; font-size: .9375rem; }
.site-footer a { color: #e6f1f8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.footer-list, .legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal-list { display: flex; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgb(255 255 255 / 8%); display: grid; place-items: center; }
.social a:hover { background: rgb(255 255 255 / 16%); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgb(255 255 255 / 12%); margin-top: 48px; padding-top: 24px; font-size: .875rem; }

/* ---------- Formulare (Gravity Forms) ---------- */

.gform_wrapper input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.gform_wrapper select, .gform_wrapper textarea {
	font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink);
}
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgb(18 153 209 / 20%); }
.gform_wrapper .gform_button, .gform_wrapper input[type=submit] { font: 700 1rem/1.2 var(--font) !important; background: var(--blue-strong) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 28px !important; cursor: pointer; }

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

@media (max-width: 1080px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step, .step:nth-child(n+4) { grid-column: auto; }
	.step:last-child { grid-column: 1 / -1; }
	.why { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
	.nav { display: none; }
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
	.float-card { left: 16px; }
	.float-card--top { right: 16px; }
	.funding, .prices { grid-template-columns: 1fr; }
	.cta { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.site-header .container { height: 64px; }
	.logo img { height: 40px; }
	.btn--header span { display: none; }
	.steps { grid-template-columns: 1fr; }
	.step:last-child { grid-column: auto; }
	.why-grid { grid-template-columns: 1fr; }
	.card, .price, .pg-card { padding: 24px; }
	.stat { padding: 20px 6px; font-size: .75rem; line-height: 1.35; }
	.stat strong { font-size: 1.3rem; }
	.hero h1 .mark { white-space: normal; }
	.float-card, .float-card--top { position: static; max-width: none; margin-top: 12px !important; padding: 14px 16px; font-size: .8125rem; }
	.float-card strong { font-size: 1.25rem; }
	.funding-list li { padding-left: 100px; }
	.funding-list mark, .funding-list .amount { width: 88px; font-size: .8125rem; }
	.pg-grid--2 { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .wp-block-button__link { transition: none; }
}

/* Textlogo, falls in WordPress kein Logo hinterlegt ist */
.site-logo--text { font-size: 1.375rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.footer-logo.site-logo--text { color: #fff; filter: none; display: inline-block; }

/* ---------- Mega-Menü ---------- */

.nav { align-self: stretch; display: flex; }
.nav-list { height: 100%; align-items: stretch; }
.nav-item { display: flex; align-items: center; }
.nav-list .nav-link {
	display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none;
	color: var(--ink); text-decoration: none; font: 600 .9375rem/1.2 var(--font); cursor: pointer;
}
.nav-list .nav-link:hover,
.nav-list .nav-link[aria-current="page"],
.nav-item.is-open > .nav-link,
.nav-item.is-current > .nav-link { color: var(--blue-strong); }
.nav-chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 48px rgb(13 31 45 / 12%);
	visibility: hidden; opacity: 0; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-item.is-open > .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
.site-header .mega-inner {
	display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2.6fr) minmax(240px, 1fr);
	align-items: start; gap: 40px; height: auto; padding-block: 32px 36px;
}
.mega-intro { padding-top: 12px; }
.mega-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-strong); margin: 0 0 10px; }
.mega-lead { font-size: .9375rem; line-height: 1.55; color: var(--muted); margin: 0; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.nav-list .mega-link { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--text); transition: background-color .15s ease; }
.nav-list .mega-link:hover { background: var(--bg-soft); color: var(--text); }
.mega-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-strong); }
.mega-icon svg, .mega-card-cta svg, .nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-text { display: block; min-width: 0; }
.mega-title { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mega-link:hover .mega-title, .mega-link[aria-current="page"] .mega-title { color: var(--blue-strong); }
.mega-desc { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.nav-list .mega-card {
	display: flex; flex-direction: column; gap: 8px; padding: 24px;
	border-radius: var(--radius); background: var(--blue-deep); color: #fff; text-decoration: none;
	transition: background-color .15s ease;
}
.mega-card + .mega-card { margin-top: 12px; }
.nav-list .mega-card:hover { background: #0d4670; color: #fff; }
.mega-card-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fd3f0; }
.mega-card-title { font-size: 1.125rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.mega-card-desc { font-size: .875rem; line-height: 1.5; color: rgb(255 255 255 / 80%); }
.mega-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: .875rem; font-weight: 700; color: #fff; }
.mega-card-cta svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s ease; }
.mega-card:hover .mega-card-cta svg { transform: translateX(3px); }

.nav-toggle {
	display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke-width: 2; }
.nav-toggle-close, .is-nav-open .nav-toggle-open { display: none; }
.is-nav-open .nav-toggle-close { display: block; }

@media (max-width: 1080px) {
	.site-header .mega-inner { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 32px; }
	.mega-intro { display: none; }
}
@media (max-width: 900px) {
	.site-header .container { gap: 12px; }
	.logo { margin-right: auto; }
	.nav-toggle { display: inline-flex; }
	.nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
		background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 48px rgb(13 31 45 / 12%);
	}
	.is-nav-open .nav { display: block; }
	.nav-list { display: block; height: auto; padding: 4px var(--gutter) 20px; }
	.nav-item { display: block; border-bottom: 1px solid var(--line); }
	.nav-list .nav-link { display: flex; width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.0625rem; text-align: left; }
	.mega { position: static; display: none; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; transition: none; }
	.nav-item.is-open > .mega { display: block; }
	.site-header .mega-inner { display: block; padding: 0 0 16px; }
	.mega-list { grid-template-columns: 1fr; }
	.nav-list .mega-link { padding: 10px 0; }
	.nav-list .mega-link:hover { background: none; }
	.nav-list .mega-card { margin-top: 8px; padding: 20px; }
	html.nav-locked { overflow: hidden; }
}
@media (max-width: 600px) {
	.nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
}
@media (prefers-reduced-motion: reduce) {
	.mega, .nav-item.is-open > .mega, .nav-chevron, .mega-card-cta svg { transition: none; }
}
