/* =====================================================
   Kick & Groshaupt – main.css
   Vanilla CSS converted from the Lovable Tailwind source.
   Color tokens, typography stack, container utilities,
   and component styles for all 35 ACF layouts.
   ===================================================== */

/* ---------- Tokens (HSL custom properties from index.css) ---------- */
:root {
  --background: 36 33% 97%;
  --foreground: 210 1% 29%;
  --card: 36 30% 95%;
  --card-foreground: 210 1% 29%;
  --primary: 181 31% 49%;
  --primary-foreground: 0 0% 100%;
  --muted: 36 20% 92%;
  --muted-foreground: 210 3% 45%;
  --accent: 181 31% 49%;
  --accent-foreground: 0 0% 100%;
  --border: 36 15% 88%;
  --emergency: 0 55% 45%;
  --emergency-foreground: 0 0% 100%;
  --star-rating: 45 93% 58%;
  --radius: 0.5rem;

  --container-narrow: 56rem;
  --container-wide: 80rem;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-soft: 0 4px 20px -4px hsl(220 20% 20% / 0.08);
  --shadow-elevated: 0 12px 40px -8px hsl(220 20% 20% / 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
p {
  color: #6F7673;
}
/* ---------- Layout primitives ---------- */
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; }
.container-wide { max-width: var(--container-wide); margin-inline: auto; }

.section-padding {
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .section-padding { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .section-padding { padding: 8rem 5rem; } }

.bg-background { background: hsl(var(--background)); }
.bg-card { background: hsl(var(--card)); }
.bg-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.bg-muted { background: hsl(var(--muted)); }
.bg-emergency { background: hsl(var(--emergency)); color: hsl(var(--emergency-foreground)); }

.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent { color: hsl(var(--accent)); font-size: 16px; display: flex; padding-top: 10px;} 
.text-primary { color: hsl(var(--primary)); }
h3.about-text {
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 16px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-default { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-default:hover { background: hsl(var(--primary) / 0.9); }
.btn-accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-accent:hover { background: hsl(var(--accent) / 0.9); }
.btn-emergency { background: hsl(181.54deg 31.2% 49.02%); color: hsl(var(--emergency-foreground)); }
.btn-emergency:hover { background: hsl(181.54deg 31.2% 49.02% / 87%); }
.btn-outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--primary)); }
.btn-outline:hover { background: hsl(var(--muted)); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn .icon { width: 1.25rem; height: 1.25rem; }

/* ---------- Header ---------- */
.top-bar {
  display: none;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
}

.main-nav a:hover{
  color: #57a4a3 !important;
}

.main-nav a:active{
  color: #57a4a3 !important;
}


.mobile-nav a:hover{
  color: #57a4a3 !important;
}

.mobile-nav a:active{
  color: #57a4a3 !important;
}


@media (min-width: 1024px) { .top-bar { display: block; } }
.top-bar-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
}
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.top-bar-link:hover { opacity: 0.8; }
.top-bar-divider { color: hsl(var(--primary-foreground) / 0.4); }
.top-bar-social { display: flex; gap: 0.75rem; align-items: center; }
.top-bar-social a {
  width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  transition: background-color 0.2s;
}
.top-bar-social a:hover { background: hsl(var(--primary-foreground) / 0.2); }
.top-bar .icon { width: 0.875rem; height: 0.875rem; }
.top-bar-social .icon { width: 1rem; height: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-header-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 5rem; width: auto; }
@media (min-width: 1024px) { .site-logo img { height: 7rem; } }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a, .main-nav .nav-button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, background-color 0.2s;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.main-nav a:hover, .main-nav .nav-button:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}
.main-nav a.is-active, .main-nav .nav-button.is-active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0rem;
  min-width: 14rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
  display: none;
  z-index: 60;
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: 0;
}
.nav-dropdown-menu a:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.nav-dropdown .nav-button .icon { width: 0.875rem; height: 0.875rem; transition: transform 0.2s; }
.nav-dropdown.is-open .nav-button .icon { transform: rotate(180deg); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-cta .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }

.mobile-toggle {
  display: inline-flex;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-toggle .icon { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--border));
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav.is-open { display: block; }
.mobile-nav-inner { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a, .mobile-nav .submenu-toggle {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav .submenu-toggle:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}
.mobile-nav .submenu { display: none; }
.mobile-nav .submenu.is-open { display: block; }
.mobile-nav .submenu a { padding-left: 2rem; font-size: 0.875rem; }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; }
.mobile-nav .submenu-toggle .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.mobile-nav .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* ---------- Sticky right rail (desktop) ---------- */
.sticky-rail {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 10px;

    align-items: flex-end; /* important */
}
@media (min-width: 1024px) { .sticky-rail { display: flex; } }
.sticky-rail a {
     display: inline-flex; /* important */
    align-items: center;
    width: fit-content;   /* important */

        background: #56a2a4;
    color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}
.sticky-rail a:hover { width: 13rem; }
.sticky-rail a .icon-wrap {
    padding: 1rem;
    flex-shrink: 0;
    background: #56a2a4;
}
.sticky-rail a .icon { width: 1.25rem; height: 1.25rem; }
.sticky-rail a .label {
     width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width .3s ease;
}
.sticky-rail a:hover .label {    width: 220px;
    padding-right: 1rem;}
.sticky-rail a .icon-wrap svg {
    color: #fff;
}
/* ---------- Mobile emergency bar ---------- */
.emergency-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: block;
  background: hsl(var(--emergency));
  color: hsl(var(--emergency-foreground));
  box-shadow: 0 -4px 12px -2px rgba(0,0,0,0.15);
}
@media (min-width: 1024px) { .emergency-bar { display: none; } }
.emergency-bar a {
  display: flex; justify-content: center; align-items: center;
  gap: 0.75rem; padding: 0.875rem 1rem;
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.025em;
}
.emergency-bar .icon { width: 1.25rem; height: 1.25rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

main { flex: 1; }
@media (max-width: 1023px) { main { padding-bottom: 3.5rem; } }

/* ====================================================
   SHARED COMPONENTS
   ==================================================== */

.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero.is-compact { height: 40vh; min-height: 300px; }
.page-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.2);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.25), transparent);
}
.page-hero .inner {
  position: relative; z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 64rem;
}
.page-hero h1 {
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  font-size: 60px;
  max-width: 54rem;
}
.page-hero .subtitle {
  margin-top: 1.5rem;
  color: hsl(var(--primary-foreground) / 0.85);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-inline: auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .page-hero .subtitle { font-size: 1.25rem; } }

/* Video hero (homepage) */
.video-hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.video-hero video, .video-hero img.poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    hsl(181 31% 49% / 0.15) 0%,
    hsl(195 35% 35% / 0.5) 35%,
    hsl(210 40% 8% / 0.93) 100%
  );
}
.video-hero .inner {
  position: relative; z-index: 10;
  max-width: var(--container-wide);
  /* width: 100%; */
  margin-inline: auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .video-hero .inner { padding: 0 3rem; } }
.video-hero .content { max-width: 46rem; }
.video-hero .eyebrow-text {
  display: block;
  font-size: 16px;
  color: hsl(var(--primary-foreground) / 0.85);
  margin-bottom: 1rem;
  white-space: pre-line;
  line-height: 25px;
  max-width: 32%;
}
.video-hero h1 { color: hsl(var(--primary-foreground)); margin-bottom: 1.5rem; }
.video-hero p {color: hsl(var(--primary-foreground) / 0.85); margin-bottom: 0.5rem; line-height: 1.6; max-width: 34rem; font-size: 20px;}
.video-hero .signature { color: hsl(var(--primary-foreground) / 0.7); margin-bottom: 2rem; font-size: 16px;}
.video-hero .buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Section heading */
.section-heading { margin-bottom: 3rem; text-align: center; }
.section-heading.is-left { text-align: left; }
@media (min-width: 768px) { .section-heading { margin-bottom: 3rem; } }
.section-heading h2 { color: hsl(var(--foreground)); }
.section-heading .desc {
  margin-top: 1rem;
  font-size: 18px;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  max-width: 42rem;
  margin-inline: auto;
}
.section-heading.is-left .desc { margin-inline: 0; }

