/* ==========================================================================
   Valvest Real Estate – Stylesheet
   ========================================================================== */

/* Schriften (lokal eingebunden, keine Verbindung zu Google) */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/roboto-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/roboto-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/roboto-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/roboto-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/roboto-latin-700-normal.woff2') format('woff2'); }

:root {
  --accent: #ffc584;
  --accent-dark: #f5ae5f;
  --accent-tag: rgba(255, 197, 132, .85);
  --text: #5c727d;
  --heading: #222222;
  --brown: #4a1f0f;
  --bg: #f8f8f8;
  --bg-grey: #eeeeee;
  --white: #ffffff;
  --border: #e7e7e7;
  --footer-bg: #000000;
  --footer-text: #bbbbbb;
  --radius: 4px;
  --shadow: 0 10px 31px 0 rgba(7, 152, 255, 0.07), 0 2px 10px rgba(0, 0, 0, .05);
  --container: 1170px;
  --header-h: 100px;
  --font: 'Roboto', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5 { color: var(--heading); font-weight: 500; line-height: 1.3; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
button { font-family: inherit; cursor: pointer; }
sup { font-size: .6em; line-height: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.noscript-note { font-size: 12px; color: #999; }

/* Buttons */
.btn {
  display: inline-block; border: 0; border-radius: var(--radius);
  padding: 12px 34px; font-size: 14px; font-weight: 500; line-height: 1.4;
  text-align: center; transition: background .2s, color .2s, opacity .2s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-small { padding: 8px 16px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header-inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { height: 70px; width: auto; }
.logo .logo-light { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; color: var(--heading);
  font-size: 18px; font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--heading); font-size: 28px; line-height: 0; }

/* Transparenter Header (Startseite) */
.has-transparent-header .site-header.is-transparent {
  position: fixed; left: 0; right: 0;
  background: transparent; box-shadow: none;
}
.site-header.is-transparent .logo-light { display: block; }
.site-header.is-transparent .logo-dark { display: none; }
.site-header.is-transparent .main-nav a { color: #fff; }
.site-header.is-transparent .main-nav a.active,
.site-header.is-transparent .main-nav a:hover { color: var(--accent); }
.site-header.is-transparent .nav-toggle { color: #fff; }
.site-header.is-scrolled { height: 80px; }
.site-header.is-scrolled .logo img { height: 56px; }

/* Sprachumschalter (Flagge oben rechts, Auswahl beim Darüberfahren) */
.main-nav { margin-left: auto; }
.lang-switch { position: relative; flex-shrink: 0; margin-left: -14px; }
.lang-current {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 0; padding: 10px 4px; cursor: pointer; color: var(--heading);
}
.lang-switch .flag {
  display: block; width: 24px; height: 16px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); overflow: hidden; flex-shrink: 0;
}
.lang-chev { width: 12px; height: 12px; transition: transform .2s; }
.site-header.is-transparent .lang-current { color: #fff; }
.lang-menu {
  position: absolute; top: 100%; right: -8px; z-index: 102;
  list-style: none; margin: 0; padding: 6px 0; min-width: 150px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
/* unsichtbare Brücke, damit das Menü beim Hinüberfahren nicht zuklappt */
.lang-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px;
  color: var(--heading); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--bg); color: var(--accent-dark); }
.lang-switch.is-open .lang-menu,
.lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch.is-open .lang-chev,
.lang-switch:focus-within .lang-chev { transform: rotate(180deg); }
@media (hover: hover) {
  .lang-switch:hover .lang-menu { opacity: 1; visibility: visible; transform: none; }
  .lang-switch:hover .lang-chev { transform: rotate(180deg); }
}

/* Aufklappmenü in der Hauptnavigation (z. B. Dienstleistungen) */
.main-nav li { position: relative; }
.main-nav .has-sub { display: flex; align-items: center; }
.main-nav .has-sub > a { padding-right: 2px; }
.main-nav .nav-parent { cursor: pointer; user-select: none; }
.sub-toggle {
  display: flex; align-items: center; background: none; border: 0;
  padding: 10px 10px 10px 2px; color: var(--heading); line-height: 0;
}
.sub-toggle .icon { width: 12px; height: 12px; transition: transform .2s; }
.site-header.is-transparent .sub-toggle { color: #fff; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 6px; z-index: 102;
  display: block; min-width: 210px; margin: 0; padding: 6px 0; list-style: none;
  background: rgba(255, 255, 255, .9); /* 20 % Transparenz */
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius); box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
/* unsichtbare Brücke, damit das Menü beim Hinüberfahren nicht zuklappt */
.main-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.site-header .main-nav .sub-menu a,
.site-header.is-transparent .main-nav .sub-menu a {
  padding: 9px 18px; font-size: 15px; color: #000; white-space: nowrap;
}
.site-header .main-nav .sub-menu a:hover,
.site-header .main-nav .sub-menu a:focus-visible,
.site-header .main-nav .sub-menu a.active { background: rgba(255, 255, 255, .1); color: var(--accent); }
.main-nav .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
@media (hover: hover) {
  .main-nav .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .main-nav .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
}

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section { padding: 70px 0; }
.section-grey { background: var(--bg-grey); }
.section-title { text-align: center; font-size: 34px; font-weight: 600; margin-bottom: 50px; }
.section-heading { font-size: 28px; font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.col-center { display: flex; justify-content: center; }

/* Hero Startseite */
.hero {
  position: relative; min-height: 100vh;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .08); }
.hero-content { position: relative; text-align: center; padding: 120px 20px 40px; }
.hero-logo { width: 520px; max-width: 80vw; margin: 0 auto; animation: fadeUp 1.2s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.intro-logo { width: 300px; }
.section-intro { background: var(--bg); }
.section-ceo { background: var(--bg); }
.ceo-photo { width: 340px; aspect-ratio: 1/1; object-fit: cover; object-position: top; }

/* Dienstleistungs-Karten */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: #fff; padding: 45px 20px 40px; text-align: center;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .1); }
.service-card img { width: 170px; height: 150px; object-fit: cover; margin: 0 auto 25px; }
.service-card h3 { font-size: 17px; font-weight: 700; margin: 0; color: var(--heading); }
.service-card p { font-size: 14px; color: var(--text); margin: 12px 0 0; }

/* ==========================================================================
   Immobilien-Karten
   ========================================================================== */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-item.is-hidden { display: none; }
.property-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .25s;
}
.property-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.card-media { position: relative; aspect-ratio: 525 / 328; overflow: hidden; background: #ddd; }
.card-slider { position: relative; width: 100%; height: 100%; }
.card-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; visibility: hidden; }
.card-slider .slide.is-active { opacity: 1; visibility: visible; }
.card-slider .slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.property-card:hover .slide.is-active img { transform: scale(1.04); }
.card-media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); pointer-events: none;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: none; border: 0; color: #fff; font-size: 30px; padding: 10px; line-height: 0;
  opacity: .75; transition: opacity .2s;
}
.slider-btn:hover { opacity: 1; }
.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }
.card-tags { position: absolute; top: 18px; right: 18px; display: flex; gap: 6px; z-index: 3; }
.card-tags.static { position: static; margin-bottom: 10px; }
.tag { background: var(--accent-tag); color: #fff; font-size: 11px; line-height: 1; padding: 6px 9px; border-radius: var(--radius); }
.card-overlay-info {
  position: absolute; left: 20px; right: 20px; bottom: 12px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 14px; font-weight: 600; pointer-events: none;
}
.card-location, .card-photos { display: inline-flex; align-items: center; gap: 4px; }
.card-photos { font-weight: 400; gap: 8px; }
.card-overlay-info .icon { font-size: 13px; }
.card-photos .icon { font-size: 17px; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; }
.card-title a { color: var(--heading); }
.card-title a:hover { color: var(--accent); }
.card-price { color: var(--accent); font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.card-excerpt { font-size: 13px; font-weight: 600; line-height: 1.65; margin-bottom: 14px; flex: 1; }
.card-excerpt .more { color: var(--accent); }
.card-details { display: flex; gap: 18px; font-size: 13px; font-weight: 600; }
.card-details span { display: inline-flex; align-items: center; gap: 7px; }
.card-details .icon { font-size: 21px; color: var(--text); }
.btn-load-more { margin-top: 40px; }

/* Listenansicht */
.property-grid.is-list { grid-template-columns: 1fr; }
.property-grid.is-list .property-card { flex-direction: row; }
.property-grid.is-list .card-media { width: 40%; flex-shrink: 0; aspect-ratio: auto; min-height: 240px; }

/* ==========================================================================
   Unterseiten allgemein
   ========================================================================== */
.page-wrap { padding: 40px 0 70px; }
.page-title { font-size: 32px; font-weight: 500; margin: 0 0 25px; }
.page-title-spaced { margin: 40px 0 10px; }
.page-hero { height: 580px; background-size: cover; background-position: center; }
.box { background: #fff; padding: 30px; margin-bottom: 25px; box-shadow: var(--shadow); border-radius: var(--radius); }
.box-title { font-size: 20px; margin-top: 10px; }

/* Suchleiste Immobilien */
.search-strip { background: #fff; padding: 20px 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.search-bar { display: flex; gap: 10px; }
.search-bar input { flex: 1; }
.search-bar select { width: 200px; }

input[type=text], input[type=email], input[type=tel], input[type=search], select, textarea {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--heading);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 15px; height: 46px; outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 197, 132, .25); }
input::placeholder, textarea::placeholder { color: #8a9aa2; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235c727d' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}

/* Filterleiste */
.filter-bar {
  background: #fff; box-shadow: var(--shadow); border-radius: var(--radius);
  padding: 12px 15px; margin-bottom: 25px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-select select { border: 0; height: 36px; padding: 4px 30px 4px 10px; font-size: 13px; color: var(--text); background-color: transparent; width: auto; }
.filter-select select:focus { box-shadow: none; color: var(--heading); }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button { background: none; border: 0; color: #c4ccd0; font-size: 17px; padding: 6px; line-height: 0; }
.view-toggle button.is-active { color: var(--accent); }
.no-results { text-align: center; padding: 60px 0; }

/* Dienstleistungen */
.service-row { padding: 45px 0; background: var(--bg); overflow-x: clip; }
.service-row.section-grey { background: var(--bg-grey); }
.service-row-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-img { display: flex; justify-content: center; }
.service-img img { width: 250px; height: 220px; object-fit: cover; }
.service-row.is-reversed .service-img { order: 2; }
.service-row.is-reversed .service-text { order: 1; }
.service-text h2 { font-size: 30px; font-weight: 500; }
.service-text p { font-size: 14px; }
.service-text .btn { margin-top: 6px; }
.service-text h2 a { color: inherit; }
.service-text h2 a:hover { color: var(--accent-dark); }

/* Einblend-Animationen */
.reveal { opacity: 0; transition: opacity .9s ease, transform .9s ease; }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.from-bottom { transform: translateY(40px); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Über uns */
.about-hero {
  position: relative; min-height: 600px; margin-top: 30px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.about-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.about-hero h1 { position: relative; color: #fff; font-size: 76px; font-weight: 700; line-height: 1.1; margin: 0; }
.about-intro { background: #fff; padding: 90px 0; }
.about-title { text-align: center; font-size: 46px; font-weight: 700; color: var(--brown); margin-bottom: 10px; }
.about-subtitle { text-align: center; font-size: 18px; color: #888; margin-bottom: 70px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 60px; max-width: 1080px; margin: 0 auto; }
.feature h3 { color: var(--brown); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feature p { color: #9a9a9a; font-size: 16px; line-height: 2; margin: 0; }
.feature:nth-child(4) { margin-top: -30px; }

/* Kontakt */
.contact-map-wrap { position: relative; }
.contact-map { height: 450px; background: #e5e3df; position: relative; z-index: 1; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-end; justify-content: center; padding: 30px 8% 30px 50%;
  text-align: center; gap: 10px;
  background: #e8e6e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='%23d8d4cc' stroke-width='6'/%3E%3Cpath d='M0 20h120M0 100h120M20 0v120M100 0v120' stroke='%23dedad3' stroke-width='2'/%3E%3C/svg%3E");
}
.map-consent p { max-width: 420px; margin: 0; font-size: 13px; color: #555; background: rgba(255, 255, 255, .85); padding: 12px 16px; border-radius: var(--radius); }
.map-card-holder { position: absolute; top: 15px; left: 0; right: 0; z-index: 500; pointer-events: none; }
.map-card {
  pointer-events: auto; width: 350px; background: #fff; padding: 28px 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); margin-left: 85px;
}
.map-card h3 { font-size: 19px; margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; line-height: 1.5; }
.contact-list .icon { margin-top: 2px; font-size: 15px; }
.contact-list.dark li, .contact-list.dark a { color: var(--heading); font-size: 13px; }
.contact-list.dark .icon { color: var(--heading); }
.hours { list-style: none; margin: 0; padding: 0; color: var(--heading); font-size: 13px; }
.hours li { margin-bottom: 6px; }
.contact-box { padding: 40px 27px 30px; margin-top: 40px; }
.contact-company { font-size: 32px; font-weight: 500; margin-bottom: 8px; }
.contact-address { color: var(--heading); font-size: 17px; margin-bottom: 25px; }
.contact-lines { display: grid; grid-template-columns: 75px 1fr; margin: 0 0 30px; font-size: 14px; }
.contact-lines dt { color: var(--heading); font-weight: 500; }
.contact-lines dd { margin: 0 0 4px; }
.accent-link { color: var(--accent); }
.contact-text { padding: 10px; margin-bottom: 30px; }
.contact-text p { margin-bottom: 2.5em; }
.contact-image { width: 100%; border-radius: var(--radius); }

/* Formular */
.form-title { font-size: 18px; margin-bottom: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.contact-form textarea { margin-bottom: 12px; }
.contact-form.is-compact .form-grid { grid-template-columns: 1fr; }
.checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-message { margin-top: 15px; font-size: 14px; }
.form-message.is-success { color: #2e8b57; }
.form-message.is-error { color: #c0392b; }

/* Rechtliche Seiten */
.legal h2 { font-size: 26px; margin: 40px 0 18px; }
.legal h3 { font-size: 22px; margin: 30px 0 12px; }
.legal h4 { font-size: 17px; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 13px; }
.imprint-block { color: #000; font-size: 16px; line-height: 1.45; margin: 30px 0; }
.imprint-block p { margin-bottom: 1.2em; }
.imprint-block a { color: #000; }
.small { font-size: 12px; }

/* Detailseite */
.breadcrumbs { font-size: 13px; margin-bottom: 20px; }
.breadcrumbs a { color: var(--text); }
.breadcrumbs span { margin: 0 4px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.detail-title { font-size: 30px; margin-bottom: 6px; }
.detail-location { display: flex; align-items: center; gap: 6px; margin: 0; }
.detail-price { color: var(--accent); font-size: 28px; font-weight: 500; white-space: nowrap; }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; align-items: start; }
.detail-layout .form-grid { grid-template-columns: 1fr; }
.error-page { padding: 60px 15px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-widgets { display: grid; grid-template-columns: 1fr auto 1fr; gap: 60px; padding-top: 70px; padding-bottom: 50px; }
.footer-search { max-width: 380px; justify-self: end; width: 100%; }
.widget-title { color: #fff; font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.site-footer .contact-list li { color: var(--footer-text); }
.site-footer .contact-list a { color: var(--footer-text); }
.site-footer .contact-list a:hover { color: var(--accent); }
.site-footer .contact-list .icon { color: var(--footer-text); }
.review-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.review-logos a, .review-logos span { display: block; width: 170px; padding: 10px 14px; background: #fff; border-radius: 6px; transition: transform .2s, box-shadow .2s; }
.review-logos img { display: block; height: 62px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.review-logos a:hover, .review-logos a:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--accent); }
.footer-search input { height: 40px; margin-bottom: 10px; font-size: 13px; }
.footer-search .btn { padding: 9px; }
.sub-footer { background: #000; padding: 20px 0 26px; }
.sub-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.sub-footer p { margin: 0; }
.sub-footer nav { display: flex; gap: 6px; }
.sub-footer a { color: var(--footer-text); }
.sub-footer a:hover { color: var(--accent); }

/* Schwebende Buttons */
.float-buttons { position: fixed; right: 30px; bottom: 30px; display: flex; gap: 10px; z-index: 90; }
.float-btn {
  width: 50px; height: 50px; border: 0; border-radius: var(--radius); background: #fff; color: var(--heading);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: background .2s, color .2s, opacity .3s, transform .3s;
}
.float-btn:hover { background: var(--accent); color: #fff; }
#back-to-top { opacity: 0; pointer-events: none; transform: translateY(10px); }
#back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal-box { position: relative; background: #fff; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; padding: 35px 30px 25px; border-radius: var(--radius); animation: fadeUp .3s ease; }
.modal-box h3 { font-size: 22px; margin-bottom: 20px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; font-size: 22px; color: var(--heading); line-height: 0; padding: 6px; }
body.modal-open { overflow: hidden; }

/* Leaflet-Marker */
.vv-marker { background: none; border: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-inner { padding: 0 25px; }
  .main-nav a { font-size: 16px; padding: 10px 11px; }
}
@media (max-width: 991px) {
  :root { --header-h: 80px; }
  .logo img { height: 56px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw;
    background: #fff; padding: 90px 25px 30px; transform: translateX(100%);
    transition: transform .3s ease, visibility .3s; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); z-index: 99;
    visibility: hidden;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a, .site-header.is-transparent .main-nav a { color: var(--heading); font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { position: relative; z-index: 101; margin-left: 4px; }
  .header-inner { gap: 10px; }
  .lang-switch { margin-left: auto; }
  body.nav-open .lang-switch { visibility: hidden; }
  body.nav-open .nav-toggle { color: var(--heading) !important; }
  .two-col, .service-row-inner { grid-template-columns: 1fr; gap: 35px; }
  .service-row.is-reversed .service-img { order: 0; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .page-hero { height: 360px; }
  .about-hero { min-height: 420px; }
  .about-hero h1 { font-size: 52px; }
  .feature-grid { grid-template-columns: 1fr; gap: 35px; }
  .feature:nth-child(4) { margin-top: 0; }
  .map-card-holder { position: static; }
  .map-card { width: auto; margin: -40px 15px 0; position: relative; }
  .map-consent { padding: 30px; align-items: center; }
  .detail-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .view-toggle { display: none; }
  .property-grid.is-list { grid-template-columns: repeat(2, 1fr); }
  .property-grid.is-list .property-card { flex-direction: column; }
  .property-grid.is-list .card-media { width: auto; aspect-ratio: 525/328; min-height: 0; }
}
@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; margin-bottom: 30px; }
  .property-grid, .property-grid.is-list { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 35px; padding-top: 50px; }
  .footer-search { justify-self: stretch; max-width: none; }
  .review-logos { flex-direction: row; flex-wrap: wrap; }
  .review-logos a, .review-logos span { width: 150px; }
  .search-bar { flex-wrap: wrap; }
  .search-bar select, .search-bar .btn { flex: 1; width: auto; }
  .search-bar input { flex-basis: 100%; }
  .float-buttons { right: 15px; bottom: 15px; }
  .about-title { font-size: 34px; }
  .detail-head { flex-direction: column; align-items: flex-start; }
  .ceo-photo { width: 100%; max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Exposé-Seite
   ========================================================================== */
.preview-note { background: #fff4e0; border: 1px solid var(--accent); color: #8a5a1c; padding: 10px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.detail-price small { display: block; font-size: 13px; color: var(--text); text-align: right; }
/* Bildergalerie: vollbreiter Slider, Bilder nebeneinander (wie Original) */
.pgal { --n: 3; --h: 550px; position: relative; background: #e9e9e9; user-select: none; }
.pgal-viewport { overflow: hidden; }
.pgal-track { display: flex; transition: transform .45s ease; will-change: transform; cursor: grab; }
.pgal-track:active { cursor: grabbing; }
.pgal-slide { flex: 0 0 calc(100% / var(--n)); height: var(--h); margin: 0; overflow: hidden; cursor: zoom-in; }
.pgal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; pointer-events: none; }
.pgal-slide:hover img { transform: scale(1.03); }
.pgal.is-static .pgal-track { justify-content: center; cursor: default; }
.pgal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 4px; background: #222; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: .9; transition: opacity .2s, background .2s;
}
.pgal-btn:hover { opacity: 1; background: var(--accent); }
.pgal-btn.prev { left: 10px; }
.pgal-btn.next { right: 10px; }
.pgal-count {
  position: absolute; right: 20px; bottom: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .92); color: var(--heading); border: 0; border-radius: 4px; padding: 7px 12px; font-size: 13px; font-weight: 500;
}
.pgal-count:hover { background: #fff; }
.pgal + .page-wrap { padding-top: 30px; }
.g-counter { position: absolute; right: 16px; bottom: 14px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; z-index: 3; }
@media (max-width: 1024px) { .pgal { --h: 450px; } }
@media (max-width: 575px) { .pgal { --h: 300px; } .pgal-count { right: 12px; bottom: 12px; } }
.key-figures { display: flex; flex-wrap: wrap; gap: 30px; }
.key-figures div { display: flex; flex-direction: column; }
.key-figures strong { color: var(--heading); font-size: 22px; font-weight: 500; line-height: 1.2; }
.key-figures span { font-size: 13px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0 0 25px; }
.detail-facts > div { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--border); padding: 8px 0; }
.detail-facts dt { margin: 0; }
.detail-facts dd { margin: 0; color: var(--heading); font-weight: 500; text-align: right; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.feature-list li { position: relative; padding-left: 22px; color: var(--heading); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.rich-text { line-height: 1.8; }
.detail-aside .sticky-box { position: sticky; top: 100px; }
/* PDF-Exposé */
.expose-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 26px; }
.expose-btn .icon { width: 17px; height: 17px; }
.expose-link { display: flex; align-items: center; gap: 6px; width: max-content; margin: 8px 0 0 auto; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--heading); white-space: nowrap; }
.expose-link .icon { width: 15px; height: 15px; color: var(--accent-dark); }
.expose-link:hover { color: var(--accent-dark); }
@media (max-width: 640px) { .expose-link { margin-left: 0; } }
.slide.no-image { display: flex; align-items: center; justify-content: center; background: #e6e6e6; color: #999; }
.card-price small { font-size: 12px; color: var(--text); font-weight: 400; }
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox .slider-btn { font-size: 46px; }
.lb-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 0; padding: 8px; }
@media (max-width: 991px) {
  .detail-aside .sticky-box { position: static; }
  .feature-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .detail-facts, .feature-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Einwilligungs-Banner
   ========================================================================== */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sub-footer .link-btn { color: var(--footer-text); text-decoration: none; margin-left: 6px; }
.sub-footer .link-btn:hover { color: var(--accent); }
.map-consent .link-btn { color: var(--accent-dark); }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-box {
  pointer-events: auto; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; color: var(--text); border-radius: 8px; padding: 24px 26px 20px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, .25); border-top: 4px solid var(--accent);
}
.consent-box h2 { font-size: 19px; margin-bottom: 8px; }
.consent-box p { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.consent-box a { color: #b8732a; text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btn { flex: 1 1 180px; background: #222; color: #fff; border: 1px solid #222; padding: 11px 18px; }
.consent-btn:hover { background: #000; color: #fff; }
.consent-btn.consent-link { background: #fff; color: var(--heading); border-color: #ccc; }
.consent-btn.consent-link:hover { border-color: var(--heading); }
.consent-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent-details { border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 6px; }
.consent-cat { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.consent-cat strong { color: var(--heading); font-weight: 500; }
.consent-cat p { margin: 4px 0 0; font-size: 12.5px; }
.consent-switch { position: relative; flex: 0 0 42px; height: 24px; margin-top: 2px; cursor: pointer; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.consent-switch span { position: absolute; inset: 0; border-radius: 12px; background: #c9cfd3; transition: background .2s; }
.consent-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; }
.consent-switch input:checked + span { background: #2e8b57; }
.consent-switch input:checked + span::after { left: 21px; }
.consent-switch input:disabled + span { opacity: .6; }
.consent-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 197, 132, .6); }
body:has(.consent:not([hidden])) .float-buttons { opacity: 0; pointer-events: none; }
@media (max-width: 575px) {
  .consent { padding: 8px; }
  .consent-box { padding: 18px 16px 14px; }
  .consent-btn { flex-basis: 100%; }
}
.consent-btn[hidden] { display: none; }

/* ==========================================================================
   Karte Immobilienübersicht
   ========================================================================== */
.list-map-wrap { position: relative; }
.list-map { height: 450px; background: #e5e3df; position: relative; z-index: 1; }
.list-map .map-consent { padding: 30px; align-items: center; }
.list-map.is-fullscreen { position: fixed; inset: 0; height: auto; z-index: 1150; }
.map-bar { display: flex; gap: 4px; background: #fff; border-radius: 4px; box-shadow: 0 1px 5px rgba(0, 0, 0, .25); padding: 3px; }
.map-bar button { border: 0; background: #fff; color: var(--heading); font: 500 13px var(--font); padding: 6px 10px; border-radius: 3px; cursor: pointer; }
.map-bar button:hover { background: #f2f2f2; color: var(--accent-dark); }
.map-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 6px; overflow: hidden; }
.map-popup .leaflet-popup-content { margin: 0; width: 250px !important; }
.map-pop { display: block; color: var(--text); text-decoration: none; }
.map-pop:hover { color: var(--text); }
.map-pop-img { display: block; height: 140px; background-size: cover; background-position: center; }
.map-pop-body { display: block; padding: 10px 12px 12px; font-family: var(--font); }
.map-pop-body strong { display: block; color: var(--heading); font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; }
.map-pop-price { display: block; color: var(--accent-dark); font-weight: 500; font-size: 14px; }
.map-pop-loc { display: block; font-size: 12px; }
.map-pop-tags { display: flex; gap: 4px; margin-bottom: 6px; }
.map-pop-tags .tag { font-size: 10px; padding: 4px 6px; }
/* Cluster im Stil der bisherigen Seite */
.marker-cluster { background: rgba(41, 128, 214, .35); border-radius: 50%; }
.marker-cluster div { width: 36px; height: 36px; margin: 2px; border-radius: 50%; background: #2a80d6; color: #fff; display: flex; align-items: center; justify-content: center; font: 700 13px var(--font); }
.marker-cluster span { line-height: 1; }
@media (max-width: 640px) {
  .list-map { height: 340px; }
  .map-bar button { padding: 6px 7px; font-size: 12px; }
}
.leaflet-container a.map-pop, .leaflet-container a.map-pop:hover { color: var(--text); }

/* ==========================================================================
   Referenzen
   ========================================================================== */
.ref-hero { position: relative; height: 480px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; }
.ref-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.ref-hero-inner { position: relative; color: #fff; padding: 0 20px; }
.ref-hero h1 { color: #fff; font-size: 56px; font-weight: 500; margin: 0 0 6px; }
.ref-hero p { font-size: 18px; margin: 0 auto; max-width: 680px; line-height: 1.5; }
.ref-intro { background: #fff; padding: 80px 0; }
.ref-intro .col p { font-size: 15px; }
.overline { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.ref-intro .section-heading { font-size: 34px; }
.ref-intro-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.btn-arrow { margin-top: 10px; padding: 14px 28px; color: var(--heading); border-color: #ddd; }
.btn-arrow span { margin-left: 10px; }
.btn-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ref-grid-wrap { background: #fff; padding: 0; }
.ref-grid-wrap > .no-results { padding: 40px 20px 60px; }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ref-card { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.ref-card img, .ref-noimg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.ref-card:hover img { transform: scale(1.04); }
.ref-info {
  position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px);
  background: rgba(20, 20, 20, .72); color: #fff; padding: 20px 20px 16px;
}
.ref-loc { display: block; font-size: 12px; font-weight: 600; letter-spacing: .03em; margin-bottom: 6px; }
.ref-info h3 { color: #fff; font-size: 20px; font-weight: 500; line-height: 1.3; margin: 0 0 10px; }
.ref-info p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.ref-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0 20px 60px; background: #fff; }
.ref-nav a { padding: 10px 22px; border: 1px solid #ddd; color: var(--heading); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.ref-nav a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ref-nav a.active { background: var(--heading); border-color: var(--heading); color: #fff; }
.ref-grid-wrap.is-sub .ref-group { border-top: 0; padding-top: 60px; }
.ref-group-more { text-align: center; margin: 35px 0 0; }
.ref-group { scroll-margin-top: 100px; position: relative; padding: 70px 10px 80px; background: #fff; border-top: 1px solid var(--border); }
.ref-group--alt { background: var(--bg-grey); border-top-color: var(--bg-grey); }
.ref-group-head { position: relative; max-width: 640px; margin: 0 auto 40px; padding: 0 20px; text-align: center; }
.ref-group-num { display: block; font-size: 64px; font-weight: 300; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.ref-group-head .overline { color: var(--text); }
.ref-group-head .section-heading { font-size: 36px; margin: 0 0 14px; }
.ref-group-head .section-heading::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent); margin: 18px auto 0; }
.ref-group-head p { margin: 0; font-size: 15px; }
.ref-cta { background: var(--bg-grey); border-top: 1px solid #dcdcdc; }
.ref-cta .section-title { margin-bottom: 15px; }
.ref-cta p { max-width: 620px; margin: 0 auto 25px; font-size: 15px; }
@media (max-width: 991px) {
  .ref-hero { height: 340px; } .ref-hero h1 { font-size: 42px; }
  .ref-intro { padding: 55px 0; }
}
@media (max-width: 767px) {
  .ref-grid { grid-template-columns: 1fr; gap: 12px; }
  .ref-card { aspect-ratio: 4 / 3; }
  .ref-info { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 14px; }
  .ref-info h3 { font-size: 17px; }
  .ref-group { padding: 50px 10px 55px; }
  .ref-group-head { margin-bottom: 28px; }
  .ref-group-num { font-size: 48px; }
  .ref-group-head .section-heading { font-size: 26px; }
  .ref-nav { padding-bottom: 40px; }
}

/* Hinweis auf deutschsprachige Inhalte (in anderen Sprachen) */
.lang-note {
  margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid var(--accent);
  background: #fff8ef; color: var(--heading); font-size: 15px; border-radius: var(--radius);
}

/* ==========================================================================
   Dienstleistungen – Übersicht und Unterseiten (Verkauf, Vermietung, Verwaltung)
   ========================================================================== */
.svc-lead { max-width: 880px; font-size: 16px; line-height: 1.9; margin: 0 0 40px; }
.svc-section { padding: 60px 0; background: var(--bg); scroll-margin-top: 90px; }
.svc-section.section-grey { background: var(--bg-grey); }
.svc-section h2 { font-size: 30px; font-weight: 500; margin-bottom: 15px; }
.svc-text { max-width: 880px; font-size: 15px; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.check-list.is-single { grid-template-columns: 1fr; }
.svc-anchors { margin: -10px 0 50px; }
.check-list li { position: relative; padding-left: 26px; color: var(--heading); font-size: 15px; line-height: 1.6; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }
.svc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 28px; }
.svc-col { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-col h3 { font-size: 19px; margin-bottom: 14px; }
.svc-col .check-list { grid-template-columns: 1fr; margin-top: 0; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; padding: 26px 22px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 14px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.anchor-nav a { display: inline-block; padding: 8px 18px; border: 1px solid var(--accent); border-radius: 30px; color: var(--heading); font-weight: 500; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { background: var(--accent); color: #fff; }
.svc-note { background: #fff8ef; border-left: 3px solid var(--accent); padding: 18px 22px; border-radius: var(--radius); margin-top: 30px; font-size: 15px; color: var(--heading); max-width: 880px; }
.svc-note p:last-child { margin: 0; }
.svc-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 28px; }
.svc-benefits h3 { color: var(--brown); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.svc-benefits p { margin: 0; font-size: 14px; }
.faq { max-width: 880px; margin-top: 24px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 54px 18px 22px; font-size: 16px; font-weight: 500; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; line-height: 1; color: var(--accent-dark); }
.faq details[open] summary::after { content: '–'; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq details p { padding: 0 22px 18px; margin: 0; font-size: 15px; }
.svc-form { align-items: start; }
.svc-form .box { margin: 0; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.svc-more .service-cards { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }

@media (max-width: 1100px) {
  .svc-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .main-nav { overflow-y: auto; }
  .main-nav .has-sub { display: block; }
  .sub-toggle { display: none; }
  .main-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 0 16px; background: none; box-shadow: none; border-radius: 0;
  }
  .main-nav .sub-menu::before { display: none; }
  .site-header .main-nav .sub-menu a,
  .site-header.is-transparent .main-nav .sub-menu a { padding: 10px 0; font-size: 15px; white-space: normal; border-bottom: 1px solid var(--border); color: var(--heading); }
  .site-header .main-nav .sub-menu a:hover,
  .site-header .main-nav .sub-menu a.active { background: none; color: var(--accent); }
  .main-nav .sub-menu { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .svc-cols, .check-list { grid-template-columns: 1fr; }
  .svc-more .service-cards { grid-template-columns: 1fr; max-width: 420px; }
  .svc-section h2 { font-size: 26px; }
}
@media (max-width: 640px) {
  .svc-section { padding: 45px 0; }
  .svc-benefits { grid-template-columns: 1fr; }
}
