/* =========================================================================
   TVCV Immobilien – Theme-Styles (Design 2: Logo „zwei Dächer“, Montserrat)
   Farben: Altrosa #8A685C · Aubergine #332630 · Sand #F6F2EE · Stein #E9E1DB
   ========================================================================= */

:root {
	--tvcv-brand: #8a685c;
	--tvcv-brand-dark: #7a5b50;
	--tvcv-brand-light: #c9ab9e;
	--tvcv-sand: #f6f2ee;
	--tvcv-stone: #e9e1db;
	--tvcv-dark: #332630;
	--tvcv-muted: #5e5059;
	--tvcv-line: #e9e1db;
	--tvcv-field: #d9cec8;
	--tvcv-radius: 2px;
	--tvcv-shadow: 0 12px 40px rgba(51, 38, 48, 0.14);
	--tvcv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--tvcv-header-h: 81px;
	--tvcv-section: clamp(4.5rem, 9vw, 7rem);
	--tvcv-sans: Montserrat, 'Helvetica Neue', Arial, sans-serif;
	--tvcv-roof: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M6 78 L34 40 L62 78' fill='none' stroke='black' stroke-width='9'/%3E%3Cpath d='M38 78 L66 40 L94 78' fill='none' stroke='black' stroke-width='9'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
::selection { background: var(--tvcv-brand); color: #fff; }

:where(.wp-site-blocks) > * { margin-block-start: 0; }
.tvcv-main { margin-block-start: 0 !important; }
.tvcv-main > * + * { margin-block-start: 0; }

h1 em, h2 em, h3 em, .wp-block-heading em { font-style: normal; color: var(--tvcv-brand); }

/* Überzeile */
.tvcv-eyebrow {
	font-size: 0.8125rem !important;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--tvcv-brand);
	margin: 0 0 0.9rem !important;
	line-height: 1.5;
}
.tvcv-eyebrow.has-text-align-center { text-align: center; }

.tvcv-lead { font-size: 1.0625rem !important; line-height: 1.7; color: var(--tvcv-muted); max-width: 40rem; }
.tvcv-lead.has-text-align-center { margin-left: auto; margin-right: auto; }
.tvcv-muted { color: var(--tvcv-muted); font-size: var(--wp--preset--font-size--small); }
.tvcv-note { background: var(--tvcv-sand); padding: 1rem 1.25rem; font-size: var(--wp--preset--font-size--small); }

.tvcv-anchor { display: block; position: relative; top: calc(-1 * var(--tvcv-header-h) - 1rem); visibility: hidden; height: 0; margin: 0 !important; }
:target { scroll-margin-top: calc(var(--tvcv-header-h) + 1rem); }

.tvcv-textlink, .tvcv-morelink, .tvcv-service__link a {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--tvcv-brand);
	text-decoration: none;
	transition: color 0.2s;
}
.tvcv-morelink { color: var(--tvcv-dark); }
.tvcv-textlink:hover, .tvcv-morelink:hover, .tvcv-service__link a:hover { color: var(--tvcv-dark); text-decoration: underline; text-underline-offset: 4px; }
a.tvcv-textlink:not(:has(svg))::after { content: " →"; }
.tvcv-textlink svg { display: none; }

/* =========================================================================
   Buttons
   ========================================================================= */
.wp-block-button__link, .tvcv-btn { transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--tvcv-brand);
	border: 1px solid currentColor;
	padding: calc(1rem - 1px) calc(1.75rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--tvcv-brand); border-color: var(--tvcv-brand); color: #fff; }
.wp-block-button.is-style-light > .wp-block-button__link { background: #fff; color: var(--tvcv-brand); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: var(--tvcv-sand); color: var(--tvcv-dark); }

.tvcv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 48px;
	background: var(--tvcv-brand);
	color: #fff !important;
	border: 0;
	border-radius: var(--tvcv-radius);
	padding: 0.9rem 1.5rem;
	font-family: var(--tvcv-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.tvcv-btn:hover { background: var(--tvcv-brand-dark); }
.tvcv-btn--block { width: 100%; }
.tvcv-btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.7); }
.tvcv-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.tvcv-btn svg { width: 17px; height: 17px; }

/* =========================================================================
   Logo (zwei Dächer)
   ========================================================================= */
