/*!
Theme Name: Ruba Hausbau
Theme URI: https://ruba-hausbau.de
Author: [Agentur / Entwickler eintragen]
Description: Maßgeschneidertes WordPress-Theme für die Ruba Hausbau GmbH. Helles, warmes Design mit Sand-/Holztönen und gezielten Neon-Grün/Gelb-Akzenten passend zum Firmenlogo.
Version: 3.12.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ruba
*/

/* =================================================================
   0. SCHRIFTEN – LOKAL EINGEBUNDEN (kein Google-Request!)
   -----------------------------------------------------------------
   Inter (Fließtext) und Outfit (Überschriften) liegen als WOFF2 in
   assets/fonts/ und werden hier per @font-face geladen. Dadurch geht
   KEINE Besucher-IP an Google (DSGVO/Abmahnsicher) und die Seite lädt
   schneller. Beide sind "variable fonts", daher deckt eine Datei den
   ganzen Gewichtsbereich ab (font-weight-Range). latin + latin-ext
   (Umlaute, €, osteuropäische Zeichen).
   font-display: swap -> Text sofort sichtbar, Font tauscht nach.
   ================================================================= */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("assets/fonts/outfit-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("assets/fonts/outfit-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =================================================================
   1. FARBKONZEPT (CSS-VARIABLEN)
   -----------------------------------------------------------------
   Prinzip: Das Logo-Grün/Gelb ist GRELL und wirkt nur in kleinen
   Dosen seriös. Deshalb:
     - 90 % der Fläche: warmes Sand/Weiß + dunkler Erdton für Text
     - Neon-Grün/Gelb NUR für: Buttons, Icons, Hover, dünne Linien,
       kleine Badges – niemals als großflächiger Hintergrund.
   ================================================================= */
:root {

	/* --- Basis-Palette (benannte Rohwerte) ------------------------- */
	--ruba-sand-50:    #FBF8F3; /* fast weiß, sehr warmer Unterton */
	--ruba-sand-100:   #F4EEE2; /* helles Sand für Sektionen/Karten */
	--ruba-stone-300:  #E3DCCD; /* Rahmen, Trennlinien */
	--ruba-wood-600:   #8C6A4E; /* warmes Holzbraun für Icons/Akzent-Text */
	--ruba-ink-900:    #2B2823; /* warmes Anthrazit statt reinem Schwarz */
	--ruba-text-muted: #6B6358; /* gedämpfter Grauton für Nebentexte */

	/* --- Logo-Akzentfarben (sparsam einsetzen!) --------------------
	   Exakt aus der Logo-Datei ausgelesen (Ruba_Logo_L.jpg) –
	   keine Schätzwerte, sondern die echten Markenfarben.        */
	--ruba-neon-green:      #5FD600; /* Grün aus dem Logo */
	--ruba-neon-green-dark: #367A00; /* abgedunkelt – für Hover & Text-Kontrast (Kontrast 5,3:1 auf Weiß) */
	--ruba-sun-yellow:      #F3FF1C; /* Gelb aus dem Logo */
	--ruba-sun-yellow-dark: #B5BF00; /* abgedunkelt */

	/*
	 * WICHTIG (geprüfter Kontrast nach WCAG):
	 * Reines Logo-Grün auf Weiß hat nur Kontrast 1,9:1, reines Gelb
	 * auf Weiß nur 1,1:1 – beide sind als TEXTFARBE auf hellem Grund
	 * praktisch unlesbar und werden im CSS daher NIE so eingesetzt.
	 * Regel: Grün/Gelb nur als FLÄCHE (Button, Badge) mit dunklem
	 * Text drauf, als dünne Linie/Text nur die -dark-Variante, oder
	 * auf dunklem Untergrund (Footer).
	 */

	/* --- Funktionale Zuweisungen (im Code IMMER diese verwenden) --- */
	--color-bg:              var(--ruba-sand-50);
	--color-surface:         #FFFFFF;
	--color-surface-alt:     var(--ruba-sand-100);
	--color-border:          var(--ruba-stone-300);
	--color-text:            var(--ruba-ink-900);
	--color-text-muted:      var(--ruba-text-muted);

	--color-accent:          var(--ruba-neon-green);
	--color-accent-hover:    var(--ruba-neon-green-dark);
	--color-accent-secondary:      var(--ruba-sun-yellow);
	--color-accent-secondary-hover: var(--ruba-sun-yellow-dark);

	/* Für Fließtext-Links: abgedunkeltes Grün statt Neon (Lesbarkeit/Kontrast) */
	--color-link:        #4D7A1F;
	--color-link-hover:  var(--ruba-ink-900);

	/* --- Typografie ------------------------------------------------- */
	--font-display: "Outfit", "Segoe UI", sans-serif;  /* Überschriften – modern, freundlich, leicht architektonisch */
	--font-body:    "Inter", "Segoe UI", sans-serif;   /* Fließtext – sehr gut lesbar, neutral warm */

	/* --- Abstände & Radien (konsistentes Raster) --------------------- */
	--space-xs:  0.5rem;
	--space-sm:  1rem;
	--space-md:  1.5rem;
	--space-lg:  2.5rem;
	--space-xl:  4rem;

	--radius-sm: 6px;
	--radius-md: 14px;
	--radius-lg: 24px;

	--shadow-sm: 0 2px 8px rgba(43, 40, 35, 0.06);
	--shadow-md: 0 12px 28px rgba(43, 40, 35, 0.10);

	--container-width: 1180px;
}


/* =================================================================
   2. RESET & GRUNDLAGEN
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 var(--space-sm);
	color: var(--color-text);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p  { margin: 0 0 var(--space-sm); }

a {
	color: var(--color-link);
	text-decoration: none;
	transition: color .15s ease;
}
a:hover { color: var(--color-link-hover); }

/* Sichtbarer Fokus-Rahmen für Tastatur-Bedienung (Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--ruba-neon-green-dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	html { scroll-behavior: auto; }
}

/* Nur für Tastatur-/Screenreader-Nutzer sichtbar ("Zum Inhalt springen") */
.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ruba-ink-900);
	color: #fff;
	padding: .6rem 1rem;
	z-index: 9999;
	border-radius: var(--radius-sm);
}
.screen-reader-text:focus {
	left: var(--space-sm);
	top: var(--space-sm);
}


/* =================================================================
   3. LAYOUT-HILFEN
   ================================================================= */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.site-main { padding-block: var(--space-lg); }


/* =================================================================
   4. HEADER / NAVIGATION (hell, viel Weißraum, Logo bekommt Raum)
   ================================================================= */