/* About / image-text two-col */
.about-block { }
.about-block .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .about-block .grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}
.about-block .image-col img { border-radius: 0.75rem; width: 100%; object-fit: cover; box-shadow: var(--shadow-soft); }
.about-block.image-right .image-col { order: 2; }
.about-block .body p { margin-bottom: 1rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.about-block h2 { line-height: 1.2; margin-bottom: 1rem; font-size: 36px; }
.about-block .signature { margin-top: 1rem; font-weight: 600; color: hsl(var(--foreground)); }

/* Two-col with benefits card */
.two-col-benefits {}
.two-col-benefits .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .two-col-benefits .grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.two-col-benefits .card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 2rem;
}
.two-col-benefits .card .icon-wrap { width: 2.5rem; height: 2.5rem; color: hsl(var(--accent)); margin-bottom: 1rem; }
.two-col-benefits .card .icon-wrap .icon { width: 100%; height: 100%; }
.two-col-benefits .card h3 { margin-bottom: 1.5rem; }
.two-col-benefits .card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.two-col-benefits .card li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}
.two-col-benefits .card li::before {
  content: ""; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  background-color: hsl(var(--accent));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>') no-repeat center / contain;
  margin-top: 0.125rem;
}

/* Intro with checklist card */
.intro-checklist .grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: flex-start;
}
@media (min-width: 1024px) {
  .intro-checklist .grid { grid-template-columns: 1fr 1fr; }
}
.intro-checklist h2 { margin-bottom: 1rem; font-size: 30px; font-weight: 400;}
.intro-checklist .body p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.intro-checklist .card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.intro-checklist .card h3 { margin-bottom: 1rem; font-size: large; font-size: 18px; }
.intro-checklist .card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.intro-checklist .card li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}
.intro-checklist .card li::before {
  content: ""; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.15);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="hsl(181,31%,49%)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-position: center; background-repeat: no-repeat; background-size: 0.75rem;
  margin-top: 0.0625rem;
}

/* Burial-types grid (5 cards) */
.burial-grid {}
.burial-grid .grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .burial-grid .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .burial-grid .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .burial-grid .grid { grid-template-columns: repeat(5, 1fr); } }
.burial-grid .card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.burial-grid .card:hover { border-color: hsl(var(--accent) / 0.5); box-shadow: var(--shadow-soft); }
.burial-grid .card .image { aspect-ratio: 4/3; overflow: hidden; }
.burial-grid .card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.burial-grid .card:hover .image img { transform: scale(1.05); }
.burial-grid .card .body { padding: 1.25rem; text-align: center; }
.burial-grid .card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; transition: color 0.2s; }
.burial-grid .card:hover h3 { color: hsl(var(--primary)); }
.burial-grid .card p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.6; }
.burial-grid .card .more {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: hsl(var(--accent));
}
.burial-grid .card .more .icon { width: 0.875rem; height: 0.875rem; }

/* Locations grid */
.locations-grid .grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 56rem; 
  margin-inline: auto;
}

@media (min-width: 768px) { .locations-grid .grid { grid-template-columns: 1fr 1fr; } }
.locations-grid .card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.locations-grid .card:hover { box-shadow: var(--shadow-soft); }
.locations-grid .card .image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.locations-grid .card .image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.locations-grid .card .image-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.locations-grid .card .image-wrap h3 {
  position: absolute; left: 1.25rem; bottom: 1rem;
  color: white; font-size: 1.25rem; font-weight: 600;
}
.locations-grid .card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.locations-grid .card .row { display: flex; gap: 0.75rem; align-items: flex-start; }
.locations-grid .card .row .icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }
.locations-grid .card .row p { color: hsl(var(--foreground)); font-weight: 500; }
.locations-grid .card .row p.extra,
.locations-grid .card .row p.city { color: hsl(var(--muted-foreground)); font-weight: 400; font-size: 0.875rem; }
.locations-grid .card .more { color: hsl(var(--accent)); font-weight: 500; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; }

/* Generic icon-feature grids (3, 4, 6 col variants) */
.feature-grid .grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
.feature-grid.cols-3 .grid { max-width: none; }
@media (min-width: 768px) {
  .feature-grid.cols-3 .grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid.cols-4 .grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.cols-6 .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid.cols-4 .grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid.cols-6 .grid { grid-template-columns: repeat(3, 1fr); width: 64rem; margin: auto;}
}
.feature-grid .card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
  text-align: center;
}
.feature-grid.center-text .card { text-align: center; }
.feature-grid .card:hover { box-shadow: var(--shadow-soft); }
.feature-grid .card .icon-wrap {
  display: inline-flex; justify-content: center; align-items: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}
.feature-grid.center-text .card .icon-wrap { margin-inline: auto; }
.feature-grid .card .icon-wrap .icon { width: 1.5rem; height: 1.5rem; }
.feature-grid .card.values-large .icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1.25rem;
}
.feature-grid .card.values-large .icon-wrap .icon { width: 1.75rem; height: 1.75rem; }
.feature-grid .card h3 { font-size: 16px; font-weight: 600; margin-bottom: 0.5rem; color: hsl(var(--foreground)); line-height: 26px;}
.feature-grid .card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* Three-pillar cards */
.three-pillars .grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .three-pillars .grid { grid-template-columns: repeat(3, 1fr); } }
.three-pillars .card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 2rem;
}
.three-pillars .card .icon-wrap { color: hsl(var(--accent)); margin-bottom: 1rem; width: 2rem; height: 2rem; }
.three-pillars .card .icon-wrap .icon { width: 100%; height: 100%; }
.three-pillars .card h3 { margin-bottom: 0.5rem; font-size: 18px;}
.three-pillars .card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.three-pillars .card a {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: hsl(var(--primary));
}
.three-pillars .card a:hover { text-decoration: underline; }
.three-pillars .card a .icon { width: 0.875rem; height: 0.875rem; }

/* Two-step cards (numbered) */
.two-step .grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 42rem; margin-inline: auto;
}
@media (min-width: 768px) { .two-step .grid { grid-template-columns: 1fr 1fr; } }
.two-step .card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .two-step .card { padding: 2rem; } }
.two-step .row { display: flex; gap: 1rem; align-items: flex-start; }
.two-step .num {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700;
}
.two-step .heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.two-step .heading .icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); }
.two-step .heading h3 { font-size: 1.125rem; }
.two-step .text { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.two-step .text a { color: hsl(var(--accent)); font-weight: 600; }
.two-step .text a:hover { text-decoration: underline; }

/* Link cards */
.link-cards .grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 56rem; margin: auto;
}
@media (min-width: 640px) { .link-cards .grid { grid-template-columns: repeat(3, 1fr); } }
.link-cards .card {
  display: flex; justify-content: center; align-items: center; gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  text-align: center;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: border-color 0.2s, color 0.2s;
}
.link-cards .card:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.link-cards .card .icon { width: 1rem; height: 1rem; }

/* Google Reviews carousel */
.google-reviews { position: relative; overflow: hidden; background: white; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .google-reviews { padding: 5rem 3rem; } }
.google-reviews .header { text-align: center; margin-bottom: 2.5rem; }
.google-reviews .rating-pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.google-reviews .rating-pill .stars { display: flex; gap: 0.125rem; }
.google-reviews .rating-pill .icon-star {
  width: 1rem; height: 1rem; fill: hsl(var(--star-rating)); color: hsl(var(--star-rating));
}
.google-reviews .rating-pill .rating-number { font-size: 1.125rem; font-weight: 600; }
.google-reviews .rating-pill .count { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.reviews-track-wrap { max-width: 64rem; margin-inline: auto; padding: 0 3rem; position: relative; }
.reviews-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card {
  flex: 0 0 calc(100% - 0px);
  min-width: 0;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
}
@media (min-width: 768px) { .reviews-track .review-card { flex: 0 0 calc(50% - 0.5rem); } }
@media (min-width: 1024px) { .reviews-track .review-card { flex: 0 0 calc(33.333% - 0.667rem); } }

.reviews-track .review-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.reviews-track .review-meta { display: flex; gap: 0.75rem; align-items: center; }
.reviews-track .review-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: hsl(var(--accent) / 0.15); color: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.875rem;
}
.reviews-track .review-name { font-size: 0.875rem; font-weight: 600; line-height: 1.2; }
.reviews-track .review-date { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.reviews-track .review-stars { display: flex; gap: 0.125rem; margin-bottom: 0.5rem; }
.reviews-track .review-stars .icon-star {
  width: 0.875rem; height: 0.875rem; fill: hsl(var(--star-rating)); color: hsl(var(--star-rating));
}
.reviews-track .review-text {
  font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}

.reviews-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: white; border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  z-index: 5;
}
.reviews-nav.prev { left: 0; }
.reviews-nav.next { right: 0; }
.reviews-nav .icon { width: 1rem; height: 1rem; }