.tvcv-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--tvcv-dark); }
.tvcv-logo__mark { flex: none; display: block; }
.tvcv-logo__mark .tvcv-roof-a { stroke: var(--tvcv-dark); }
.tvcv-logo__mark .tvcv-roof-b { stroke: var(--tvcv-brand); }
.tvcv-logo__text { display: flex; flex-direction: column; gap: 3px; }
.tvcv-logo__name { font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: 3px; }
.tvcv-logo__sub { font-size: 8px; font-weight: 400; line-height: 1; letter-spacing: 4.2px; }
.tvcv-logo--light { color: #fff; }
.tvcv-logo--light .tvcv-logo__mark .tvcv-roof-a { stroke: #fff; }
.tvcv-logo--light .tvcv-logo__mark .tvcv-roof-b { stroke: var(--tvcv-dark); }
.tvcv-logo--light .tvcv-logo__name { font-size: 24px; }
.tvcv-logo--light .tvcv-logo__sub { letter-spacing: 4.6px; }

/* =========================================================================
   Kopfzeile
   ========================================================================= */
.tvcv-site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; margin: 0 !important; }
.tvcv-header {
	background: #fff;
	border-bottom: 1px solid var(--tvcv-line);
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	transition: box-shadow 0.3s;
}
.tvcv-scrolled .tvcv-header { box-shadow: 0 8px 24px -18px rgba(51, 38, 48, 0.45); }
.tvcv-header__inner { gap: 32px; align-items: center; }
.tvcv-header__nav { gap: 32px; align-items: center; }
.tvcv-nav .wp-block-navigation__container { gap: 4px 28px; }
.tvcv-nav .wp-block-navigation-item__content { text-decoration: none; color: var(--tvcv-dark); padding: 10px 0; font-size: 14px; font-weight: 500; }
.tvcv-nav .wp-block-navigation-item__content:hover { color: var(--tvcv-brand); }
.tvcv-header__cta .wp-block-button__link { font-size: 14px; padding: 13px 22px; white-space: nowrap; }

.wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; padding: 2rem 24px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; font-weight: 600; }
@media (max-width: 1100px) { .tvcv-header .tvcv-header__cta { display: none !important; } }
@media (max-width: 599px) { :root { --tvcv-header-h: 72px; } }

/* =========================================================================
   Abschnitte
   ========================================================================= */
.tvcv-section { padding-top: var(--tvcv-section); padding-bottom: var(--tvcv-section); }
.tvcv-section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.tvcv-bg-sand { background: var(--tvcv-sand); }
.tvcv-section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 40rem; }
.tvcv-section-head.is-centered { margin-left: auto; margin-right: auto; text-align: center; }
.tvcv-section-head h2 { margin: 0; }
.tvcv-stack > * + * { margin-top: clamp(4rem, 8vw, 6rem) !important; }

