/* ==========================================================================
   Elas Seniorendienst - Symmetrical, Animated & Professional Modern CSS
   ========================================================================== */

:root {
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Color Palette */
  --c-bg: #ffffff;
  --c-bg-subtle: #f8fafc;
  --c-bg-alt: #f1f5f9;
  
  --c-navy: #0a2236;            /* Deep slate navy */
  --c-navy-light: #163852;
  
  --c-teal: #00a88f;            /* Vibrant emerald teal */
  --c-teal-dark: #008773;
  --c-teal-light: #e6f6f4;
  
  --c-amber: #f5ab16;           /* Warm gold amber */
  --c-amber-light: #fff8e6;

  --c-text: #0f172a;            /* Crisp slate for senior legibility */
  --c-muted: #475569;
  --c-light: #94a3b8;

  --c-border: rgba(10, 34, 54, 0.08);
  --c-border-hover: rgba(0, 168, 143, 0.35);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(10, 34, 54, 0.07);
  --shadow-lg: 0 20px 40px -10px rgba(10, 34, 54, 0.12);
  --shadow-hover: 0 25px 45px -10px rgba(0, 168, 143, 0.2);

  --t-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --t-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Top Announcement Bar */
.top-announcement {
  background: var(--c-navy);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-items {
  display: flex;
  gap: 24px;
}

.ann-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ann-item i {
  width: 15px;
  height: 15px;
  color: var(--c-teal);
}

.announcement-phone a {
  color: var(--c-amber);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-icon {
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Sticky Header Navigation Layout */
.header-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--t-fast);
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform var(--t-smooth), filter var(--t-smooth);
}

.brand-logo:hover .logo-image {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(0, 168, 143, 0.25));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: var(--r-pill);
  transition: var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link i {
  width: 14px;
  height: 14px;
  color: var(--c-teal);
  flex-shrink: 0;
}

.nav-link:hover {
  background: var(--c-teal-light);
  color: var(--c-teal-dark);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--c-navy);
  padding: 7px 10px;
  border-radius: var(--r-pill);
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  transition: var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-phone:hover {
  background: var(--c-teal-light);
  color: var(--c-teal-dark);
  border-color: var(--c-teal);
}

.btn-phone i {
  width: 14px;
  height: 14px;
  color: var(--c-teal);
  flex-shrink: 0;
}

.btn-primary-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-navy) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 168, 143, 0.25);
  transition: var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-primary-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 168, 143, 0.35);
}

.btn-primary-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 168, 143, 0.35);
}
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 168, 143, 0.3);
  transition: var(--t-fast);
}

.btn-primary-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 168, 143, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-navy);
  cursor: pointer;
}

/* Button Components */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-navy) 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(0, 168, 143, 0.35);
  transition: var(--t-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(0, 168, 143, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: var(--c-navy);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t-fast);
}

.btn-secondary:hover {
  background: var(--c-bg-subtle);
  border-color: var(--c-navy);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 90px 0 100px 0;
  background: radial-gradient(circle at 90% 10%, rgba(0, 168, 143, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(245, 171, 22, 0.04) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-teal-light);
  color: var(--c-teal-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

.badge-icon i {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
  vertical-align: middle;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--c-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
}

.hero-feat-item i {
  width: 18px;
  height: 18px;
  color: var(--c-teal);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Symmetrical Floating Badges Visual */
.hero-card-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition: transform var(--t-smooth);
}

.badge-top-left {
  top: 10%;
  left: -24px;
  animation: floatUpDown 4s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: 8%;
  right: -20px;
  animation: floatUpDown 4.5s ease-in-out infinite 1s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-box.amber {
  background: var(--c-amber-light);
  color: var(--c-amber);
}

.floating-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--c-navy);
}

.floating-badge small {
  font-size: 0.78rem;
  color: var(--c-muted);
}

/* Symmetrical Grid Layouts */
.section-title-wrapper {
  margin-bottom: 60px;
}

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

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-teal);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.section-tag i {
  width: 16px;
  height: 16px;
}

.section-heading {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 1.12rem;
  color: var(--c-muted);
  max-width: 660px;
  margin: 0 auto;
}

/* 3-Column Symmetrical Grid */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card Vorteile */
.section-vorteile {
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.card-vorteil {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--t-smooth);
}

.card-vorteil:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-border-hover);
}