.google-reviews .footer-cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; align-items: center;
  margin-top: 2rem;
}
.google-reviews .footer-cta .read-all {
  font-size: 0.875rem; font-weight: 500; color: hsl(var(--accent));
}
.google-reviews .footer-cta .read-all:hover { text-decoration: underline; }

/* Trauerfall checklist */
.trauerfall-checklist .container-narrow { max-width: 42rem; }
.trauerfall-checklist .panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.25rem;
}
@media (min-width: 768px) { .trauerfall-checklist .panel { padding: 1.5rem; } }
.trauerfall-checklist .progress-row {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.trauerfall-checklist .progress { flex: 1; }
.trauerfall-checklist .progress-meta { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.trauerfall-checklist .progress-meta .label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.trauerfall-checklist .progress-meta .pct { font-size: 0.875rem; font-weight: 500; color: hsl(var(--accent)); }
.trauerfall-checklist .bar { width: 100%; height: 0.5rem; background: hsl(var(--muted)); border-radius: 9999px; overflow: hidden; }
.trauerfall-checklist .bar-fill { height: 100%; background: hsl(var(--accent)); width: 0%; transition: width 0.5s ease; border-radius: 9999px; }
.trauerfall-checklist .print-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
  background: hsl(var(--muted)); color: hsl(var(--muted-foreground));
  border-radius: 0.5rem; transition: background-color 0.2s;
}
.trauerfall-checklist .print-btn:hover { background: hsl(var(--muted) / 0.8); }
.trauerfall-checklist .print-btn .icon { width: 1rem; height: 1rem; }
.trauerfall-checklist .print-btn .text { display: none; }
@media (min-width: 640px) { .trauerfall-checklist .print-btn .text { display: inline; } }

.trauerfall-checklist .sections { display: flex; flex-direction: column; gap: 0.75rem; }
.trauerfall-checklist .section-item {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  overflow: hidden;
}
.trauerfall-checklist .section-toggle {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  padding: 1rem 1.25rem; text-align: left;
  transition: background-color 0.2s;
}
.trauerfall-checklist .section-toggle:hover { background: hsl(var(--muted) / 0.5); }
.trauerfall-checklist .section-toggle .num {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 500;
  background: hsl(var(--muted)); color: hsl(var(--muted-foreground));
  transition: background-color 0.2s, color 0.2s;
}
.trauerfall-checklist .section-toggle .num.is-complete {
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground));
}
.trauerfall-checklist .section-toggle .meta { flex: 1; text-align: left; }
.trauerfall-checklist .section-toggle h3 { font-weight: 500; line-height: 1.2; font-size: 1rem; }
.trauerfall-checklist .section-toggle .sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.125rem; }
.trauerfall-checklist .section-toggle .chev { width: 1.25rem; height: 1.25rem; color: hsl(var(--muted-foreground)); transition: transform 0.2s; }
.trauerfall-checklist .section-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.trauerfall-checklist .section-body { display: none; padding: 0.5rem; }
.trauerfall-checklist .section-body.is-open { display: block; }
.trauerfall-checklist .item {
  display: flex; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 0.375rem;
  align-items: flex-start;
}
.trauerfall-checklist .item:hover { background: hsl(var(--muted) / 0.4); }
.trauerfall-checklist .item .checkbox {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem;
  border: 1.5px solid hsl(var(--primary)); border-radius: 0.25rem;
  margin-top: 0.125rem;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
}
.trauerfall-checklist .item .checkbox:checked {
  background: hsl(var(--accent)); border-color: hsl(var(--accent));
}
.trauerfall-checklist .item .checkbox:checked::after {
  content: ""; position: absolute; inset: 2px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-size: contain; background-repeat: no-repeat;
}
.trauerfall-checklist .item label { font-size: 0.875rem; line-height: 1.5; cursor: pointer; flex: 1; }
.trauerfall-checklist .item.is-checked label { color: hsl(var(--muted-foreground)); text-decoration: line-through; }

@media print {
  .trauerfall-checklist .print-btn { display: none; }
  .trauerfall-checklist .section-body { display: block !important; }
  .sticky-rail, .emergency-bar, .site-header, .top-bar, footer { display: none !important; }
}

/* Vorsorge wizard */
.vorsorge-wizard {}
.vorsorge-wizard .panel {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem;
  max-width: 48rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .vorsorge-wizard .panel { padding: 2rem; } }
.vorsorge-wizard .progress {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
}
.vorsorge-wizard .step-dot {
  width: 2rem; height: 2rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600;
  background: hsl(var(--muted)); color: hsl(var(--muted-foreground));
  transition: background-color 0.2s, color 0.2s;
}
.vorsorge-wizard .step-dot.is-active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.vorsorge-wizard .step-line { flex: 1; height: 2px; background: hsl(var(--muted)); margin: 0 0.25rem; }
.vorsorge-wizard .step-line.is-passed { background: hsl(var(--accent)); }

.vorsorge-wizard .step { display: none; }
.vorsorge-wizard .step.is-active { display: block; }
.vorsorge-wizard .step-header { text-align: center; margin-bottom: 2rem; }
.vorsorge-wizard .step-icon {
  display: inline-flex; justify-content: center; align-items: center;
  width: 4rem; height: 4rem; border-radius: 9999px;
  background: hsl(var(--accent) / 0.1); color: hsl(var(--accent));
  margin-bottom: 1rem;
}
.vorsorge-wizard .step-icon .icon { width: 2rem; height: 2rem; }
.vorsorge-wizard .step-header h2 { font-size: 1.5rem; }
.vorsorge-wizard .step-header p { color: hsl(var(--muted-foreground)); margin-top: 0.5rem; }
.vorsorge-wizard .form-row {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .vorsorge-wizard .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.vorsorge-wizard label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.vorsorge-wizard input,
.vorsorge-wizard textarea,
.vorsorge-wizard select {
  width: 100%; padding: 0.625rem 0.75rem;
  background: white; border: 1px solid hsl(var(--border)); border-radius: 0.5rem;
}
.vorsorge-wizard input:focus,
.vorsorge-wizard textarea:focus { outline: 2px solid hsl(var(--accent) / 0.3); outline-offset: 0; border-color: hsl(var(--accent)); }
.vorsorge-wizard .option-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vorsorge-wizard .option-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .vorsorge-wizard .option-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
.vorsorge-wizard .option-card {
  border: 2px solid hsl(var(--border));
  border-radius: 0.75rem; padding: 1.25rem;
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
  text-align: center;
}
.vorsorge-wizard .option-card:hover { border-color: hsl(var(--accent) / 0.5); }
.vorsorge-wizard .option-card.is-selected {
  border-color: hsl(var(--accent)); background: hsl(var(--accent) / 0.05);
}
.vorsorge-wizard .option-card .icon-wrap {
  display: inline-flex; justify-content: center; align-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: hsl(var(--accent) / 0.1); color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}
.vorsorge-wizard .option-card .icon-wrap .icon { width: 1.25rem; height: 1.25rem; }
.vorsorge-wizard .option-card h3 { font-size: 1rem; font-weight: 600; }
.vorsorge-wizard .option-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }

.vorsorge-wizard .nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}
.vorsorge-wizard .summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid hsl(var(--border)); }
.vorsorge-wizard .summary-row .lbl { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.vorsorge-wizard .summary-row .val { font-weight: 500; }

/* Two-col comparison */
.compare .grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 56rem; margin-inline: auto; }
@media (min-width: 768px) { .compare .grid { grid-template-columns: 1fr 1fr; } }
.compare .card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.compare .card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.compare .card ul { display: flex; flex-direction: column; gap: 0.625rem; }
.compare .card li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}
.compare .card li .icon { width: 1rem; height: 1rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }

