/*
Theme Name: i2 immo
Theme URI: https://i2-immo.de
Author: Immotions & Itschner eGbR
Author URI: https://i2-immo.de
Description: Individuelles Theme fuer i2-immo - Direktankauf von Wohnimmobilien in Braunschweig und der Region. Warmes, freundliches Design in Navy, Orange und Creme mit dezenten Animationen.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: i2immo
*/

/* ============================================================
   i²-immo — Designsystem
   Navy #0F2440 · Orange #FF6A00 · Gold #B68A3E · Cream #F4ECDB
   ============================================================ */

:root {
  --navy: #17324F;
  --navy-deep: #10263D;
  --navy-mid: #234a6e;
  --navy-card: #1d3d5c;
  --orange: #F07A1E;
  --orange-dark: #D8660E;
  --gold: #C79A4B;
  --gold-soft: #E4C989;
  --cream: #F6EEDF;
  --paper: #FAF6EF;
  --white: #FFFFFF;
  --ink: #21323F;
  --slate: #5E6E7C;
  --line: rgba(23, 50, 79, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(15, 36, 64, 0.10);
  --shadow-strong: 0 20px 60px rgba(10, 27, 51, 0.35);
  --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

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

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.22rem; font-weight: 600; }

p { color: var(--slate); }

a { color: var(--orange); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 0.9rem; font-size: 1.05rem; }

.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(244, 236, 219, 0.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15, 36, 64, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1rem;
}
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  color: rgba(244, 236, 219, 0.82);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); border-color: var(--orange); }
.nav-cta { margin-left: 0.5rem; padding: 0.65rem 1.3rem; font-size: 0.93rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--cream);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line-light);
    display: none;
    padding: 0.6rem 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--line-light); }
  .nav-cta { margin: 0.9rem 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero (Start) ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--img-hero);
  background-size: cover;
  background-position: center 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg,
    rgba(16, 38, 61, 0.92) 0%,
    rgba(16, 38, 61, 0.78) 42%,
    rgba(23, 50, 79, 0.45) 78%,
    rgba(23, 50, 79, 0.30) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--orange); }
.hero-sub { font-size: 1.15rem; color: rgba(244, 236, 219, 0.8); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  padding: 1.2rem 0 3.5rem;
  border-top: 1px solid var(--line-light);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: rgba(244, 236, 219, 0.75);
}
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }

.hero-card {
  background: rgba(16, 38, 61, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(228, 201, 137, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-strong);
}
.hero-card h3 { color: var(--white); margin-bottom: 1.3rem; font-size: 1.15rem; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  color: rgba(244, 236, 219, 0.85);
  font-size: 0.98rem;
}
.check-list .check {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.hero-skyline { margin-top: -1px; }
.hero-skyline svg, .hero-skyline img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
  isolation: isolate;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(16,38,61,0.93) 0%, rgba(16,38,61,0.80) 50%, rgba(23,50,79,0.55) 100%);
}
.page-hero.ph-stadt::before { background-image: var(--img-hero); }
.page-hero.ph-haus::before { background-image: var(--img-haus-garten); }
.page-hero.ph-strasse::before { background-image: var(--img-strasse-altstadt); }
.page-hero.ph-innen::before { background-image: var(--img-hero); }
.page-hero h1 { color: var(--white); margin-bottom: 0.9rem; }
.page-hero h1 .hl { color: var(--orange); }
.page-hero p { font-size: 1.12rem; color: rgba(244, 236, 219, 0.8); max-width: 40rem; }
.page-hero .eyebrow { color: var(--orange); }

/* ---------- Schritte ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.step-card h3 { margin-bottom: 0.55rem; }
.step-card p { font-size: 0.95rem; }
.steps-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .steps-grid, .steps-grid.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid, .steps-grid.five { grid-template-columns: 1fr; } }

/* ---------- Vergleich ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
}
.compare-card.pro {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(255, 106, 0, 0.35);
}
.compare-card.pro h3 { color: var(--white); font-size: 1.3rem; }
.compare-card.contra { background: var(--navy); }
.compare-card.contra h3 { color: var(--white); font-size: 1.3rem; }
.compare-card ul { list-style: none; margin-top: 1.4rem; }
.compare-card li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 0.99rem;
}
.compare-card.pro li { color: rgba(255,255,255,0.95); }
.compare-card.contra li { color: rgba(244, 236, 219, 0.75); }
.compare-card .ic {
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}
.compare-card.pro .ic { background: var(--white); color: var(--orange); }
.compare-card.contra .ic { background: rgba(255,255,255,0.12); color: var(--cream); }
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Karten-Raster ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 0, 0.5); }
.info-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.info-card .icon svg { width: 28px; height: 28px; }
.info-card h3 { margin-bottom: 0.5rem; }
.info-card p { font-size: 0.95rem; }

/* ---------- Über-uns-Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split .visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split .visual img, .split .visual svg { width: 100%; height: auto; }
@media (max-width: 880px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 2.2rem; }
}

.stats-card {
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  box-shadow: 0 18px 50px rgba(255, 106, 0, 0.3);
}
.stats-card .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}
.stats-card .stat span { font-size: 0.9rem; opacity: 0.92; }

/* ---------- Foto-Komponenten ---------- */
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: none;
}
.photo-frame.tall { aspect-ratio: 4 / 5; }

.stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stats-inline .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stats-inline .stat span { font-size: 0.9rem; color: var(--slate); }

/* Foto-Band mit Text-Overlay */
.photo-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.photo-band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(16,38,61,0.90) 0%, rgba(16,38,61,0.72) 45%, rgba(16,38,61,0.30) 100%);
}
.photo-band .band-inner { max-width: 560px; padding: 3.5rem 0; }
.photo-band h2 { color: var(--white); }
.photo-band p { color: rgba(246, 238, 223, 0.85); margin-top: 1rem; }
.photo-band .btn { margin-top: 1.8rem; }

/* Karte mit Foto oben */
.photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.photo-card:hover { transform: translateY(-4px); }
.photo-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .body { padding: 1.5rem; }
.photo-card h3 { margin-bottom: 0.5rem; }
.photo-card p { font-size: 0.95rem; }

/* ---------- Fakten-Tabelle (Ankaufsprofil) ---------- */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fact-table th, .fact-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th {
  width: 32%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  font-size: 0.98rem;
}
.fact-table td { color: var(--slate); font-size: 0.98rem; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-block;
  background: rgba(15, 36, 64, 0.07);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin: 0.18rem 0.25rem 0.18rem 0;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
}
.tag.hot { background: rgba(255, 106, 0, 0.13); color: var(--orange-dark); }

/* ---------- Formulare ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--slate); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--orange); }
.form-note { font-size: 0.84rem; color: var(--slate); margin-top: 0.8rem; }
.form-success {
  display: none;
  background: rgba(46, 160, 90, 0.1);
  border: 1.5px solid rgba(46, 160, 90, 0.4);
  color: #1E7A45;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- Kontakt-Panel ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.6rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.4rem; }
.contact-row { display: flex; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line-light); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .lbl {
  flex: none;
  width: 96px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--orange);
}
.contact-row .val, .contact-row .val a { color: rgba(244, 236, 219, 0.88); font-size: 0.97rem; }
.contact-row .val a:hover { color: var(--white); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(140deg, var(--navy-deep), var(--navy-mid)); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.9rem; }
.cta-band p { color: rgba(244, 236, 219, 0.75); max-width: 36rem; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(244, 236, 219, 0.7); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 0.25rem 0; }
.footer-grid a { color: rgba(244, 236, 219, 0.7); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.94rem; color: rgba(244, 236, 219, 0.6); max-width: 16rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: 0.87rem;
}
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom .legal a { color: rgba(244, 236, 219, 0.7); }
.footer-bottom .legal a:hover { color: var(--white); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal-Seiten ---------- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.98rem; margin-bottom: 0.7rem; }
.legal-content ul { padding-left: 1.3rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   BEWEGUNG & DYNAMIK
   ============================================================ */

/* Scroll-Fortschrittsbalken */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 200;
  transition: width 0.1s linear;
}

/* Header: beim Scrollen etwas kompakter & fester */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled {
  background: rgba(16, 38, 61, 0.98);
  box-shadow: 0 6px 24px rgba(10, 27, 51, 0.28);
}

/* Animierte Navigations-Unterstreichung */
.main-nav a { position: relative; border-bottom: 0 !important; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--orange);
  transition: width 0.28s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
@media (max-width: 900px) { .main-nav a::after { display: none; } }

/* Hero: langsamer Ken-Burns-Zoom auf dem Foto */
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero::before, .page-hero.has-photo::before {
  animation: kenburns 22s ease-out forwards;
}