.site-header {
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding-block: var(--space-sm);
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img,
.site-logo .custom-logo {
	display: block;
	max-height: 64px;  /* Steuert die ANGEZEIGTE Größe – unabhängig von der Bildauflösung */
	width: auto;
	height: auto;
}

.main-nav { display: flex; }
.main-nav ul {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;      /* Desktop: einzeilig, kein Umbruch (auch mit Jubiläums-Siegel) */
	gap: var(--space-md);
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a { white-space: nowrap; }  /* einzelne Menüpunkte nicht umbrechen */
.main-nav li { margin: 0; }
.main-nav a {
	color: var(--color-text);
	font-weight: 500;
}
/* Dünne Akzentlinie statt grellem Hintergrund beim Hover -> seriös + markentreu */
.main-nav a:hover {
	color: var(--color-text);
	border-bottom: 2px solid var(--ruba-neon-green);
}

/* --- Dropdown-Untermenüs (Desktop) --- */
.main-nav .menu-item-has-children { position: relative; }
/* kleiner Pfeil als Hinweis auf das Untermenü */
.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: .4em;
	height: .4em;
	margin-left: .4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	vertical-align: middle;
	opacity: .6;
}
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--ruba-neon-green);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: .3rem .4rem;
	margin: 0;
	list-style: none;
	/* horizontal: Einträge nebeneinander in einer Zeile */
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 60;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
/* Trenner zwischen den horizontalen Einträgen */
.main-nav .sub-menu li + li {
	border-left: 1px solid var(--color-border);
}
.main-nav .sub-menu a {
	display: block;
	padding: .5rem 1.1rem;
	white-space: nowrap;
	font-weight: 500;
}
.main-nav .sub-menu a:hover {
	border-bottom: none;
	color: var(--ruba-neon-green-dark);
}
/* unsichtbare Brücke, damit die Maus vom Punkt zum Untermenü nicht "abreißt" */
.main-nav .menu-item-has-children::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 8px;
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: var(--space-xs);
}

@media (max-width: 880px) {
	.main-nav {
		display: none;
		flex-direction: column;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: var(--color-surface);
		border-bottom: 1px solid var(--color-border);
		padding: var(--space-md);
	}
	.main-nav.is-open { display: flex; }
	.main-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-sm);
		width: 100%;
	}
	/* Untermenüs im mobilen Menü: immer sichtbar & eingerückt (kein Hover auf Touch) */
	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: flex;
		flex-direction: column;
		white-space: normal;
		box-shadow: none;
		border: none;
		border-left: 2px solid var(--ruba-neon-green);
		border-radius: 0;
		margin: .2rem 0 .2rem .6rem;
		padding: 0;
		min-width: 0;
		width: 100%;
	}
	.main-nav .sub-menu li + li { border-left: none; }
	.main-nav .sub-menu a { padding: .4rem .8rem; }
	/* Hover-Transform der Desktop-Variante im Mobilmenü neutralisieren –
	   sonst schiebt translateX(-50%) den Text beim Antippen nach links */
	.main-nav .menu-item-has-children:hover > .sub-menu,
	.main-nav .menu-item-has-children:focus-within > .sub-menu {
		transform: none;
	}
	/* Pfeil-Indikator im Mobilmenü ausblenden (Untermenü ist ohnehin offen) */
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .menu-item-has-children::after { display: none; }
	.nav-toggle { display: inline-flex; }
}


/* =================================================================
   5. BUTTONS
   ================================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .85rem 1.5rem;
	border-radius: var(--radius-md);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }

/* Primär: kräftiges Neon-Grün – DER Blickfang für Haupt-Aktionen */
.btn--primary {
	background: var(--color-accent);
	color: var(--ruba-ink-900);
}
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }

/* Sekundär/Outline: dezent, nur dünner Akzentrahmen statt Fläche */
.btn--outline {
	background: transparent;
	border-color: var(--ruba-ink-900);
	color: var(--ruba-ink-900);
}
.btn--outline:hover {
	border-color: var(--color-accent-hover);
	color: var(--color-accent-hover);
}


/* =================================================================
   6. BADGES (z. B. Projekt-Status)
   ================================================================= */
.badge {
	display: inline-block;
	padding: .3rem .85rem;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 600;
	margin-bottom: var(--space-sm);
}
.badge--verkauf    { background: var(--ruba-neon-green); color: var(--ruba-ink-900); }
.badge--reserviert { background: var(--ruba-sun-yellow);  color: var(--ruba-ink-900); }
.badge--planung    { background: var(--ruba-sand-100); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.badge--verkauft   { background: var(--ruba-ink-900); color: #fff; }


/* =================================================================
   7. KARTEN (allgemein) + EINZELANSICHT "BAUPROJEKT"
   ================================================================= */
.breadcrumb {
	font-size: .85rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
	display: flex;
	gap: .4rem;
	flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-link); }

.bauprojekt-hero { margin-bottom: var(--space-lg); }
.bauprojekt-hero__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: var(--space-md);
	box-shadow: var(--shadow-md);
}
/* Objekt-Hero: ganzes Bild zeigen (nicht beschneiden), damit der unten
   eingebrannte "Symbolbild"-Hinweis sichtbar bleibt. Rest mit Sand füllen. */
.single-bezugsobjekt .bauprojekt-hero__image {
	background: var(--color-surface-alt);
	max-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.single-bezugsobjekt .bauprojekt-hero__image img {
	width: 100%;
	max-height: 520px;
	object-fit: contain;
}
.bauprojekt-hero__title { margin-bottom: var(--space-xs); }
.bauprojekt-hero__ort {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--color-text-muted);
}
.bauprojekt-hero__ort svg { color: var(--ruba-neon-green-dark); }

.bauprojekt-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: var(--space-lg);
	align-items: start;
}
@media (max-width: 880px) {
	.bauprojekt-layout { grid-template-columns: 1fr; }
}

.bauprojekt-content__text { font-size: 1.05rem; }

.bauprojekt-sidebar { display: flex; flex-direction: column; gap: var(--space-md); }

/* Generische helle Karte mit dünner Akzentlinie statt grellem Rahmen */
.info-card, .download-card, .cta-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--ruba-neon-green);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-sm);
}

.info-card__title { font-size: 1.05rem; margin-bottom: var(--space-sm); }
.info-card__list { list-style: none; margin: 0; padding: 0; }
.info-card__list li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-sm);
	padding: .55rem 0;
	border-bottom: 1px dashed var(--color-border);
	font-size: .92rem;
}
.info-card__list li:last-child { border-bottom: none; }
.info-card__list span { color: var(--color-text-muted); }

.download-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.download-card__icon {
	width: 48px; height: 48px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ruba-sand-100);
	border-radius: var(--radius-sm);
	color: var(--ruba-wood-600);
	flex-shrink: 0;
}
.download-card__label { font-weight: 600; margin: 0; }
.download-card__meta { margin: 0; font-size: .85rem; color: var(--color-text-muted); }
.download-card__button { width: 100%; justify-content: center; margin-top: .25rem; }

.cta-card { text-align: center; background: var(--color-surface-alt); border-top-color: var(--ruba-neon-green-dark); }
.cta-card__text { font-weight: 500; margin-bottom: var(--space-sm); }
/* Abstand zwischen mehreren Buttons in der CTA-Karte (z. B. Anfragen +
   Exposé-Download). Beide Buttons volle Breite, sauber untereinander. */
.cta-card .btn {
	display: flex;
	width: 100%;
	justify-content: center;
}
.cta-card .btn + .btn { margin-top: .6rem; }
.print-button { width: 100%; justify-content: center; }
.print-button svg { flex-shrink: 0; }

.bauprojekt-back { margin-top: var(--space-lg); }