/* Seitenkopf (Unterseiten) */
.tvcv-pagehead {
	background: var(--tvcv-brand);
	color: #fff;
	padding-top: clamp(4rem, 8vw, 6rem) !important;
	padding-bottom: clamp(4rem, 8vw, 6rem) !important;
	position: relative;
	overflow: hidden;
}
.tvcv-pagehead::after {
	content: "";
	position: absolute;
	right: max(24px, calc((100vw - 1200px) / 2));
	bottom: -12%;
	width: clamp(12rem, 26vw, 22rem);
	aspect-ratio: 1;
	background: var(--tvcv-brand-dark);
	-webkit-mask: var(--tvcv-roof) center / contain no-repeat;
	mask: var(--tvcv-roof) center / contain no-repeat;
	pointer-events: none;
}
.tvcv-pagehead > * { position: relative; z-index: 1; }
.tvcv-pagehead > :not(.alignfull) { max-width: var(--wp--style--global--wide-size, 1200px) !important; }
.tvcv-pagehead h1, .tvcv-pagehead .wp-block-post-title, .tvcv-pagehead .wp-block-query-title { color: #fff; margin-top: 0; padding-right: max(0px, calc(100% - 15em)); }
.tvcv-pagehead .tvcv-lead { padding-right: max(0px, calc(100% - 40rem)); }
.tvcv-pagehead .tvcv-eyebrow { color: var(--tvcv-sand); }
.tvcv-pagehead .tvcv-lead { color: var(--tvcv-sand); margin-top: 1.4rem; }
.tvcv-pagehead h1 em, .tvcv-pagehead h2 em { color: var(--tvcv-brand-light); }
.tvcv-page-content { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.tvcv-page-content h2 { font-size: 1.625rem; margin-top: 2.5rem; }
.tvcv-page-content h3 { font-size: 1.25rem; margin-top: 2rem; }

/* =========================================================================
   Startseite: Hero
   ========================================================================= */
.tvcv-hero2 { background: var(--tvcv-brand); color: #fff; padding-top: clamp(4rem, 8vw, 6rem) !important; padding-bottom: clamp(6rem, 10vw, 8rem) !important; }
.tvcv-hero2__cols { gap: 56px !important; align-items: center !important; }
.tvcv-hero2 .tvcv-eyebrow { color: var(--tvcv-sand); }
.tvcv-hero2 h1 { color: #fff; margin: 0 0 1.75rem; }
.tvcv-hero2 .tvcv-lead { color: var(--tvcv-sand); font-size: 1.125rem !important; max-width: 520px; }
.tvcv-hero2__buttons { gap: 14px; padding-top: 0.5rem; }
.tvcv-hero2 .is-style-outline > .wp-block-button__link { color: #fff; border-color: #fff; }
.tvcv-hero2 .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--tvcv-brand); }
.tvcv-hero2__media { position: relative; }
.tvcv-hero2__media::before {
	content: "";
	position: absolute;
	right: -18px;
	top: -18px;
	width: 96px;
	height: 96px;
	background: var(--tvcv-brand-light);
	-webkit-mask: var(--tvcv-roof) center / contain no-repeat;
	mask: var(--tvcv-roof) center / contain no-repeat;
	z-index: 1;
}
.tvcv-hero2__img { margin: 0 !important; }
.tvcv-hero2__img img { width: 100%; height: clamp(300px, 36vw, 460px); object-fit: cover; display: block; }

/* Suchleiste */
.tvcv-searchband { margin-top: -56px !important; position: relative; z-index: 2; }
.tvcv-searchband:has(+ .tvcv-bg-sand) { background: linear-gradient(transparent 56px, var(--tvcv-sand) 56px); }
.tvcv-search {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	align-items: end;
	background: #fff;
	padding: 28px;
	box-shadow: var(--tvcv-shadow);
	margin: 0;
}
.tvcv-search--inline { box-shadow: none; background: var(--tvcv-sand); margin-bottom: 2.5rem; }
.tvcv-search__field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--tvcv-muted); margin: 0; }
.tvcv-search__field select, .tvcv-search__field input {
	font-family: var(--tvcv-sans);
	font-size: 15px;
	color: var(--tvcv-dark);
	padding: 12px;
	border: 1px solid var(--tvcv-field);
	background: #fff;
	border-radius: var(--tvcv-radius);
	min-height: 48px;
	box-sizing: border-box;
	width: 100%;
}
.tvcv-search__field select:focus, .tvcv-search__field input:focus { outline: 2px solid var(--tvcv-brand); outline-offset: 0; border-color: var(--tvcv-brand); }

/* Leistungen */
.tvcv-services { gap: 24px !important; }
.tvcv-service { background: var(--tvcv-sand); padding: 40px 36px !important; display: flex; flex-direction: column; gap: 16px; }
.tvcv-service > * { margin: 0 !important; }
.tvcv-service__icon { color: var(--tvcv-brand); display: block; line-height: 0; }
.tvcv-service h3 { font-size: 1.375rem; }
.tvcv-service p:not(.tvcv-service__link) { color: var(--tvcv-muted); }
.tvcv-service__link { margin-top: auto !important; }

/* Eigentümer-Bereich mit Schritten und Formular */
.tvcv-owner2__cols { gap: 64px !important; align-items: flex-start !important; }
.tvcv-owner2__text h2 { margin: 0 0 1.5rem; }
.tvcv-numsteps { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.tvcv-numsteps li { display: flex; gap: 20px; align-items: flex-start; }
.tvcv-numsteps__nr { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--tvcv-brand); color: var(--tvcv-brand); display: flex; align-items: center; justify-content: center; font-weight: 600; box-sizing: border-box; }
.tvcv-numsteps li > span:last-child { color: var(--tvcv-muted); }
.tvcv-numsteps strong { display: block; color: var(--tvcv-dark); font-weight: 600; }

.tvcv-formbox { background: var(--tvcv-brand); color: #fff; padding: 44px 40px !important; }
.tvcv-formbox h3 { color: #fff; margin: 0 0 1.25rem; font-size: 1.5rem; }
.tvcv-formbox .tvcv-field > span { color: var(--tvcv-sand); }
.tvcv-formbox .tvcv-field input, .tvcv-formbox .tvcv-field select, .tvcv-formbox .tvcv-field textarea { background: #fff; border-color: #fff; }
.tvcv-formbox .tvcv-check { color: var(--tvcv-sand); }
.tvcv-formbox .tvcv-check a { color: #fff; }
.tvcv-formbox .tvcv-btn { background: var(--tvcv-dark); }
.tvcv-formbox .tvcv-btn:hover { background: #241a22; }
.tvcv-formbox__note { font-size: 12px !important; color: var(--tvcv-sand); margin: 1rem 0 0 !important; }
.tvcv-formbox .tvcv-form__success { background: rgba(255, 255, 255, 0.12); }
.tvcv-formbox .tvcv-form__success p { color: var(--tvcv-sand); }

/* Über uns (Startseite) */
.tvcv-about2__cols { gap: 64px !important; align-items: center !important; }
.tvcv-about2__text h2 { margin: 0 0 1.25rem; }
.tvcv-about2__text .wp-block-buttons { margin-top: 1.5rem; }
.tvcv-teamgrid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
.tvcv-teamgrid > * { margin: 0 !important; }
.tvcv-teamgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; display: block; }

/* =========================================================================
   Immobilien-Raster & Karten
   ========================================================================= */
.tvcv-grid-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 3rem; }
.tvcv-grid-head h2 { margin: 0; }
.tvcv-grid-head .tvcv-eyebrow { margin-bottom: 0.9rem !important; }
.tvcv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }

.tvcv-card { background: #fff; transition: box-shadow 0.3s, transform 0.3s var(--tvcv-ease); }
.tvcv-card:hover { box-shadow: var(--tvcv-shadow); transform: translateY(-3px); }
.tvcv-card__link { display: flex; flex-direction: column; height: 100%; color: var(--tvcv-dark); text-decoration: none !important; }
.tvcv-card__media { position: relative; height: 240px; overflow: hidden; background: var(--tvcv-stone); }
.tvcv-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--tvcv-ease); }
.tvcv-card:hover .tvcv-card__img { transform: scale(1.04); }
.tvcv-card__tag, .tvcv-card__status { position: absolute; top: 16px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 6px 10px; color: #fff; }
.tvcv-card__tag { left: 16px; background: var(--tvcv-brand); }
.tvcv-card__tag--miete { background: var(--tvcv-dark); }
.tvcv-card__status { right: 16px; background: #fff; color: var(--tvcv-dark); }
.tvcv-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tvcv-card__body > * { margin: 0; }
.tvcv-card__ort { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--tvcv-brand); }
.tvcv-card__title { font-size: 19px; font-weight: 600; line-height: 1.35; }
.tvcv-card__facts { font-size: 14px; color: var(--tvcv-muted); }
.tvcv-card__preis { font-size: 20px; font-weight: 700; padding-top: 8px; margin-top: auto !important; }

.tvcv-empty { background: var(--tvcv-sand); padding: 2.5rem; text-align: center; color: var(--tvcv-muted); }

/* =========================================================================
   Unterseiten-Bausteine
   ========================================================================= */
.tvcv-intro { gap: 64px !important; margin-bottom: 3rem !important; }

.tvcv-features { gap: 24px !important; }
.tvcv-feature { background: var(--tvcv-sand); padding: 40px 36px !important; }
.tvcv-bg-sand .tvcv-feature { background: #fff; }
.tvcv-feature h3 { font-size: 1.375rem; margin: 1.25rem 0 0.6rem; }
.tvcv-feature p { color: var(--tvcv-muted); margin: 0; }

.tvcv-icon { display: inline-block; width: 40px; height: 40px; position: relative; }
.tvcv-icon::before { content: ""; position: absolute; inset: 0; background: var(--tvcv-brand); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.tvcv-icon--handshake { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4'/%3E%3Cpath d='m21 3 1 11h-2'/%3E%3Cpath d='M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3'/%3E%3Cpath d='M3 4h8'/%3E%3C/svg%3E"); }
.tvcv-icon--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.tvcv-icon--gear { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Ccircle cx='9' cy='6' r='2' fill='white'/%3E%3Ccircle cx='15' cy='12' r='2' fill='white'/%3E%3Ccircle cx='7' cy='18' r='2' fill='white'/%3E%3C/svg%3E"); }
.tvcv-icon--camera { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3C/svg%3E"); }
.tvcv-icon--cube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 7.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='m4 7.5 8 4.5 8-4.5M12 12v9'/%3E%3C/svg%3E"); }
.tvcv-icon--megaphone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h3l8 5V4L7 9H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M18.5 8.5a5 5 0 0 1 0 7M7 15l1.5 5h2.5'/%3E%3C/svg%3E"); }
.tvcv-icon--chart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='m7 15 4-4 3 3 6-7'/%3E%3Cpath d='M16 7h4v4'/%3E%3C/svg%3E"); }
.tvcv-icon--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.tvcv-icon--eye { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.tvcv-icon--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.tvcv-icon--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.tvcv-icon--clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* Bild-Text */
.tvcv-split { gap: 64px !important; align-items: center !important; }
.tvcv-split + .tvcv-split { margin-top: clamp(3.5rem, 7vw, 5.5rem) !important; }
.tvcv-split__img, .tvcv-about__img { margin: 0 !important; }
.tvcv-split__img img, .tvcv-about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tvcv-split__text h2, .tvcv-split__text h3 { margin-top: 0; }
.tvcv-split__text h3 { font-size: 2rem; }
.tvcv-split__text p:not(.tvcv-eyebrow) { color: var(--tvcv-muted); }
@media (min-width: 782px) { .tvcv-split--rev { flex-direction: row-reverse; } }

.tvcv-checklist { list-style: none; padding: 0 !important; margin: 1.5rem 0 !important; display: grid; gap: 0.7rem; }
.tvcv-checklist li { position: relative; padding-left: 2rem; line-height: 1.55; }
.tvcv-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2rem;
	width: 1.15rem;
	height: 1.15rem;
	background: var(--tvcv-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* Prozess-Schritte (Unterseiten) */
.tvcv-steps { counter-reset: tvcv-step; gap: 24px !important; }
.tvcv-step { counter-increment: tvcv-step; position: relative; padding-top: 68px !important; }
.tvcv-step::before {
	content: "0" counter(tvcv-step);
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--tvcv-brand);
	color: var(--tvcv-brand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	box-sizing: border-box;
}
.tvcv-step h3 { font-size: 1.125rem; margin: 0 0 0.5rem; }
.tvcv-step p { color: var(--tvcv-muted); font-size: 0.95rem; margin: 0; }

/* Stadt-Band (falls verwendet) */
.tvcv-city { padding-top: var(--tvcv-section) !important; padding-bottom: var(--tvcv-section) !important; }
.tvcv-city h2, .tvcv-city .tvcv-lead { color: #fff; }
.tvcv-chips { list-style: none; padding: 0; margin: 2rem auto 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.tvcv-chips li { padding: 0.55rem 1.1rem; border: 1px solid rgba(255, 255, 255, 0.6); font-size: 0.8rem; color: #fff; }

/* Dunkles Eigentümer-Band (falls verwendet) */
.tvcv-owner { background: var(--tvcv-dark); color: var(--tvcv-sand); padding-top: var(--tvcv-section) !important; padding-bottom: var(--tvcv-section) !important; }
.tvcv-owner__cols { gap: 64px !important; align-items: center !important; }
.tvcv-owner h2 { color: #fff; margin-top: 0; }
.tvcv-owner .tvcv-eyebrow { color: var(--tvcv-brand-light); }
.tvcv-owner .tvcv-lead, .tvcv-owner .tvcv-checklist li { color: var(--tvcv-sand); }
.tvcv-owner__media { position: relative; }
.tvcv-owner__img { margin: 0 !important; }
.tvcv-owner__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tvcv-owner__badge { position: absolute; left: -1.5rem; bottom: 2rem; background: #fff; color: var(--tvcv-dark); padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 0.2rem; box-shadow: var(--tvcv-shadow); }
.tvcv-owner__badge strong { color: var(--tvcv-brand); font-size: 1.1rem; }
.tvcv-owner__badge span { font-size: 0.8rem; color: var(--tvcv-muted); }

/* Team (Über-uns-Seite) */
.tvcv-team { gap: 24px !important; }
.tvcv-team__foto { margin: 0 0 1rem !important; background: var(--tvcv-stone); }
.tvcv-team__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block; }
.tvcv-team__member h3 { font-size: 1.125rem; margin: 0 0 0.25rem; }
.tvcv-team__rolle { font-size: 12px !important; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--tvcv-brand); margin: 0; }
@media (min-width: 600px) and (max-width: 1023px) {
	.tvcv-team, .tvcv-features, .tvcv-steps, .tvcv-services { flex-wrap: wrap !important; }
	.tvcv-team > .wp-block-column, .tvcv-features > .wp-block-column, .tvcv-steps > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0 !important; }
}

/* Abschluss-Aufruf (Unterseiten) */
.tvcv-final { background: var(--tvcv-brand); color: #fff; padding-top: var(--tvcv-section) !important; padding-bottom: var(--tvcv-section) !important; text-align: center; }
.tvcv-final h2 { color: #fff; margin-top: 0; max-width: 22ch; margin-left: auto !important; margin-right: auto !important; }
.tvcv-final h2 em { color: var(--tvcv-dark); }
.tvcv-final .tvcv-eyebrow, .tvcv-final .tvcv-lead { color: var(--tvcv-sand); }
.tvcv-final .wp-block-buttons { margin-top: 2rem; gap: 14px; }
.tvcv-final .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff; color: var(--tvcv-brand); }
.tvcv-final .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--tvcv-sand); }
.tvcv-final .is-style-outline > .wp-block-button__link { color: #fff; border-color: #fff; }
.tvcv-final .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--tvcv-brand); }
.tvcv-final + .tvcv-footer { border-top: 1px solid #a88577; }

.tvcv-cta-band { background: var(--tvcv-dark); color: var(--tvcv-sand); padding: clamp(3.5rem, 7vw, 5.5rem) 24px; margin-top: 0 !important; }
.tvcv-cta-band__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.tvcv-cta-band h2 { color: #fff; margin: 0 0 1rem; }
.tvcv-cta-band h2 em { color: var(--tvcv-brand-light); }
.tvcv-cta-band .tvcv-eyebrow { color: var(--tvcv-brand-light); }
.tvcv-cta-band p { margin: 0; }
.tvcv-cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 781px) { .tvcv-cta-band__inner { grid-template-columns: 1fr; } }

/* Eigentümer-Seite & Kontakt */
.tvcv-ownerhero__cols { gap: 64px !important; align-items: flex-start !important; }
.tvcv-ownerhero h1 { font-size: var(--wp--preset--font-size--xx-large); max-width: none !important; }
.tvcv-ownerhero .tvcv-checklist li { color: #fff; }
.tvcv-ownerhero .tvcv-checklist li::before { background-color: var(--tvcv-dark); }
.tvcv-formcard { background: #fff; color: var(--tvcv-dark); padding: 44px 40px !important; box-shadow: var(--tvcv-shadow); }
.tvcv-formcard h3 { margin: 0; font-size: 1.5rem; color: var(--tvcv-dark); }
.tvcv-formcard__sub { color: var(--tvcv-muted) !important; font-size: var(--wp--preset--font-size--small); margin: 0.4rem 0 1.5rem !important; }

.tvcv-contact { gap: 56px !important; }
.tvcv-infocards { display: grid; gap: 12px; }
.tvcv-info { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--tvcv-sand); text-decoration: none; color: var(--tvcv-dark); transition: background 0.2s; }
a.tvcv-info:hover { background: var(--tvcv-stone); }
.tvcv-info .tvcv-icon { width: 28px; height: 28px; flex: none; }
.tvcv-info span:not(.tvcv-icon) { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tvcv-brand); }
.tvcv-info strong { display: block; font-weight: 500; }
.tvcv-contact__img { margin-top: 1.25rem !important; }
.tvcv-contact__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; display: block; }

/* FAQ */
.tvcv-faq { max-width: 50rem; margin: 0 auto !important; }
.tvcv-faq .wp-block-details { border-bottom: 1px solid var(--tvcv-field); padding: 1.3rem 0; margin: 0 !important; }
.tvcv-faq .wp-block-details:first-child { border-top: 1px solid var(--tvcv-field); }
.tvcv-faq summary { font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.tvcv-faq summary::-webkit-details-marker { display: none; }
.tvcv-faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--tvcv-brand); transition: transform 0.25s; flex: none; }
.tvcv-faq details[open] summary::after { transform: rotate(45deg); }
.tvcv-faq details p { color: var(--tvcv-muted); margin: 0.8rem 0 0; }

/* =========================================================================
   Formulare
   ========================================================================= */
.tvcv-form { display: grid; gap: 16px; }
.tvcv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .tvcv-form__row { grid-template-columns: 1fr; } }
.tvcv-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tvcv-field > span { font-size: 13px; font-weight: 500; color: var(--tvcv-muted); }
.tvcv-field input, .tvcv-field select, .tvcv-field textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--tvcv-sans);
	font-size: 15px;
	color: var(--tvcv-dark);
	background: #fff;
	border: 1px solid var(--tvcv-field);
	border-radius: var(--tvcv-radius);
	padding: 12px;
	min-height: 48px;
}
.tvcv-field textarea { resize: vertical; min-height: 6rem; }
.tvcv-field input:focus, .tvcv-field select:focus, .tvcv-field textarea:focus { outline: 2px solid var(--tvcv-dark); outline-offset: 0; }
.tvcv-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--tvcv-muted); cursor: pointer; }
.tvcv-check input { accent-color: var(--tvcv-dark); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.tvcv-form .tvcv-btn { margin-top: 0.5rem; }
.tvcv-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tvcv-form__error { background: #fbeae6; color: #8a2f1f; padding: 0.9rem 1.1rem; margin: 0; font-size: 0.9rem; }
.tvcv-form__success { display: flex; gap: 1rem; align-items: flex-start; background: var(--tvcv-sand); padding: 1.5rem; }
.tvcv-form__success svg { flex: none; width: 2.4rem; height: 2.4rem; padding: 0.5rem; background: var(--tvcv-dark); color: #fff; box-sizing: border-box; }
.tvcv-form__success p { margin: 0.3rem 0 0; color: var(--tvcv-muted); }

/* =========================================================================
   Immobilien-Detailseite
   ========================================================================= */
.tvcv-objekt__kopf { padding-top: clamp(1.5rem, 3vw, 2.5rem); max-width: var(--wp--style--global--wide-size, 1200px) !important; margin-left: auto !important; margin-right: auto !important; }
.tvcv-crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 13px; color: var(--tvcv-muted); margin-bottom: 1.75rem; }
.tvcv-crumbs a { color: var(--tvcv-muted); text-decoration: none; }
.tvcv-crumbs a:hover { color: var(--tvcv-brand); }
.tvcv-crumbs span:last-child { color: var(--tvcv-dark); }
.tvcv-objekt__titel { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tvcv-objekt__titel h1 { font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 0.5rem; max-width: 24ch; }
.tvcv-objekt__titel .tvcv-eyebrow { margin-bottom: 0.6rem !important; }
.tvcv-objekt__ort { display: flex; align-items: center; gap: 0.45rem; margin: 0; color: var(--tvcv-muted); }
.tvcv-objekt__ort svg { color: var(--tvcv-brand); }
.tvcv-objekt__preis { text-align: right; }
.tvcv-objekt__preis span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tvcv-muted); }
.tvcv-objekt__preis strong { display: block; font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1.2; }
@media (max-width: 600px) { .tvcv-objekt__preis { text-align: left; } }

.tvcv-gallery { display: grid; gap: 12px; }
.tvcv-gallery--1 { grid-template-columns: 1fr; }
.tvcv-gallery--2 { grid-template-columns: 2fr 1fr; }
.tvcv-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(320px, 50vw, 600px); }
.tvcv-gallery--3 .tvcv-gallery__item:first-child { grid-row: 1 / 3; }
.tvcv-gallery__item { display: block; overflow: hidden; background: var(--tvcv-stone); min-height: 0; }
.tvcv-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--tvcv-ease); }
.tvcv-gallery--1 .tvcv-gallery__item img, .tvcv-gallery--2 .tvcv-gallery__item img { aspect-ratio: 16 / 10; }
.tvcv-gallery__item:hover img { transform: scale(1.03); }
@media (max-width: 600px) {
	.tvcv-gallery--2, .tvcv-gallery--3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
	.tvcv-gallery--2 .tvcv-gallery__item:first-child, .tvcv-gallery--3 .tvcv-gallery__item:first-child { grid-column: 1 / 3; grid-row: auto; }
	.tvcv-gallery__item img { aspect-ratio: 4 / 3; }
}

.tvcv-objekt__body { gap: 56px !important; margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; align-items: flex-start !important; }
.tvcv-objekt__h { font-size: 1.625rem; margin-top: 3rem !important; }
.tvcv-objekt__content h3 { font-size: 1.25rem; margin-top: 2rem; }
.tvcv-objekt__content .tvcv-checklist { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tvcv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 2px; background: var(--tvcv-sand); }
.tvcv-facts__item { background: var(--tvcv-sand); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.3rem; }
.tvcv-facts__item span { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tvcv-brand); }
.tvcv-facts__item strong { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.tvcv-datalist { margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.tvcv-datalist > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--tvcv-line); font-size: 0.92rem; }
.tvcv-datalist dt { color: var(--tvcv-muted); }
.tvcv-datalist dd { margin: 0; text-align: right; font-weight: 500; }
@media (max-width: 600px) { .tvcv-datalist { grid-template-columns: 1fr; } }

.tvcv-objekt__aside { position: sticky; top: calc(var(--tvcv-header-h) + var(--wp-admin--admin-bar--height, 0px) + 1.5rem); }
.tvcv-contactcard { background: var(--tvcv-brand); color: #fff; padding: 36px 32px; }
.tvcv-contactcard__person { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid #a88577; }
.tvcv-contactcard__foto { width: 64px; height: 64px; object-fit: cover; object-position: top; flex: none; }
.tvcv-contactcard__person span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--tvcv-sand); }
.tvcv-contactcard__person strong { display: block; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.tvcv-contactcard__person em { font-style: normal; font-size: 0.85rem; color: var(--tvcv-sand); }
.tvcv-contactcard__links { display: grid; gap: 0.5rem; padding: 1.1rem 0; }
.tvcv-contactcard__links a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; font-size: 0.93rem; }
.tvcv-contactcard__links a:hover { text-decoration: underline; }
.tvcv-contactcard h3 { font-size: 1.25rem; margin: 0.5rem 0 1rem; color: #fff; }
.tvcv-contactcard .tvcv-field > span, .tvcv-contactcard .tvcv-check { color: var(--tvcv-sand); }
.tvcv-contactcard .tvcv-field input, .tvcv-contactcard .tvcv-field textarea { border-color: #fff; }
.tvcv-contactcard .tvcv-check a { color: #fff; }
.tvcv-contactcard .tvcv-btn { background: var(--tvcv-dark); }
.tvcv-contactcard .tvcv-btn:hover { background: #241a22; }
@media (max-width: 781px) { .tvcv-objekt__aside { position: static; } }

/* Lightbox */
.tvcv-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(35, 25, 32, 0.95); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; opacity: 0; animation: tvcv-fade 0.25s forwards; }
.tvcv-lightbox img { max-width: 100%; max-height: 100%; }
.tvcv-lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); border: 0; color: #fff; width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.tvcv-lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.tvcv-lightbox [data-close] { top: 1rem; right: 1rem; }
.tvcv-lightbox [data-prev] { left: 1rem; top: 50%; transform: translateY(-50%); }
.tvcv-lightbox [data-next] { right: 1rem; top: 50%; transform: translateY(-50%); }
@keyframes tvcv-fade { to { opacity: 1; } }

/* =========================================================================
   Fußzeile
   ========================================================================= */
.tvcv-footer { background: var(--tvcv-brand); color: #fff; padding-top: clamp(4rem, 8vw, 6rem) !important; padding-bottom: 2.5rem !important; margin-top: 0 !important; font-size: 15px; }
.tvcv-footer a { color: #fff; text-decoration: none; }
.tvcv-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tvcv-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.tvcv-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.tvcv-footer__brand p { margin: 0; color: var(--tvcv-sand); }
.tvcv-footer__brand a:hover { text-decoration: none; }
.tvcv-footer__col { display: flex; flex-direction: column; gap: 10px; }
.tvcv-footer__col span { color: var(--tvcv-sand); }
.tvcv-footer__title { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--tvcv-sand); margin: 0 0 6px; }
.tvcv-footer__bottom { margin-top: 64px; border-top: 1px solid #a88577; padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--tvcv-sand); }
.tvcv-footer__legal { display: flex; gap: 24px; }
.tvcv-footer__legal a { color: var(--tvcv-sand); text-decoration: underline; }

/* =========================================================================
   Einblenden
   ========================================================================= */
.tvcv-js .tvcv-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--tvcv-ease), transform 0.7s var(--tvcv-ease); }
.tvcv-js .tvcv-reveal.is-visible { opacity: 1; transform: none; }
.tvcv-js .tvcv-grid > .tvcv-reveal:nth-child(3n+2), .tvcv-js .tvcv-services > .tvcv-reveal:nth-child(2) { transition-delay: 0.08s; }
.tvcv-js .tvcv-grid > .tvcv-reveal:nth-child(3n), .tvcv-js .tvcv-services > .tvcv-reveal:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.tvcv-js .tvcv-reveal { opacity: 1; transform: none; }
}
