/*
Theme Name: Wohnraum Entdecken
Author: BRND Agentur
Description: Schlankes, responsives Elementor-Theme für Wohnraum Entdecken in Chemnitz.
Version: 1.1.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: wohnraum-entdecken
*/

:root {
	--wre-green: #0c8064;
	--wre-green-dark: #08745a;
	--wre-mint: #b9ded4;
	--wre-mint-soft: #dceee9;
	--wre-yellow: #f3bc00;
	--wre-white: #fff;
	--wre-text: #0c8064;
	--wre-max: 1190px;
	--wre-radius: 0 0 72px 0;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--wre-text); font-family: Montserrat, "Arial Nova", Arial, sans-serif; font-size: 16px; line-height: 1.45; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 9999; width: auto; height: auto; padding: 12px; clip: auto; background: #fff; }
.site-shell, .wre-container { width: min(calc(100% - 48px), var(--wre-max)); margin-inline: auto; }
.site-header { position: relative; z-index: 50; background: var(--wre-green); color: #fff; }
.site-header__inner { min-height: 124px; display: flex; align-items: center; gap: 54px; }
.site-branding { margin-right: auto; }
.site-branding a { color: inherit; text-decoration: none; }
.custom-logo { max-width: 270px; max-height: 72px; width: auto; }
.wre-wordmark { display: flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 900; line-height: .86; letter-spacing: -.03em; }
.wre-wordmark__pin { width: 34px; height: 34px; border: 6px solid #fff; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); position: relative; }
.wre-wordmark__pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--wre-yellow); }
.wre-wordmark__text { display: block; }
.site-nav ul { display: flex; align-items: center; gap: 42px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #fff; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--wre-yellow); }
.site-header__actions { display: flex; gap: 12px; }
.site-header__action { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wre-yellow); color: #fff; text-decoration: none; font-size: 19px; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 28px; }
.site-main { min-height: 50vh; }
.entry-content > .alignwide { width: min(calc(100% - 48px), var(--wre-max)); max-width: none; margin-inline: auto; }
.entry-content > .alignfull { width: 100%; max-width: none; margin-inline: 0; }
.page-content { padding-block: 64px; }
.wre-hero { min-height: 535px; display: grid; place-items: center; padding: 80px 24px; background: var(--wre-hero-image, linear-gradient(145deg, #68a894, #0c8064)); background-position: center; background-size: cover; color: #fff; text-align: center; border-radius: var(--wre-radius); }
.wre-hero h1 { max-width: 1050px; margin: 0 0 26px; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.035em; }
.wre-button { display: inline-block; padding: 10px 16px; border: 0; background: var(--wre-yellow); color: #fff; font-weight: 900; line-height: 1.2; text-decoration: none; }
.wre-button:hover, .wre-button:focus-visible { background: #dca900; color: #fff; }
.wre-section { padding-block: 72px; }
.wre-section--compact { padding-block: 52px; }
.wre-intro { max-width: 780px; margin: 0 auto; text-align: center; }
.wre-kicker { margin: 56px 0 18px; font-size: 20px; font-weight: 700; text-align: center; }
.wre-tabs { display: flex; justify-content: center; gap: 14px; }
.wre-tabs a { padding: 10px 15px; background: var(--wre-mint-soft); font-size: 19px; font-weight: 900; text-decoration: none; }
.wre-tabs a:first-child { background: var(--wre-green); color: #fff; }
.wre-heading { max-width: 980px; margin: 0 0 38px; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.wre-copy { max-width: 850px; margin-bottom: 46px; }
.wre-feature-image { width: 100%; border-radius: var(--wre-radius); }
.wre-benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.wre-benefit { grid-column: span 2; min-height: 150px; display: flex; align-items: center; gap: 22px; padding: 30px; background: var(--wre-mint-soft); border-radius: 5px; font-size: 18px; font-weight: 800; }
.wre-benefit:nth-child(4), .wre-benefit:nth-child(5) { grid-column: span 3; }
.wre-benefit__icon { flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid var(--wre-green); border-radius: 50%; font-size: 26px; }
.wre-cta { padding: 38px 42px; background: #75b7a9; color: #fff; border-radius: var(--wre-radius); }
.wre-cta--dark { background: var(--wre-green); }
.wre-cta h2 { max-width: 850px; margin: 0 0 24px; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; }
.wre-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wre-card { min-height: 275px; padding: 24px; background: var(--wre-mint-soft); }
.wre-card h3 { margin-top: 0; font-size: 18px; line-height: 1.15; }
.wohnkarten { --wohnkarten-gap: 24px; position: relative; padding: 0 34px 56px; }
.wohnkarten__viewport { overflow: hidden; }
.wohnkarten__track { display: flex; gap: var(--wohnkarten-gap); overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wohnkarten__track::-webkit-scrollbar { display: none; }
.wohnkarten__card { flex: 0 0 calc((100% - 3 * var(--wohnkarten-gap)) / 4); min-height: 285px; padding: 24px; overflow: hidden; background: var(--wre-mint-soft); border-radius: 7px; scroll-snap-align: start; }
.wohnkarten__card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.15; }
.wohnkarten__card p { margin: 0; line-height: 1.2; }
.wohnkarten__arrow { position: absolute; bottom: 3px; z-index: 3; width: 34px; padding: 0; border: 0; background: transparent; color: var(--wre-green); font-size: 42px; line-height: 1; cursor: pointer; }
.wohnkarten__arrow--prev { left: 0; }
.wohnkarten__arrow--next { right: 0; }
.wohnkarten__timeline { position: absolute; right: 10%; bottom: 8px; left: 10%; display: flex; justify-content: space-between; pointer-events: none; }
.wohnkarten__timeline::before { content: ""; position: absolute; top: 21px; right: 0; left: 0; height: 3px; background: var(--wre-green); }
.wohnkarten__timeline span { position: relative; z-index: 1; width: 44px; height: 44px; border: 3px solid var(--wre-green); border-radius: 50%; background: #fff; }
.wohnkarten__timeline span::after { content: ""; position: absolute; top: 9px; left: 14px; width: 9px; height: 16px; border-right: 3px solid var(--wre-yellow); border-bottom: 3px solid var(--wre-yellow); transform: rotate(42deg); }
.wohnkarten__card.is-revealing-down { animation: wre-reveal-card-down .72s cubic-bezier(.22,.8,.3,1) both; }
@keyframes wre-reveal-card-down {
	0% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-32px); }
	55% { opacity: 1; }
	100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
.wre-contact-list { display: grid; gap: 16px; margin-top: 34px; }
.wre-contact-row { display: flex; align-items: center; gap: 14px; }
.wre-contact-row span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #75b7a9; color: #fff; }
.wre-contact-row a { padding: 7px 10px; background: var(--wre-green); color: #fff; font-weight: 800; text-decoration: none; }
.wre-address { margin-top: 55px; padding-top: 45px; border-top: 1px solid #8dc9bc; font-size: 14px; }
.site-footer { margin-top: 68px; padding: 80px 0 50px; background: var(--wre-green); color: #fff; border-radius: 0 72px 0 0; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.site-footer__claim { margin: 12px 0 45px; }
.site-footer__legal { display: flex; gap: 20px; font-size: 13px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__social { display: flex; gap: 14px; }
.site-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--wre-green); font-weight: 900; text-decoration: none; }
.elementor-section.wre-rounded, .e-con.wre-rounded { border-radius: var(--wre-radius); overflow: hidden; }
.elementor-section.wre-rounded .elementor-heading-title, .e-con.wre-rounded .elementor-heading-title { color: #fff; }
.elementor-section.wre-rounded > .elementor-container { min-height: inherit; }
.elementor-button { border-radius: 0 !important; font-weight: 800; }
body.elementor-page .site-main > .page-content { padding: 0; }
body.elementor-page .entry-content { margin: 0; }
@media (max-width: 920px) {
	.site-header__inner { min-height: 92px; flex-wrap: wrap; gap: 15px; }
	.menu-toggle { display: block; }
	.site-nav { display: none; width: 100%; padding-bottom: 24px; }
	.site-nav.is-open { display: block; }
	.site-nav ul { align-items: flex-start; flex-direction: column; gap: 14px; }
	.wre-benefits, .wre-cards { grid-template-columns: repeat(2, 1fr); }
	.wohnkarten__card { flex-basis: calc((100% - var(--wohnkarten-gap)) / 2); }
	.wre-benefit, .wre-benefit:nth-child(4), .wre-benefit:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 620px) {
	.site-shell, .wre-container { width: min(calc(100% - 32px), var(--wre-max)); }
	.site-header__actions { display: none; }
	.wre-wordmark { font-size: 21px; }
	.wre-wordmark__pin { width: 28px; height: 28px; border-width: 5px; }
	.wre-hero { min-height: 410px; border-radius: 0 0 48px 0; }
	.wre-section { padding-block: 52px; }
	.wre-benefits, .wre-cards { grid-template-columns: 1fr; }
	.wohnkarten { padding-inline: 25px; }
	.wohnkarten__card { flex-basis: 88%; min-height: 260px; }
	.wohnkarten__timeline { display: none; }
	.wre-benefit { min-height: 116px; padding: 22px; }
	.wre-cta { padding: 30px 24px; border-radius: 0 0 48px 0; }
	.site-footer { border-radius: 0 48px 0 0; }
	.site-footer__inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.wohnkarten__track { scroll-behavior: auto; }
	.wohnkarten__card.is-revealing-down { animation: none; }
}