/* Numbered process steps */
.process-steps .list { display: flex; flex-direction: column; gap: 1rem; max-width: 42rem; margin-inline: auto; }
.process-steps .step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.process-steps .num {
  flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600;
}
.process-steps h3 { font-weight: 600; margin-bottom: 0.25rem; font-size: 16px; }
.process-steps p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* Numbered timeline (Ablauf) */
.timeline-steps { position: relative; }
.timeline-steps .line {
  position: absolute; left: 2rem; top: 0; bottom: 0;
  width: 1px; background: hsl(var(--border));
  display: none;
}
@media (min-width: 768px) { .timeline-steps .line { display: block; } }
.timeline-steps .list { display: flex; flex-direction: column; gap: 3rem; }
.timeline-steps .step { position: relative; }
@media (min-width: 768px) { .timeline-steps .step { padding-left: 6rem; } }
.timeline-steps .dot {
  display: none;
  position: absolute; left: 1.25rem; top: 0.25rem;
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: hsl(var(--accent));
  align-items: center; justify-content: center;
}
@media (min-width: 768px) { .timeline-steps .dot { display: flex; } }
.timeline-steps .dot::after {
  content: ""; width: 0.625rem; height: 0.625rem; border-radius: 9999px; background: hsl(var(--accent-foreground));
}
.timeline-steps .card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 2rem;
}
.timeline-steps .card .nb { display: flex; gap: 1rem; align-items: baseline; margin-bottom: 0.75rem; }
.timeline-steps .card .nb .num { font-size: 1.875rem; font-weight: 700; color: hsl(var(--accent) / 0.4); }
.timeline-steps .card .nb h3 { font-size: 1.25rem; font-weight: 600; }
@media (min-width: 768px) { .timeline-steps .card .nb h3 { font-size: 1.5rem; } }
.timeline-steps .card p.desc { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.timeline-steps .card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.timeline-steps .card li {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.875rem; color: hsl(var(--muted-foreground));
}
.timeline-steps .card li::before {
  content: "•"; color: hsl(var(--accent)); margin-top: 0.0625rem;
}

/* FAQ accordion */
.faq .list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 42rem; margin-inline: auto; text-align: left; }
.faq .item {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.5rem;
  padding: 0 1.25rem;
  overflow: hidden;
}
.faq .toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: #494a4b;
}
.faq .toggle .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.faq .toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq .body { display: none; padding-bottom: 1rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.faq .body.is-open { display: block; }

/* Two-button CTA */
.cta-block { text-align: center; }
/* .cta-block .container-narrow { max-width: 42rem; } */
.cta-block h2 { color: hsl(var(--foreground)); margin-bottom: 1rem; }
.cta-block p { color: hsl(var(--muted-foreground)); font-size: 16px !important; margin-bottom: 2rem; max-width: 32rem; margin-inline: auto; }
.cta-block .buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-block .footer-link {
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  color: hsl(var(--muted-foreground)); font-size: 0.875rem;
}
.cta-block .footer-link:hover { color: hsl(var(--foreground)); }
.cta-block .footer-link .icon { width: 1rem; height: 1rem; color: hsl(var(--accent)); }

/* Image gallery */
.gallery .grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .gallery .grid { grid-template-columns: repeat(3, 1fr); } }
.gallery .tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background-color 0.3s;
}
.gallery .tile:hover::after { background: rgba(0,0,0,0.2); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.9);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 0.5rem; }
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute; padding: 0.5rem;
  color: rgba(255,255,255,0.85);
  z-index: 5;
}
.lightbox .close { top: 1rem; right: 1rem; }
.lightbox .prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 2rem; height: 2rem; }

/* Blog cards */
.blog-cards .grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .blog-cards .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-cards .grid { grid-template-columns: repeat(3, 1fr); } }
.blog-cards article {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem; overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}
.blog-cards article:hover { box-shadow: var(--shadow-elevated); }
.blog-cards .image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-cards .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-cards article:hover .image img { transform: scale(1.05); }
.blog-cards .category {
  position: absolute; top: 1rem; left: 1rem;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.blog-cards .body { padding: 1.5rem; }
.blog-cards .date { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-cards .body h3 { font-size: 16px; margin: 0.5rem 0 0.75rem; line-height: 1.3; }
.blog-cards .excerpt { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.blog-cards .more { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: hsl(var(--primary)); }
.blog-cards .more .icon { width: 1rem; height: 1rem; }

/* Location with map */
.location-map { margin-bottom: 2rem; }
.location-map .grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .location-map .grid { grid-template-columns: 1fr 1fr; } }
.location-map .card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  display: flex; flex-direction: column; justify-content: center;
}
.location-map .card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.location-map .card ul { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.location-map .card li { display: flex; gap: 0.75rem; align-items: flex-start; }
.location-map .card li .icon { width: 1rem; height: 1rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }
.location-map .card a { color: inherit; }
.location-map .card a:hover { color: hsl(var(--foreground)); }
.location-map .card .more {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: hsl(var(--accent)); font-weight: 500; font-size: 0.875rem;
}
.location-map .map { border-radius: 0.75rem; overflow: hidden; border: 1px solid hsl(var(--primary)); min-height: 280px; }
.location-map .map iframe { width: 100%; height: 100%; border: 0; min-height: 280px; }

/* Contact form block */
.contact-form-block { padding: 0 1.5rem; }
.contact-form-block .panel {
  max-width: 42rem; margin-inline: auto;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
}
.contact-form-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 0.5rem; }
.contact-form-block .desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; }

/* Related burial types */
.related-burial .grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 64rem; margin-inline: auto;
}
@media (min-width: 640px) { .related-burial .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-burial .grid { grid-template-columns: repeat(4, 1fr); } }
.related-burial .card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.related-burial .card:hover { box-shadow: var(--shadow-soft); }
.related-burial .card .image { aspect-ratio: 4/3; overflow: hidden; }
.related-burial .card .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-burial .card:hover .image img { transform: scale(1.05); }
.related-burial .card .body { padding: 1rem; }
.related-burial .card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; transition: color 0.2s; }
.related-burial .card:hover h3 { color: hsl(var(--primary)); }
.related-burial .card p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.5rem; line-height: 1.5; }
.related-burial .card .more {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 500; color: hsl(var(--accent));
}
.related-burial .card .more .icon { width: 0.75rem; height: 0.75rem; }

/* External links card */
.external-links .panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 56rem; margin-inline: auto;
}
.external-links h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.external-links .desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.external-links .links { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .external-links .links { flex-direction: row; } }
.external-links .link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
.external-links .link:hover { background: hsl(var(--accent) / 0.2); }
.external-links .link .icon { width: 1rem; height: 1rem; }

/* Emergency intro pill */
.emergency-intro { text-align: center; padding-bottom: 20px;}
.emergency-intro .pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: hsl(var(--emergency) / 0.1);
  color: hsl(var(--emergency));
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  font-weight: 600;
}
.emergency-intro .pill .icon { width: 1.25rem; height: 1.25rem; }
.emergency-intro h2 { color: hsl(var(--foreground)); margin: 0 auto; max-width: 48rem; font-size: 36px; }
.emergency-intro p { color: hsl(var(--muted-foreground)); font-size: 1.125rem; max-width: 42rem; margin: 1rem auto 0; }

/* Long text block */
.long-text { max-width: var(--container-narrow); margin-inline: auto; }
.long-text h2 { margin-bottom: 1.5rem; font-size: 30px; }
.long-text h3 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; }
.long-text p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; font-size: 16px; }
.long-text strong { color: hsl(var(--foreground)); }
.long-text.center-heading h2 { text-align: left; margin-bottom: 2rem; font-size: 36px;}

/* Text with CTA button */
.text-cta h2 { margin-bottom: 1.5rem; font-size: 30px;}
.text-cta .body p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.text-cta .button-wrap { margin-top: 2rem; }

/* ====================================================
   FOOTER
   ==================================================== */

.site-footer {
  position: relative;
  margin-top: auto;
}
.site-footer .bg-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  z-index: 0;
}
.site-footer .bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(36 30% 95%) 0%,
    hsl(36 30% 95% / 0.85) 15%,
    hsl(36 30% 95% / 0.5) 35%,
    transparent 60%
  );
  z-index: 1;
}
.site-footer .inner { position: relative; z-index: 2; }

