/*
Theme Name: Tierchiropraktik Patschke
Theme URI: https://www.mobile-tierchiropraktik.de/
Author: Relaunch-Entwurf
Description: Block-Theme für die tierärztliche Praxis für Veterinärchiropraktik Dr. med. vet. Alexandra Patschke. Legt beim Aktivieren alle Seiten, das Menü und die Startseite automatisch an. Schriften lokal eingebunden (DSGVO), 301-Weiterleitungen der alten .html-Adressen und einfaches Kontaktformular inklusive.
Version: 1.7.1
Requires at least: 6.6
Tested up to: 6.8
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: tierchiropraktik
Tags: full-site-editing, block-patterns, custom-colors, one-column, wide-blocks
*/

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
body .wp-site-blocks > main { margin-block-start: 0; }
body .wp-site-blocks > footer { margin-block-start: 0; }
body .wp-block-post-content > * + .tc-section,
body .tc-section { margin-block: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #2F5D50; outline-offset: 3px; }

/* ---------- Topbar & Header ---------- */
.tc-topbar { background: #1C2B27; color: #E9EFEA; font-size: 0.875rem; padding-block: 10px; }
.tc-topbar p { margin: 0; }
.tc-topbar a { color: #E9EFEA; text-decoration: none; }
.tc-topbar a:hover { color: #FFFFFF; text-decoration: underline; }
.tc-header { background: #FFFFFF; border-bottom: 1px solid #E3DED3; padding-block: 16px; position: relative; z-index: 20; }
.tc-header .wp-block-site-title { font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 600; margin: 0; line-height: 1.2; }
.tc-header .wp-block-site-title a { color: #1C2B27; text-decoration: none; }
.tc-brand-sub { margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5B6B66; line-height: 1.3; }
.tc-header .wp-block-navigation { font-size: 0.95rem; font-weight: 600; }
.tc-header .wp-block-navigation a { color: #1C2B27; text-decoration: none; }
.tc-header .wp-block-navigation a:hover,
.tc-header .wp-block-navigation .current-menu-item > a { color: #2F5D50; text-decoration: underline; text-underline-offset: 6px; }
.tc-header .wp-block-button__link { padding: 12px 22px; font-size: 0.95rem; }

/* ---------- Abschnitte ---------- */
.tc-section { padding-block: clamp(56px, 8vw, 88px); }
.tc-section--eng { padding-block: clamp(40px, 6vw, 56px); }
.tc-band-weiss { background: #FFFFFF; border-block: 1px solid #E3DED3; }
.tc-band-dunkel { background: #1C2B27; color: #E9EFEA; }
.tc-band-dunkel h2, .tc-band-dunkel h3 { color: #FFFFFF; }
.tc-band-dunkel a:not(.wp-block-button__link) { color: #A9C7BA; }
.tc-band-dunkel .tc-eyebrow { color: #A9C7BA; }

.tc-eyebrow { margin: 0 0 14px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #2F5D50; }
.tc-lead { font-size: 1.1875rem; color: #3E4D48; max-width: 620px; }
.tc-muted { color: #3E4D48; }
.tc-klein { font-size: 0.875rem; color: #5B6B66; }
.tc-breadcrumb { font-size: 0.875rem; color: #5B6B66; margin-bottom: 24px; }
.tc-breadcrumb a { color: #5B6B66; }
.tc-band-dunkel .tc-muted { color: #E9EFEA; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #1C2B27; border: 1.5px solid #1C2B27; padding: 13px 27px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #1C2B27; color: #FFFFFF; }
.tc-band-dunkel .wp-block-button.is-style-outline > .wp-block-button__link { color: #FFFFFF; border-color: #A9C7BA; }
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Foto-Platzhalter ---------- */
.tc-foto { background: #DCE3DD; border-radius: 24px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #3E4D48; font-size: 0.875rem; overflow: hidden; }
.tc-foto--beige { background: #E8DFD0; color: #5A4E3C; }
.tc-foto--klein { min-height: 240px; border-radius: 20px; }
.tc-foto p { margin: 0; }
.tc-foto .wp-block-image, .tc-foto figure { margin: -20px; height: calc(100% + 40px); }
.tc-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Raster ---------- */
.tc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tc-grid--breit { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.tc-grid--schmal { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tc-grid > * { margin: 0 !important; }

/* ---------- Karten ---------- */
.tc-card { background: #FFFFFF; border: 1px solid #E3DED3; border-radius: 18px; padding: 26px; }
.tc-card--sand { background: #F5F3EE; border-color: transparent; }
.tc-card--akzent { background: #2F5D50; border-color: transparent; color: #FFFFFF; }
.tc-card--akzent h3, .tc-card--akzent h4, .tc-card--akzent p { color: #FFFFFF; }
.tc-card--dunkel { background: #2A3B36; border-color: transparent; color: #E9EFEA; }
.tc-card--dunkel h3, .tc-card--dunkel h4 { color: #FFFFFF; }
.tc-card h3, .tc-card h4 { margin: 0 0 8px; }
.tc-card h3 { font-size: 1.375rem; }
.tc-card p { margin: 0; }
.tc-card p + p { margin-top: 8px; }
.tc-card > * + * { margin-block-start: 8px; }
.tc-card--gross { border-radius: 24px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tc-card--gross > .tc-foto { border-radius: 0; min-height: 240px; margin: 0; }
.tc-card--gross > .tc-card__body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.tc-card--gross > .tc-card__body > * { margin: 0; }
.tc-zahl { font-family: Fraunces, Georgia, serif; font-size: 2.75rem; line-height: 1; margin: 0 0 12px !important; }

/* ---------- Hinweis / Vertrauensleiste ---------- */
.tc-hinweis { background: #EEF3EF; border-radius: 14px; padding: 18px 22px; font-weight: 600; }
.tc-trust { background: #FFFFFF; border: 1px solid #E3DED3; border-radius: 20px; padding: 28px; }
.tc-trust p { margin: 0; }
.tc-trust strong { display: block; }
.tc-trust span { font-size: 0.95rem; color: #5B6B66; }

/* ---------- Chips (Symptome) ---------- */
ul.tc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; }
ul.tc-chips li { background: #EEF3EF; padding: 6px 12px; border-radius: 999px; margin: 0; }
ul.tc-chips.tc-chips--beige li { background: #F3EDE3; }
ul.tc-kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
ul.tc-kacheln li { background: #F5F3EE; border-radius: 14px; padding: 18px 20px; font-weight: 600; margin: 0; }
ul.tc-kacheln li:last-child { background: #2F5D50; color: #FFFFFF; }

/* ---------- Schritte ---------- */
ol.tc-schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
ol.tc-schritte > li { counter-increment: schritt; background: #F5F3EE; border-radius: 18px; padding: 26px; margin: 0; font-size: 0.95rem; color: #3E4D48; }
ol.tc-schritte > li::before { content: counter(schritt, decimal-leading-zero); display: block; font-family: Fraunces, Georgia, serif; font-size: 2.25rem; line-height: 1; color: #2F5D50; margin-bottom: 12px; }
ol.tc-schritte > li strong { display: block; color: #1C2B27; font-size: 1.125rem; margin-bottom: 6px; }
ol.tc-schritte--liste { grid-template-columns: 1fr; gap: 16px; }
ol.tc-schritte--liste > li { background: #FFFFFF; border: 1px solid #E3DED3; padding: 28px 32px 28px 112px; position: relative; font-size: 1.0625rem; }
ol.tc-schritte--liste > li::before { position: absolute; left: 32px; top: 26px; font-size: 2.5rem; }
ol.tc-schritte--liste > li strong { font-size: 1.25rem; }
@media (max-width: 600px) {
	ol.tc-schritte--liste > li { padding: 76px 22px 22px; }
	ol.tc-schritte--liste > li::before { left: 22px; top: 22px; }
}

/* ---------- Werdegang ---------- */
ol.tc-zeitstrahl { list-style: none; margin: 0; padding: 0; }
ol.tc-zeitstrahl li { display: flex; gap: 24px; padding: 16px 0; border-top: 1px solid #E3DED3; margin: 0; }
ol.tc-zeitstrahl li:last-child { border-bottom: 1px solid #E3DED3; }
ol.tc-zeitstrahl li strong { flex: 0 0 100px; color: #2F5D50; }
@media (max-width: 600px) { ol.tc-zeitstrahl li { flex-direction: column; gap: 2px; } ol.tc-zeitstrahl li strong { flex: none; } }

/* ---------- Preise ---------- */
.tc-preis { font-family: Fraunces, Georgia, serif; font-size: 2.1rem; line-height: 1.2; margin: 4px 0 !important; color: #1C2B27; }

/* ---------- FAQ ---------- */
.tc-faq .wp-block-details { background: #FFFFFF; border: 1px solid #E3DED3; border-radius: 16px; padding: 20px 24px; margin: 0 0 12px; }
.tc-faq .wp-block-details summary { font-weight: 700; font-size: 1.125rem; cursor: pointer; }
.tc-faq .wp-block-details p { margin: 12px 0 0; color: #3E4D48; }

/* ---------- Kontakt & Formular ---------- */
.tc-kontakt-label { margin: 0 !important; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #A9C7BA; }
.tc-kontakt-wert { margin: 2px 0 20px !important; color: #FFFFFF; }
.tc-kontakt-wert a { color: #FFFFFF !important; }
.tc-kontakt-wert--gross { font-size: 1.5rem; font-weight: 700; }
.tc-form { background: #FFFFFF; color: #1C2B27; border-radius: 24px; padding: clamp(22px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.tc-form h3 { margin: 0; color: #1C2B27 !important; }
.tc-form__reihe { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.tc-form input[type="text"], .tc-form input[type="email"], .tc-form input[type="tel"], .tc-form select, .tc-form textarea {
	font: inherit; font-size: 1rem; font-weight: 400; padding: 12px 14px; border: 1px solid #C9C3B6; border-radius: 10px; min-height: 46px; background: #FFFFFF; color: #1C2B27; width: 100%;
}
.tc-form textarea { min-height: 120px; resize: vertical; }
.tc-form .tc-form__check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: #3E4D48; }
.tc-form .tc-form__check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.tc-form .tc-form__check a { color: #2F5D50 !important; }
.tc-form button { align-self: flex-start; background: #2F5D50; color: #FFFFFF; border: 0; border-radius: 999px; padding: 15px 28px; font: inherit; font-weight: 700; min-height: 50px; cursor: pointer; }
.tc-form button:hover { background: #1E3F36; }
.tc-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tc-form__meldung { border-radius: 12px; padding: 14px 18px; font-weight: 600; margin: 0; }
.tc-form__meldung--ok { background: #EEF3EF; color: #1E3F36; }
.tc-form__meldung--fehler { background: #FBEDE8; color: #8A2A12; }
.tc-karte { background: #2A3B36; border-radius: 18px; padding: 24px; text-align: center; font-size: 0.875rem; }

/* ---------- Footer ---------- */
.tc-footer { background: #141F1C; color: #B9C6C1; font-size: 0.875rem; padding-block: 36px; }
.tc-footer p { margin: 0; }
.tc-footer a { color: #E9EFEA; }

/* ---------- Mobile Anruf-Leiste ---------- */
.tc-mobil-cta { display: none; }
@media (max-width: 781px) {
	.tc-mobil-cta { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; }
	.tc-mobil-cta a { flex: 1; min-height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
	.tc-mobil-cta a:first-child { background: #2F5D50; color: #FFFFFF; }
	.tc-mobil-cta a:last-child { background: #FFFFFF; color: #1C2B27; }
	.tc-footer { padding-bottom: 96px; }
	.tc-header .tc-header-cta { display: none; }
	.tc-topbar .tc-topbar-text { display: none; }
}

/* ---------- Ergänzungen ---------- */
.tc-hero-spalten { align-items: center; gap: 48px; }
.tc-hero h1 { margin-block: 0 22px; }
.tc-trust.tc-grid { margin-top: 56px !important; }
.tc-foto--portraet { min-height: 520px; aspect-ratio: 4 / 5; }
.tc-wieoft { margin-top: 28px !important; display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 12px 48px; align-items: center; padding: 32px; border-radius: 24px; }
.tc-wieoft h3 { margin: 0; font-size: 1.6rem; }
@media (max-width: 781px) { .tc-wieoft { grid-template-columns: 1fr; } }
.tc-section > .alignwide + .alignwide { margin-top: 24px; }
.tc-cta { padding: 40px; border-radius: 24px; gap: 24px 48px; }
.tc-cta__text { flex: 1 1 420px; }
.tc-cta__text h3 { margin: 0 0 6px; font-size: 1.85rem; }
.tc-band-dunkel ol.wp-block-list { padding-left: 22px; }
.tc-band-dunkel ol.wp-block-list li { margin-bottom: 10px; }
.tc-band-dunkel .wp-block-column > .tc-card + .tc-card { margin-top: 18px; }
.tc-rechtstext__karte { padding: clamp(24px, 4vw, 36px); border-radius: 20px; }
.tc-rechtstext__karte h4 { margin: 24px 0 6px !important; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: #2F5D50; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.tc-rechtstext__karte h4:first-child { margin-top: 0 !important; }
.tc-band-dunkel .tc-form h3 { color: #1C2B27; }
.tc-band-dunkel .tc-form a { color: #2F5D50; }

/* ---------- Feinschliff ---------- */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.tc-section ol.tc-schritte, .tc-section ul.tc-kacheln, .tc-section .tc-grid { margin-top: 32px; }
.tc-section .wp-block-buttons { margin-top: 28px; }
.tc-section ol.tc-zeitstrahl { margin-top: 28px; }
.tc-kontakt-label { margin-top: 18px !important; }
.tc-muted + .tc-kontakt-label { margin-top: 28px !important; }
.tc-karte { margin-top: 28px !important; color: #E9EFEA; }
.tc-karte .tc-klein { color: #B9C6C1; }
.tc-foto--portraet { min-height: 0; width: 100%; }
@media (max-width: 781px) {
	.tc-foto { min-height: 280px; }
	.tc-hero-spalten { gap: 32px; }
	.tc-cta { padding: 26px; }
}
@media (max-width: 781px) {
	.tc-header > .alignwide { flex-wrap: nowrap !important; }
	.tc-header .wp-block-site-title { font-size: 1.1rem; }
	.tc-brand-sub { font-size: 0.68rem; }
}

/* ---------- Fotos (Mosaik aus Hochformat-Fotos) ---------- */
.tc-mosaik { display: grid; gap: 10px; border-radius: 24px; overflow: hidden; height: 440px; }
.tc-mosaik--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tc-mosaik--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-mosaik > *, .tc-mosaik__stapel > * { margin: 0 !important; min-height: 0; }
.tc-mosaik .wp-block-image { height: 100%; }
.tc-mosaik .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-mosaik__stapel { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; height: 100%; min-height: 0; }
.tc-mosaik--hero { height: 460px; }
.tc-card--gross > .tc-mosaik { border-radius: 0; height: 280px; margin: 0; gap: 6px; }
.tc-portraet { max-width: 340px; margin: 0 !important; }
.tc-portraet .wp-block-image { margin: 0; }
.tc-portraet img { width: 100%; height: auto; display: block; border-radius: 24px; }
@media (max-width: 781px) {
	.tc-mosaik, .tc-mosaik--hero { height: 340px; gap: 6px; border-radius: 18px; }
	.tc-mosaik__stapel { gap: 6px; }
	.tc-card--gross > .tc-mosaik { height: 230px; }
	.tc-portraet { max-width: 300px; }
}

/* =====================================================================
   Version 1.2 – moderne Extras
   ===================================================================== */

/* ---------- Logo ---------- */
.tc-logo-link { display: block; line-height: 0; color: #2F5D50; }
.tc-logo { display: block; }
@media (max-width: 781px) { .tc-logo { width: 66px; height: 42px; } }

/* ---------- Weiche Seitenübergänge (moderne Browser) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- Einblenden beim Scrollen ---------- */
.tc-js .tc-rein { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.tc-js .tc-rein.tc-da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tc-js .tc-rein { opacity: 1; transform: none; transition: none; }
	@view-transition { navigation: none; }
}
.tc-hochzahl { font-variant-numeric: tabular-nums; }
.tc-trust .tc-hochzahl { display: inline; font-size: inherit; color: inherit; }

/* ---------- Handy-Leiste erst nach dem Titelbild ---------- */
@media (max-width: 781px) {
	.tc-leiste-js .tc-mobil-cta { transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; pointer-events: none; }
	.tc-leiste-js .tc-mobil-cta.tc-sichtbar { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- Nach-oben-Knopf ---------- */
.tc-hoch { position: fixed; right: 20px; bottom: 20px; z-index: 49; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #FFFFFF; color: #1C2B27; border: 1px solid #E3DED3; box-shadow: 0 6px 18px rgba(0,0,0,.14); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.tc-hoch.tc-sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.tc-hoch:hover { color: #2F5D50; }
html:not(.tc-js) .tc-hoch { display: none; }
@media (max-width: 781px) { .tc-hoch { bottom: 80px; right: 14px; width: 44px; height: 44px; } }

/* ---------- Foto-Mosaik am Handy zum Wischen ---------- */
.tc-wisch-zaehler { display: none; }
@media (max-width: 781px) {
	.tc-mosaik--hero { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; height: 380px; border-radius: 18px; }
	.tc-mosaik--hero::-webkit-scrollbar { display: none; }
	.tc-mosaik--hero > * { flex: 0 0 78%; scroll-snap-align: center; border-radius: 18px; overflow: hidden; }
	.tc-mosaik--hero .tc-mosaik__stapel { display: grid; }
	.tc-js .tc-wisch-zaehler { display: block; margin: 10px 0 0 !important; text-align: center; font-size: 0.8rem; letter-spacing: 0.08em; color: #5B6B66; }
}

/* ---------- Kontakt speichern ---------- */
.tc-vcard { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1.5px solid #A9C7BA; color: #FFFFFF !important; text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.tc-vcard:hover { background: rgba(255,255,255,.08); }
.tc-kontakt-wert .tc-vcard { margin-top: 0; }

/* ---------- Einzugsgebiet-Karte ---------- */
.tc-gebiet { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tc-gebiet__bild { position: relative; border-radius: 24px; overflow: hidden; background-color: #E3EBE5; background-size: cover; background-position: center; aspect-ratio: 1000 / 876; border: 1px solid #E3DED3; }
.tc-gebiet__bild svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc-k-radius { fill: rgba(47,93,80,.13); stroke: #2F5D50; stroke-width: 2.5; stroke-dasharray: 8 7; }
.tc-k-km { font: 700 22px "Plus Jakarta Sans", system-ui, sans-serif; fill: #2F5D50; }
.tc-k-ort circle { fill: #1C2B27; }
.tc-k-ort text { font: 600 19px "Plus Jakarta Sans", system-ui, sans-serif; fill: #1C2B27; paint-order: stroke; stroke: rgba(245,243,238,.9); stroke-width: 5px; stroke-linejoin: round; }
.tc-k-drin circle { fill: #2F5D50; }
.tc-k-heim circle { fill: #2F5D50; stroke: #FFFFFF; stroke-width: 3; }
.tc-k-heim text { font-weight: 800; font-size: 21px; fill: #2F5D50; }
.tc-gebiet__info { display: flex; flex-direction: column; gap: 16px; }
.tc-gebiet__hinweis { margin: 0; font-size: 1.05rem; }
.tc-gebiet__entf { background: #FFFFFF; border: 1px solid #E3DED3; border-radius: 16px; padding: 16px 20px; }
.tc-gebiet__entf summary { cursor: pointer; font-weight: 700; }
.tc-gebiet__entf ul { list-style: none; margin: 12px 0 0; padding: 0; columns: 2; column-gap: 24px; font-size: 0.92rem; }
.tc-gebiet__entf li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; break-inside: avoid; color: #3E4D48; }
.tc-gebiet__entf li.tc-k-drin span:first-child { font-weight: 700; color: #1C2B27; }
@media (max-width: 781px) {
	.tc-gebiet { grid-template-columns: 1fr; }
	.tc-k-ort text { font-size: 26px; stroke-width: 6px; }
	.tc-k-km { font-size: 28px; }
	.tc-gebiet__entf ul { columns: 1; }
}

/* ---------- Druckansicht ---------- */
@media print {
	.tc-topbar, .tc-mobil-cta, .tc-hoch, .wp-block-navigation, .tc-header-cta, .tc-form { display: none !important; }
	.tc-band-dunkel { background: none !important; color: #000 !important; }
	.tc-js .tc-rein { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   Nachtmodus – folgt automatisch der Einstellung des Geräts
   ===================================================================== */
@media (prefers-color-scheme: dark) {
	:root {
		--tc-n-grund: #141C1A; --tc-n-flaeche: #1B2522; --tc-n-flaeche2: #22302C; --tc-n-linie: #2F3E39;
		--tc-n-text: #E7EDE9; --tc-n-leise: #A7B6B0; --tc-n-akzent: #8CC4AE;
		color-scheme: dark;
	}
	body, .wp-site-blocks { background: var(--tc-n-grund) !important; color: var(--tc-n-text); }
	body a:not(.wp-block-button__link):not(.tc-vcard):not(.tc-mobil-cta a):not(.tc-hoch) { color: var(--tc-n-akzent); }
	h1, h2, h3, h4, .wp-block-heading { color: var(--tc-n-text); }
	.tc-header { background: var(--tc-n-flaeche); border-color: var(--tc-n-linie); }
	.tc-header .wp-block-site-title a, .tc-header .wp-block-navigation a { color: var(--tc-n-text) !important; }
	.tc-header .wp-block-navigation .current-menu-item > a, .tc-header .wp-block-navigation a:hover { color: var(--tc-n-akzent) !important; }
	.tc-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--tc-n-flaeche) !important; color: var(--tc-n-text) !important; }
	.tc-header .wp-block-navigation__responsive-container-open, .tc-header .wp-block-navigation__responsive-container-close { color: var(--tc-n-text); }
	.tc-logo-link { color: var(--tc-n-akzent); }
	.tc-brand-sub, .tc-klein, .tc-breadcrumb, .tc-breadcrumb a, .tc-trust span { color: var(--tc-n-leise) !important; }
	.tc-topbar { background: #0E1513; }
	.tc-eyebrow { color: var(--tc-n-akzent); }
	.tc-lead, .tc-muted, ol.tc-schritte > li, .tc-faq .wp-block-details p, .tc-gebiet__entf li { color: var(--tc-n-leise); }
	.tc-band-weiss { background: var(--tc-n-flaeche); border-color: var(--tc-n-linie); }
	.tc-card, .tc-trust, .tc-faq .wp-block-details, .tc-gebiet__entf, .tc-rechtstext__karte { background: var(--tc-n-flaeche); border-color: var(--tc-n-linie); }
	.tc-band-weiss .tc-card, .tc-band-weiss .tc-card--sand { background: var(--tc-n-flaeche2); }
	.tc-card--sand, ol.tc-schritte > li, ul.tc-kacheln li { background: var(--tc-n-flaeche2); border-color: transparent; }
	ol.tc-schritte--liste > li { background: var(--tc-n-flaeche); border-color: var(--tc-n-linie); }
	ol.tc-schritte > li strong, .tc-gebiet__entf li.tc-k-drin span:first-child { color: var(--tc-n-text); }
	ol.tc-schritte > li::before, ol.tc-zeitstrahl li strong, .tc-rechtstext__karte h4 { color: var(--tc-n-akzent); }
	ol.tc-zeitstrahl li, ol.tc-zeitstrahl li:last-child { border-color: var(--tc-n-linie); }
	ul.tc-kacheln li:last-child, .tc-card--akzent { background: #2F5D50; color: #FFFFFF; }
	ul.tc-chips li { background: #26362F; color: var(--tc-n-text); }
	ul.tc-chips.tc-chips--beige li { background: #3A3328; }
	.tc-hinweis { background: #22332D; color: var(--tc-n-text); }
	.tc-preis { color: var(--tc-n-text); }
	.tc-band-dunkel { background: #0F1614; }
	.tc-card--dunkel { background: #1B2723; }
	.tc-footer { background: #0B110F; }
	.wp-block-button.is-style-outline > .wp-block-button__link { color: var(--tc-n-text); border-color: var(--tc-n-leise); }
	.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--tc-n-text); color: var(--tc-n-grund); }
	.tc-mosaik img, .tc-portraet img { filter: brightness(.92); }
	.tc-form { background: var(--tc-n-flaeche); color: var(--tc-n-text); border: 1px solid var(--tc-n-linie); }
	.tc-form h3 { color: var(--tc-n-text) !important; }
	.tc-form input[type="text"], .tc-form input[type="email"], .tc-form input[type="tel"], .tc-form select, .tc-form textarea { background: var(--tc-n-grund); color: var(--tc-n-text); border-color: var(--tc-n-linie); }
	.tc-form .tc-form__check { color: var(--tc-n-leise); }
	.tc-form .tc-form__check a { color: var(--tc-n-akzent) !important; }
	.tc-form__meldung--ok { background: #22332D; color: var(--tc-n-text); }
	.tc-form__meldung--fehler { background: #3A2420; color: #F4C7BC; }
	.tc-gebiet__bild { border-color: var(--tc-n-linie); background-color: #3A4B45; background-blend-mode: multiply; }
	.tc-k-ort text { fill: #F1F5F2; stroke: rgba(20,28,26,.85); }
	.tc-k-ort circle { fill: #E7EDE9; }
	.tc-k-drin circle, .tc-k-heim circle { fill: var(--tc-n-akzent); }
	.tc-k-heim text, .tc-k-km { fill: var(--tc-n-akzent); }
	.tc-k-radius { fill: rgba(140,196,174,.16); stroke: var(--tc-n-akzent); }
	.tc-hoch { background: var(--tc-n-flaeche2); color: var(--tc-n-text); border-color: var(--tc-n-linie); }
	@media (max-width: 781px) {
		.tc-mobil-cta a:first-child { color: #FFFFFF; }
		.tc-mobil-cta a:last-child { background: var(--tc-n-flaeche2); color: var(--tc-n-text); }
		.tc-js .tc-wisch-zaehler { color: var(--tc-n-leise); }
	}
}

/* ---------- 1.3: Qualifikation & Sicherheit ---------- */
.tc-qualitaet .tc-grid--breit { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tc-qualitaet { padding-top: 0; }

/* =====================================================================
   1.4 – Ergebnisse aus der Usability-Prüfung
   ===================================================================== */
/* Überschriften in Karten (semantisch h3/h2, optisch klein) */
.tc-klein-titel { font-family: "Plus Jakarta Sans", system-ui, sans-serif !important; font-weight: 700 !important; font-size: 1.125rem !important; line-height: 1.35 !important; letter-spacing: 0; }
.tc-rechtstext__karte .tc-klein-titel { margin: 24px 0 6px !important; font-size: 0.9rem !important; letter-spacing: 0.08em; text-transform: uppercase; color: #2F5D50; }
.tc-rechtstext__karte .tc-klein-titel:first-child { margin-top: 0 !important; }
/* Menü-Knopf am Handy: Tippfläche 44 px */
.tc-header .wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
/* Checkbox größer */
.tc-form .tc-form__check input { width: 22px; height: 22px; accent-color: #2F5D50; }
/* Nach dem Absenden direkt zur Meldung springen, Kopfzeile nicht darüber */
#tc-anfrage { scroll-margin-top: 24px; }
html { scroll-padding-top: 16px; }
/* Wisch-Fotos per Tastatur erreichbar: sichtbarer Fokus */
.tc-mosaik--hero:focus-visible { outline: 3px solid #2F5D50; outline-offset: 4px; }
.tc-hoch-nav { display: contents; }
@media (prefers-color-scheme: dark) {
	:focus-visible { outline-color: var(--tc-n-akzent) !important; }
	.tc-rechtstext__karte .tc-klein-titel { color: var(--tc-n-akzent); }
	.tc-form .tc-form__check input { accent-color: var(--tc-n-akzent); }
}
.tc-zwischentitel { font-size: var(--wp--preset--font-size--xl) !important; margin-top: 2rem !important; }

/* =====================================================================
   1.5 – Signatur: Logo zeichnet sich, Scroll-Wirbelsäule,
   Rückenlinien, interaktive Wirbelsäule
   ===================================================================== */

/* ---------- Logo zeichnet sich selbst (einmal pro Besuch) ---------- */
.tc-logo--zeichnen .tc-logo-linien path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tc-zeichnen 1.4s cubic-bezier(.45,.05,.3,1) forwards; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(2) { animation-delay: .1s; animation-duration: .7s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(3) { animation-delay: .5s; animation-duration: .5s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(4) { animation-delay: .2s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+5) { animation-delay: 1.2s; animation-duration: .5s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(5) { animation-delay: .5s; animation-duration: .7s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+12) { animation-delay: .45s; animation-duration: 1.1s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+16) { animation-delay: 1.1s; animation-duration: .6s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+20) { animation-delay: 1.5s; animation-duration: .25s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+23) { animation-delay: 1.15s; animation-duration: .5s; }
.tc-logo--zeichnen .tc-logo-linien path:nth-child(n+27) { animation-delay: 1.75s; animation-duration: .3s; }
.tc-logo--zeichnen .tc-logo-punkte > * { opacity: 0; animation: tc-punkt .45s ease forwards; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(1) { animation-delay: 1.15s; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(2) { animation-delay: 1.27s; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(3) { animation-delay: 1.39s; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(4) { animation-delay: 1.51s; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(5) { animation-delay: 1.63s; }
.tc-logo--zeichnen .tc-logo-punkte > *:nth-child(n+6) { animation-delay: 1.75s; }
@keyframes tc-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes tc-punkt { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
.tc-logo-punkte > * { transform-box: fill-box; transform-origin: center; }

/* ---------- Wirbelsäule als Scroll-Leiste (ab Tablet-Breite) ---------- */
.tc-wirbel-leiste { display: none; }
@media (min-width: 1100px) {
	.tc-wirbel-leiste { display: block; position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; }
	.tc-wirbel-leiste ol { list-style: none; margin: 0; padding: 10px 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
	.tc-wirbel-leiste ol::before { content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 2px; transform: translateX(-50%); background: #D6D0C3; border-radius: 2px; }
	.tc-wirbel-leiste a { position: relative; display: block; width: 26px; height: 26px; }
	.tc-wirbel-leiste a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 9px; border-radius: 5px; transform: translate(-50%,-50%); background: #F5F3EE; border: 2px solid #A7B4AE; transition: background .3s, border-color .3s, width .3s, height .3s; }
	.tc-wirbel-leiste a.tc-w-fertig::before { background: #2F5D50; border-color: #2F5D50; }
	.tc-wirbel-leiste a.tc-w-jetzt::before { width: 18px; height: 12px; background: #2F5D50; border-color: #2F5D50; box-shadow: 0 0 0 5px rgba(47,93,80,.16); }
	.tc-wirbel-leiste span { position: absolute; right: 34px; top: 50%; transform: translate(6px,-50%); white-space: nowrap; font-size: .8rem; font-weight: 600; background: #1C2B27; color: #fff; padding: 5px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
	.tc-wirbel-leiste a:hover span, .tc-wirbel-leiste a:focus-visible span, .tc-wirbel-leiste a.tc-w-jetzt.tc-w-zeigen span { opacity: 1; transform: translate(0,-50%); }
}

/* ---------- Organische Rückenlinien zwischen Abschnitten ---------- */
.tc-band-weiss, .tc-band-dunkel { position: relative; border-top: 0 !important; }
.tc-band-weiss::before, .tc-band-dunkel::before {
	content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px; pointer-events: none;
	-webkit-mask: url("assets/linie/ruecken.svg") center bottom / 100% 100% no-repeat; mask: url("assets/linie/ruecken.svg") center bottom / 100% 100% no-repeat;
}
.tc-band-weiss::before { background: #FFFFFF; }
.tc-band-dunkel::before { background: #1C2B27; }
.tc-band-weiss + .tc-band-weiss::before { display: none; }
@media (max-width: 781px) { .tc-band-weiss::before, .tc-band-dunkel::before { top: -22px; height: 24px; } }
@media (prefers-color-scheme: dark) {
	.tc-band-weiss::before { background: var(--tc-n-flaeche); }
	.tc-band-dunkel::before { background: #0F1614; }
}

/* ---------- Interaktive Wirbelsäule ---------- */
.tc-ws { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tc-ws__tiere { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #EEF3EF; margin-bottom: 18px; }
.tc-ws__tiere button { font: inherit; font-weight: 700; font-size: .95rem; border: 0; background: transparent; color: #1C2B27; padding: 10px 22px; min-height: 44px; border-radius: 999px; cursor: pointer; }
.tc-ws__tiere button[aria-pressed="true"] { background: #2F5D50; color: #fff; }
.tc-ws__bild { position: relative; }
.tc-ws__bild svg { width: 100%; height: auto; display: block; overflow: visible; }
.tc-ws-linie { fill: none; stroke: #C9D3CE; stroke-width: 3; stroke-linecap: round; }
.tc-ws-umriss, .tc-ws-fern, .tc-ws-fein { fill: none; stroke: #2F5D50; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tc-ws-fern { opacity: .45; }
.tc-ws-fein { stroke-width: 1.8; }
.tc-ws-fuell { fill: #2F5D50; }
.tc-ws-tier { opacity: .8; }
.tc-ws-wirbel { fill: #A7B4AE; transition: fill .3s, r .3s; }
.tc-ws-zone { cursor: pointer; }
.tc-ws-zone .tc-ws-flaeche { fill: transparent; }
.tc-ws-zone .tc-ws-etikett { font: 700 17px "Plus Jakarta Sans", system-ui, sans-serif; fill: #5B6B66; transition: fill .3s; }
.tc-ws-zone .tc-ws-strich { stroke: #C9D3CE; stroke-width: 1.5; stroke-dasharray: 3 4; }
.tc-ws-zone:hover .tc-ws-wirbel, .tc-ws-zone:focus-visible .tc-ws-wirbel { fill: #6E8A80; }
.tc-ws-zone[aria-selected="true"] .tc-ws-wirbel { fill: #2F5D50; }
.tc-ws-zone[aria-selected="true"] .tc-ws-etikett { fill: #2F5D50; }
.tc-ws-zone:focus { outline: none; }
.tc-ws-zone:focus-visible .tc-ws-etikett { text-decoration: underline; }
.tc-ws__tafel { background: #FFFFFF; border: 1px solid #E3DED3; border-radius: 22px; padding: 28px; min-height: 260px; }
.tc-ws__tafel h3 { margin: 0 0 4px; font-size: 1.5rem; }
.tc-ws__tafel .tc-ws__wo { margin: 0 0 14px; font-size: .9rem; color: #5B6B66; }
.tc-ws__tafel ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.tc-ws__hinweis { margin: 16px 0 0; font-size: .85rem; color: #5B6B66; }
.tc-ws__tasten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tc-ws__tasten[hidden], .tc-ws-svg[hidden], .tc-ws__tafel[hidden] { display: none; }
.tc-ws__tasten button { font: inherit; font-size: .9rem; font-weight: 600; border: 1.5px solid #C9D3CE; background: transparent; color: #1C2B27; padding: 8px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; }
.tc-ws__tasten button[aria-selected="true"] { border-color: #2F5D50; background: #2F5D50; color: #fff; }
.tc-ws__unter { margin: 0 0 8px; font-weight: 700; font-size: .95rem; }
@media (max-width: 900px) {
	.tc-ws { grid-template-columns: 1fr; }
	.tc-ws-zone .tc-ws-etikett, .tc-ws-zone .tc-ws-strich { display: none; }
	.tc-ws-wirbel { r: 7.5px; }
	.tc-ws-umriss, .tc-ws-fern { stroke-width: 3.4; }
}
@media (prefers-color-scheme: dark) {
	.tc-wirbel-leiste ol::before { background: var(--tc-n-linie); }
	.tc-wirbel-leiste a::before { background: var(--tc-n-grund); border-color: #5E716A; }
	.tc-wirbel-leiste a.tc-w-fertig::before, .tc-wirbel-leiste a.tc-w-jetzt::before { background: var(--tc-n-akzent); border-color: var(--tc-n-akzent); }
	.tc-wirbel-leiste span { background: var(--tc-n-text); color: var(--tc-n-grund); }
	.tc-ws__tiere { background: var(--tc-n-flaeche2); }
	.tc-ws__tiere button { color: var(--tc-n-text); }
	.tc-ws__tiere button[aria-pressed="true"] { background: var(--tc-n-akzent); color: var(--tc-n-grund); }
	.tc-ws-linie, .tc-ws-zone .tc-ws-strich { stroke: #34453F; }
	.tc-ws-umriss, .tc-ws-fern, .tc-ws-fein { stroke: var(--tc-n-akzent); }
	.tc-ws-fuell { fill: var(--tc-n-akzent); }
	.tc-ws-wirbel { fill: #4F625B; }
	.tc-ws-zone .tc-ws-etikett { fill: var(--tc-n-leise); }
	.tc-ws-zone[aria-selected="true"] .tc-ws-wirbel, .tc-ws-zone:hover .tc-ws-wirbel { fill: var(--tc-n-akzent); }
	.tc-ws-zone[aria-selected="true"] .tc-ws-etikett { fill: var(--tc-n-akzent); }
	.tc-ws__tafel { background: var(--tc-n-flaeche); border-color: var(--tc-n-linie); }
	.tc-ws__tafel .tc-ws__wo, .tc-ws__hinweis { color: var(--tc-n-leise); }
	.tc-ws__tasten button { color: var(--tc-n-text); border-color: var(--tc-n-linie); }
	.tc-ws__tasten button[aria-selected="true"] { background: var(--tc-n-akzent); border-color: var(--tc-n-akzent); color: var(--tc-n-grund); }
}
@media (prefers-reduced-motion: reduce) {
	.tc-logo--zeichnen .tc-logo-linien path, .tc-logo--zeichnen .tc-logo-punkte > * { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
.tc-ws-abschnitt .tc-ws { margin-top: 28px; }
.tc-ws-abschnitt + .tc-section { padding-top: 0; }