/* Hero-Inhalte: gestaffeltes Einblenden beim Laden */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero h1        { animation: fadeUp 0.7s 0.05s both; }
.hero .hero-sub { animation: fadeUp 0.7s 0.20s both; }
.hero-actions   { animation: fadeUp 0.7s 0.35s both; }
.hero .hero-card{ animation: fadeUp 0.7s 0.50s both; }
.hero-trust     { animation: fadeUp 0.7s 0.65s both; }
.page-hero .eyebrow { animation: fadeUp 0.6s 0.05s both; }
.page-hero h1       { animation: fadeUp 0.6s 0.18s both; }
.page-hero p        { animation: fadeUp 0.6s 0.32s both; }

/* Lauftext-Band (Marquee) */
.marquee {
  background: var(--cream);
  border-top: 1px solid rgba(23, 50, 79, 0.08);
  border-bottom: 1px solid rgba(23, 50, 79, 0.08);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 0 1.6rem;
  white-space: nowrap;
}
.marquee-item .sep { color: var(--orange); margin-left: 3.2rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Foto-Rahmen & Foto-Band: sanfter Zoom bei Hover */
.photo-frame img, .photo-band .bg { transition: transform 0.7s ease; }
.photo-frame:hover img { transform: scale(1.05); }
.photo-band:hover .bg  { transform: scale(1.04); }

/* Karten & Buttons: lebendigere Mikro-Interaktion */
.info-card, .step-card, .compare-card { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.info-card:hover, .step-card:hover { box-shadow: 0 18px 44px rgba(23, 50, 79, 0.12); }
.step-card:hover .step-num { transform: translateY(-2px); transition: transform 0.22s ease; }

/* Gestaffelte Scroll-Reveals (Verzögerung setzt das JS) */
.reveal { will-change: opacity, transform; }

/* Zahl-Hochzähler-Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.stats-strip .stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stats-strip .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stats-strip .stat span { font-size: 0.9rem; color: var(--slate); margin-top: 0.4rem; display: block; }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero.has-photo::before { animation: none; }
  .hero h1, .hero .hero-sub, .hero-actions, .hero .hero-card, .hero-trust,
  .page-hero .eyebrow, .page-hero h1, .page-hero p { animation: none; }
  .marquee-track { animation: none; }
  .photo-frame:hover img, .photo-band:hover .bg { transform: none; }
}

/* Helle CTA-Variante (statt Navy) */
.cta-band.light {
  background: var(--cream);
  border-top: 1px solid rgba(23, 50, 79, 0.08);
}
.cta-band.light h2 { color: var(--navy); }
.cta-band.light p  { color: var(--slate); }

/* Fakten-Tabelle mobil stapeln (verhindert Überlauf) */
@media (max-width: 640px) {
  .fact-table, .fact-table tbody, .fact-table tr, .fact-table th, .fact-table td {
    display: block;
    width: 100% !important;
  }
  .fact-table th {
    border-bottom: 0;
    padding-bottom: 0.3rem;
    background: transparent;
  }
  .fact-table td {
    padding-top: 0.3rem;
    padding-bottom: 1.1rem;
  }
  .fact-table tr { border-bottom: 1px solid var(--line); }
  .fact-table tr:last-child { border-bottom: 0; }
}

/* ============================================================
   AUSBAU: Kontakt-Kacheln, Regionen, Typen, Feinschliff-Animationen
   ============================================================ */

/* 4er-Kartenraster */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards-4 { grid-template-columns: 1fr; } }

/* Kontakt-Kacheln (gut sichtbare Kontaktmöglichkeiten) */
.contact-tile {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.25rem; text-decoration: none;
}
.contact-tile .icon { margin: 0 auto 0.9rem; }
.contact-tile .lbl {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--slate); font-weight: 600; font-family: var(--font-display);
}
.contact-tile .val {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; color: var(--navy); word-break: break-word;
}
a.contact-tile:hover .val { color: var(--orange); }

/* Regionen-Chips */
.region-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.region-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.3rem; font-family: var(--font-display); font-weight: 500;
  color: var(--navy); box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.region-chip:hover { transform: translateY(-3px); border-color: var(--orange); }