.site-footer .cta-area { padding: 4rem 1.5rem 3rem; text-align: center; }
.site-footer .cta-area h2 {
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  font-size: 36px;
}.site-footer .cta-area p { color: hsl(var(--muted-foreground)); font-size: 1.125rem; margin-bottom: 2rem; max-width: 32rem; margin-inline: auto; }
.site-footer .cta-area .buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.site-footer .teal-section {
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  padding: 1.5rem;
}
.site-footer .teal-inner {
  max-width: var(--container-wide); margin-inline: auto;
}
.site-footer .row {
  display: flex; flex-direction: column; gap: 2rem; align-items: flex-start;
}
@media (min-width: 1024px) { .site-footer .row { flex-direction: row; justify-content: space-between; } }
.site-footer .footer-logo img { height: 3.5rem; width: auto; filter: brightness(0) invert(1); }
.site-footer .nav-cols { display: flex; flex-wrap: wrap; gap: 3rem 3rem; flex: 1; }
.site-footer nav h4 {
  color: hsl(var(--primary-foreground));
  font-weight: 600; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.site-footer nav a {
  display: block;
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground) / 0.75);
  margin-bottom: 0.5rem;
}
.site-footer nav a:hover { color: hsl(var(--primary-foreground)); }
.site-footer .standorte { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width: 640px) { .site-footer .standorte { flex-direction: row; gap: 1.5rem; } }
@media (min-width: 1024px) { .site-footer .standorte { flex-direction: column; align-items: flex-end; text-align: right; } }
.site-footer .standorte h4 { font-weight: 600; font-size: 0.75rem; margin-bottom: 0.125rem; }
.site-footer .standorte p, .site-footer .standorte a {
  font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.8);
  line-height: 1.4;
}
.site-footer .standorte a:hover { color: hsl(var(--primary-foreground)); }
.site-footer .social {
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: hsl(var(--primary-foreground) / 0.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.site-footer .social:hover { background: hsl(var(--primary-foreground) / 0.2); }
.site-footer .social .icon { width: 1rem; height: 1rem; color: hsl(var(--primary-foreground) / 0.8); }
.site-footer .badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}
.site-footer .badges .label { font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.6); margin-right: 0.5rem; }
.site-footer .badges a {
  background: rgba(255,255,255,0.9); border-radius: 0.5rem; padding: 0.5rem;
  transition: background-color 0.2s;
}
.site-footer .badges a:hover { background: white; }
.site-footer .badges img { height: 2rem; width: auto; }
@media (min-width: 768px) { .site-footer .badges img { height: 2.5rem; } }

.site-footer .bottom-bar {
  background: hsl(var(--primary));
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}
.site-footer .bottom-bar .inner-bar {
  max-width: var(--container-wide); margin-inline: auto;
  padding: 0.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: hsl(var(--primary-foreground) / 0.7);
}
@media (min-width: 768px) { .site-footer .bottom-bar .inner-bar { flex-direction: row; } }
.site-footer .bottom-bar .links { display: flex; gap: 1.5rem; }
.site-footer .bottom-bar a:hover { color: hsl(var(--primary-foreground)); }
.site-footer .bottom-bar .credit { color: hsl(var(--primary-foreground) / 0.4); }

/* ---------- Forms (general) ---------- */
.gform_wrapper, .form-block { font-size: 0.95rem; }
.gform_wrapper input,
.gform_wrapper textarea,
.gform_wrapper select,
.form-block input,
.form-block textarea,
.form-block select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.95rem;
}
.gform_wrapper textarea, .form-block textarea { min-height: 7rem; }
.gform_wrapper label, .form-block label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}
.gform_wrapper .gform_button { /* Gravity submit */ }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Acccessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid hsl(var(--accent)); outline-offset: 2px; }

.body-flex { display: flex; flex-direction: column; min-height: 100vh; }

/* Inline icon defaults (rendered via PHP <svg> include) */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* google review */

h2.google-review-head {
  font-size: 36px;
}

.locations-grid .card .image-wrap {
  position: relative;
}

.locations-grid .card .image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.locations-grid .card .image-wrap h3 {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 2;
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600;
}


h2.common-heading{
  font-size: 30px ;
  font-weight: 400;
}

.burial-grid .card .body {
  padding: 1.25rem;
  text-align: center;
}

.burial-grid-cards .card .more{
margin-top: 0px;
}

.related-burial-cards .card h3 {
  margin-bottom: 10px !important;

}

section.section-padding.bg-background.external-links {
  border-bottom: 1px solid #e1e1e1;
}

/* common css */
.common-bg{
  background-color: white;
}
.common-hero-heading{
  padding-bottom: 0px;
}

.new-heading h2.common-heading {
  font-size: 48px;
  font-weight: 600;
  max-width: 60rem;
  margin: auto;
}

.new-cta-heading h2.common-heading {
  font-size: 36px;
  font-weight: 600;
  max-width: 60rem;
  margin: auto;
}



/* kontakt detials  */
.kontakt-form{
  padding: 8px 0px 0px 0px;
}
input#input_1_1, input#input_1_3, input#input_1_4, input#input_1_5,input#input_1_6, input#input_1_7 {
  border: 1px solid #e5e1dc;
  box-shadow: none;
  border-radius: 4px;
}
p.form-quote {
  font-size: 12px;
}
button.gform_button.button.btn-trust {
  background: #56a2a4 !important;
  border-radius: 8px;
}
div#gform_fields_4{
  row-gap: 30px;
}
div#gform_fields_4_3 {
    row-gap: 8px;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
    outline-color: #56a2a4 !important; 
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: #6f7376;
}


/* ================= end of konkakt form ================================= */

/* trauerfall page css */

.traufall-longtext .long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 36px;
  text-align: center;
}
.traufall-shortext .long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 48px;
  text-align: center;
  line-height: 46px;
}
.trauerfall-text .desc-tra {
  text-align: center !important;
  font-size: 18px !important;
  padding: 10px 0px;
  max-width: 42rem;
  margin: 0px auto 40px;
}
.trauerfall-eyebrow .eyebrow {
width: 100% !important;
text-align: center;
}
.bg-color.bg-card {
  background: hsl(0deg 0% 100%);
}

.trauferall-feature-grid .grid {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 56rem;
  margin: auto;

}
.trauferall-feature-grid .card {
  text-align: left;
}

.trauferall-feature-grid .card p {
  font-size: 16px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}
.trauferall-feature-grid .card h3 {
  font-size: 20px;
}

/* vorsouge page */

h2.benefits-title{
  font-size: 36px ;
  margin-bottom: 24px;
}

.link-head{
  font-size: 36px;
}

section.section-padding.bg-background.timeline-steps{
  padding-top: 0px !important;
}

.body-text p {
  gap: 2px !important;
  padding-bottom: 20px;
}

/* footer links */

.about-block-new .grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.bestatter-leonberg .card {
  text-align: left;
}
button.gform_button.button.btn-trust {
  width: 100% !important;
  padding: 12px 0px !important;
}


.ablauf_secound_last_sec a.btn.btn-outline {
  flex-direction: row-reverse;
}
.ablauf_secound_last_sec a.btn.btn-emergency {
  background: #b23434f9;
}
.ablauf_secound_last_sec {
  background: #f6f3ee;
}
.erdbestattung_cta_section a.btn.btn-emergency {
  flex-direction: row-reverse;
}
.ditzingen_cta_sec a.btn.btn-emergency {
  background: #b23434;
}
.ditzingen_cta_sec a.btn.btn-outline {
  flex-direction: row-reverse;
}


/* ===========================mobie rsponsivness ================= */
/* sayyam css starts */
.ablauf_secound_last_sec a.btn.btn-outline {
    flex-direction: row-reverse;
}
.ablauf_secound_last_sec a.btn.btn-emergency {
    background: #b23434f9;
}
.ablauf_secound_last_sec {
    background: #f6f3ee;
}
.erdbestattung_cta_section a.btn.btn-emergency {
    flex-direction: row-reverse;
}
.ditzingen_cta_sec a.btn.btn-emergency {
    background: #b23434;
}
.ditzingen_cta_sec a.btn.btn-outline {
    flex-direction: row-reverse;
}
/* sayyam css ends */



@media screen and (max-width: 600px) {
  .video-hero .eyebrow-text {
    max-width: 70%;
}
.video-hero p {
  font-size: 18px;
}
.btn-lg {
  padding: 12px 23px;
  font-size: 1rem;
}
h2.about-text-head {
  font-size: 16px;
}
h3.about-text {
  font-size: 16px;
}
h2.google-review-head {
  font-size: 30px;
}
.site-footer .cta-area h2 {
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  font-size: 30px;
}
h2.location-head {
  font-size: 30px;
}
.page-hero h1 {
  font-size: 36px;
  line-height: 40px;
}
.intro-checklist h2 {
  margin-bottom: 1rem;
  font-size: 24px;
}
h2.common-heading {
  font-size: 24px;
}
.external-links .panel {
  padding: 1.5rem;
}
.text-cta h2{
  font-size: 24px;
}
.long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 24px;
}
.traufall-shortext .long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 30px;
  text-align: center;
}
.new-heading h2.common-heading {
  font-size: 30px;
}
.trauferall-feature-grid .grid {
  grid-template-columns: 1fr !important;
}

.traufall-longtext .long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 30px;
  text-align: center;
}
h2.benefits-title {
  font-size: 30px;
}h2.three-pillars {
  font-size: 28px;
}
.link-head {
  font-size: 30px;
}
.emergency-intro h2 {
  font-size: 30px;
}
.new-cta-heading h2.common-heading {
  font-size: 30px;
  margin: auto;
}
.cta-block p{
  padding-top: 10px !important;
}
.kontakt-form {
  padding: 30px;
}
.location-map {
  margin-bottom: 0px;
}
.about-block-new .grid {
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.newabout-text h2.about-text-head {
  font-size: 30px;
}
.long-text.center-heading h2 {
  font-size: 30px;
}
.trauerfall-text .desc-tra {
  text-align: center !important;
  font-size: 18px !important;
  padding: 10px 0px;
  margin-bottom: 30px;
}
.timeline-steps .card .nb {

  align-items: center;
  margin-bottom: 0.75rem;
}
}