/* =================================================================
   8. FOOTER
   ================================================================= */
.site-footer {
	background: var(--ruba-ink-900);
	color: #EFEAE0;
	padding-block: var(--space-xl);
	margin-top: var(--space-xl);
}
.site-footer a { color: #EFEAE0; }
.site-footer a:hover { color: var(--ruba-neon-green); }
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-lg);
}
.site-footer__meta {
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .85rem;
	color: rgba(255,255,255,.6);
}
.site-footer__col h3 {
	font-size: 1rem;
	color: #fff;
	margin-bottom: var(--space-xs);
}
.site-footer__logo { margin-bottom: var(--space-sm); }
.site-footer__logo img,
.site-footer__logo .custom-logo {
	display: block;
	max-height: 56px;
	width: auto;
	height: auto;
}
.site-footer__col address {
	font-style: normal;
	line-height: 1.6;
	margin-bottom: var(--space-xs);
	color: rgba(255,255,255,.85);
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }

/* Social-Media-Icons: horizontal, runde Buttons in Markenfarbe */
.site-footer__social {
	flex-direction: row !important;
	gap: .6rem !important;
	margin-top: var(--space-sm) !important;
}
.site-footer__social li { margin: 0; }
.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.site-footer__social a:hover {
	background: var(--ruba-neon-green);
	color: var(--ruba-ink-900);
	transform: translateY(-2px);
}

.site-header__cta { margin-left: var(--space-sm); flex-shrink: 0; }
@media (max-width: 880px) { .site-header__cta { display: none; } }

/* Telefonnummern im Header (beide Standorte) */
.site-header__phone-wrap { margin-left: auto; position: relative; }

/* ---- DESKTOP-Variante: beide Nummern mit Ort-Label ---- */
.site-header__phones {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}
.site-header__phone-item {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .3rem .55rem;
	color: var(--ruba-ink-900);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: background .15s ease, color .15s ease;
}
.site-header__phone-item:hover {
	color: var(--ruba-neon-green-dark);
	background: var(--ruba-sand-100);
}
.site-header__phone-icon { color: var(--ruba-neon-green-dark); flex-shrink: 0; }
.site-header__phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-header__phone-ort {
	font-size: .66rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--color-text-muted);
}
.site-header__phone-num { font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ---- MOBIL-Variante: ein Hörer-Button + Popup (auf Desktop versteckt) ---- */
.site-header__phone-mobile { display: none; position: relative; }
.site-header__phone-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	border-radius: var(--radius-sm);
	color: var(--ruba-neon-green-dark);
	cursor: pointer;
}
.site-header__phone-toggle:hover { background: var(--ruba-sand-100); }
.site-header__phone-popup {
	position: absolute;
	top: calc(100% + .4rem);
	right: 0;
	z-index: 60;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 24px rgba(0,0,0,.14);
	padding: .5rem;
}
.site-header__phone-popup[hidden] { display: none; }
.site-header__phone-popup-title {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--color-text-muted);
	margin: .2rem .4rem .4rem;
}
.site-header__phone-popup-item {
	display: flex;
	flex-direction: column;
	padding: .5rem .6rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ruba-ink-900);
}
.site-header__phone-popup-item:hover { background: var(--ruba-sand-100); }
.site-header__phone-popup-item + .site-header__phone-popup-item { margin-top: .15rem; }
.site-header__phone-popup-ort {
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--color-text-muted);
}
.site-header__phone-popup-num { font-weight: 700; font-size: 1rem; }

/* Umschaltung: unter 900px Desktop-Nummern weg, Hörer-Button zeigen */
@media (max-width: 900px) {
	.site-header__phones--desktop { display: none; }
	.site-header__phone-mobile { display: block; }
}


/* =================================================================
   9. STARTSEITE: HERO
   ================================================================= */
.hero {
	background: var(--color-surface-alt);
	border-bottom: 1px solid var(--color-border);
	padding-block: var(--space-xl);
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: var(--space-lg);
	align-items: center;
}
@media (max-width: 880px) {
	.hero__inner { grid-template-columns: 1fr; }
}

/* Der EINE bewusst kräftige Akzent der ganzen Seite: gelbes "Kicker"-Schild
   ganz oben im Hero – gefüllte Fläche mit dunklem Text, daher gut lesbar. */
.hero__kicker {
	display: inline-block;
	background: var(--ruba-sun-yellow);
	color: var(--ruba-ink-900);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .85rem;
	padding: .35rem 1rem;
	border-radius: 999px;
	margin-bottom: var(--space-sm);
}
.hero__lead { font-size: 1.15rem; color: var(--color-text-muted); max-width: 640px; }
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-md); }

.hero__visual {
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	box-shadow: var(--shadow-sm);
}
.hero__visual svg { width: 100%; height: auto; display: block; }
.hero__photo {
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: cover;
	display: block;
	aspect-ratio: 5 / 4;
}
.hero__visual-caption {
	position: absolute;
	bottom: var(--space-sm);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255,255,255,.9);
	color: var(--color-text-muted);
	font-size: .78rem;
	padding: .3rem .8rem;
	border-radius: 999px;
	white-space: nowrap;
}


/* =================================================================
   10. INHALTS-SEKTIONEN (Startseite + Archive)
   ================================================================= */
.section { padding-block: var(--space-xl); }
.section--alt { background: var(--color-surface-alt); }
.section__lead { color: var(--color-text-muted); max-width: 640px; margin-bottom: var(--space-md); }
.section__more { margin-top: var(--space-md); }
.section__more a { font-weight: 600; }
/* Prominenter, zentrierter Button-Abschluss (Haustypen / Referenzen).
   .btn drin -> der font-weight-Reset oben greift, Darstellung kommt vom Button. */
.section__more--gross { margin-top: var(--space-lg); text-align: center; }
.section__more--gross .btn { display: inline-flex; }

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-md);
}

/* Kompakte Variante (Bauprojekte/Grundstücke): feste Kachelbreite,
   linksbündig – eine einzelne Karte wird NICHT auf volle Breite gezogen,
   mehrere reihen sich nebeneinander (wie die Haustyp-Kacheln). */
.card-grid--compact {
	grid-template-columns: repeat(auto-fill, 300px);
	justify-content: start;
}
@media (max-width: 680px) {
	.card-grid--compact {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
}

/* Zwei-Spalten-Variante (Verfügbare Häuser): maximal 2 Karten pro Reihe.
   Eine einzelne Karte füllt damit höchstens die halbe Breite, nie die volle. */
.card-grid--zwei {
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 680px) {
	.card-grid--zwei {
		grid-template-columns: 1fr;
	}
}

.card {
	display: block;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__image { aspect-ratio: 4/3; overflow: hidden; background: var(--color-surface-alt); }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--space-md); }
.card__body h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.card__body p { color: var(--color-text-muted); font-size: .92rem; margin-bottom: 0; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .6rem; font-size: .85rem; color: var(--color-text-muted); }

.trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-md);
	margin-top: var(--space-md);
}
.trust__item {
	background: var(--color-surface);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	border-left: 3px solid var(--ruba-neon-green);
}
.trust__item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.trust__item p { color: var(--color-text-muted); margin: 0; font-size: .92rem; }

