/*
Theme Name: Logopraxis Kreusch
Theme URI: https://www.logopraxis.info/
Author: Peter Langhammer
Description: Schlankes, einheitliches Theme für die Praxis für Logopädie Dresden – ohne Pagebuilder. Schriften lokal, Praxis-Schema und Geo-Angaben eingebaut.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: logopraxis
*/

/* ---------- Grundlagen ---------- */
:root {
	--lp-blue: #014399;
	--lp-navy: #0B2B5C;
	--lp-orange: #B9510C;
	--lp-orange-dark: #9A430A;
	--lp-text: #1B2433;
	--lp-text-2: #3C4656;
	--lp-muted: #55606E;
	--lp-line: #E4E8EE;
	--lp-tint: #EEF3FA;
	--lp-bg: #FBFAF7;
	--lp-white: #fff;
	--lp-radius: 20px;
	--lp-wrap: 1200px;
	--lp-pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--lp-bg);
	color: var(--lp-text);
	font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--lp-blue); text-underline-offset: 2px; }
a:hover { color: var(--lp-navy); }
h1, h2, h3, h4, h5, h6 { color: var(--lp-text); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(27px, 3vw, 34px); line-height: 1.2; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
h4 { font-size: 19px; line-height: 1.35; font-weight: 700; }
h5, h6 { font-size: 17px; line-height: 1.4; font-weight: 700; }
h1 a, h2 a, h3 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--lp-blue); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lp-orange); outline-offset: 2px; }

.wrap { max-width: var(--lp-wrap); margin-inline: auto; padding-inline: var(--lp-pad); }
.wrap--text { max-width: calc(760px + 2 * var(--lp-pad)); }
.wrap--media { max-width: calc(1040px + 2 * var(--lp-pad)); }
.section { padding-block: 56px 88px; }
.muted { color: var(--lp-muted); }
.eyebrow, .lp-eyebrow { margin: 0 0 14px; color: var(--lp-blue); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .wp-element-button, .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--lp-orange);
	background: var(--lp-orange); color: #fff; font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover, .wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--lp-orange-dark); border-color: var(--lp-orange-dark); color: #fff; }
.btn--small { min-height: 42px; padding: 8px 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost, .is-style-outline .wp-block-button__link { background: #fff; color: var(--lp-blue); border-color: var(--lp-blue); }
.btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--lp-tint); color: var(--lp-navy); border-color: var(--lp-navy); }
.btn--ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1em; }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--lp-navy); color: #DCE5F3; font-size: 15px; line-height: 1.5; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.site-header { background: #fff; border-bottom: 1px solid var(--lp-line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.site-logo img, .custom-logo { display: block; height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: inline-block; padding: 10px 2px; color: var(--lp-text); font-weight: 600; font-size: 16px; text-decoration: none; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--lp-blue); }
.site-nav .sub-menu { display: none; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 16px; color: var(--lp-text); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }

@media (max-width: 900px) {
	.site-logo img, .custom-logo { height: 46px; }
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 16px 30px rgba(11,43,92,.08); flex-direction: column; align-items: stretch; gap: 12px; padding: 12px var(--lp-pad) 20px; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--lp-line); font-size: 18px; }
	.topbar__inner > span:first-child { display: none; }
}

/* ---------- Brotkrümel & Seitenköpfe ---------- */
.breadcrumb { font-size: 15px; color: var(--lp-muted); margin-bottom: 24px; line-height: 1.5; }
.breadcrumb a { color: var(--lp-blue); }
.page-crumb { padding-top: 28px; }
.page-crumb .breadcrumb { margin-bottom: 0; }
.page-hero { background: var(--lp-tint); padding-block: 40px 56px; }
.page-hero__title { margin: 0; }
.page-hero__lead { margin: 14px 0 0; max-width: 680px; font-size: 20px; color: var(--lp-text-2); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Inhalte (Block-Editor) ---------- */
.entry { --wp--style--global--content-size: 760px; --wp--style--global--wide-size: var(--lp-wrap); }
.entry > *:not(.alignfull):not(.alignwide) { max-width: 760px; margin-inline: auto; }
.entry--page > *:not(.alignfull), .entry--landing > *:not(.alignfull) { max-width: var(--lp-wrap); padding-inline: var(--lp-pad); }
.entry--page { padding-top: 48px; padding-bottom: 72px; }
.entry--page { --wp--style--global--content-size: 1000px; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry h2 { margin-top: 1.7em; }
.entry h3 { margin-top: 1.4em; }
.entry > :first-child, .wp-block-group > :first-child, .wp-block-column > :first-child { margin-top: 0; }
.entry img { border-radius: 16px; }
.entry figure { margin: 0 0 1.5em; }
.wp-element-caption, figcaption { font-size: 15px; color: var(--lp-muted); margin-top: 8px; }
.wp-block-quote { margin: 1.5em 0; padding: 20px 24px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); font-style: italic; color: var(--lp-text-2); }
.wp-block-quote p { margin-bottom: .5em; }
.wp-block-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 15px; color: var(--lp-text); }
.wp-block-separator { border: 0; border-top: 1px solid var(--lp-line); margin: 2.5em auto; }
.wp-block-table table, .entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border-bottom: 1px solid var(--lp-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.wp-block-details, .entry details { border-bottom: 1px solid var(--lp-line); padding: 18px 0; }
.wp-block-details summary, .entry summary { cursor: pointer; font-weight: 700; font-size: 19px; color: var(--lp-text); }
.wp-block-details[open] summary { margin-bottom: 10px; }
.wp-block-details > :not(summary) { color: var(--lp-text-2); }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 1.5em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }

/* Umgewandelte Thrive-Abschnitte (Leistungen, Team, Kontakt …) */
.lp-section { padding-block: 40px; }
.lp-section + .lp-section { border-top: 1px solid var(--lp-line); }
.lp-box { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 28px; margin-bottom: 24px; }
.entry--page .lp-section .wp-block-column .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry--page .is-layout-constrained > .wp-block-columns, .entry--page > .wp-block-columns { max-width: 1040px; }
.entry--page .wp-block-image:not(.alignfull) img { max-height: 420px; width: auto; }
.entry--page .wp-block-column .wp-block-image img { max-height: none; }
.lp-form { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 28px; }

/* Kontaktformular (Contact Form 7) */
.wpcf7 label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #C9D2DE; border-radius: 12px; font: inherit; font-size: 17px; background: #fff; color: var(--lp-text);
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(1,67,153,.25); border-color: var(--lp-blue); }
.wpcf7-response-output { border-radius: 12px; }

/* ---------- Startseite ---------- */
.entry--landing > .alignfull { max-width: none; width: 100%; padding-inline: var(--lp-pad); }
.entry--landing > .alignfull > * { max-width: var(--lp-wrap); margin-inline: auto; }
.lp-band { padding-block: 88px; }
.lp-band--white { background: #fff; border-block: 1px solid var(--lp-line); }
.lp-band--tint { background: var(--lp-tint); }
.lp-band > h2, .lp-services > .lp-center { text-align: center; }
.lp-band > h2 { margin-bottom: 40px; }
.lp-center { text-align: center; }
.lp-muted { color: var(--lp-muted); }
.lp-small { font-size: 15px; color: var(--lp-muted); margin: 14px 0 8px; }
.lp-rounded img { border-radius: 24px; width: 100%; object-fit: cover; }

.lp-hero { background: linear-gradient(#fff, var(--lp-bg)); padding-block: 72px; }
.lp-hero .wp-block-columns { align-items: center; gap: 48px; margin: 0; }
.lp-hero h1 { margin-bottom: 20px; }
.lp-lead { font-size: 20px; color: var(--lp-text-2); max-width: 560px; margin-bottom: 30px; }
.lp-hero-img img { width: 100%; height: 480px; object-fit: cover; object-position: center 25%; border-radius: 28px; }
.lp-checks { list-style: none; padding: 0 !important; margin: 26px 0 0 !important; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 16px; color: var(--lp-text-2); }
.lp-checks li::before { content: "✓ "; color: var(--lp-blue); font-weight: 800; }

.lp-locations { padding-block: 16px 72px; }
.lp-locations .wp-block-columns { margin: 0; }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 28px; height: 100%; }
.lp-card h2 { font-size: 26px; margin: 0 0 4px; }
.lp-card h3 { margin: 0 0 8px; }
.lp-phone { margin: 14px 0 0; font-size: 24px; font-weight: 700; }
.lp-phone a { text-decoration: none; }
.lp-tags { list-style: none; padding: 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags li { margin: 0; }
.lp-tags li, .lp-tags a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lp-tint); color: var(--lp-blue); font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.5; }
.lp-tags li:has(a) { padding: 0; background: none; }
.lp-tags a:hover { background: #DDE7F5; }

.lp-intro .wp-block-columns { align-items: center; gap: 56px; margin: 0; }
.lp-intro .lp-rounded img { height: 420px; object-position: 30% center; }

.lp-services .wp-block-columns { gap: 20px; }
.lp-services .wp-block-columns:first-of-type .lp-card { display: flex; flex-direction: column; }
.lp-services .wp-block-columns:first-of-type .lp-card::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--lp-blue); margin-bottom: 18px; }
.lp-services .lp-card .lp-muted { font-size: 16px; line-height: 1.55; flex: 1; }
.lp-more { margin: 0; font-weight: 700; font-size: 16px; }
.lp-more a { text-decoration: none; }