.region-chip svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* Kompetenz-Kachel mit Tags + Kontakt */
.comp-card .tags { margin: 1rem 0 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.comp-card .reach {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center;
  padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.95rem;
}
.comp-card .reach a { font-weight: 600; }
.comp-card .reach .lbl { color: var(--slate); font-size: 0.85rem; }

/* Telefon im Header */
.nav-phone { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff !important; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.nav-phone svg { width: 16px; height: 16px; color: var(--orange); }
.nav-phone::after { display: none !important; }
@media (max-width: 900px) {
  .nav-phone { padding: 0.85rem 0 !important; border-bottom: 1px solid var(--line-light); width: 100%; }
}

/* Button-Glanz (dezenter Sheen) */
.btn-orange { position: relative; overflow: hidden; }
.btn-orange::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-orange:hover::after { left: 150%; }

/* Animierte Unterstreichung der Abschnitts-Überschrift */
.section-head h2 { position: relative; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: -12px;
  height: 3px; width: 0; background: var(--orange); border-radius: 2px;
  transition: width 0.6s 0.15s ease;
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head.visible h2::after { width: 56px; }

/* Zurück-nach-oben-Button */
.to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90; box-shadow: 0 10px 24px rgba(10, 27, 51, 0.32);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .btn-orange::after { display: none; }
  .section-head h2::after { transition: none; }
}

/* ============================================================
   FEINSCHLIFF: Barrierefreiheit, Typografie, Konsistenz
   ============================================================ */

/* Sanftes Scrollen zu Ankern (respektiert reduzierte Bewegung) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Markenfarbene Textauswahl */
::selection { background: rgba(240, 122, 30, 0.25); color: var(--navy-deep); }

/* Deutlich sichtbarer Tastatur-Fokus (wichtig für ältere Nutzer & Barrierefreiheit) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(240, 122, 30, 0.55);
  outline-offset: 1px;
}

/* Formularfelder: ruhiger Fokusring statt Browser-Standard */
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(240, 122, 30, 0.14);
  outline: none;
}

/* Etwas großzügigere Grundschrift auf großen Bildschirmen (Lesbarkeit 60+) */
@media (min-width: 1200px) {
  body { font-size: 1.0625rem; }
}

/* Fließtext-Zeilenlänge begrenzen für angenehmes Lesen */
.section-head p, .band-inner p { max-width: 60ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Zahlen in Tabellen/Stats gleichbreit (ruhigeres Bild) */
.stats-strip .stat b, .fact-table td { font-variant-numeric: tabular-nums; }

/* Karten-Icons: sanfter "Pop" beim Karten-Hover */
.info-card .icon { transition: transform 0.25s ease; }
.info-card:hover .icon { transform: scale(1.08) rotate(-3deg); }

/* Konsistente Link-Behandlung im Fließtext */
.legal-content a, .form-note a, .consent a { text-underline-offset: 3px; }

/* Fotoband-Text: leichte Schattenkante für Lesbarkeit auf hellen Bildstellen */
.photo-band h2, .photo-band p, .page-hero h1, .page-hero p, .hero h1, .hero-sub {
  text-shadow: 0 1px 18px rgba(10, 27, 51, 0.35);
}
.hero-card { text-shadow: none; }

/* Druckansicht: Navigation/Deko ausblenden */
@media print {
  .site-header, .site-footer, .marquee, .to-top, .scroll-progress, .photo-band { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   FEINSCHLIFF: Personen, Barrierefreiheit, Details
   ============================================================ */

/* Personen-Karten (Gesellschafter) */
.person-card { text-align: center; }
.person-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.04em;
  border: 3px solid var(--cream);
  box-shadow: 0 8px 20px rgba(16, 38, 61, 0.18);
}
.person-card .role {
  color: var(--orange); font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0.15rem 0 0.8rem;
}
.person-card:hover .avatar { transform: scale(1.05); transition: transform 0.25s ease; }

/* Tastatur-Fokus deutlich sichtbar (Barrierefreiheit) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Touch-Ziele: Buttons und Nav-Links mindestens 44px hoch */
.btn { min-height: 46px; }
.main-nav a { padding-top: 0.4rem; padding-bottom: 0.4rem; }

/* Sanftes Scrollen zu Ankern */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Fließtext-Links klar erkennbar */
.section p a:not(.btn), .legal-content a, .form-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* Formularfelder: ruhiger Fokusring, größere Beschriftung */
.field label { font-size: 0.95rem; }
.field input, .field select, .field textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 122, 30, 0.16);
  outline: none;
}

/* Formular-Erfolgsmeldung freundlich */
.form-success {
  display: none;
  background: #EAF6EC; border: 1px solid #BFE3C6; color: #1E5A2A;
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.2rem;
  font-weight: 500;
}
.form-success.show { display: block; animation: fadeUp 0.4s ease both; }

/* Hero-Foto mobil besser positioniert (Kirchtürme sichtbar) */
@media (max-width: 720px) {
  .hero::before { background-position: 62% 30%; }
  .page-hero.has-photo::before { background-position: center 35%; }
}

/* Marquee: auf sehr kleinen Screens etwas kompakter */
@media (max-width: 480px) {
  .marquee-item { font-size: 0.88rem; padding: 0 1.1rem; }
  .marquee-item .sep { margin-left: 2.2rem; }
}

/* Footer: Links mit mehr Abstand (Touch), Impressum/Datenschutz deutlich */
.footer-bottom .legal a {
  padding: 0.4rem 0.2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Druckansicht: Navigation/Deko ausblenden */
@media print {
  .site-header, .site-footer, .marquee, .to-top, .scroll-progress, .photo-band { display: none !important; }
  body { background: #fff; }
}

/* Header-CTA "Immobilie anbieten" etwas größer & präsenter */
.main-nav .nav-cta {
  font-size: 1.02rem;
  padding: 0.85rem 1.7rem;
  min-height: 52px;
  box-shadow: 0 6px 18px rgba(240, 122, 30, 0.28);
}
.main-nav .nav-cta:hover { box-shadow: 0 8px 22px rgba(240, 122, 30, 0.38); }
@media (max-width: 900px) {
  .main-nav .nav-cta { font-size: 1rem; padding: 0.9rem 1.5rem; }
}

/* Download-Block (Ankaufsprofil PDF) */
.download-band {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.6rem; flex-wrap: wrap; color: #fff;
  box-shadow: var(--shadow);
}
.download-band .dl-text { flex: 1 1 320px; }
.download-band .eyebrow { color: var(--gold-soft); }
.download-band h2 { color: #fff; margin: 0.3rem 0 0.5rem; }
.download-band h2::after { display: none; }
.download-band p { color: rgba(246, 238, 223, 0.85); margin: 0; }
.download-band .dl-action { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.dl-doc {
  width: 60px; height: 76px; border-radius: 8px; flex: none;
  background: #fff; position: relative; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.dl-doc::before { content: "PDF"; position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.dl-doc::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 16px 16px 0; border-style: solid; border-color: var(--cream) #fff; border-radius: 0 0 0 4px; }
@media (max-width: 640px) { .download-band { flex-direction: column; align-items: flex-start; } }

/* Header-CTA großzügiger: Schriftzug nicht gequetscht */
.main-nav .nav-cta {
  font-size: 1.04rem;
  padding: 1rem 2.6rem;
  min-height: 58px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.main-nav .nav-cta .arrow { margin-left: 0.7rem; }
@media (max-width: 900px) {
  .main-nav .nav-cta { padding: 1rem 2rem; width: 100%; justify-content: center; }
}

/* Zwei Telefonnummern im Header kompakt stapeln */
.nav-phone { align-items: center; }
.nav-phone-nums {
  display: inline-flex; flex-direction: column;
  line-height: 1.18; font-size: 0.86rem; font-weight: 600;
}
@media (max-width: 900px) {
  .nav-phone-nums { font-size: 1rem; line-height: 1.5; }
}

/* Ansprechpartner-Karten mit Direktnummer (Ankaufsprofil) */
.person-contact {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; gap: 0.2rem;
}
.person-contact .avatar {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold-soft); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em;
  border: 3px solid var(--cream); box-shadow: 0 8px 20px rgba(16, 38, 61, 0.18);
  transition: transform 0.25s ease;
}
.person-contact:hover .avatar { transform: scale(1.05); }
.person-contact h3 { margin: 0; color: var(--navy); }
.person-contact .role {
  color: var(--orange); font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0.15rem 0 0.9rem;
}
.person-contact .phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy);
}
.person-contact .phone svg { width: 18px; height: 18px; color: var(--orange); }
.person-contact:hover .phone { color: var(--orange); }

/* Header-CTA breiter */
.main-nav .nav-cta { padding-left: 3.8rem; padding-right: 3.8rem; }
@media (max-width: 1200px) { .main-nav .nav-cta { padding-left: 2.6rem; padding-right: 2.6rem; } }

/* Telefonhörer in den Ansprechpartner-Karten klein erzwingen (feste Größe) */
.person-contact .phone svg { width: 22px !important; height: 22px !important; flex: none; }

/* Name hinter der Telefonnummer (dezent) */
.pname { color: var(--slate); font-family: var(--font-body); font-weight: 500; font-size: 0.92em; }
.contact-info-card .pname { color: rgba(246, 238, 223, 0.7); }
.site-footer .pname { color: rgba(246, 238, 223, 0.55); }
.contact-tile .pname { display: inline; }

/* Header-CTA – eindeutige, finale Größe (überschreibt alle vorherigen Regeln) */
.main-nav .nav-cta {
  font-size: 1.1rem !important;
  padding: 1.15rem 4rem !important;
  min-height: 64px !important;
}
@media (max-width: 1200px) {
  .main-nav .nav-cta { font-size: 1.02rem !important; padding: 1rem 2.4rem !important; min-height: 56px !important; }
}
@media (max-width: 900px) {
  .main-nav .nav-cta { width: 100% !important; justify-content: center !important; padding: 1.05rem 2rem !important; }
}

/* Header-CTA – finaler, großzügiger Innenabstand (Schrift nicht am Rand) */
.main-nav .nav-cta {
  font-size: 1.1rem !important;
  padding: 1.25rem 4.6rem !important;
  min-height: 66px !important;
  line-height: 1 !important;
}
.main-nav .nav-cta .arrow { margin-left: 0.9rem !important; }
@media (max-width: 1300px) {
  .main-nav .nav-cta { padding: 1.05rem 2.6rem !important; font-size: 1.02rem !important; min-height: 56px !important; }
}
@media (max-width: 900px) {
  .main-nav .nav-cta { width: 100% !important; justify-content: center !important; padding: 1.05rem 2rem !important; }
}

/* Statistik-Kacheln auf sehr schmalen Handys einspaltig (verhindert Überlauf < 400px) */
@media (max-width: 400px) {
  .stats-strip { grid-template-columns: 1fr; }
}

/* Lange URLs/Wörter in Rechtstexten umbrechen (sehr schmale Displays) */
.legal-content { overflow-wrap: anywhere; word-break: break-word; }
.legal-content a { word-break: break-word; }

/* ===== Contact Form 7 im i²-immo-Stil ===== */
.form-card .wpcf7 { margin: 0; }
.form-card .wpcf7-form p { margin: 0 0 1.1rem; }
.form-card .wpcf7-form label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.88rem; color: var(--navy); margin-bottom: 0.4rem;
}
.form-card .wpcf7-form input[type="text"],
.form-card .wpcf7-form input[type="email"],
.form-card .wpcf7-form input[type="tel"],
.form-card .wpcf7-form textarea,
.form-card .wpcf7-form select {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); transition: border-color 0.15s ease;
}
.form-card .wpcf7-form input:focus,
.form-card .wpcf7-form textarea:focus,
.form-card .wpcf7-form select:focus { border-color: var(--orange); outline: none; }
.form-card .wpcf7-form textarea { min-height: 140px; resize: vertical; }

/* Zwei Spalten für die oberen Felder (Desktop) */
@media (min-width: 640px) {
  .form-card .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
  .form-card .wpcf7-form > p:nth-of-type(5),
  .form-card .wpcf7-form > p:nth-of-type(7),
  .form-card .wpcf7-form > p:nth-of-type(8),
  .form-card .wpcf7-form > p:last-of-type { grid-column: 1 / -1; }
  .form-card .wpcf7-form .wpcf7-response-output { grid-column: 1 / -1; }
}

/* Datenschutz-Zustimmung (Checkbox) */
.form-card .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.form-card .wpcf7-acceptance label {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--slate);
}
.form-card .wpcf7-acceptance input[type="checkbox"] { margin-top: 0.2rem; flex: none; }

/* Senden-Button orange im Marken-Stil */
.form-card .wpcf7-form .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 1rem 2.4rem; border-radius: 999px; transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(240, 122, 30, 0.28);
}
.form-card .wpcf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(240, 122, 30, 0.38); }

/* Statusmeldungen */
.form-card .wpcf7-response-output {
  border-radius: 12px; padding: 0.9rem 1.2rem !important; margin: 0.4rem 0 0 !important;
  font-family: var(--font-body);
}
.form-card .wpcf7 form.sent .wpcf7-response-output { border: 1px solid #43a047; background: #edf7ed; color: #2e7d32; }
.form-card .wpcf7 form.invalid .wpcf7-response-output,
.form-card .wpcf7 form.failed .wpcf7-response-output { border: 1px solid #e57373; background: #fdecea; color: #c62828; }
.form-card .wpcf7-not-valid-tip { color: #c62828; font-size: 0.85rem; }

/* Logo im Header: nie stauchen, Seitenverhältnis behalten (z. B. im Splitscreen) */
.brand { flex: none; }
.brand img { height: 40px; width: auto; flex: none; object-fit: contain; max-width: none; }
.footer-brand img { flex: none; object-fit: contain; }