.cta-banner { text-align: center; }
.cta-banner__inner { max-width: 560px; }
.cta-banner .btn { margin-top: var(--space-sm); }


/* =================================================================
   11. EINFACHE INHALTSSEITEN (Über uns, Datenschutz, Impressum)
   ================================================================= */
.container--narrow { max-width: 760px; }
.page-generic__header { margin-bottom: var(--space-md); }
.page-generic__content h2 { margin-top: var(--space-lg); }
.page-generic__content ul { padding-left: 1.2em; }


/* =================================================================
   12. KONTAKTSEITE
   ================================================================= */
.kontakt-layout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: var(--space-lg);
	align-items: start;
	margin-top: var(--space-lg);
}
@media (max-width: 880px) { .kontakt-layout { grid-template-columns: 1fr; } }

.kontakt-form {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	box-shadow: var(--shadow-sm);
}
/* Grundformatierung, falls das Formular-Plugin keine eigenen Stile mitbringt */
.kontakt-form form p { margin-bottom: var(--space-sm); }
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	background: var(--color-bg);
}
.kontakt-form input:focus, .kontakt-form textarea:focus {
	border-color: var(--ruba-neon-green-dark);
	outline: none;
}
.kontakt-standorte { display: flex; flex-direction: column; gap: var(--space-md); }
.standort-card address { font-style: normal; line-height: 1.6; }


/* =================================================================
   13. IMPRESSUM
   ================================================================= */
.impressum-block {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--ruba-neon-green);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	margin-bottom: var(--space-md);
}
.impressum-block address { font-style: normal; line-height: 1.6; }
.impressum-block--branch { border-left-color: var(--ruba-neon-green-dark); }
.impressum-note { color: var(--color-text-muted); font-size: .9rem; margin-bottom: 0; }
.impressum-content { margin-top: var(--space-lg); }


/* =================================================================
   14. BILD-PLATZHALTER (bis echte Fotos vorliegen)
   ================================================================= */
.image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background:
		repeating-linear-gradient(45deg, var(--ruba-sand-100) 0 10px, var(--color-surface) 10px 20px);
	color: var(--color-text-muted);
}
.image-placeholder svg { color: var(--ruba-neon-green-dark); opacity: .8; }
.image-placeholder span { font-size: .8rem; font-weight: 500; }
.image-placeholder--hero { min-height: 320px; border-radius: var(--radius-lg); }

/* =================================================================
   15. NATIVE WORDPRESS-GALERIE (Block- oder Klassik-Editor)
   Damit hochgeladene Foto-Galerien zum Rest der Seite passen.
   ================================================================= */
.page-generic__content .gallery,
.impressum-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--space-sm);
	margin: var(--space-md) 0;
	list-style: none;
	padding: 0;
}
.page-generic__content .gallery-item,
.impressum-content .gallery-item { margin: 0; }
.page-generic__content .gallery-item img,
.impressum-content .gallery-item img {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4/3;
}
.page-generic__content .gallery-caption {
	font-size: .8rem;
	color: var(--color-text-muted);
	text-align: center;
	margin-top: .3rem;
}


/* =================================================================
   16. SCROLL-ANIMATIONEN (dezent, edel, nicht aufdringlich)
   Aktiv über die Klasse .reveal; JS fügt .is-visible hinzu.
   Bei prefers-reduced-motion bleibt alles statisch sichtbar.
   ================================================================= */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}
/* Leichte Staffelung, wenn mehrere Elemente nebeneinander einfaden */
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}


/* =================================================================
   17. AKTUELL-HINWEIS (statischer, ruhiger Ersatz für den alten Ticker)
   ================================================================= */
.aktuell-bar {
	background: var(--ruba-ink-900);
	color: #fff;
	font-size: .95rem;
}
.aktuell-bar__inner {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding-block: .7rem;
	flex-wrap: wrap;
}
.aktuell-bar__badge {
	background: var(--ruba-sun-yellow);
	color: var(--ruba-ink-900);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: .25rem .7rem;
	border-radius: 999px;
	flex-shrink: 0;
}
.aktuell-bar__text { margin: 0; }
.aktuell-bar a { color: var(--ruba-neon-green); font-weight: 600; white-space: nowrap; }
.aktuell-bar a:hover { color: #fff; }


/* =================================================================
   18. ZAHLEN-SEKTION (Kennzahlen mit Hochzähl-Effekt)
   ================================================================= */
.stats {
	background: var(--color-surface);
	border-block: 1px solid var(--color-border);
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--space-lg);
	padding-block: var(--space-xl);
	text-align: center;
}
.stats__item { padding: 0 var(--space-sm); }
.stats__number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	line-height: 1;
	color: var(--ruba-ink-900);
	display: block;
}
.stats__number,
.stats__number .count-up { color: var(--ruba-neon-green-dark); }
.stats__label {
	margin-top: .6rem;
	color: var(--color-text-muted);
	font-size: .95rem;
}


/* =================================================================
   19. BAUPROZESS / ABLAUF (nummerierte Schritte)
   ================================================================= */
.prozess__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-md);
	margin-top: var(--space-lg);
	counter-reset: schritt;
}
.prozess__step {
	position: relative;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg) var(--space-md) var(--space-md);
	box-shadow: var(--shadow-sm);
}
.prozess__step::before {
	counter-increment: schritt;
	content: counter( schritt );
	position: absolute;
	top: -18px;
	left: var(--space-md);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ruba-neon-green);
	color: var(--ruba-ink-900);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
}
.prozess__step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.prozess__step p { color: var(--color-text-muted); font-size: .92rem; margin: 0; }


/* =================================================================
   20. SCHLÜSSELFERTIG / LEISTUNGSLISTE ("Was ist dabei?")
   ================================================================= */
.leistungen {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
	margin-top: var(--space-md);
}
@media (max-width: 700px) { .leistungen { grid-template-columns: 1fr; } }

.leistungen__col h3 {
	font-size: 1.1rem;
	margin-bottom: var(--space-sm);
	display: flex;
	align-items: center;
	gap: .5rem;
}
.leistungen__list { list-style: none; margin: 0; padding: 0; }
.leistungen__list li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	padding: .55rem 0;
	border-bottom: 1px dashed var(--color-border);
}
.leistungen__list li:last-child { border-bottom: none; }
/* grüner Haken für "inklusive" */
.leistungen__list--inkl li::before {
	content: "";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	background-color: var(--ruba-neon-green);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2823' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}
/* Pluszeichen für "optional" */
.leistungen__list--option li::before {
	content: "+";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ruba-sand-100);
	color: var(--ruba-wood-600);
	border-radius: 50%;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
}
.leistungen__col--inkl {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--ruba-neon-green);
	border-radius: var(--radius-md);
	padding: var(--space-md);
}
.leistungen__col--option {
	background: var(--color-surface-alt);
	border-radius: var(--radius-md);
	padding: var(--space-md);
}


/* =================================================================
   21. ZEITSTRAHL (Firmengeschichte auf "Über uns")
   ================================================================= */