@media screen and (min-width: 601px) and (max-width: 1024px) {

.section-heading h2 {
  color: hsl(var(--foreground));
  font-size: 36px;
}
h3.about-text {
  font-size: 16px;
}
.video-hero h1 {
  font-size: 48px;
  max-width: 42rem;
}
.video-hero .eyebrow-text {
  max-width: 40%;
}
h2.common-heading{
  font-size: 30px;
}
.page-hero h1 {
  font-size: 48px;
}
main {
  padding-bottom: 0px;
}
.text-cta h2{
  font-size: 30px;
}
.long-text h2 {
  margin-bottom: 1.5rem;
  font-size: 30px;
}
.traufall-shortext .long-text h2 {
  font-size: 36px;
}
.new-heading h2.common-heading {
  font-size: 36px;
}
h2.benefits-title {
  font-size: 36px;
}
.cta-block p{
  padding-top: 20px !important;
}
.kontakt-form {
  padding: 20px;
}
.location-map {
  margin-bottom: 0px;
}
.new-head .about-block h2 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: 30px !important;
}

.about-block-new .grid {
  grid-template-columns: 1fr;
}
.long-text.center-heading h2 {
  font-size: 36px;
}
}


@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .video-hero h1 {
    font-size: 60px;
    max-width: 42rem;
}
.intro-checklist .grid {
  grid-template-columns: 1fr;
}
.page-hero h1 {
  font-size: 60px;
}
.feature-grid.cols-4 .grid {
  grid-template-columns: repeat(2, 1fr);
}
.about-block .grid {
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.section-heading h2 {
  color: hsl(var(--foreground));
  font-size: 48px;
}
.traufall-shortext .long-text h2 {
  font-size: 48px;
}
.new-heading h2.common-heading {
  font-size: 48px;
}
h2.benefits-title {
  font-size: 48px;
}
h2.benefits-title {
  font-size: 36px;
}
h2.link-head {
  font-size: 36px;
}
.kontakt-form {
  padding: 20px;
}
.location-map {
  margin-bottom: 0px;
}
.about-block-new .grid {
  grid-template-columns: 1fr;
}
.long-text.center-heading h2 {
  font-size: 36px;
}
.feature-grid.cols-6 .grid {
  width: 100%;
}
}


.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.521), transparent);
}


.newcta h2.common-heading {
  font-size: 36px !important;
  font-weight: 600;
}




/* vorsouge form */


.gform-theme--framework .gf_progressbar .percentbar_blue {
  background-color: #57a4a3 !important;
}

.vorsorge-form-intro p {
  font-size: 16px;
  line-height: 1.55;
  color: #6f747a;
  margin: 0;
}

.vorsorge-wizard .panel {
  padding: 2rem;
  background: #f6f3ef;
  border: 1px solid #dedede;
}


.vorsorge-suggestion-list li {
  margin-bottom: 8px;

}

.vorsorge-suggestion-list li:last-child {
  margin-bottom: 0;
}

.gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
  background-color: #57a4a3 !important;
}


/* Burial Radio Card Design - Gravity Form Field ID: field_4_11 */

#field_4_11 {
  max-width: 700px;
  margin: 0 auto;
}

/* Hide default legend label if needed */
#field_4_11 legend.gfield_label {
  display: block;
  text-align: center;
  font-size: 24px !important;
  line-height: 1.25;
  font-weight: 700 !important;
  color: #3f3f3f;
  margin: 0 0 8px !important;
}

/* Description */
#field_4_11 .gfield_description {
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  color: #6f747a;
  margin: 0 0 30px !important;
}

/* Radio Grid */
#field_4_11 .gfield_radio {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

/* Each card wrapper */
#field_4_11 .gchoice {
  position: relative;
  margin: 0 !important;
  display: block !important;
}

/* Hide default radio */
#field_4_11 .gchoice input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  pointer-events: none;
}

/* Card Label */
#field_4_11 .gchoice label {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 110px;
  padding: 24px 22px 20px 78px !important;
  border: 1px solid #e3ddd5 !important;
  border-radius: 7px;
  background: #fbfaf8;
  color: #444444;
  font-size: 17px !important;
  line-height: 1.25;
  font-weight: 700 !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* Description inside label */
#field_4_11 .gchoice label span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #6f747a;
}

/* Icon circle */
#field_4_11 .gchoice label::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f0ec;
  transform: translateY(-50%);
  transition: all 0.25s ease;
}

/* Icon shape */
#field_4_11 .gchoice label::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 50%;
  width: 22px;
  height: 22px;
  background-color: #74787c;
  transform: translateY(-50%);
  transition: all 0.25s ease;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* 1. Erdbestattung icon */
#field_4_11 .gchoice:nth-child(1) label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 0-3 3'/%3E%3Cpath d='M12 5a3 3 0 1 1 3 3'/%3E%3Cpath d='M12 19a3 3 0 1 0-3-3'/%3E%3Cpath d='M12 19a3 3 0 1 1 3-3'/%3E%3Cpath d='M5 12a3 3 0 1 0 3-3'/%3E%3Cpath d='M19 12a3 3 0 1 1-3-3'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 0-3 3'/%3E%3Cpath d='M12 5a3 3 0 1 1 3 3'/%3E%3Cpath d='M12 19a3 3 0 1 0-3-3'/%3E%3Cpath d='M12 19a3 3 0 1 1 3-3'/%3E%3Cpath d='M5 12a3 3 0 1 0 3-3'/%3E%3Cpath d='M19 12a3 3 0 1 1-3-3'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

/* 2. Feuerbestattung icon */
#field_4_11 .gchoice:nth-child(2) label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A4.5 4.5 0 0 0 13 19a5 5 0 0 0 5-5c0-5-5-8-5-12-3 3-5 6-2 10-1.5-.5-2.5-1.5-3-3-2 2-3 3.5-3 5.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A4.5 4.5 0 0 0 13 19a5 5 0 0 0 5-5c0-5-5-8-5-12-3 3-5 6-2 10-1.5-.5-2.5-1.5-3-3-2 2-3 3.5-3 5.5Z'/%3E%3C/svg%3E");
}

/* 3. Seebestattung icon */
#field_4_11 .gchoice:nth-child(3) label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3Cpath d='M12 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3Cpath d='M7 17c1.5 1.5 3 2 5 2s3.5-.5 5-2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M5 12H2a10 10 0 0 0 20 0h-3'/%3E%3Cpath d='M12 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3Cpath d='M7 17c1.5 1.5 3 2 5 2s3.5-.5 5-2'/%3E%3C/svg%3E");
}

/* 4. Waldbestattung icon */
#field_4_11 .gchoice:nth-child(4) label::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-7'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M17 15a5 5 0 0 0 1-9.9A5 5 0 0 0 8.2 4 4 4 0 0 0 5 11a4 4 0 0 0 4 4'/%3E%3Cpath d='M15 9l-3 3-2-2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-7'/%3E%3Cpath d='M9 15h6'/%3E%3Cpath d='M17 15a5 5 0 0 0 1-9.9A5 5 0 0 0 8.2 4 4 4 0 0 0 5 11a4 4 0 0 0 4 4'/%3E%3Cpath d='M15 9l-3 3-2-2'/%3E%3C/svg%3E");
}

/* Hover */
#field_4_11 .gchoice label:hover {
  border-color: #4ca5a4 !important;
  background: #f6fbfa;
}

/* Selected Card */
#field_4_11 .gchoice input[type="radio"]:checked + label {
  border-color: #4ca5a4 !important;
  background: #f4faf8;
  box-shadow: 0 3px 8px rgba(76, 165, 164, 0.22);
  color: #4ca5a4;
}

/* Selected Description */
#field_4_11 .gchoice input[type="radio"]:checked + label span {
  color: #6f747a;
}

/* Selected Icon Circle */
#field_4_11 .gchoice input[type="radio"]:checked + label::before {
  background: #4ca5a4;
}

/* Selected Icon Color */
#field_4_11 .gchoice input[type="radio"]:checked + label::after {
  background-color: #ffffff;
}