/* Upgraded High-Resolution Vector Icons System */
svg.lucide {
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast), stroke var(--t-fast);
}

a:hover svg.lucide, button:hover svg.lucide, .card-vorteil:hover svg.lucide, .card-service:hover svg.lucide {
  transform: scale(1.1);
}

.vorteil-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-teal-light) 0%, #ffffff 100%);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 168, 143, 0.2);
  box-shadow: 0 4px 12px rgba(0, 168, 143, 0.1);
}

.vorteil-icon-box.amber {
  background: linear-gradient(135deg, var(--c-amber-light) 0%, #ffffff 100%);
  color: var(--c-amber);
  border-color: rgba(245, 171, 22, 0.25);
  box-shadow: 0 4px 12px rgba(245, 171, 22, 0.12);
}

.vorteil-icon-box.navy {
  background: linear-gradient(135deg, rgba(10, 34, 54, 0.08) 0%, #ffffff 100%);
  color: var(--c-navy);
  border-color: rgba(10, 34, 54, 0.15);
  box-shadow: 0 4px 12px rgba(10, 34, 54, 0.08);
}

.card-vorteil h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-vorteil p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.card-footer-check {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-teal-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-border);
}

.card-footer-check i {
  width: 16px;
  height: 16px;
}

/* Card Services (Symmetrical 3x2 Grid) */
.card-service {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t-smooth);
}

.card-service.span-full-row {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, var(--c-bg-subtle) 100%);
  border: 1px solid rgba(0, 168, 143, 0.3);
  box-shadow: 0 8px 24px rgba(0, 168, 143, 0.08);
}

.horizontal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.horizontal-list li {
  margin-bottom: 0 !important;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-teal-light) 0%, #ffffff 100%);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 168, 143, 0.2);
  box-shadow: 0 4px 12px rgba(0, 168, 143, 0.12);
}

.service-icon-box.amber {
  background: linear-gradient(135deg, var(--c-amber-light) 0%, #ffffff 100%);
  color: var(--c-amber);
  border-color: rgba(245, 171, 22, 0.25);
  box-shadow: 0 4px 12px rgba(245, 171, 22, 0.12);
}

.service-icon-box.navy {
  background: linear-gradient(135deg, rgba(10, 34, 54, 0.08) 0%, #ffffff 100%);
  color: var(--c-navy);
  border-color: rgba(10, 34, 54, 0.15);
  box-shadow: 0 4px 12px rgba(10, 34, 54, 0.08);
}

.card-service h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card-service p {
  color: var(--c-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.service-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-feat-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--c-navy);
  font-weight: 500;
}

.service-feat-list i {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
}

/* Interactive Rechner Section */
.section-rechner {
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.rechner-card-main {
  background: #ffffff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
}

.rechner-button-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pg-btn {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-bg-subtle);
  font-weight: 700;
  color: var(--c-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--t-fast);
}

.pg-btn i {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
}

.pg-btn:hover, .pg-btn.active {
  background: var(--c-teal);
  color: #ffffff;
  border-color: var(--c-teal);
  box-shadow: 0 4px 14px rgba(0, 168, 143, 0.35);
}

.pg-btn:hover i, .pg-btn.active i {
  color: #ffffff;
}

.rechner-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.calc-breakdown-box {
  background: var(--c-bg-subtle);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--c-border);
}

.calc-breakdown-box h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-breakdown-box h4 i {
  width: 20px;
  height: 20px;
  color: var(--c-teal);
}

.calc-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  margin-bottom: 14px;
}

.calc-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-icon.amber { background: var(--c-amber-light); color: var(--c-amber); }
.mini-icon.navy { background: rgba(10, 34, 54, 0.08); color: var(--c-navy); }