.timeline {
	position: relative;
	margin: var(--space-lg) 0;
	padding-left: 2rem;
	list-style: none;
}
.timeline li { list-style: none; }
/* durchgehende Linie links */
.timeline::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: var(--color-border);
}
.timeline__item {
	position: relative;
	padding-bottom: var(--space-lg);
}
.timeline__item:last-child { padding-bottom: 0; }
/* Punkt auf der Linie */
.timeline__item::before {
	content: "";
	position: absolute;
	left: -2rem;
	top: 4px;
	width: 16px;
	height: 16px;
	background: var(--ruba-neon-green);
	border: 3px solid var(--color-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--color-border);
}
.timeline__year {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ruba-neon-green-dark);
	font-size: 1.1rem;
	margin-bottom: .2rem;
}
.timeline__title { font-size: 1.05rem; margin: 0 0 .3rem; }
.timeline__text { color: var(--color-text-muted); font-size: .93rem; margin: 0; }
.timeline__text p { margin: 0 0 .5rem; }
.timeline__text p:last-child { margin-bottom: 0; }

/* --- Alternierendes Layout: Stationen abwechselnd links/rechts (nur Desktop) --- */
@media (min-width: 780px) {
	.timeline--alternating {
		padding-left: 0;
	}
	/* Mittellinie zentriert statt links */
	.timeline--alternating::before {
		left: 50%;
		transform: translateX(-50%);
	}
	.timeline--alternating .timeline__item {
		width: 50%;
		padding-bottom: var(--space-lg);
	}
	/* ungerade Stationen (1, 3, 5…) nach links */
	.timeline--alternating .timeline__item:nth-child(odd) {
		left: 0;
		padding-right: var(--space-lg);
		text-align: right;
	}
	/* gerade Stationen (2, 4, 6…) nach rechts */
	.timeline--alternating .timeline__item:nth-child(even) {
		left: 50%;
		padding-left: var(--space-lg);
		text-align: left;
	}
	/* Punkte sitzen auf der Mittellinie */
	.timeline--alternating .timeline__item:nth-child(odd)::before {
		left: auto;
		right: calc( -0.5 * var(--space-lg) - 8px );
	}
	.timeline--alternating .timeline__item:nth-child(even)::before {
		left: calc( -0.5 * var(--space-lg) - 8px );
	}
}

/* =================================================================
   22. GRUNDRISSE (auf Haustyp-Modellseiten)
   ================================================================= */
.grundrisse { margin-top: var(--space-lg); }
.grundrisse h2 { margin-bottom: var(--space-sm); }
.grundrisse__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--space-md);
}
.grundriss {
	margin: 0;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-sm);
	box-shadow: var(--shadow-sm);
}
.grundriss img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
	background: var(--color-surface-alt);
}
.grundriss figcaption {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .9rem;
	color: var(--color-text-muted);
	margin-top: .5rem;
}

/* =================================================================
   23. JUBILÄUMS-SIEGEL am Logo (erscheint automatisch nur in runden
   Jahren, greift den Kreis-Störer der alten Flyer auf, im Siegel-Look).
   Sitzt im Header, scrollt also mit – kein wegscrollendes Band.
   ================================================================= */
.site-logo--jubilaeum { gap: .55rem; }
.jubilaeum-badge {
	flex-shrink: 0;
	display: inline-flex;
	width: 52px;
	height: 52px;
	transform: rotate(-9deg);
	filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}
.jubilaeum-badge__svg { width: 100%; height: 100%; display: block; }
.jubilaeum-badge__arc { fill: var(--ruba-ink-900); font-family: var(--font-display); }
@media (max-width: 600px) {
	.jubilaeum-badge { width: 48px; height: 48px; }
}

/* =================================================================
   24. AUSSTATTUNGS-CHECKLISTE ("Das ist dabei" auf Haustyp-Seiten)
   ================================================================= */