/* Mobile */
@media (max-width: 767px) {
  #field_4_11 {
    max-width: 100%;
  }

  #field_4_11 .gfield_radio {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #field_4_11 .gchoice label {
    min-height: 100px;
    padding: 20px 18px 18px 74px !important;
  }

  #field_4_11 .gchoice label::before {
    left: 18px;
    width: 42px;
    height: 42px;
  }

  #field_4_11 .gchoice label::after {
    left: 28px;
    width: 22px;
    height: 22px;
  }

  #field_4_11 legend.gfield_label {
    font-size: 22px !important;
  }

  #field_4_11 .gfield_description {
    font-size: 15px;
    margin-bottom: 24px !important;
  }
}






/* third form page - Updated for Gravity Form 4 */

/* =====================================================
   Trauerfeier gestalten - Exact Layout
   Scoped only to Gravity Form 4 fields
===================================================== */

/* Main field width */
#field_4_14,
#field_4_16,
#field_4_18,
#field_4_19 {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Field spacing */
#field_4_14 {
    margin-top: 26px !important;
    margin-bottom: 28px !important;
}

#field_4_16 {
    margin-bottom: 30px !important;
}

#field_4_18,
#field_4_19 {
    margin-bottom: 28px !important;
}

/* Labels */
#field_4_14 .gfield_label,
#field_4_16 .gfield_label,
#field_4_18 .gfield_label,
#field_4_19 .gfield_label {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #444444 !important;
    margin: 0 0 14px !important;
    text-align: left !important;
}

/* Hide radio inputs */
#field_4_14 .gchoice input[type="radio"],
#field_4_16 .gchoice input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================================
   Ort der Trauerfeier - 4 Equal Cards
===================================================== */

#field_4_14 .ginput_container_radio {
    width: 100% !important;
}

#field_4_14 .gfield_radio {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
}

#field_4_14 .gchoice {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
}

#field_4_14 .gchoice label {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: column !important;
    padding: 34px 8px 14px !important;
    border: 1px solid #e3ddd5 !important;
    border-radius: 7px !important;
    background: #fbfaf8 !important;
    color: #444444 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

/* Icon base */
#field_4_14 .gchoice label::before {
    content: "" !important;
    position: absolute !important;
    top: 15px !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    transform: translateX(-50%) !important;
    background-color: #73787c !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Kirche */
#field_4_14 .gchoice:nth-child(1) label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 9h4'%3E%3C/path%3E%3Cpath d='M12 7v5'%3E%3C/path%3E%3Cpath d='M14 22v-4a2 2 0 0 0-4 0v4'%3E%3C/path%3E%3Cpath d='M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22'%3E%3C/path%3E%3Cpath d='m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7'%3E%3C/path%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 9h4'%3E%3C/path%3E%3Cpath d='M12 7v5'%3E%3C/path%3E%3Cpath d='M14 22v-4a2 2 0 0 0-4 0v4'%3E%3C/path%3E%3Cpath d='M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22'%3E%3C/path%3E%3Cpath d='m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Friedhofskapelle */
#field_4_14 .gchoice:nth-child(2) label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h.01'/%3E%3Cpath d='M15 7h.01'/%3E%3Cpath d='M9 11h.01'/%3E%3Cpath d='M15 11h.01'/%3E%3Cpath d='M9 15h.01'/%3E%3Cpath d='M15 15h.01'/%3E%3Cpath d='M12 21v-4'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h.01'/%3E%3Cpath d='M15 7h.01'/%3E%3Cpath d='M9 11h.01'/%3E%3Cpath d='M15 11h.01'/%3E%3Cpath d='M9 15h.01'/%3E%3Cpath d='M15 15h.01'/%3E%3Cpath d='M12 21v-4'/%3E%3C/svg%3E") !important;
}

/* Trauerhaus */
#field_4_14 .gchoice:nth-child(3) label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'%3E%3C/path%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'%3E%3C/path%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Keine Trauerfeier */
#field_4_14 .gchoice:nth-child(4) label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-6 6'/%3E%3Cpath d='M9 9l6 6'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9l-6 6'/%3E%3Cpath d='M9 9l6 6'/%3E%3C/svg%3E") !important;
}

/* Hover + selected card */
#field_4_14 .gchoice label:hover,
#field_4_14 .gchoice input[type="radio"]:checked + label,
#field_4_14 .gchoice input[type="radio"]:checked ~ label {
    border-color: #4ca5a4 !important;
    background: #f4faf8 !important;
    color: #4ca5a4 !important;
}

#field_4_14 .gchoice input[type="radio"]:checked + label::before,
#field_4_14 .gchoice input[type="radio"]:checked ~ label::before {
    background-color: #4ca5a4 !important;
}

/* =====================================================
   Art des Redners - Horizontal Pill Layout
===================================================== */

#field_4_16 {
    text-align: left !important;
}

#field_4_16 .ginput_container_radio {
    width: 100% !important;
}

#field_4_16 .gfield_radio {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

#field_4_16 .gchoice {
    position: relative !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#field_4_16 .gchoice label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 145px !important;
    height: 38px !important;
    padding: 8px 20px !important;
    border: 1px solid #e3ddd5 !important;
    border-radius: 999px !important;
    background: #fbfaf8 !important;
    color: #444444 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

#field_4_16 .gchoice label:hover,
#field_4_16 .gchoice input[type="radio"]:checked + label,
#field_4_16 .gchoice input[type="radio"]:checked ~ label {
    border-color: #4ca5a4 !important;
    background: #f4faf8 !important;
    color: #4ca5a4 !important;
}

/* =====================================================
   Textarea Fields
===================================================== */

#field_4_18 .gfield_label,
#field_4_19 .gfield_label {
    position: relative !important;
    padding-left: 22px !important;
    margin-bottom: 10px !important;
}

#field_4_18 .gfield_label::before,
#field_4_19 .gfield_label::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    width: 15px !important;
    height: 15px !important;
    background-color: #444444 !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Music icon */
#field_4_18 .gfield_label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") !important;
}

/* Flower icon */
#field_4_19 .gfield_label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1'%3E%3C/path%3E%3Ccircle cx='12' cy='8' r='2'%3E%3C/circle%3E%3Cpath d='M12 10v12'%3E%3C/path%3E%3Cpath d='M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z'%3E%3C/path%3E%3Cpath d='M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z'%3E%3C/path%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1'%3E%3C/path%3E%3Ccircle cx='12' cy='8' r='2'%3E%3C/circle%3E%3Cpath d='M12 10v12'%3E%3C/path%3E%3Cpath d='M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z'%3E%3C/path%3E%3Cpath d='M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Textareas */
#field_4_18 textarea,
#field_4_19 textarea {
    width: 100% !important;
    min-height: 90px !important;
    border: 1px solid #e3ddd5 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #444444 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
    resize: vertical !important;
}

#field_4_18 textarea:focus,
#field_4_19 textarea:focus {
    border-color: #4ca5a4 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(76, 165, 164, 0.15) !important;
}

/* =====================================================
   Mobile Responsive
===================================================== */

@media (max-width: 767px) {
    #field_4_14,
    #field_4_16,
    #field_4_18,
    #field_4_19 {
        max-width: 100% !important;
    }

    #field_4_14 .gfield_radio {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #field_4_16 .gfield_radio {
        flex-wrap: wrap !important;
    }

    #field_4_16 .gchoice {
        flex: 1 1 calc(50% - 10px) !important;
    }

    #field_4_16 .gchoice label {
        width: 100% !important;
        min-width: 0 !important;
    }
}




div#gform_fields_3_3 {
  row-gap: 6px;
}

ul.text-sm.text-muted-foreground.space-y-2.vorsorge-suggestion-list {
  font-size: 14px;
  margin-top: 12px;
}

div#field_4_34{
    border: 1px solid #57a4a3;
    padding: 30px;
    border-radius: 10px;
    background-color: #56a2a41a;
}



/* last 5 steps */

.vorsorge-summary-card {
  width: 100%;
  margin: 0 auto 28px;
  border: 1px solid #4ca5a4;
  border-radius: 6px;
  background: #fbfaf8;
  overflow: hidden;
  box-sizing: border-box;
}

.vorsorge-summary-section {
  padding: 16px 14px;
  border-bottom: 1px solid #e4ded7;
}

.vorsorge-summary-section:last-child {
  border-bottom: none;
}

.vorsorge-summary-section h4 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0 0 10px;
}

.vorsorge-summary-section p {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: #6f747a;
  margin: 0 0 3px;
}