.calc-item-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--c-navy);
}

.calc-item-info small {
  font-size: 0.78rem;
  color: var(--c-muted);
}

.calc-item-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-teal);
}

.calc-summary-box {
  background: var(--c-navy);
  color: #ffffff;
  padding: 40px 32px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.summary-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px auto;
}

.summary-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--c-amber);
  margin: 8px 0 16px 0;
}

.calc-summary-box p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

/* Symmetrical 4-Step Process Timeline */
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-step {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--t-smooth);
}

.card-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-amber);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.step-icon.amber { background: var(--c-amber-light); color: var(--c-amber); }
.step-icon.navy { background: rgba(10, 34, 54, 0.08); color: var(--c-navy); }

.card-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card-step p {
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* Symmetrical FAQ Accordion */
.section-faq {
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
}

.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.q-icon {
  width: 20px;
  height: 20px;
  color: var(--c-teal);
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--c-navy);
  transition: transform var(--t-fast);
}

.faq-card.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px 60px;
  color: var(--c-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  display: block;
}

/* Contact Section Symmetrical Grid */
.kontakt-grid-main {
  background: #ffffff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.kontakt-info-side {
  background: var(--c-navy);
  color: #ffffff;
  padding: 56px 48px;
}

.section-tag.white {
  color: var(--c-teal-light);
}

.kontakt-info-side h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.kontakt-info-side p {
  opacity: 0.85;
  margin-bottom: 36px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.c-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-info-item small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
}

.c-info-item strong {
  font-size: 1.02rem;
}

.kontakt-form-side {
  padding: 56px 48px;
}

.contact-form-clean {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group label i {
  width: 14px;
  height: 14px;
  color: var(--c-teal);
}

.input-group input, .input-group select, .input-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-bg-subtle);
  outline: none;
  transition: var(--t-fast);
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  background: #ffffff;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 143, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.privacy-note {
  font-size: 0.78rem;
  color: var(--c-light);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.privacy-note i {
  width: 14px;
  height: 14px;
}

.form-success-box {
  padding: 40px 20px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px auto;
}

/* Footer */
.footer {
  background: var(--c-navy);
  color: #ffffff;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  display: inline-block;
  filter: none;
}

.brand-col p {
  opacity: 0.75;
  font-size: 0.9rem;
  max-width: 380px;
}

.footer-col h4 {
  color: var(--c-amber);
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 i {
  width: 18px;
  height: 18px;
}

.footer-col a {
  display: block;
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: opacity var(--t-fast);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--c-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Quiz Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 34, 54, 0.65);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--r-lg);
  max-width: 540px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--c-bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
}

.progress-bar-wrap {
  height: 6px;
  background: var(--c-bg-subtle);
  border-radius: 3px;
  margin: 16px 0 24px 0;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 33%;
  background: var(--c-teal);
  transition: width var(--t-fast);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-bg-subtle);
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  transition: var(--t-fast);
  text-align: left;
}

.q-btn i {
  width: 18px;
  height: 18px;
  color: var(--c-teal);
}

.q-btn:hover {
  background: var(--c-teal-light);
  border-color: var(--c-teal);
}