.lp-steps { list-style: none; counter-reset: lp-step; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 20px; }
.lp-steps li { counter-increment: lp-step; flex: 1 1 240px; background: #fff; border-radius: var(--lp-radius); padding: 24px; font-size: 16px; line-height: 1.55; color: var(--lp-text-2); margin: 0; }
.lp-steps li::before { content: counter(lp-step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--lp-blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.lp-steps li strong { display: block; font-size: 20px; color: var(--lp-text); margin-bottom: 4px; }
.lp-note { background: #fff; border-radius: var(--lp-radius); padding: 22px 26px; font-size: 17px; margin: 24px 0 0; }
.lp-note strong { color: var(--lp-blue); }

.lp-team .wp-block-columns { gap: 56px; margin: 0; }
.lp-team h2 { margin-bottom: 20px; }
.lp-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-gallery figure { margin: 0; }
.lp-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; }
.lp-gallery figure:nth-child(2) { margin-top: 40px; }
.lp-gallery figure:nth-child(3) { grid-column: span 2; }
.lp-gallery figure:nth-child(3) img { height: 220px; }

.lp-trio .wp-block-columns { margin: 0; }
.lp-trio .lp-card { background: var(--lp-bg); }
.lp-trio h2 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.lp-list { font-size: 17px; }
.lp-downloads { list-style: none; padding: 0 !important; font-size: 17px; line-height: 1.9; }
.lp-downloads a::after { content: " (PDF)"; color: var(--lp-muted); }

.lp-voices .wp-block-quote, .lp-quote { margin: 0; height: 100%; font-size: 17px; }
.lp-voices .wp-block-quote::before { content: "“"; display: block; color: var(--lp-blue); font-size: 48px; line-height: .8; font-style: normal; font-weight: 800; }
.lp-faq > *:not(h2) { max-width: 880px; margin-inline: auto; }

/* ---------- Leistungsseiten ---------- */
.service-hero { background: var(--lp-tint); padding-block: 40px 64px; }
.service-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.service-hero__text { flex: 1 1 520px; min-width: 0; }
.service-hero__title { margin: 0 0 24px; }
.service-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 15px; color: var(--lp-muted); }
.service-hero__image { flex: 1 1 360px; min-width: 0; margin: 0; }
.service-hero__image img { width: 100%; height: 380px; object-fit: cover; border-radius: 28px; display: block; }
.service-layout { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 48px 88px; }
.service-layout__main { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.service-layout__main > * { max-width: none !important; }
.service-layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px; font-size: 16px; }
.side-card__title { font-weight: 800; font-size: 19px; margin: 0 0 4px; }
.side-card__place { margin: 14px 0 0; font-size: 15px; color: var(--lp-muted); }
.side-card__phone { display: block; font-size: 22px; font-weight: 700; text-decoration: none; }
.side-card .btn { margin-top: 18px; }
.side-card__links { list-style: none; padding: 0; margin: 8px 0 0; line-height: 2.1; }
.side-card--tint { background: var(--lp-tint); border-color: transparent; display: flex; gap: 14px; align-items: center; }
.side-card--tint img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; flex: none; }
.side-card--tint p { margin: 0; line-height: 1.5; }
.updated { margin-top: 32px; font-size: 15px; color: var(--lp-muted); }
@media (min-width: 1000px) { .service-layout__side { position: sticky; top: 24px; align-self: flex-start; } }

/* ---------- Ratgeber-Artikel ---------- */
.article__head { padding-top: 40px; }
.article__title { margin-bottom: 18px; font-size: clamp(32px, 4vw, 46px); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 15px; color: var(--lp-muted); line-height: 1.5; }
.article__author { display: inline-flex; align-items: center; gap: 10px; }
.article__author img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.article__image { margin: 32px auto 0; }
.article__image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 28px; display: block; }
.entry--article { font-size: 19px; line-height: 1.75; padding-top: 32px; }
.entry--article > * { max-width: none !important; }
.entry--article h2 { margin-top: 1.8em; }
.toc { margin-top: 36px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 22px 28px; font-size: 17px; line-height: 1.6; }
.toc__title { font-weight: 800; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 22px; }
.author-box { display: flex; gap: 20px; align-items: center; margin: 48px 0 88px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 24px; font-size: 16px; line-height: 1.6; }
.author-box img { width: 80px; height: 80px; border-radius: 999px; object-fit: cover; flex: none; }
.author-box p { margin: 0; color: var(--lp-text-2); }
.author-box__name { font-weight: 800; font-size: 18px; color: var(--lp-text) !important; margin-bottom: 4px !important; }