.vorsorge-summary-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .vorsorge-summary-card {
      max-width: 100%;
      margin-bottom: 24px;
  }

  .vorsorge-summary-section {
      padding: 14px 12px;
  }

  .vorsorge-summary-section h4,
  .vorsorge-summary-section p {
      font-size: 13px;
  }
}



/* =====================================================
   Datenschutz Checkbox Card
   Gravity Form Field ID: field_3_27
===================================================== */

#field_3_27 {
  width: 100% !important;
  padding: 7px 0px !important;
  background: #f2efea;
  border-radius: 24px;
}

/* Main card background */
#field_3_27 .ginput_container_checkbox {
  background: #f2efea !important;
  border-radius: 7px !important;
  padding: 18px 18px !important;
  box-sizing: border-box !important;
}

/* Checkbox wrapper */
#field_3_27 .gfield_checkbox {
  margin: 0 !important;
  padding: 0 !important;
}

/* Choice row */
#field_3_27 .gchoice {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Checkbox */
#field_4_27 input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 4px 0 0 0 !important;
  border: 1.5px solid #4ca5a4 !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  position: relative !important;
  box-shadow: none !important;
}

/* Checked checkbox */
#field_4_27 input[type="checkbox"]:checked {
  background: #4ca5a4 !important;
  border-color: #4ca5a4 !important;
}

/* Check icon */
#field_4_27 input[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 1px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

/* Remove old shield icon from gchoice */
#field_4_27 .gchoice::before {
  content: none !important;
  display: none !important;
}

/* Main checkbox label */
#field_4_27 .gchoice label {
  position: relative !important;
  display: block !important;
  padding-left: 26px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #444444 !important;
  margin: 0 !important;
  cursor: pointer !important;
  max-width: none !important;
}

/* Shield icon - now aligned with label */
#field_4_27 .gchoice label::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 16px !important;
  height: 16px !important;
  background-color: #4ca5a4 !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z'%3E%3C/path%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Description text */
#field_3_27 .gfield_description {
  display: block !important;
  margin: 6px 18px 0 62px !important;
  padding: 0 0 0 0 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #6f747a !important;
}

/* Validation / error safe */
#field_3_27.gfield_error .ginput_container_checkbox {
  border: 1px solid #d63638 !important;
}

/* Mobile */
@media (max-width: 767px) {
  #field_3_27 {
    max-width: 100% !important;
  }

  #field_3_27 .ginput_container_checkbox {
    padding: 16px !important;
  }

  #field_3_27 .gchoice {
    gap: 8px !important;
  }

  #field_3_27 .gchoice label {
    font-size: 14px !important;
    padding-left: 24px !important;
  }

  #field_3_27 .gchoice label::before {
    width: 15px !important;
    height: 15px !important;
  }

  #field_3_27 .gfield_description {
    margin: 6px 16px 0 58px !important;
    font-size: 14px !important;
  }
}

/* pdf button */
.vorsorge-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #4ca5a4 !important;
  border-radius: 6px;
  background: #ffffff !important;
  color: #444444 !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.vorsorge-pdf-btn svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex-shrink: 0;
}

.vorsorge-pdf-btn:hover {
  background: #4ca5a4 !important;
  border-color: #4ca5a4 !important;
  color: #ffffff !important;
}

.vorsorge-pdf-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 165, 164, 0.2);
}

legend.gfield_label.gform-field-label.gfield_label_before_complex {
  color: #494a4b;
}


label.gfield_label.gform-field-label {
  color: #494a4b;
  font-weight: 500;
}



/* Checkbox Field - Gravity Form Field ID: field_4_26 */

/* Checkbox - Field 4_26 */
#field_4_26 input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border: 1.5px solid #4ca5a4 !important;
  border-radius: 3px !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
  accent-color: #4ca5a4 !important;
  cursor: pointer !important;
  position: relative !important;
}

/* Checked state */
#field_4_26 input[type="checkbox"]:checked {
  background-color: #4ca5a4 !important;
  border-color: #4ca5a4 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* White tick */
#field_4_26 input[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 1px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

/* Remove blue focus ring */
#field_4_26 input[type="checkbox"]:focus,
#field_4_26 input[type="checkbox"]:focus-visible,
#field_4_26 input[type="checkbox"]:active {
  outline: none !important;
  box-shadow: none !important;
}




.ginput_container input, textarea#input_4_24 {
    border: 1px solid #e5e1dc !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}


input#input_4_3 {
    width: 100%;
}

input#gform_next_button_4_9, input#gform_next_button_4_12, input#gform_next_button_4_20, input#gform_next_button_4_25, input#gform_submit_button_4 {
    background: #56a2a4 !important;
    border-radius: 8px;
    padding: 0px 30px;
}


input#gform_previous_button_4_12, input#gform_previous_button_4_20, input#gform_previous_button_4_25, input#gform_previous_button_4 {
    border: 1px solid #56a2a4 !important;
    padding: 0px 26px;
    box-shadow: none;
}


.gform-page-footer.gform_page_footer.top_label {
    justify-content: space-between;
}

#field_4_27{
    width: 100% !important;
    padding: 30px 20px !important;
    background: #f2efea;
    border-radius: 24px;
}


/* Remove blue focus/active outline from Gravity Form buttons */
#gform_4 input[type="button"],
#gform_4 input[type="submit"],
#gform_4 .gform_next_button,
#gform_4 .gform_previous_button {
  outline: none !important;
  box-shadow: none !important;
}

/* Focus / active state */
#gform_4 input[type="button"]:focus,
#gform_4 input[type="button"]:focus-visible,
#gform_4 input[type="button"]:active,
#gform_4 input[type="submit"]:focus,
#gform_4 input[type="submit"]:focus-visible,
#gform_4 input[type="submit"]:active,
#gform_4 .gform_next_button:focus,
#gform_4 .gform_next_button:focus-visible,
#gform_4 .gform_next_button:active,
#gform_4 .gform_previous_button:focus,
#gform_4 .gform_previous_button:focus-visible,
#gform_4 .gform_previous_button:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: #4ca5a4 !important;
}

/* Specifically for Weiter button */
#gform_next_button_4_12:focus,
#gform_next_button_4_12:focus-visible,
#gform_next_button_4_12:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: #4ca5a4 !important;
}

div#gform_confirmation_message_4 {
    text-align: center;
    color: #086e08;
    font-weight: 600;
}

.faq-section {
    width: 60rem;
    margin: 5rem auto;
}
.faq-section h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 50px;
}
.faq-section p {
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 10px;
}
.faq-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 46px;
}
.faq-section h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 36px;
}
.faq-section h4 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 30px;
}
.gform_heading {
    display: none !important;
}

/* vorsouge form */

span.gf_step_label {
    text-transform: capitalize !important;
	font-size: 12px !important;
	font-weight: 500 !Important;
}


span.gf_step_number {
    padding: 22px;
	    border-width: 1px !important;

}

.gf_step_completed .gf_step_number::after {
    padding: 22px !Important;
	background: #57a4a3 !important;
	border: 1px solid #57a4a3 !important;
}

/* Active Step */
.gf_step_active .gf_step_number {
    background: #57a4a3 !important;
    border-color: #cfe7e6 !important;
    color: #fff !important;
    box-shadow: 0 0 0 5px rgba(87, 164, 163, 0.18);
}


@media (max-width: 768px) {
.gallery-item.post_gallery{
width:100% !important;}

    .gf_page_steps {
        gap: 10px;
    }

    .gf_step_number {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px;
        font-size: 14px;
    }

    .gf_page_steps::before {
        top: 18px;
    }

    .gf_step_label {
        font-size: 12px;
        line-height: 1.4;
    }
}
.featured-post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.featured-image-item {
    width: calc(50% - 15px);
}

.featured-image-item img {
    width: 100%;
    height: auto;
    display: block;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox[aria-hidden="true"] {
    display: none;
}

.lightbox[aria-hidden="false"] {
    display: flex;
}
.gallery-item.post_gallery {
    display: inline-block;
    width: 47%;
    margin-bottom: 20px;
    margin-right: 20px;
}
.gallery-item.post_gallery img {
    width: 100%;
}
@media print {

    body.print-checklist * {
        visibility: hidden !important;
    }

    body.print-checklist .trauerfall-checklist,
    body.print-checklist .trauerfall-checklist * {
        visibility: visible !important;
    }

    body.print-checklist .trauerfall-checklist {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .section-body {
        display: block !important;
    }

    .print-btn,
    .progress-row {
        display: none !important;
    }
}
img[src*="/star/f.svg"]{filter: brightness(0) saturate(100%) invert(61%) sepia(18%) saturate(967%) hue-rotate(135deg) brightness(92%) contrast(90%);}