.sparkle-icon {
  font-size: 36px;
  color: var(--c-amber);
  margin-bottom: 12px;
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.margin-v { margin: 18px 0; }

/* Responsive Utility & Mobile Optimization Breakpoints (Android, iOS & Laptops <= 1250px) */
@media (max-width: 1250px) {
  .hero-grid, .rechner-content-grid, .kontakt-grid-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-3-col, .grid-4-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Specific Smartphone Optimizations (iOS / Android Devices <= 768px & <= 480px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .header-container {
    height: 64px;
  }

  .logo-image {
    height: 38px;
  }

  .top-announcement {
    display: none; /* Hide top notification bar on mobile for cleaner viewport */
  }

  .hero-section {
    padding: 36px 0 48px 0;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-primary, .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  .hero-main-img {
    height: 260px;
    border-radius: var(--r-md);
  }

  .floating-badge {
    position: static;
    margin-top: 12px;
    width: 100%;
    animation: none;
    box-shadow: var(--shadow-sm);
  }

  .section-heading {
    font-size: 1.85rem;
    margin-bottom: 10px;
  }

  .section-subheading {
    font-size: 0.95rem;
  }

  .section-title-wrapper {
    margin-bottom: 36px;
  }

  /* Compact Cards for Mobile */
  .card-vorteil, .card-service, .card-step {
    padding: 24px 20px;
    border-radius: var(--r-md);
  }

  .vorteil-icon-box, .service-icon-box {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 16px;
  }

  .card-vorteil h3, .card-service h3 {
    font-size: 1.18rem;
  }

  /* Pflegerechner Mobile */
  .rechner-card-main {
    padding: 24px 18px;
    border-radius: var(--r-md);
  }

  .rechner-button-selector {
    gap: 8px;
    margin-bottom: 24px;
  }

  .pg-btn {
    padding: 9px 16px;
    font-size: 0.84rem;
  }

  .calc-breakdown-box {
    padding: 20px 16px;
  }

  .calc-summary-box {
    padding: 28px 20px;
  }

  .summary-amount {
    font-size: 2.1rem;
  }

  /* Kontaktformular & Grid */
  .kontakt-info-side {
    padding: 36px 24px;
  }

  .kontakt-form-side {
    padding: 32px 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kontakt-info-side h2 {
    font-size: 1.65rem;
  }

  .btn-submit-form {
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* Modal Quiz Mobile */
  .modal-box {
    padding: 28px 20px;
    max-width: 92vw;
    border-radius: var(--r-md);
  }

  .q-btn {
    padding: 13px 16px;
    font-size: 0.9rem;
  }
}

/* Dynamic Micro-Animations & Brand Logo Enhancements */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 143, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 168, 143, 0); }
}

@keyframes logoShine {
  0% { filter: drop-shadow(0 0 0px rgba(0,168,143,0)); }
  50% { filter: drop-shadow(0 0 12px rgba(0,168,143,0.35)); }
  100% { filter: drop-shadow(0 0 0px rgba(0,168,143,0)); }
}

.logo-image {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform var(--t-smooth), filter var(--t-smooth), box-shadow var(--t-smooth);
}

.brand-logo:hover .logo-image {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(0, 168, 143, 0.28));
}

.floating-badge.badge-top-left {
  animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge.badge-bottom-right {
  animation: floatBadge 4s ease-in-out infinite 2s;
}

.pulse-icon {
  animation: pulseGlow 2.5s infinite;
  border-radius: 50%;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 34, 54, 0.12);
  border: 1px solid var(--c-border);
}

.hero-brand-watermark {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,168,143,0.2);
  z-index: 5;
}

.hero-brand-watermark img {
  height: 28px;
  width: auto;
}

.hero-brand-watermark span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-navy);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg);
  transition: transform 0.8s ease;
}

/* INTERACTIVE HOUSE & FLOATING NODES CANVAS */
.hero-canvas-section {
  padding: 48px 0 60px 0;
  overflow: hidden;
}

.interactive-house-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 620px;
  margin: 32px auto 0 auto;
  border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(244, 247, 246, 0.8) 100%);
  border: 1px solid var(--c-border);
  box-shadow: 0 20px 60px rgba(10, 34, 54, 0.08);
}

.node-connecting-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* CENTRAL HOUSE LOGO GRAPHIC */
.central-house-logo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.house-logo-frame.img1775-frame {
  width: 240px;
  height: 240px;
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 168, 143, 0.25), 0 0 0 4px rgba(0, 168, 143, 0.15);
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
}

.house-logo-frame.img1775-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 28px 65px rgba(0, 168, 143, 0.35), 0 0 0 6px rgba(0, 168, 143, 0.25);
}

.img1775-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

.central-house-label {
  margin-top: 14px;
  background: #ffffff;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.central-house-label strong {
  color: var(--c-navy);
  font-size: 1.05rem;
}

.central-house-label small {
  color: var(--c-teal);
  font-weight: 700;
  font-size: 0.75rem;
}