.ausstattung {
	margin-top: var(--space-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-top: 3px solid var(--ruba-neon-green);
	border-radius: var(--radius-md);
	padding: var(--space-md) var(--space-lg) var(--space-lg);
	box-shadow: var(--shadow-sm);
}
.ausstattung h2 { margin-bottom: .3rem; }
.ausstattung__intro { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.ausstattung__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem var(--space-md);
}
@media (max-width: 600px) { .ausstattung__list { grid-template-columns: 1fr; } }
.ausstattung__list li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	padding: .35rem 0;
	font-size: .95rem;
}
.ausstattung__list li::before {
	content: "";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	background-color: var(--ruba-neon-green);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B2823' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

/* Optionale Ausstattung – optisch abgesetzt (kein Serien-Häkchen, sondern
   ein Plus; anderer Rahmen-Akzent, damit die Trennung sofort klar ist). */
.ausstattung--optional {
	border-top-color: #C9A227; /* warmer Gold-Ton statt Neon-Grün */
	background: #fcfbf6;
}
.ausstattung__list--optional li::before {
	background-color: #E7D9A6;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23705B12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

/* =================================================================
   25. DRUCK-LAYOUT (Exposé-Ausdruck für Haustyp & Bauprojekt)
   -----------------------------------------------------------------
   Beim Drucken (oder "Als PDF speichern") wird die Seite komplett
   zu einem sauberen A4-Exposé umgebaut: Navigation, Footer, Buttons
   und Animationen verschwinden, Inhalt wird druckgerecht angeordnet.
   Orientiert am Aufbau der RUBA-Flyer (Bild + Eckdaten + Häkchenliste).
   ================================================================= */
@media print {

	/* Browser drucken Hintergründe/Farben standardmäßig NICHT – das hier
	   erzwingt, dass die grünen CI-Akzente (Linien, Häkchen) erhalten bleiben. */
	* {
		print-color-adjust: exact !important;
		-webkit-print-color-adjust: exact !important;
	}

	/* Grundlegendes: Animationen aus, alles sichtbar, schwarze Schrift auf weiß */
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		box-shadow: none !important;
		opacity: 1 !important;
		transform: none !important;
		color: #1a1a1a !important;
	}

	@page {
		size: A4 portrait;
		margin: 14mm 14mm 16mm 14mm;
	}

	body {
		background: #fff !important;
		font-size: 11pt;
		line-height: 1.4;
	}

	/* Alles ausblenden, was nicht ins Exposé gehört.
	   Der Header bleibt drin – er wird unten auf nur das Logo reduziert,
	   damit das echte Markenlogo den Druck-Kopf bildet. */
	.jubilaeum-badge,
	.aktuell-bar,
	.site-footer,
	.breadcrumb,
	.bauprojekt-back,
	.cta-card,
	.download-card,
	.print-button,
	.no-print,
	.skip-link,
	.nav-toggle,
	.main-nav,
	.site-header__cta,
	.site-header__phone-wrap,
	.reveal--delay-1,            /* Sidebar wird neu angeordnet, s. u. */
	#wpadminbar {
		display: none !important;
	}

	/* Header auf reine Logo-Zeile reduzieren (echtes Markenlogo als Druck-Kopf) */
	.site-header {
		position: static !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 0 6pt 0 !important;
		margin: 0 0 12pt 0 !important;
		border-bottom: 3pt solid #5FD600 !important;
		display: block !important;
	}
	.site-header__inner {
		display: block !important;
		padding: 0 !important;
	}
	.site-logo img,
	.site-logo .custom-logo {
		max-height: 22mm !important;
		width: auto !important;
	}

	/* Container-Begrenzungen aufheben, volle Druckbreite nutzen */
	.container,
	.bauprojekt-layout,
	.site-main {
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		display: block !important;
	}

	/* --- Hero-Bild: kompakt, sauber begrenzt --- */
	.bauprojekt-hero { margin: 0 0 10pt !important; }
	.bauprojekt-hero__image {
		border-radius: 0 !important;
		max-height: 80mm;
		overflow: hidden;
	}
	.bauprojekt-hero__image img {
		width: 100% !important;
		max-height: 80mm;
		object-fit: cover;
	}
	.image-placeholder { display: none !important; }  /* leere Platzhalter nicht drucken */

	.bauprojekt-hero__title {
		font-size: 20pt !important;
		margin: 8pt 0 4pt !important;
	}
	.bauprojekt-hero__ort { font-size: 11pt !important; }

	/* Status-Badge im Druck als dezenter Rahmen statt Vollfläche */
	.badge {
		background: #fff !important;
		border: 1pt solid #5FD600 !important;
		color: #1a1a1a !important;
		padding: 2pt 8pt !important;
	}

	/* --- Inhalt + Eckdaten untereinander statt nebeneinander --- */
	.bauprojekt-content,
	.bauprojekt-sidebar {
		display: block !important;
		width: 100% !important;
		float: none !important;
	}
	.bauprojekt-content { margin-bottom: 10pt; }

	/* Eckdaten-Box: kompakt, mit Rahmen, bricht nicht um */
	.info-card {
		border: 1pt solid #999 !important;
		border-top: 2pt solid #5FD600 !important;
		border-radius: 0 !important;
		padding: 8pt 10pt !important;
		margin-bottom: 10pt !important;
		break-inside: avoid;
		print-color-adjust: exact;
	}
	.info-card__title { font-size: 12pt !important; }
	.info-card__list li { font-size: 10.5pt !important; padding: 3pt 0 !important; }

	/* --- Ausstattungs-Häkchenliste: wie auf dem Flyer, zweispaltig --- */
	.ausstattung {
		border: 1pt solid #999 !important;
		border-top: 2pt solid #5FD600 !important;
		border-radius: 0 !important;
		padding: 8pt 10pt !important;
		break-inside: avoid;
	}
	.ausstattung h2 { font-size: 13pt !important; }
	.ausstattung__intro { font-size: 10pt !important; margin-bottom: 6pt !important; }
	.ausstattung__list { gap: 2pt 14pt !important; }
	.ausstattung__list li { font-size: 10pt !important; padding: 2pt 0 !important; }
	/* grüner Haken bleibt erhalten (als SVG-Hintergrund), nur kleiner */
	.ausstattung__list li::before {
		width: 14px !important;
		height: 14px !important;
		print-color-adjust: exact;
		-webkit-print-color-adjust: exact;
	}

	/* --- Grundrisse: nebeneinander, sauber auf die Seite --- */
	.grundrisse { break-inside: avoid; margin-top: 10pt !important; }
	.grundrisse h2 { font-size: 13pt !important; }
	.grundriss {
		border: 1pt solid #ccc !important;
		border-radius: 0 !important;
		padding: 4pt !important;
	}
	.grundriss img { max-height: 110mm; object-fit: contain; }

	/* Fließtext im Inhaltsbereich */
	.page-generic__content { font-size: 10.5pt !important; }
	.page-generic__content h2 { font-size: 13pt !important; }

	/* "So gebaut"-Referenzen im Druck weglassen (gehört nicht ins Exposé) */
	.section--alt { display: none !important; }

	/* Links nicht als URL ausdrucken (sonst hängt überall (http://...) dran) */
	a[href]::after { content: "" !important; }

	/* Fußzeile mit Kontaktdaten auf jeder Seite */
	.site-main::after {
		content: "RUBA Hausbau GmbH · An der Hebemärchte 14, 04316 Leipzig · Tel. 0341-65 96 60 · www.ruba-hausbau.de";
		display: block;
		margin-top: 14pt;
		padding-top: 6pt;
		border-top: 1pt solid #999;
		font-size: 8.5pt;
		color: #555 !important;
		text-align: center;
	}
}

/* =================================================================
   25. BEZUGSFERTIGE OBJEKTE (Preis-Karte, Status, Objekt-Karten)
   ================================================================= */
.objekt-gruppe { margin-bottom: var(--space-xl); }
.objekt-gruppe__title {
	border-bottom: 2px solid var(--ruba-neon-green);
	padding-bottom: .3rem;
	margin-bottom: var(--space-md);
}

/* Preis-Karte in der Sidebar */
.info-card--price { text-align: center; border-top-color: var(--ruba-neon-green-dark); }
.price-card__label { color: var(--color-text-muted); font-size: .85rem; margin: 0; }
.price-card__value {
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--ruba-neon-green-dark);
	margin: .2rem 0 .5rem;
	line-height: 1.1;
}

/* Verfügbarkeits-Status */
.objekt-status {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	padding: .2rem .7rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.objekt-status--verfuegbar { background: var(--ruba-neon-green); color: var(--ruba-ink-900); }
.objekt-status--reserviert { background: var(--ruba-sun-yellow); color: var(--ruba-ink-900); }
.objekt-status--verkauft   { background: #d8d8d8; color: #555; }
.objekt-status--corner {
	position: absolute;
	top: .6rem;
	left: .6rem;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* Objekt-Karten */
.card--objekt .card__image { position: relative; }
/* Objektbilder komplett zeigen (nicht beschneiden), damit der eingebrannte
   "Symbolbild"-Hinweis am unteren Rand immer sichtbar bleibt. Preis: bei
   abweichendem Seitenverhältnis entstehen schmale Ränder auf Sand-Grund. */
.card--objekt .card__image img { object-fit: contain; }
.card__facts { color: var(--color-text-muted); font-size: .88rem; margin: .3rem 0; }
.card__price {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--ruba-neon-green-dark);
	margin: .2rem 0 0;
}

/* =================================================================
   26. AKTIONS-BUTTON + POPUP
   ================================================================= */
/* dezenter Dauer-Button am rechten Rand */
.aktion__tab {
	position: fixed;
	right: 0;
	bottom: 25%;
	z-index: 200;
	display: flex;
	align-items: center;
	gap: .7rem;
	background: var(--ruba-neon-green);
	color: var(--ruba-ink-900);
	border: none;
	border-radius: var(--radius-md) 0 0 var(--radius-md);
	padding: 1.25rem 1.6rem 1.25rem 1.4rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: -3px 3px 14px rgba(0,0,0,.22);
	transition: transform .15s ease, background-color .15s ease;
	/* Wackel-Animation: alle 6s kurz "anklopfen", um Aufmerksamkeit zu wecken.
	   Startet nach 4s (damit der Nutzer erst ankommt). */
	animation: aktionWackel 6s ease-in-out 4s infinite;
}
.aktion__tab:hover {
	background: var(--ruba-neon-green-dark);
	color: #fff;
	transform: translateX(-3px);
	animation: none; /* beim Hovern nicht wackeln */
}
.aktion__tab-icon { display: inline-flex; }
.aktion__tab-icon svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) {
	.aktion__tab { animation: none; }
}
@media (max-width: 560px) {
	.aktion__tab { bottom: 1rem; padding: 1rem 1.2rem; }
	.aktion__tab-text { display: none; }
}

/* Wackel-Keyframes: kurzes seitliches "Klopfen", der Rest der Zeit ruhig */
@keyframes aktionWackel {
	0%, 82%, 100% { transform: translateX(0); }
	85% { transform: translateX(-6px); }
	88% { transform: translateX(0); }
	91% { transform: translateX(-6px); }
	94% { transform: translateX(0); }
}

/* Overlay + Dialog */
/* hidden muss display:flex sicher überschreiben, sonst ist das Popup offen */
.aktion__overlay[hidden] { display: none !important; }
.aktion__overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-md);
	background: rgba(0,0,0,.55);
	animation: aktionFade .2s ease;
}
@keyframes aktionFade { from { opacity: 0; } to { opacity: 1; } }
.aktion__dialog {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	border-top: 5px solid var(--ruba-neon-green);
	max-width: 480px;
	width: 100%;
	padding: var(--space-lg);
	box-shadow: var(--shadow-md);
	max-height: 90vh;
	overflow-y: auto;
}
.aktion__close {
	position: absolute;
	top: .5rem;
	right: .7rem;
	background: none;
	border: none;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--color-text-muted);
	cursor: pointer;
	padding: .2rem;
}
.aktion__close:hover { color: var(--color-text); }
.aktion__titel { margin: 0 1.5rem .6rem 0; }
.aktion__text { color: var(--color-text); margin-bottom: var(--space-md); }
.aktion__text p:last-child { margin-bottom: 0; }
.aktion__cta { width: 100%; justify-content: center; }

