/* ===========================================================
   Cornelia Rönisch Immobilien – Statische Testversion
   Design-Tokens nach Vorbild roenisch.hotbytes.rocks
   =========================================================== */

:root {
  --orange: #ff914d;
  --orange-dark: #ed7c36;
  --ink: #1f1f1f;
  --gray: #737373;
  --gray-light: #f0f0f0;
  --gray-lighter: #f5f5f5;
  --white: #ffffff;
  --border: #e2e2e2;
  --max: 1200px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 820px; }

/* ---------- Typography helpers ---------- */
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.section-title.center { text-align: center; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.9); }

.subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 40px;
}

.lead { font-size: 1.1rem; color: #444; }

p { margin-bottom: 16px; }

.section { padding: 90px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 16px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-dark); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img { height: 56px; width: auto; max-width: 220px; }
.logo .logo-light { display: none; }
.site-header.over-hero .logo .logo-dark { display: none; }
.site-header.over-hero .logo .logo-light { display: block; }

.main-nav { display: flex; align-items: center; gap: 48px; }

.main-nav a {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* Transparenter Header über dem Hero (Startseite); wird beim Scrollen weiß */
.site-header { transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.over-hero {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header.over-hero .nav-toggle span { background: #fff; }
@media (min-width: 761px) {
  .site-header.over-hero .main-nav > a,
  .site-header.over-hero .nav-drop-toggle { color: #fff; }
  .site-header.over-hero .main-nav > a:hover,
  .site-header.over-hero .nav-drop-toggle:hover { color: var(--orange); }
  .site-header.over-hero .main-nav > a::after,
  .site-header.over-hero .nav-drop-toggle::after { background: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #161616;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 26px;
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Angebote ---------- */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.angebot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.angebot-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.angebot-card:hover img { transform: scale(1.06); }
.angebot-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}
.angebot-label {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* ---------- Region ---------- */
.region { background: var(--gray-lighter); }
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.region-map img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Check lists ---------- */
.check-list { list-style: none; margin: 24px 0; }
.check-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border: 2px solid var(--orange);
  border-radius: 4px;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 6px; height: 11px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

/* ---------- About ---------- */
.about .lead { margin-top: 8px; }

/* ---------- Über uns: Video mit Textblock links ---------- */
.about-video {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.about-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-video .container {
  position: relative;
  z-index: 2;
}
.about-video-card {
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  max-width: 680px;
  padding: 56px;
  border-radius: var(--radius);
}
.about-video-card .eyebrow { margin-bottom: 6px; }
.about-video-card p { margin-top: 8px; color: var(--gray); }

@media (max-width: 760px) {
  .about-video { min-height: 0; flex-direction: column; align-items: stretch; }
  .about-video-bg { position: relative; height: 240px; }
  .about-video .container { padding-top: 0; padding-bottom: 0; }
  .about-video-card { max-width: none; padding: 40px 24px; }
}

/* ---------- Work ---------- */
.work { background: var(--gray); color: #fff; }
.work .section-title { color: #fff; }
.work p { color: rgba(255, 255, 255, 0.92); }
.work .check-list li { color: #fff; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.work-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.work-text .btn { margin-top: 16px; }

/* ---------- Team ---------- */
.team { background: var(--gray-lighter); }
.team-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.team-col-left, .team-col-right { display: flex; flex-direction: column; gap: 24px; }
.team-col-left .subtitle { margin-bottom: 0; }
.team-paragraph { color: #555; line-height: 1.7; }
.team-cta { align-self: flex-start; }
.team-layout .team-card { grid-template-columns: 170px 1fr; }
.team-layout .team-photo img { min-height: 100%; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.team-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.team-info { padding: 34px 38px; }
.team-role {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
}
.team-info h3 {
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 8px 0 16px;
}
.team-contact {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
}
.team-contact:hover { color: var(--orange); }
.team-quote { margin-top: 16px; color: #555; }

/* ---------- Wohnfläche ---------- */
.wohnflaeche { background: var(--gray-lighter); }
.wohnflaeche-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}
.wohnflaeche-seal img { max-width: 320px; margin: 0 auto; }

/* ---------- Reviews ---------- */
.reviews { background: var(--gray-lighter); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.reviews-side .google-reviews { margin: 0; max-width: none; }
.reviews-side .gr-cards { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.reviews-lead { font-weight: 700; margin-top: 20px; }
.reviews .btn { margin-top: 16px; }

/* ---------- Google-Bewertungen ---------- */
.google-reviews { margin: 28px auto 8px; max-width: 660px; }
.gr-head {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 22px; box-shadow: var(--shadow);
}
.gr-g {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; background: #fff; border: 1px solid var(--border); color: #4285F4;
}
.gr-rating { display: flex; flex-direction: column; line-height: 1.25; }
.gr-rating strong { font-size: 1.2rem; }
.gr-stars { color: #fbbc04; letter-spacing: 1px; }
.gr-count { font-size: 0.8rem; color: var(--gray); }
.gr-btn { padding: 12px 22px; }
.gr-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.gr-card { text-align: left; }
.gr-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.gr-card p { font-size: 0.9rem; color: #444; margin: 8px 0 14px; }
.gr-author { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; }
.gr-avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; color: #fff; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 2;
  padding: 90px 24px;
  display: flex;
  justify-content: flex-end;
}
.cta-box {
  background: rgba(255, 145, 77, 0.92);
  padding: 44px 48px;
  border-radius: var(--radius);
  max-width: 760px;
}
.cta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cta-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact { background: var(--gray-lighter); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form legend { font-weight: 700; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; }
.contact-form fieldset { border: none; margin-bottom: 20px; }
.anrede label { margin-right: 28px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-field label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 8px;
}
.form-field span, legend span, .consent span { color: var(--orange); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--gray-lighter);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.consent { display: block; font-size: 0.88rem; margin: 6px 0 24px; color: #555; }

.contact-info { background: var(--white); }
.contact-card-head {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 34px 28px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.contact-card-head h3 {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 6px;
}
.contact-details {
  list-style: none;
  border: 1px solid var(--border);
  border-top: none;
  padding: 30px;
}
.contact-details li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.ci-icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gray-lighter);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info .btn { display: block; text-align: center; margin: 0 30px 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray); color: rgba(255,255,255,0.92); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img { width: 180px; height: auto; max-width: 100%; background: #fff; padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; }
.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: #fff;
}
.footer-col p { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.25s;
}
.social a:hover { background: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 22px 0;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom .heart { color: var(--orange); }
.footer-legal a:hover { color: #fff; }

/* ---------- Rezensionen tab ---------- */
.reviews-tab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  padding: 20px 12px;
  writing-mode: vertical-rl;
  border-radius: 6px 0 0 6px;
  z-index: 90;
  box-shadow: -4px 0 14px rgba(0,0,0,0.15);
}
.reviews-tab:hover { background: var(--orange-dark); }

/* ---------- Nav active + dropdown ---------- */
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after { width: 100%; }

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-drop-menu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 50;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--gray-lighter); color: var(--orange); }

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero {
  background: var(--gray);
  color: #fff;
  text-align: center;
  padding: 160px 0 80px;
}
.page-hero.small { padding: 60px 0; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-hero p {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
}

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; max-width: 100%; }

/* Page-Hero mit Hintergrundbild */
.page-hero--image { position: relative; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(45, 45, 45, 0.72); }
.page-hero--image .container { position: relative; z-index: 1; }

/* Leistungsgarantie als 2-Spalten: Bild links, Inhalt rechts */
.garantie-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.garantie-image img { width: 100%; height: auto; }
.garantie-content .eyebrow { display: inline-block; color: var(--ink); font-size: 1.5rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.garantie-list { display: flex; flex-direction: column; gap: 24px; margin-top: 22px; }
.garantie-list .garantie-item { background: none; border: none; box-shadow: none; padding: 0; display: flex; gap: 14px; align-items: flex-start; }
.garantie-list .garantie-num { font-size: 1.1rem; margin-bottom: 0; line-height: 1.5; flex: 0 0 auto; color: var(--gray); font-weight: 500; }
.garantie-list .garantie-num::after { content: " |"; }
.garantie-body h3 { font-size: 1.05rem; font-weight: 500; text-transform: uppercase; margin-bottom: 6px; }
.garantie-body p { margin-bottom: 0; font-size: 0.95rem; color: #444; }

/* ---------- Leistungsgarantie ---------- */
.garantie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.garantie-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.garantie-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
}
.garantie-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Leistungen ---------- */
.leistungen { background: #fff; }
.leistungen-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.leistungen-text { display: flex; flex-direction: column; gap: 36px; }
.leistung-block h2 { margin-bottom: 10px; }
.leistung-block p { margin-bottom: 0; }
.leistung-lead { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.leistungen-image img { width: 100%; height: auto; }
.leistung-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}
.leistung-row.reverse .leistung-image { order: -1; }
.leistung-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.leistung-box {
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.leistung-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Filter bar ---------- */
.filter-bar { background: var(--gray-lighter); padding: 30px 0; border-bottom: 1px solid var(--border); }
.filter-form {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; }
.filter-field label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 6px;
}
.filter-field select,
.filter-field input {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.filter-form .btn { height: 46px; padding: 0 28px; }

/* ---------- Immobilien-Grid ---------- */
.result-count { color: var(--gray); margin-bottom: 30px; }
.immo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.immo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.immo-card:hover { transform: translateY(-4px); }
.immo-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.immo-photo img { width: 100%; height: 100%; object-fit: cover; }
.immo-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
}
.immo-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.immo-body h3 { font-size: 1.02rem; font-weight: 500; line-height: 1.35; margin-bottom: 16px; }
.immo-facts { list-style: none; margin-bottom: 20px; }
.immo-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-lighter);
  font-size: 0.88rem;
}
.immo-facts li span { color: var(--gray); font-weight: 600; }
.immo-facts li.price { font-weight: 800; color: var(--ink); border-bottom: none; font-size: 1.05rem; }
.immo-facts li.price span { color: var(--orange); }
.immo-body .btn { margin-top: auto; text-align: center; }

/* ---------- Legal pages ---------- */
.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 30px 0 10px;
}
.legal-page .note {
  background: #fff6ef;
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: 30px;
}

/* ---------- Objekt-Detailseite (Exposé) ---------- */
.objekt { padding: 110px 0 70px; }
.breadcrumb { font-size: 0.85rem; color: var(--gray); margin-bottom: 22px; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }

.objekt-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.objekt-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.15; margin: 10px 0 6px; }
.objekt-ort { color: var(--gray); font-weight: 500; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 3px; color: #fff; }
.badge-kauf { background: var(--orange); }
.badge-miete { background: #5a8f7b; }
.objekt-preis { text-align: right; }
.preis-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }
.preis-wert { font-size: 1.9rem; font-weight: 800; color: var(--orange); }

.galerie { margin-bottom: 40px; }
.galerie-haupt { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--gray-lighter); }
.galerie-haupt img { width: 100%; height: 100%; object-fit: cover; }
.galerie-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.thumb { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-lighter); color: var(--gray);
  font-size: 0.8rem; text-align: center; padding: 10px;
}

.objekt-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.block-title { font-size: 1.3rem; font-weight: 400; text-transform: uppercase; margin: 0 0 16px; }
.eckdaten, .freitext, .energie, .karte-block { margin-bottom: 38px; }
.eckdaten-grid, .energie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eckdatum {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.ed-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); font-weight: 700; }
.ed-wert { font-weight: 700; }
.hinweis-klein { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.karte { width: 100%; height: 340px; border: 1px solid var(--border); border-radius: var(--radius); }

.objekt-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }
.ansprechpartner { background: var(--orange); color: #fff; border-radius: var(--radius); padding: 26px 26px; }
.ansprechpartner h3 { font-size: 1.3rem; font-weight: 500; margin: 4px 0 2px; }
.ap-rolle { font-size: 0.85rem; opacity: 0.92; margin-bottom: 14px; }
.ap-contact { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
.ap-contact:hover { text-decoration: underline; }
.anfrage-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.anfrage-form h3 { font-size: 1.15rem; font-weight: 500; text-transform: uppercase; margin-bottom: 4px; }
.anfrage-form input, .anfrage-form textarea {
  font-family: var(--font); font-size: 0.95rem; width: 100%;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--gray-lighter);
}
.anfrage-form input:focus, .anfrage-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.anfrage-form .btn { width: 100%; text-align: center; }

/* Gesuch-Formular */
.form-trenner { border: none; border-top: 1px solid var(--border); margin: 26px 0; }
.gesuch-form .anrede label, .gesuch-form fieldset label { margin-right: 24px; font-weight: 500; }

/* ---------- Video (Conny) ---------- */
.video-wrap { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Bilder-Slider ---------- */
.slider-section { background: var(--gray-lighter); }
.slider { position: relative; max-width: 980px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.slider-track { display: flex; transition: transform 0.5s ease; }
.slider-track img { min-width: 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.85); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.6); cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--orange); }

/* ---------- Instagram ---------- */
.insta-embeds { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 30px 0; }
.insta-post {
  display: block;
  width: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-lighter);
}
.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.insta-post:hover img { transform: scale(1.04); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 30px 0; }
.insta-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-tile:hover img { transform: scale(1.08); }
.insta-tile .insta-ic {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; opacity: 0; background: rgba(237, 124, 54, 0.55); transition: opacity 0.25s;
}
.insta-tile:hover .insta-ic { opacity: 1; }

/* ---------- Immobilienangebote-Popup (dunkles Vollbild-Overlay) ---------- */
.ia-modal { position: fixed; inset: 0; z-index: 200; background: rgba(115, 115, 115, 0.985); display: flex; align-items: center; justify-content: center; padding: 50px 20px; }
.ia-modal[hidden] { display: none; }
.ia-close { position: absolute; top: 22px; right: 32px; background: none; border: none; font-size: 2.6rem; line-height: 1; cursor: pointer; color: #fff; }
.ia-close:hover { color: var(--orange); }
.ia-inner { width: 100%; max-width: 1000px; text-align: center; color: #fff; }
.ia-eyebrow { display: block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 700; color: #fff; opacity: 0.85; margin-bottom: 12px; }
.ia-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 400; text-transform: uppercase; color: #fff; margin-bottom: 40px; }
.ia-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ia-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.ia-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ia-card:hover img { transform: scale(1.06); }
.ia-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55)); }
.ia-card span { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; color: #fff; font-size: 1.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 620px) { .ia-cards { grid-template-columns: 1fr; gap: 18px; } .ia-card { aspect-ratio: 16 / 9; } }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .region-grid, .work-grid, .wohnflaeche-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .wohnflaeche-seal { order: 2; }
  .team-layout { grid-template-columns: 1fr; }
  .team-card, .team-layout .team-card { grid-template-columns: 1fr; }
  .team-photo img, .team-layout .team-photo img { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .garantie-grid { grid-template-columns: 1fr 1fr; }
  .garantie-layout { grid-template-columns: 1fr; gap: 36px; }
  .immo-grid { grid-template-columns: 1fr 1fr; }
  .leistung-row, .leistung-cols { grid-template-columns: 1fr; gap: 30px; }
  .leistungen-layout { grid-template-columns: 1fr; gap: 36px; }
  .leistungen-image { order: -1; }
  .filter-form { grid-template-columns: 1fr 1fr; }
  .objekt-grid { grid-template-columns: 1fr; gap: 30px; }
  .objekt-aside { position: static; }
  .reviews-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .main-nav {
    position: fixed;
    top: 84px; right: 0;
    width: 270px;
    height: calc(100vh - 84px);
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .angebote-grid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { justify-content: center; }
  .cta-box { padding: 32px 24px; }
  .garantie-grid { grid-template-columns: 1fr; }
  .immo-grid { grid-template-columns: 1fr; }
  .filter-form { grid-template-columns: 1fr; }
  .nav-drop-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .page-hero { padding: 120px 0 56px; }
  .eckdaten-grid, .energie-grid { grid-template-columns: 1fr 1fr; }
  .galerie-thumbs { grid-template-columns: 1fr 1fr; }
  .objekt-preis { text-align: left; }
  .objekt { padding: 100px 0 60px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .gr-cards { grid-template-columns: 1fr; }
  .gr-btn { margin-left: 0; width: 100%; text-align: center; }
}