/* FLOATING NODES BUTTON STYLING */
.floating-node-btn {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 28px rgba(10, 34, 54, 0.12);
  border: 1.5px solid var(--c-border);
  text-decoration: none;
  transition: all var(--t-fast);
  cursor: pointer;
}

.floating-node-btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 16px 36px rgba(0, 168, 143, 0.28);
  border-color: var(--c-teal);
}

.node-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-teal-light);
  color: var(--c-teal-dark);
  flex-shrink: 0;
}

.node-icon-box.amber {
  background: var(--c-amber-light);
  color: var(--c-amber-dark);
}

.node-icon-box.navy {
  background: var(--c-bg-subtle);
  color: var(--c-navy);
}

.node-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.node-text strong {
  font-size: 0.88rem;
  color: var(--c-navy);
}

.node-text small {
  font-size: 0.72rem;
  color: var(--c-muted);
  font-weight: 500;
}

.node-arrow {
  width: 16px;
  height: 16px;
  color: var(--c-teal);
  transition: transform var(--t-fast);
}

.floating-node-btn:hover .node-arrow {
  transform: translate(3px, -3px);
}

/* ABSOLUTE POSITIONS OF NODES */
.node-top {
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.node-top-left {
  top: 90px;
  left: 30px;
}

.node-top-right {
  top: 90px;
  right: 30px;
}

.node-mid-left {
  top: 290px;
  left: 20px;
}

.node-mid-right {
  top: 290px;
  right: 20px;
}

.node-bottom-right {
  top: 470px;
  right: 50px;
}

.node-bottom {
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

/* FLOATING BOBBING ANIMATIONS */
.float-anim-1 { animation: floatBob1 4.5s ease-in-out infinite; }
.float-anim-2 { animation: floatBob2 5.2s ease-in-out infinite; }
.float-anim-3 { animation: floatBob3 4.8s ease-in-out infinite; }
.float-anim-4 { animation: floatBob1 5.5s ease-in-out infinite; }

@keyframes floatBob1 {
  0%, 100% { margin-top: 0px; }
  50% { margin-top: -8px; }
}

@keyframes floatBob2 {
  0%, 100% { margin-top: 0px; }
  50% { margin-top: -11px; }
}

@keyframes floatBob3 {
  0%, 100% { margin-top: 0px; }
  50% { margin-top: -6px; }
}

/* SERVICES DETAIL CARDS STACK */
.services-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.service-detail-card {
  padding: 32px;
  scroll-margin-top: 100px;
  background: #ffffff;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t-smooth);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--c-border-hover);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.detail-card-header h3 {
  font-size: 1.35rem;
  color: var(--c-navy);
  margin-top: 4px;
}

.btn-card-action {
  margin-top: 20px;
  display: inline-flex;
}

/* SMARTPHONE RESPONSIVE VIEW: EXACT 1-TO-1 PC LAYOUT PROPORTIONALLY SCALED FOR ANDROID & IOS */
@media (max-width: 992px) {
  /* Taskleiste Header: Smaller Logo so CTA Button & Toggle fit 100% without right-side cutoff */
  .header-container {
    padding: 0 8px;
    height: 60px;
    gap: 4px;
    justify-content: space-between;
  }
  .logo-image {
    height: 25px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
  }
  .header-cta-group {
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .btn-phone {
    display: none; /* Hide top phone link on mobile to guarantee CTA button visibility */
  }
  .btn-primary-header {
    padding: 5px 8px;
    font-size: 0.70rem;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .btn-primary-header i {
    width: 13px;
    height: 13px;
  }
  .mobile-toggle {
    padding: 4px;
    flex-shrink: 0;
  }
  
  /* Canvas Scaling: Exact PC Layout scaled down proportionally for Mobile */
  .hero-canvas-section {
    padding: 16px 0 10px 0;
    overflow: hidden;
  }
  .interactive-house-container {
    width: 900px;
    height: 600px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) scale(0.44);
    transform-origin: top center;
    margin-bottom: -320px;
    box-shadow: 0 12px 40px rgba(10, 34, 54, 0.1);
  }
  .node-connecting-lines {
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 23px;
    max-width: 110px;
  }
  .btn-primary-header {
    padding: 4px 7px;
    font-size: 0.68rem;
  }
  .interactive-house-container {
    width: 900px;
    height: 600px;
    left: 50%;
    transform: translateX(-50%) scale(0.39);
    transform-origin: top center;
    margin-bottom: -350px;
  }
}

.hero-centered {
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 168, 143, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-center-brand {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center-logo-box {
  background: #ffffff;
  padding: 24px 48px;
  border-radius: var(--r-xl);
  box-shadow: 0 20px 50px rgba(10, 34, 54, 0.1);
  border: 1px solid rgba(0, 168, 143, 0.2);
  margin-bottom: 28px;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth);
}

.hero-center-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 168, 143, 0.18);
}

.hero-big-logo {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.hero-title-centered {
  font-size: 3.1rem;
  line-height: 1.25;
  margin: 20px 0 16px 0;
}

.hero-sub-centered {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 36px auto;
  color: var(--c-muted);
}

.hero-center-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.margin-v-auto {
  margin: 0 auto;
}

/* FLIPCHART HOUSE DIAGRAM COMPONENT */
.house-diagram-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.house-roof-pillar {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.service-roof {
  background: linear-gradient(135deg, #ffffff 0%, var(--c-teal-light) 100%);
  border: 2px solid var(--c-teal);
  box-shadow: 0 12px 32px rgba(0, 168, 143, 0.15);
  position: relative;
}

.pillar-tag {
  display: inline-block;
  background: var(--c-teal);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pillar-badge-check {
  font-weight: 700;
  color: var(--c-teal-dark);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.9rem;
}

.house-body-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 24px;
  align-items: center;
}

.house-wall-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-wall {
  background: #ffffff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--t-smooth);
}

.service-wall:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-border-hover);
}

.house-center-heart {
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 168, 143, 0.06) 100%);
  border: 2px dashed var(--c-teal);
  border-radius: var(--r-xl);
  padding: 36px 20px;
  box-shadow: 0 16px 40px rgba(0, 168, 143, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.heart-logo-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 168, 143, 0.2);
  border: 3px solid #ffffff;
  margin-bottom: 16px;
  background: #ffffff;
}

.heart-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-heart-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-navy);
}