/* =================================================================
   27. BERATER-QUIZ (schwebender Button + Frage-Popup)
   ================================================================= */
.quiz__fab {
	position: fixed;
	left: 1.2rem;
	bottom: 1.2rem;
	z-index: 200;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	background: var(--ruba-ink-900);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: .8rem 1.2rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0,0,0,.25);
	transition: transform .15s ease, background-color .15s ease;
}
.quiz__fab:hover { background: var(--ruba-neon-green-dark); transform: translateY(-2px); }
.quiz__fab svg { flex-shrink: 0; }
@media (max-width: 560px) {
	.quiz__fab-text { display: none; }
	.quiz__fab { padding: .9rem; }
}

.quiz__overlay[hidden] { display: none !important; }
.quiz__overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-md);
	background: rgba(0,0,0,.55);
	animation: aktionFade .2s ease;
}
.quiz__dialog {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	border-top: 5px solid var(--ruba-neon-green);
	max-width: 460px;
	width: 100%;
	padding: var(--space-lg);
	box-shadow: var(--shadow-md);
	max-height: 90vh;
	overflow-y: auto;
}
.quiz__close {
	position: absolute;
	top: .5rem;
	right: .7rem;
	background: none;
	border: none;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--color-text-muted);
	cursor: pointer;
}
.quiz__close:hover { color: var(--color-text); }
.quiz__titel { margin: 0 1.5rem .8rem 0; font-size: 1.3rem; }

/* Fortschrittsbalken */
.quiz__progress {
	height: 5px;
	background: var(--ruba-sand-100);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: var(--space-md);
}
.quiz__progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ruba-neon-green);
	transition: width .3s ease;
}

.quiz__frage { font-weight: 600; margin: 0 0 var(--space-md); font-size: 1.05rem; }

/* Antwort-Optionen als große, klickbare Flächen */
.quiz__optionen { display: flex; flex-direction: column; gap: .5rem; }
.quiz__option {
	text-align: left;
	background: var(--color-surface);
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: .8rem 1rem;
	font-size: .98rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.quiz__option:hover {
	border-color: var(--ruba-neon-green);
	background: var(--ruba-sand-100);
	transform: translateX(3px);
}

/* Kontaktformular im letzten Schritt */
.quiz__form { display: flex; flex-direction: column; gap: .7rem; }
.quiz__form label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; font-weight: 500; }
.quiz__form input[type="text"],
.quiz__form input[type="email"],
.quiz__form input[type="tel"] {
	padding: .6rem .7rem;
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 1rem;
}
.quiz__form input:focus { outline: none; border-color: var(--ruba-neon-green); }
.quiz__check {
	flex-direction: row !important;
	align-items: flex-start;
	gap: .5rem !important;
	font-weight: 400 !important;
	font-size: .85rem !important;
}
.quiz__check input { margin-top: .2rem; flex-shrink: 0; }
.quiz__check span { flex: 1; line-height: 1.4; }
.quiz__submit { margin-top: .3rem; justify-content: center; }
/* Honeypot unsichtbar */
.quiz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz__hinweis { font-size: .85rem; margin: .3rem 0 0; }
.quiz__hinweis--fehler { color: #c0392b; }

/* Danke-Screen */
.quiz__danke { text-align: center; padding: var(--space-md) 0; }
.quiz__danke-icon {
	width: 56px; height: 56px;
	margin: 0 auto var(--space-sm);
	background: var(--ruba-neon-green);
	color: var(--ruba-ink-900);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.8rem; font-weight: 800;
}
.quiz__nav { margin-top: var(--space-md); }

/* =================================================================
   28. GRUNDSTÜCKS-HINWEIS auf der Startseite
   ================================================================= */
.grundstueck-hinweis {
	background: var(--ruba-sand-100);
	padding: var(--space-lg) 0;
}
.grundstueck-hinweis__inner {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}
.grundstueck-hinweis__icon {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--ruba-neon-green);
	color: var(--ruba-ink-900);
	display: flex;
	align-items: center;
	justify-content: center;
}
.grundstueck-hinweis__text h2 { margin: 0 0 .4rem; }
.grundstueck-hinweis__text p { margin: 0 0 var(--space-sm); max-width: 60ch; }
@media (max-width: 680px) {
	.grundstueck-hinweis__inner { flex-direction: column; text-align: center; }
	.grundstueck-hinweis__text p { margin-inline: auto; }
}

/* =================================================================
   29. OVERLAY-BUTTONS BEI OFFENEM MOBILMENÜ AUSBLENDEN
   Wenn das Hamburger-Menü offen ist (body.ruba-nav-open), stören die
   schwebenden Buttons (Quiz, Aktion) – daher ausblenden.
   ================================================================= */
body.ruba-nav-open .quiz__fab,
body.ruba-nav-open .aktion__tab {
	display: none !important;
}

/* =================================================================
   30. BAUPROJEKT-ÜBERSICHT: REGIONEN-GRUPPIERUNG
   ================================================================= */
.bauprojekt-region { margin-bottom: var(--space-xl); }
.bauprojekt-region__title {
	font-size: 1.5rem;
	color: var(--ruba-ink-900);
	padding-bottom: .4rem;
	margin-bottom: 1.2rem;
	border-bottom: 2px solid var(--ruba-neon-green);
}
.bauprojekt-region__desc {
	color: var(--color-text-muted);
	margin: -.6rem 0 1.2rem;
}