/* ---------- Karten / Übersicht ---------- */
.related { background: #fff; border-top: 1px solid var(--lp-line); padding-block: 72px 80px; }
.related__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.related__head h2 { margin: 0; font-size: 30px; }
.related__head a { font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); overflow: hidden; text-decoration: none; color: var(--lp-text); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 12px 30px rgba(11,43,92,.10); transform: translateY(-2px); color: var(--lp-text); }
.card__img { width: 100%; height: 210px; object-fit: cover; display: block; }
.card__img--empty { background: var(--lp-tint); }
.card__body { display: flex; flex-direction: column; padding: 20px 22px 24px; line-height: 1.55; }
.card__date { font-size: 14px; color: var(--lp-blue); font-weight: 700; margin-bottom: 6px; }
.card__title { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.card__excerpt { font-size: 16px; color: var(--lp-muted); }
.related .card { background: var(--lp-bg); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--lp-line); text-decoration: none; }
.page-numbers.current { background: var(--lp-blue); color: #fff; border-color: var(--lp-blue); }

/* ---------- Termin-Band & Footer ---------- */
.cta-band { background: var(--lp-blue); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; padding-block: 64px; }
.cta-band__title { margin: 0 0 6px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.15; }
.cta-band__text { margin: 0; color: #DCE5F3; font-size: 19px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--lp-navy); color: #B8C7E0; font-size: 16px; line-height: 1.6; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px; padding-block: 64px 32px; }
.site-footer__grid p { margin: 0; }
.site-footer__head { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 10px !important; }
.site-footer__head a { text-decoration: none; }
.site-footer__links { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.site-footer__links a { color: #B8C7E0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid #22437A; font-size: 15px; }
.site-footer__bottom a { color: #B8C7E0; }

/* ---------- Anfragen: Sticky-Header (Desktop), Sticky-Leiste (Handy), Termin-Boxen ---------- */
@media (min-width: 901px) {
	.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
}
.mobile-cta { display: none; }
@media (max-width: 900px) {
	.mobile-cta {
		display: flex; gap: 10px; align-items: stretch;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255,255,255,.97); border-top: 1px solid var(--lp-line);
		box-shadow: 0 -8px 24px rgba(11,43,92,.10);
		transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
	}
	.mobile-cta.is-visible { transform: none; visibility: visible; }
	.mobile-cta__main { flex: 1 1 auto; min-height: 48px; font-size: 16px; padding: 10px 16px; }
	.mobile-cta__call { position: relative; flex: 0 0 auto; }
	.mobile-cta__call summary {
		list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; min-height: 48px;
		padding: 0 18px; border: 2px solid var(--lp-blue); border-radius: 999px; color: var(--lp-blue);
		font-weight: 700; font-size: 16px; cursor: pointer; background: #fff;
	}
	.mobile-cta__call summary::-webkit-details-marker { display: none; }
	.mobile-cta__menu {
		position: absolute; left: 0; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 28px));
		background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: 0 12px 30px rgba(11,43,92,.18); overflow: hidden;
	}
	.mobile-cta__menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--lp-text); font-size: 16px; }
	.mobile-cta__menu a + a { border-top: 1px solid var(--lp-line); }
	.mobile-cta__menu strong { color: var(--lp-blue); white-space: nowrap; }
	.site-footer__bottom { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

.inline-cta { margin: 40px 0 0; background: var(--lp-tint); border-radius: var(--lp-radius); padding: 24px 28px; font-size: 17px; }
.inline-cta p { margin: 0 0 10px; }
.inline-cta__title { font-weight: 800; font-size: 21px; color: var(--lp-text); }
.inline-cta__actions { margin: 16px 0 0 !important; }

/* Kontaktseite */
.lp-contact { padding-block: 8px 24px; }
.lp-contact .wp-block-columns { gap: 32px; align-items: flex-start; }
.lp-contact .lp-form h2, .lp-contact .lp-card h2 { font-size: 24px; margin: 0 0 6px; }
.lp-contact .lp-card + .lp-card { margin-top: 20px; }
.lp-contact .lp-card p { margin: 0 0 4px; }
.lp-hint { font-size: 15px; color: var(--lp-muted); margin-bottom: 18px !important; }
.lp-route { margin-top: 12px !important; font-weight: 700; font-size: 16px; }
.lp-route a { text-decoration: none; }
.entry--page .lp-contact > .wp-block-columns { max-width: 1040px; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 640px) {
	:root { --lp-pad: 18px; }
	body { font-size: 17px; }
	.lp-band { padding-block: 56px; }
	.lp-hero { padding-block: 40px; }
	.lp-hero-img img { height: 320px; }
	.lp-intro .lp-rounded img { height: 300px; }
	.lp-gallery img { height: 200px; }
	.entry--article { font-size: 18px; }
	.service-hero__image img { height: 260px; }
}

/* Barrierefreiheit: weniger Bewegung */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