.house-center-heart small {
  color: var(--c-teal);
  font-weight: 700;
  margin-top: 4px;
}

.house-foundation-pillar {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.service-foundation {
  background: linear-gradient(135deg, #ffffff 0%, rgba(10, 34, 54, 0.05) 100%);
  border: 2px solid var(--c-navy);
  box-shadow: 0 10px 30px rgba(10, 34, 54, 0.1);
}

.service-foundation .pillar-tag {
  background: var(--c-navy);
}

@media (max-width: 992px) {
  .house-body-grid {
    grid-template-columns: 1fr;
  }
  .hero-title-centered {
    font-size: 2.2rem;
  }
  .hero-big-logo {
    max-height: 110px;
  }
  .hero-center-logo-box {
    padding: 18px 24px;
  }
}

.map-card-wrapper {
  margin-top: 48px;
  background: #ffffff;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--t-smooth);
}

.map-card-wrapper:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--c-border-hover);
}

.map-header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, var(--c-bg-subtle) 100%);
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
  gap: 16px;
}

.map-title {
  font-size: 1.45rem;
  color: var(--c-navy);
  margin-top: 4px;
  margin-bottom: 2px;
}

.map-sub {
  color: var(--c-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-teal-light);
  color: var(--c-teal-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 168, 143, 0.25);
  text-decoration: none;
  transition: var(--t-fast);
}

.btn-route:hover {
  background: var(--c-teal);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 168, 143, 0.3);
}

.map-frame-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .map-header {
    padding: 20px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-route {
    width: 100%;
    justify-content: center;
  }
  .map-frame-container {
    height: 300px;
  }
}