/* =================================================================
   31. BAUPROJEKT: GRUNDSTÜCKS-TABELLE, LAGEPLAN, GALERIE
   ================================================================= */
.bauprojekt-lageplan { margin: 2rem 0; }
.bauprojekt-lageplan img {
	width: 100%;
	height: auto;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}
.bauprojekt-lageplan figcaption {
	text-align: center;
	font-size: .85rem;
	color: var(--color-text-muted);
	margin-top: .5rem;
}

.bauprojekt-grundstuecke { margin: 2rem 0; }
.bauprojekt-grundstuecke h2 { margin-bottom: 1rem; }
.grundstueck-tabelle {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}
.grundstueck-tabelle th,
.grundstueck-tabelle td {
	padding: .7rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}
.grundstueck-tabelle th {
	background: var(--ruba-sand-100);
	font-family: var(--font-display);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--color-text-muted);
}
.grundstueck-tabelle tr.is-verkauft { color: var(--color-text-muted); }
.grundstueck-tabelle tr.is-verkauft td:nth-child(2) { text-decoration: line-through; }

.gs-badge {
	display: inline-block;
	padding: .2rem .7rem;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
}
.gs-badge--verfuegbar { background: #e3f5d8; color: #367A00; }
.gs-badge--reserviert { background: #fff3cd; color: #8a6d00; }
.gs-badge--verkauft   { background: #eee; color: #888; }

.bauprojekt-galerie { margin: 2rem 0; }
.bauprojekt-galerie h2 { margin-bottom: 1rem; }
.bauprojekt-galerie__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: .8rem;
}
.bauprojekt-galerie__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-sm);
}
.bauprojekt-galerie__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.bauprojekt-galerie__item:hover img { transform: scale(1.05); }

@media (max-width: 560px) {
	.grundstueck-tabelle th,
	.grundstueck-tabelle td { padding: .5rem .6rem; }
}

/* =================================================================
   32. REFERENZ-GALERIE (gebaute Beispiele nach Kategorie)
   ================================================================= */
.referenz-galerie { margin: var(--space-xl) 0; }
.referenz-galerie h2 { margin-bottom: 1.2rem; }
.referenz-galerie__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: .8rem;
}
.referenz-galerie__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}
.referenz-galerie__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.referenz-galerie__item:hover img { transform: scale(1.06); }

/* Referenz-Übersicht: Gruppen nach Kategorie */
.referenz-gruppe { margin-bottom: var(--space-xl); }
.referenz-gruppe__title {
	font-size: 1.5rem;
	color: var(--ruba-ink-900);
	padding-bottom: .4rem;
	margin-bottom: 1.2rem;
	border-bottom: 2px solid var(--ruba-neon-green);
}

/* =================================================================
   33. HAUSTYP-PLATZHALTER-KACHEL (Modell ohne Foto)
   Ruhige Fläche mit Haus-Icon und dezentem grünem Marken-Schimmer.
   Bewusst OHNE Text – Name/Eckdaten stehen im Karten-Text darunter.
   ================================================================= */
.ht-platzhalter {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ebe6da;
	overflow: hidden;
}
.ht-platzhalter::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(95,214,0,.08), transparent 55%);
}
.ht-platzhalter svg {
	position: relative;
	z-index: 2;
	width: 58px;
	height: 58px;
	color: var(--ruba-neon-green-dark);
	opacity: .7;
}

/* =================================================================
   34. HAUSTYP-KATEGORIE: Konzept-Skizze + schlanke Modell-Kacheln
   ================================================================= */

/* Skizze + Beschreibung nebeneinander (Kategorie-Kopf) */
.typ-intro {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: var(--space-xl);
	align-items: center;
	margin: var(--space-lg) 0 var(--space-2xl);
}
.typ-intro__text h1 { margin: 0 0 .6rem; }
.typ-intro__bild {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 18px;
	box-shadow: var(--shadow-sm);
}
.typ-intro__bild img { width: 100%; height: auto; display: block; }
@media (max-width: 780px) {
	.typ-intro { grid-template-columns: 1fr; gap: var(--space-md); }
	.typ-intro__bild { order: -1; } /* Skizze auf Mobil zuerst */
}

.modelle-titel {
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--ruba-neon-green-dark);
	font-weight: 700;
	margin-bottom: 1.1rem;
}

/* Schlanke, quadratische Modell-Kacheln ohne Bildbereich */
.modell-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: var(--space-2xl);
}
.modell-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	aspect-ratio: 1 / 1;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.modell-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--ruba-neon-green);
}
.modell-card__icon { width: 38px; height: 38px; color: var(--ruba-neon-green-dark); opacity: .5; }
.modell-card__body { margin: auto 0; }
.modell-card__name { font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.modell-card__meta { font-size: .95rem; color: var(--color-text-muted); margin: .25rem 0 0; }
.modell-card__cta { font-size: .9rem; font-weight: 600; color: var(--ruba-neon-green-dark); }

/* Einzelseite Haustyp: Skizze statt Foto-Hero */
.haustyp-hero { margin-bottom: var(--space-lg); }
.haustyp-hero__title { margin: 0; }
.haustyp-hero--mit-skizze {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--space-lg);
	align-items: center;
}
.haustyp-hero__skizze {
	order: 2;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 16px;
	box-shadow: var(--shadow-sm);
}
.haustyp-hero__skizze img { width: 100%; height: auto; display: block; }
.haustyp-hero--mit-skizze .haustyp-hero__title { order: 1; }
@media (max-width: 780px) {
	.haustyp-hero--mit-skizze { grid-template-columns: 1fr; }
	.haustyp-hero__skizze { order: -1; }
}

/* Verbindliche Baubeschreibung (Download auf Modell-Detailseite) */
.baubeschreibung { margin: var(--space-lg) 0 0; }
.baubeschreibung__btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	background: var(--color-surface);
	border: 1.5px solid var(--ruba-neon-green-dark);
	color: var(--ruba-ink-900);
	font-weight: 600;
	padding: .8rem 1.3rem;
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.baubeschreibung__btn svg { color: var(--ruba-neon-green-dark); flex-shrink: 0; }
.baubeschreibung__btn:hover { background: var(--ruba-neon-green-dark); color: #fff; }
.baubeschreibung__btn:hover svg { color: #fff; }
.baubeschreibung__hinweis {
	font-size: .82rem;
	color: var(--color-text-muted);
	margin: .5rem 0 0;
	font-style: italic;
}

/* ------------------------------------------------------------------ *
 * Kategorie-Kacheln (Haustypen-Übersicht): Architektur-Konzeptskizze
 * statt Foto. Linienzeichnungen dürfen NICHT beschnitten werden, daher
 * contain + etwas Innenabstand auf hellem Sand-Grund. Fällt eine
 * Kategorie ohne Skizze zurück (z. B. "Frei geplant"), greift weiter
 * der normale .image-placeholder ("Foto folgt").
 * ------------------------------------------------------------------ */
.card__image--skizze {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-surface-alt);
}
.card__image--skizze img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 1.25rem;
}
