/*
Theme Name:  Bestattungshaus Siegwarth
Theme URI:   https://www.bestattungshaus-siegwarth.de
Author:      Siegwarth Web
Description: Custom WordPress theme for Bestattungshaus Frank Siegwarth
Version:     1.0.0
Text Domain: siegwarth
*/

/* =========================================================================
   1. DESIGN TOKENS
   All values derived directly from index.css + tailwind.config.ts
   ========================================================================= */

:root {
    /* Colours */
    --color-bg:          hsl(210, 15%, 90%);   /* --background */
    --color-fg:          hsl(210, 15%, 25%);   /* --foreground */
    --color-card:        hsl(0,   0%,  98%);
    --color-card-fg:     hsl(210, 15%, 25%);
    --color-primary:     hsl(220, 30%, 70%);   /* header bg, primary sections */
    --color-primary-fg:  hsl(210, 15%, 25%);
    --color-primary-dark:hsl(220, 30%, 63%);   /* hover state */
    --color-accent:      hsl(210, 30%, 45%);   /* links, icon highlights */
    --color-muted:       hsl(210, 15%, 92%);
    --color-muted-fg:    hsl(210, 10%, 45%);
    --color-border:      hsl(210, 15%, 85%);
    --color-white:       hsl(0,   0%,  100%);

    /* Memorial card */
    --color-memorial-bg:     hsl(0, 0%, 98%);
    --color-memorial-border: hsl(210, 30%, 38%);

    /* Typography */
    --font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    --font-size-base: 1rem;
    --line-height: 1.6;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border radius */
    --radius: 0.5rem;
    --radius-md: calc(var(--radius) - 2px);

    /* Shadows */
    --shadow-sm:      0 1px 3px hsl(210 30% 30% / 0.12);
    --shadow-md:      0 4px 16px hsl(210 30% 30% / 0.15);
    --shadow-lg:      0 10px 40px -10px hsl(210 30% 30% / 0.4);

    /* Transitions */
    --transition: all 0.3s ease;

    /* Header height: top bar (~60px) + desktop nav row (~56px) = ~116px */
    --header-height: 116px;
}

/* =========================================================================
   2. RESET & BASE
   ========================================================================= */

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-fg);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* =========================================================================
   3. CONTAINER
   ========================================================================= */

.container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}
@media (max-width: 768px) {
    .container { padding-inline: 1rem; }
}

/* =========================================================================
   4. TYPOGRAPHY UTILITIES
   ========================================================================= */

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--color-fg);
    margin-bottom: var(--space-8);
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-muted-fg);
    text-align: center;
    margin-bottom: var(--space-12);
    max-width: 48rem;
    margin-inline: auto;
}

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

/* Prose (WYSIWYG) */
.sw-prose { max-width: 65ch; color: var(--color-muted-fg);}
.sw-prose p  { margin-bottom: var(--space-4); }
.sw-prose h2, .sw-prose h3 { color: var(--color-fg); margin-bottom: var(--space-4); font-weight: 700; }
.sw-prose ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); }
.sw-prose li { margin-bottom: var(--space-2); }
.sw-prose a  { color: var(--color-accent); text-decoration: underline; }
.sw-prose--invert { color: rgba(255, 255, 255, 0.9); }
.sw-prose--invert p { color: rgba(255, 255, 255, 0.9); }
.sw-prose--wide { max-width: none; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-none { max-width: none; }
.mx-auto { margin-inline: auto; }

/* Signature */
.sw-signature, .sw-image-text__signature {
    font-style: italic;
    color: hsl(219.07deg 27.74% 69.61%);
    margin-top: var(--space-4);
    font-size: 20px;
    font-weight: 700 !important; 
    }

/* =========================================================================
   5. BUTTONS
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--primary   { background: var(--color-primary); color: var(--color-primary-fg); font-size: 14px; }
.btn--primary:hover { background: var(--color-primary-dark); opacity: 1; }

/* CTA button — primary bg + white text + larger pad. React: <Button size="lg" variant="default"> */
.btn--cta { background: var(--color-primary); color: #fff; padding: 0.75rem 2rem; font-size: 1rem; font-weight: 600; }
.btn--cta:hover { background: var(--color-primary-dark); color: #fff; opacity: 1; }

.btn--secondary {
    background: white;
    color: #364049;
    border-color: white;
    font-weight: 500;
    font-size: 14px;
}
.btn--secondary:hover { background: hsl(0,0%,92%); opacity: 1; }

.btn--outline {
    background: #e2e6e9;
    color: #364049;
    font-weight: 400;
    padding: 10px;
    border-radius: 6px;
}
.btn--outline:hover {
    background: #507395 !important;
    color: #ffffff !important;
    opacity: 1;
}
.btn--white      { background: white; color: var(--color-primary); font-size: 16px;}
.btn--white:hover { background: hsl(0,0%,92%); opacity: 1; }

.btn--white-ghost { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.4); }
.btn--white-ghost:hover { background: rgba(255,255,255,0.2); opacity: 1; }

.btn--full { width: 100%; justify-content: center; }

/* Link */
.sw-link { color: var(--color-accent); }
.sw-link:hover { opacity: 0.8; text-decoration: underline;}

/* =========================================================================
   6. HEADER
   ========================================================================= */

.sw-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--color-primary);
    /* padding-top: 30px;  */
}

.sw-header__top { background: var(--color-primary); }

.sw-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
}

/* Facebook icon — desktop only */
.sw-header__social { display: none; }
@media (min-width: 768px) { .sw-header__social { display: flex; align-items: center; } }
.sw-header__fb { color: var(--color-fg); opacity: 0.7; transition: var(--transition); }
.sw-header__fb:hover { opacity: 1; }

/* Logo — always centered */
.sw-header__logo { flex: 1; text-align: center; }
.sw-header__logo-img { height: 3rem; display: inline-block; }
@media (min-width: 768px) { .sw-header__logo-img { height: 4rem; } }

/* Contact — desktop only */
.sw-header__contact { display: none; text-align: right; }
@media (min-width: 768px) { .sw-header__contact { display: block; } }
.sw-header__contact-label { display: block; font-size: 14px; font-weight: 600; opacity: 0.8; margin-bottom: 0.25rem; }
.sw-header__contact-numbers { display: flex; flex-direction: column; gap: 0.2rem; }
.sw-header__contact-city { font-size: 0.75rem; opacity: 0.7; }
.sw-header__contact-phone { font-size: 14px; font-weight: 400; }
.sw-header__contact-phone:hover { opacity: 0.7; }

/* Hamburger — mobile only */
.sw-header__hamburger { display: flex; padding: 0.5rem; color: var(--color-fg); }
@media (min-width: 768px) { .sw-header__hamburger { display: none; } }
.sw-header__mobile-spacer { width: 2.5rem; }
@media (min-width: 768px) { .sw-header__mobile-spacer { display: none; } }

/* Desktop Nav */
.sw-header__nav { display: none; background: var(--color-primary); }
@media (min-width: 768px) { .sw-header__nav { display: block; } }

.sw-header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-block: 1rem;
}

.sw-nav-link {
    font-size: 0.9375rem;
    color: var(--color-fg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.sw-nav-link:hover { opacity: 0.7; }

.sw-nav-item--dropdown { position: relative; }

.sw-nav-chevron { transition: transform 0.2s ease; }
.sw-nav-item--dropdown.is-open .sw-nav-chevron,
.sw-nav-link--dropdown[aria-expanded="true"] .sw-nav-chevron { transform: rotate(180deg); }

.sw-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    min-width: 200px;
    z-index: 100;
    padding-block: 0.5rem;
}

.sw-nav-item--dropdown:hover .sw-nav-dropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sw-nav-dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-fg);
    font-size: 0.9rem;
    transition: var(--transition);
}
.sw-nav-dropdown-link:hover { background: rgba(0,0,0,0.08); opacity: 1; }

/* =========================================================================
   7. MOBILE MENU
   ========================================================================= */

.sw-mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    background: var(--color-primary);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sw-mobile-menu.is-open { transform: translateX(0); }

.sw-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.sw-mobile-overlay.is-open { opacity: 1; visibility: visible; }

.sw-mobile-menu__inner { display: flex; flex-direction: column; height: 100%; }

.sw-mobile-menu__header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.sw-mobile-menu__logo { height: 3rem; }

.sw-mobile-menu__nav { flex: 1; overflow-y: auto; padding-block: 0.5rem; }

.sw-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--color-fg);
    font-size: 1rem;
    transition: var(--transition);
}
.sw-mobile-link:hover { background: rgba(0,0,0,0.08); opacity: 1; }

.sw-mobile-accordion__content { background: rgba(0,0,0,0.04); }
.sw-mobile-sublink {
    display: block;
    padding: 0.625rem 2rem;
    color: var(--color-fg);
    opacity: 0.85;
    font-size: 0.9rem;
    transition: var(--transition);
}
.sw-mobile-sublink:hover { background: rgba(0,0,0,0.08); opacity: 1; }

.sw-mobile-menu__footer {
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.sw-mobile-menu__footer-label { font-size: 0.75rem; opacity: 0.7; margin-bottom: 0.25rem; }
.sw-mobile-menu__footer-phone { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }

/* =========================================================================
   8. STICKY BUTTONS
   ========================================================================= */

/* Desktop: right-side group */
.sw-sticky-desktop {
    display: none;
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 768px) { .sw-sticky-desktop {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

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

    align-items: flex-end; /* important */
} }
.sw-sticky-btn__label {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width .3s ease;
}
.sw-sticky-btn:hover .sw-sticky-btn__label {
   width: fit-content;
    padding-right: 20px;
}
.sw-sticky-btn__icon {
    padding: 1rem;
    flex-shrink: 0;
}
.sw-sticky-btn {
    display: inline-flex; /* important */
    align-items: center;
    width: fit-content;   /* important */

    background: var(--color-primary);
    color: var(--color-fg);
    border-radius: var(--radius);
    overflow: hidden;
}
.sw-sticky-btn:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-lg); opacity: 1; }

.sw-sticky-btn__icon {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sw-sticky-btn__label {
/*     max-width: 0; */
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    padding-right: 0;
    transition: max-width 0.3s ease, padding-right 0.3s ease;
}
/* .sw-sticky-desktop:hover .sw-sticky-btn__label { max-width: 400px; padding-right: 1rem; } */

/* Mobile: bottom bar */
.sw-sticky-mobile {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: var(--color-primary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
@media (min-width: 768px) { .sw-sticky-mobile { display: none; } }

.sw-sticky-mobile__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--color-fg);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    border-right: 1px solid rgba(0,0,0,0.15);
}
.sw-sticky-mobile__btn:last-child { border-right: none; }
.sw-sticky-mobile__btn:hover { background: var(--color-primary-dark); opacity: 1; }

/* =========================================================================
   9. PAGE OFFSET (sticky header compensation)
   ========================================================================= */

body { padding-top: var(--header-height); }
@media (max-width: 767px) { body { padding-top: 72px; padding-bottom: 68px; /* mobile bottom bar */ } }

/* =========================================================================
   10. HERO LAYOUTS
   ========================================================================= */

/* sw_hero — fullscreen */
.sw-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    /* align-items: flex-end; */
    overflow: hidden;
}

.sw-hero__bg { position: absolute; inset: 0; }
.sw-hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.sw-hero__overlay { position: absolute; inset: 0; 
    /* background: linear-gradient(135deg, hsl(210 30% 48% / 0.95) 0%, hsl(210 30% 40% / 0.98) 100%);  */
}
.sw-hero__gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); }

.sw-hero__content { position: relative; z-index: 2; padding-bottom: var(--space-16); color: white; }
.sw-hero__heading {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: #9cabc9;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 2px;
    text-align: center;
    padding-top: 60px;
}
.sw-hero__tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: 0.9;
    text-align: center;
    color: #9cabc9e6;
    text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 2px;
}
/* sw_page_hero — inner pages */
.sw-page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
}

.sw-page-hero__bg { position: absolute; inset: 0; }
/* React source: filter: blur(1px) brightness(0.4) on hero bg image */
.sw-page-hero__bg-img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px) brightness(0.4); }
.sw-page-hero__overlay { position: absolute; inset: 0; background: hsl(210 30% 15% / 0); }
.sw-page-hero__gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, var(--color-bg), transparent); }

.sw-page-hero__content { position: relative; z-index: 2; text-align: center; color: white; padding-block: var(--space-16); }
.sw-page-hero__title   { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: var(--space-4); color: white; }
.sw-page-hero__subtitle{ font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-8); max-width: 60ch; margin-inline: auto; }
.sw-page-hero__ctas    { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* sw_hero_colored — solid primary */
.sw-hero-colored {
    background: var(--color-primary);
    position: relative;
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    margin-top: calc(-1 * var(--header-height));
    /* padding-top: calc(var(--header-height) + var(--space-12)); */
    overflow: hidden;
}
.sw-hero-colored__title    { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: var(--space-4); color: #ffffff; }
.sw-hero-colored__subtitle { font-size: 1.25rem; max-width: 60ch; margin-inline: auto; color: rgba(255,255,255,0.9); margin-bottom: var(--space-8); }
.sw-hero-colored__gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--color-bg)); }

/* Hero CTAs (Im Trauerfall): two buttons stacked on mobile, side-by-side on desktop */
.sw-hero-colored__ctas { display: flex; flex-direction: column; gap: var(--space-4); justify-content: center; align-items: center; margin-top: var(--space-4); }
@media (min-width: 640px) { .sw-hero-colored__ctas { flex-direction: row; } }
.sw-hero-colored__cta {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    text-decoration: none;
    min-width: 220px;
}
.sw-hero-colored__cta--solid {
    background: var(--color-primary-dark);
    color: white;
}
.sw-hero-colored__cta--solid:hover { background: hsl(220, 30%, 55%); opacity: 1; }
.sw-hero-colored__cta--ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.sw-hero-colored__cta--ghost:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.sw-hero-colored__cta-row { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px;}
.sw-hero-colored__cta-num { font-size: 1rem; opacity: 0.95; margin-top: 2px; }

/* =========================================================================
   11. SECTION BASE PADS
   ========================================================================= */

section { padding-block: var(--space-16); }
.bg-background { background: var(--color-bg); }
.bg-white      { background: var(--color-white); }
.bg-primary    { background: var(--color-primary); }

/* =========================================================================
   12. TRAUERFALL STEPS
   ========================================================================= */

.sw-trauerfall-steps .sw-trauerfall-steps__heading { margin-bottom: var(--space-12); }

.sw-trauerfall-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 640px) {
    .sw-trauerfall-steps__grid { grid-template-columns: repeat(2, 1fr);  width: 64rem; margin: auto;}
}

.sw-trauerfall-steps__item { display: flex; gap: var(--space-4); }
.sw-trauerfall-steps__number {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-primary);
    color: hsl(0deg 0% 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}
.sw-trauerfall-steps__item-title { font-size: 20px; font-weight: 700; margin-bottom: var(--space-2); }
.sw-trauerfall-steps__phone { margin-top: var(--space-3); font-size: 16px; }

/* =========================================================================
   13. CHECKLIST
   ========================================================================= */

.sw-checklist__inner { max-width: 56rem; margin-inline: auto; }
.sw-checklist__heading { margin-bottom: var(--space-4); }
.sw-checklist__intro   { color: var(--color-muted-fg); margin-bottom: var(--space-8); text-align: center; }

.sw-checklist__card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: var(--space-8);
}

/* Progress */
.sw-checklist__progress-wrap { margin-bottom: var(--space-6); }
.sw-checklist__progress-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: var(--space-2); }
.sw-checklist__progress-track { height: 8px; background: var(--color-muted); border-radius: 4px; overflow: hidden; }
.sw-checklist__progress-fill { height: 100%; background: var(--color-accent); border-radius: 4px; transition: width 0.4s ease; }

/* Groups */
.sw-checklist__group { border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: var(--space-3); overflow: hidden; }

.sw-checklist__group-btn {
    width: 100%; display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-4); background: none; text-align: left;
    transition: var(--transition);
}
.sw-checklist__group-btn:hover { background: var(--color-muted); }

.sw-checklist__group-num {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    background: var(--color-muted);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.875rem;
    flex-shrink: 0; transition: var(--transition);
}
.sw-checklist__group-num.is-active { background: var(--color-accent); color: white; }

.sw-checklist__group-meta { flex: 1; }
.sw-checklist__group-title { font-weight: 600; }
.sw-checklist__group-sub   { font-size: 0.8rem; color: var(--color-muted-fg); }

.sw-checklist__chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.sw-checklist__group-btn[aria-expanded="true"] .sw-checklist__chevron { transform: rotate(180deg); }

.sw-checklist__group-content { display: none; padding: var(--space-2) var(--space-4) var(--space-4); border-top: 1px solid var(--color-border); }
.sw-checklist__group-content.is-open { display: block; }

/* Items */
.sw-checklist__item { padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
.sw-checklist__item:last-child { border-bottom: none; }
.sw-checklist__item-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.sw-checklist__item-label { display: flex; align-items: flex-start; gap: var(--space-3); cursor: pointer; flex: 1; }
.sw-checklist__checkbox-wrap { flex-shrink: 0; margin-top: 2px; }

.sw-checklist__checkbox-ui {
    width: 1.25rem; height: 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    color: transparent;
}
.sw-checklist__checkbox:checked + .sw-checklist__checkbox-ui {
    background: var(--color-accent); border-color: var(--color-accent); color: white;
}

.sw-checklist__item-text { font-size: 0.9375rem; }
.sw-checklist__item-text--done { text-decoration: line-through; opacity: 0.5; }
.sw-checklist__item.is-checked { opacity: 0.7; }

.sw-checklist__note-btn { color: var(--color-muted-fg); padding: var(--space-1); border-radius: 4px; flex-shrink: 0; }
.sw-checklist__note-btn:hover, .sw-checklist__note-btn.is-active { color: var(--color-accent); }

.sw-checklist__note-wrap { padding-top: var(--space-3); }
.sw-checklist__note-input {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font: inherit; font-size: 0.875rem;
    resize: vertical;
    background: var(--color-bg);
}

.sw-checklist__footer { margin-top: var(--space-6); text-align: right; }
.sw-checklist__print-btn { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; color: var(--color-muted-fg); }
.sw-checklist__print-btn:hover { color: var(--color-accent); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================================
   14. MEMORIAL CARD
   ========================================================================= */

.sw-memorial-card { padding-block: 0; position: relative; z-index: 20; }
.sw-memorial-card__inner { padding-block: var(--space-8);  max-width: 56rem;
    margin: auto; }

.sw-memorial-card__card {
    display: flex;
    flex-direction: column;
    background: var(--color-memorial-bg);
    /* border: 1px solid var(--color-memorial-border); */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 30px hsl(210 30% 45% / 0.2);
}
@media (min-width: 768px) { .sw-memorial-card__card { flex-direction: row; } }

.sw-memorial-card__image { width: 100%; }
@media (min-width: 768px) { .sw-memorial-card__image { width: 50%; flex-shrink: 0; } }
.sw-memorial-card__image img { width: 100%; height: 100%; object-fit: cover; }

.sw-memorial-card__body { padding: 30px }
.sw-memorial-card__heading { font-size: 30px; font-weight: 700; margin-bottom: var(--space-4); color: var(--color-fg); line-height: 34px; }
.sw-memorial-card__signature { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; }

/* =========================================================================
   15. IMAGE + TEXT (2-col)
   ========================================================================= */

.sw-image-text__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}
@media (min-width: 1024px) {     .sw-image-text__grid {
    grid-template-columns: 1fr 1fr;
    width: 72rem;
    margin: auto;
} }

.sw-image-text__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.sw-image-text__heading    { font-size: 36px; font-weight: 700; margin-bottom: var(--space-6); }

.sw-image-text__text--order-1 { order: 1; }
.sw-image-text__text--order-2 { order: 2; }
.sw-image-text__image--order-1 { order: 1; }
.sw-image-text__image--order-2 { order: 2; }
@media (max-width: 1023px) {
    .sw-image-text__text--order-1, .sw-image-text__text--order-2,
    .sw-image-text__image--order-1, .sw-image-text__image--order-2 { 
        /* order: unset; */
     }
}

/* =========================================================================
   16. ABSCHIEDSRAUM
   ========================================================================= */

.sw-abschiedsraum .section-heading  { margin-bottom: var(--space-2); }
.sw-abschiedsraum .section-subtitle { margin-bottom: var(--space-8); font-size: 18px; }

.sw-abschiedsraum__card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    /* box-shadow: var(--shadow-lg); */
    /* border: 1px solid var(--color-border); */
    background: var(--color-white);
    max-width: 72rem;
    margin: auto;
    padding-top: 30px;
}
@media (min-width: 768px) { .sw-abschiedsraum__card { grid-template-columns: 1fr 1fr;  } }

.sw-abschiedsraum__image { overflow: hidden; min-height: 400px; }
.sw-abschiedsraum__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.sw-abschiedsraum__body {
    background: var(--color-white);
    padding: var(--space-8) var(--space-8);
    display: flex; flex-direction: column; 
    /* justify-content: center; */
}
.sw-abschiedsraum__card-heading { font-size: 1.5rem; font-weight: 500; margin-bottom: var(--space-6); }
.sw-abschiedsraum__body p { color: #364049cc; margin-bottom: var(--space-4); font-size: 18px; }

/* =========================================================================
   17. CARDS (generic)
   ========================================================================= */

.sw-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.sw-card:hover { box-shadow: var(--shadow-md); }

.sw-card__image-wrap { overflow: hidden; aspect-ratio: 4/3; }
.sw-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sw-card:hover .sw-card__image-wrap img { transform: scale(1.03); }

.sw-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; text-align: center;}
.sw-card__title { font-size: 20px; font-weight: 600; margin-bottom: var(--space-3); }
.sw-card__text {color: #364049b3; font-size: 16px; flex: 1;
    margin-bottom: var(--space-4);
}
/* =========================================================================
   18. BESTATTUNGSARTEN CARDS GRID
   ========================================================================= */

.sw-bestattungsarten-cards .sw-bestattungsarten-cards__heading { margin-bottom: var(--space-12); }

.sw-bestattungsarten-cards__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}
@media (min-width: 640px)  { .sw-bestattungsarten-cards__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-bestattungsarten-cards__grid { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================================
   19. NEWS GRID
   ========================================================================= */

.sw-aktuelles-grid__heading { margin-bottom: var(--space-12); }

.sw-aktuelles-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 640px)  { .sw-aktuelles-grid__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-aktuelles-grid__grid { grid-template-columns: repeat(3, 1fr); } }

.sw-news-card .sw-news-card__image-wrap { aspect-ratio: 16/9; }

.sw-news-card__date { display: flex; align-items: center; gap: var(--space-2); font-size: 0.8rem; color: var(--color-muted-fg); margin-bottom: var(--space-2); }
.sw-news-card__title { font-size: 18px; font-weight: 600; margin-bottom: var(--space-3); text-align: left;}
.sw-news-card__link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 16px; color: var(--color-accent); font-weight: 600; }
.sw-news-card__link:hover { opacity: 0.8; }


.sw-news-card--all {
    background: hsl(220deg 30% 70% / 0%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 4px dashed #d3d9de;
}
.sw-news-card--all__inner { text-align: center; padding: var(--space-8); }
.sw-news-card--all__inner p { margin-bottom: var(--space-6); font-size: 16px; color: var(--color-fg); }

/* =========================================================================
   20. CTA PHONE
   ========================================================================= */

.sw-cta-phone { background: white; }

/* --muted: light gray bg, dark text, primary buttons (Über uns, Mitarbeiter footer) */
.sw-cta-phone.sw-cta-phone--muted { background: hsl(210, 15%, 93%); }
.sw-cta-phone.sw-cta-phone--muted .sw-cta-phone__heading { color: var(--color-fg); }
.sw-cta-phone.sw-cta-phone--muted .sw-cta-phone__text    { color: var(--color-muted-fg); opacity: 1; }

/* --simple: light page bg, smaller heading, single button (bestattungsart "Haben Sie Fragen dazu") */
.sw-cta-phone.sw-cta-phone--simple { background: var(--color-bg); padding-block: var(--space-12); }
.sw-cta-phone.sw-cta-phone--simple .sw-cta-phone__heading { color: var(--color-fg); font-size: clamp(1.5rem, 3vw, 2rem); }
.sw-cta-phone.sw-cta-phone--simple .sw-cta-phone__text    { color: var(--color-muted-fg); opacity: 1; font-size: 1.05rem; }

/* --card: white outer section, inner primary card with shadow, white text inside (bestattungsart bottom CTA) */
.sw-cta-phone.sw-cta-phone--card { background: var(--color-white); padding-block: var(--space-16); }
.sw-cta-phone.sw-cta-phone--card .sw-cta-phone__card {
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius);
    padding: var(--space-12) var(--space-8);
    box-shadow: var(--shadow-lg);
    max-width: 64rem;
    margin-inline: auto;
    border-radius: 10px;
}
.sw-cta-phone.sw-cta-phone--card .sw-cta-phone__heading { color: white; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.sw-cta-phone.sw-cta-phone--card .sw-cta-phone__text    { color: rgba(255,255,255,0.9); opacity: 1; font-size: 1.25rem; }
.sw-cta-phone__card {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
    background: #9cabc7;
    padding: 40px;
    border-radius: 10px;
}.sw-cta-phone__heading { font-size: 36px; font-weight: 700; margin-bottom: var(--space-4); color: white; }
.sw-cta-phone__text {
    margin-bottom: var(--space-8);
    font-size: 20px;
    color: white;
    max-width: 50rem;
    margin: 0px auto 20px;
}
.sw-cta-phone__buttons { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* =========================================================================
   21. WERTE GRID (icon cards)
   ========================================================================= */

.sw-werte-grid__heading { margin-bottom: 20px; font-size: 30px; }
.sw-werte-grid__intro   { max-width: 46rem; margin-inline: auto; margin-bottom: var(--space-12); text-align: center; color: var(--color-muted-fg); font-size: 1rem; line-height: 1.7; }

.sw-werte-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 640px)  { .sw-werte-grid__grid--cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .sw-werte-grid__grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
                              .sw-werte-grid__grid--cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-werte-grid__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
                              .sw-werte-grid__grid--cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* React source: Card bg-card border-border/40 p-6, icon w-12 h-12 top-left */
.sw-werte-card {
    text-align: left;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-6);
}

/* Bestattungsart variant: light gray bg, white icon-circle (primary tinted),
   primary-color title, centered alignment, no border, subtle shadow.
   React: bg-background p-6 rounded-lg shadow-md border + w-16 h-16 bg-primary/10 rounded-full */
.sw-werte-grid--bestattungsart .sw-werte-card {
    text-align: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
}
.sw-werte-grid--bestattungsart .sw-werte-card__icon-wrap {
    width: 4rem;
    height: 4rem;
    background: hsl(220 30% 70% / 0.15);
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    display: flex; align-items: center; justify-content: center;
}
.sw-werte-grid--bestattungsart .sw-werte-card__icon { width: 2rem; height: 2rem; }
.sw-werte-grid--bestattungsart .sw-werte-card__title { color: var(--color-primary); text-align: center; font-size: 1.25rem; }
.sw-werte-grid--bestattungsart .sw-werte-card__text  { text-align: center; }
.sw-werte-card__icon-wrap {
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 0 var(--space-4) 0;
    color: var(--color-primary);
}
.sw-werte-card__icon { width: 2.5rem; height: 2.5rem; object-fit: contain; filter: invert(44%) sepia(37%) saturate(342%) hue-rotate(171deg) brightness(92%) contrast(88%); }
.sw-werte-card__title { font-size: 20px; font-weight: 600; margin-bottom: var(--space-3); }
.sw-werte-card__text  { font-size: 16px; color: var(--color-muted-fg); line-height: 1.65; }

/* =========================================================================
   22. TEAM GRID
   ========================================================================= */

.sw-team-grid__heading { margin-bottom: 24px; font-size: 30px; }
.sw-team-grid__intro   { max-width: 65ch; margin-inline: auto; margin-bottom: var(--space-12); text-align: center;}


.sw-team-grid__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}
@media (min-width: 640px)  { .sw-team-grid__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-team-grid__grid {
    grid-template-columns: repeat(3, 1fr);
    margin: auto;
} }

.sw-team-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; }
.sw-team-card--memorial { border: none; box-shadow: 0 0 20px hsl(210 30% 45% / 0.15); }

/* React: w-48 h-64 (12rem x 16rem) portrait, rounded-lg, centered in card */

.sw-team-card__photo-wrap {
    width: 12rem;
    height: 16rem;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 21px auto 0px;
}
.sw-team-card__photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.sw-team-card__body { padding: var(--space-6); }
.sw-team-card__name { font-size: 20px; font-weight: 500; margin-bottom: var(--space-2); }

.sw-team-card__role { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: var(--space-1); }
.sw-team-card__role--memorial { font-style: italic; font-size: 0.8rem; }

/* =========================================================================
   23. TEAM INTRO IMAGE
   ========================================================================= */

.sw-team-intro-image__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}
@media (min-width: 1024px) { .sw-team-intro-image__grid { grid-template-columns: 1fr 1fr; } }

/* Image-left variant (Bestattungsart Persönliche Betreuung sections) */
.sw-team-intro-image__grid--image-left .sw-team-intro-image__text  { order: 2; }
.sw-team-intro-image__grid--image-left .sw-team-intro-image__image { order: 1; }

/* Checkmark list inside team-intro-image content (Erdbestattung etc) */
.sw-team-intro-image .sw-checkmark-list {
    list-style: none;
    padding-left: 0;
    margin-top: var(--space-6);
}
.sw-team-intro-image .sw-checkmark-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--space-3);
    color: var(--color-fg);
    line-height: 1.6;
}
.sw-team-intro-image .sw-checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.sw-team-intro-image__heading { font-size: 30px; font-weight: 700; margin-bottom: var(--space-6); }
.sw-team-intro-image__image figure { position: relative; }
.sw-team-intro-image__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.sw-team-intro-image__image figcaption { font-size: 14px; color: var(--color-muted-fg); margin-top: var(--space-2); text-align: center; }

/* =========================================================================
   24. CTA COLORED BLOCK
   ========================================================================= */

.sw-cta-colored-block { background: #9cabc9; }
.sw-cta-colored-block__inner { max-width: none; padding: var(--space-4) var(--space-8); text-align: center; }
.sw-cta-colored-block__heading { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: var(--space-6); color: #ffffff !important; }
.sw-cta-colored-block .sw-prose p,
.sw-cta-colored-block .sw-prose--invert p,
.sw-cta-colored-block p { color: rgba(255, 255, 255, 0.9) !important; margin-bottom: var(--space-4); font-size: 1.05rem; line-height: 1.75; }
.sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 18px;
    color: #364049cc;
}

.sw-prose-text .sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 16px !important;
    color: #364049cc;
}

/* =========================================================================
   25. LEISTUNGEN 3COL
   ========================================================================= */

.sw-leistungen-3col__header { text-align: center; margin-bottom: var(--space-16); }

.sw-leistungen-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
}
@media (min-width: 1024px) {
    .sw-leistungen-block { grid-template-columns: 1fr 1fr; }
    .sw-leistungen-block--image-left .sw-leistungen-block__text { order: 2; }
    .sw-leistungen-block--image-left .sw-leistungen-block__image { order: 1; }
}

.sw-leistungen-block__label { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.sw-leistungen-block__icon-wrap { width: 3rem; height: 3rem; background: hsl(210 30% 70% / 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sw-leistungen-block__icon { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.sw-leistungen-block__heading { font-size: 1.5rem; font-weight: 700; }
.sw-leistungen-block__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* =========================================================================
   26. LEISTUNGEN OVERVIEW (primary card)
   ========================================================================= */

.sw-leistungen-overview__card {
    background: var(--color-primary);
    border-radius: var(--radius);
    padding: var(--space-12);
}
.sw-leistungen-overview__heading { font-size: 30px; font-weight: 700; margin-bottom: 20px; text-align: center; color: white; }
.sw-leistungen-overview__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 1024px) { .sw-leistungen-overview__cols { grid-template-columns: repeat(3, 1fr); } }

.sw-leistungen-overview__col-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
    color: white;
}
.sw-leistungen-overview__col ul { padding-left: 0; }
.sw-leistungen-overview__col li {
    font-size: 14px;
    color: white;
}.sw-leistungen-overview__col li::before { content: ". "; font-weight: 700; color: white; }

/* =========================================================================
   27. PARTNER BLOCK
   ========================================================================= */

.sw-partner-block__inner { text-align: center; }
.sw-partner-block__heading { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--space-4); }
.sw-partner-block__text    { color: var(--color-muted-fg); margin-bottom: var(--space-6); }
.sw-partner-block__links   { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

.sw-partner-block__badge {
    display: inline-flex; align-items: center; gap: var(--space-3);
    padding: 0.75rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.sw-partner-block__badge:hover { box-shadow: var(--shadow-md); opacity: 1; }
.sw-partner-block__name { font-weight: 500; font-size: 16px; }
.sw-partner-block__desc { color: var(--color-muted-fg); font-size: 16px; }

/* =========================================================================
   28. VORSORGE NAV PILLS
   ========================================================================= */

.sw-vorsorge-nav { background: var(--color-muted); padding-block: var(--space-8); }
.sw-vorsorge-nav__pills { display: flex; flex-direction: column; gap: var(--space-4); align-items: center; }
@media (min-width: 768px) { .sw-vorsorge-nav__pills { flex-direction: row; justify-content: center; } }

.sw-vorsorge-nav__pill {
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: hsl(210 30% 70% / 0.15);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    color: var(--color-fg);
    min-width: 220px;
}
.sw-vorsorge-nav__pill:hover { background: hsl(210 30% 70% / 0.3); opacity: 1; }

/* =========================================================================
   29. VORSORGE SECTIONS
   ========================================================================= */

.sw-vorsorge-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
    max-width: 1024px;
    margin-inline: auto;
}
@media (min-width: 1024px) {
    .sw-vorsorge-section__grid { grid-template-columns: 1fr 1fr; }
    .sw-vorsorge-section__grid--img-left .sw-vorsorge-section__text { order: 2; }
    .sw-vorsorge-section__grid--img-left .sw-vorsorge-section__image { order: 1; }
}
.sw-vorsorge-section__heading { font-size: 30px; font-weight: 700; margin-bottom: var(--space-6); }
.sw-vorsorge-section__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* =========================================================================
   30. VORSORGE PARTNER
   ========================================================================= */

.sw-vorsorge-partner__inner { max-width: 56rem; margin-inline: auto; text-align: center; }
.sw-vorsorge-partner__heading { font-size: 1.75rem; font-weight: 700; margin-bottom: var(--space-4); }
.sw-vorsorge-partner__intro {
    color: var(--color-muted-fg);
    margin-bottom: var(--space-8);
    font-size: 16px;
    text-align: left;
}
.sw-vorsorge-partner__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}
@media (min-width: 640px) { .sw-vorsorge-partner__grid { grid-template-columns: repeat(2, 1fr); } }

.sw-partner-card { background: var(--color-muted); border-radius: var(--radius); padding: var(--space-6); text-align: left; }
.sw-partner-card__title { font-weight: 600; margin-bottom: var(--space-3); font-size: 16px; }
.sw-partner-card p { color: var(--color-muted-fg); font-size: 0.9rem; margin-bottom: var(--space-4); }

/* =========================================================================
   31. ABLAUF STEPS
   ========================================================================= */

.sw-ablauf-steps__header { text-align: center; margin-bottom: var(--space-12); }

.sw-ablauf-steps__list { max-width: 56rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0; }

.sw-ablauf-step {
    display: flex; gap: var(--space-6);
    padding-bottom: var(--space-8);
    position: relative;
}

/* Vertical connector line */
.sw-ablauf-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(1.25rem - 1px);
    top: 2.5rem;
    bottom: 0;
    width: 0px;
    background: var(--color-border);
}

.sw-ablauf-step__number {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-fg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sw-ablauf-step__body { flex: 1; padding-top: 0; }
.sw-ablauf-step__title { font-size: 20px; font-weight: 600; margin-bottom: var(--space-2); }
.sw-ablauf-step p { color: var(--color-muted-fg); }

/* =========================================================================
   32. FAQ
   ========================================================================= */

.sw-faq__header { text-align: center; margin-bottom: var(--space-12); }

.sw-faq__list { max-width: 56rem; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-6); }

.sw-faq__item { background: var(--color-white); border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.sw-faq__question { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--space-3); }
.sw-faq__answer   { color: var(--color-muted-fg); font-size: 0.9375rem; }

/* =========================================================================
   33. TRAUERGRUPPEN HERO
   ========================================================================= */

.sw-trauergruppen-hero {
    background: var(--color-primary);
    padding: var(--space-12) 0 var(--space-16);
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(var(--header-height) + var(--space-12));
    text-align: center;
    overflow: hidden;
}
.sw-trauergruppen-hero__inner { max-width: 56rem; margin-inline: auto; }
.sw-trauergruppen-hero__icon  { width: 5rem; height: 5rem; margin: 0 auto var(--space-4); object-fit: contain; }
.sw-trauergruppen-hero__quote { font-style: italic; font-size: 1.1rem; margin-bottom: var(--space-2); color: white; }
.sw-trauergruppen-hero__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: var(--space-4); }
.sw-trauergruppen-hero__motto {
    font-size: 20px;
    /* opacity: 0.75; */
    color: white;
}
/* =========================================================================
   34. TRAUERGRUPPEN INTRO
   ========================================================================= */

.sw-trauergruppen-intro__inner { max-width: 56rem; margin-inline: auto; }
.sw-trauergruppen-intro__heading { margin-bottom: 10px; font-size: 36px;}
.sw-trauergruppen-intro__inner p { color: var(--color-muted-fg); margin-bottom: var(--space-4); font-size: 18px; line-height: 1.7; max-width: 48rem;
    margin: auto;}

/* =========================================================================
   35. TRAUERGRUPPEN CARDS
   ========================================================================= */

.sw-trauergruppen__heading { margin-bottom: 24px; }
.sw-trauergruppen__list { display: flex; flex-direction: column; gap: var(--space-8); max-width: 64rem; margin-inline: auto; }

.sw-trauergruppe-card { background: var(--color-white); border-radius: var(--radius); padding: var(--space-8); box-shadow: var(--shadow-sm); }
.sw-trauergruppe-card__header { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); color: var(--color-accent); }
.sw-trauergruppe-card__title  { font-size: 24px; font-weight: 600; color: var(--color-fg); line-height: 32px; }
.sw-trauergruppe-card__text   { color: var(--color-muted-fg); margin-bottom: var(--space-6); line-height: 1.7; }

.sw-trauergruppe-card__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #9cabc90d;
    border: 1px solid #9cabc933;
    padding: 20px;
    border-radius: 10px;
}
.sw-trauergruppe-card__detail { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 0.9rem; color: var(--color-muted-fg); }
.sw-trauergruppe-card__detail svg { flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }

/* =========================================================================
   36. TRAUERGRUPPEN CTA
   ========================================================================= */

   .sw-trauergruppen-cta {
    background: #9cabc90d;
    /* border: 1px solid var(--color-border); */
    border-radius: var(--radius);
    margin: 0 auto;
    /* max-width: 48rem; */
}
.sw-trauergruppen-cta__inner  { text-align: center; }
.sw-trauergruppen-cta__icon   { color: var(--color-accent); margin: 0 auto var(--space-4); }
.sw-trauergruppen-cta__heading{ font-size: 30px; font-weight: 700; margin-bottom: var(--space-4); }
.sw-trauergruppen-cta__buttons{ display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-6); }

/* =========================================================================
   37. STANDORTE CARDS
   ========================================================================= */

.sw-standorte-cards__header { text-align: center; margin-bottom: var(--space-12); }

.sw-standorte-cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 56rem;
    margin-inline: auto;
}
@media (min-width: 640px) { .sw-standorte-cards__grid { grid-template-columns: repeat(2, 1fr); } }

.sw-standort-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.sw-standort-card__image { height: 12rem; overflow: hidden; }
.sw-standort-card__image img { width: 100%; height: 100%; object-fit: cover; }
.sw-standort-card__body   { padding: var(--space-6); flex: 1; }
.sw-standort-card__title  { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-3); }
.sw-standort-card__desc   { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: var(--space-4); }

.sw-standort-card__details { display: flex; flex-direction: column; gap: var(--space-2); }
.sw-standort-card__detail  { display: flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; color: var(--color-muted-fg); }
.sw-standort-card__detail svg { color: var(--color-accent); flex-shrink: 0; }
.sw-standort-card__phone   { font-weight: 600; color: var(--color-fg); }

/* =========================================================================
   38. RICH TEXT / PHILOSOPHY
   ========================================================================= */

.sw-rich-text .sw-prose { padding-inline: 0; }

/* Philosophy text — base wrapper */
.sw-philosophy-text__inner { width: 100%; }

/* Card variant (Über uns Philosophie) — full-width white card */
.sw-philosophy-text__inner--card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-12);
}
@media (max-width: 768px) {
    .sw-philosophy-text__inner--card { padding: var(--space-8) var(--space-6); }
}

/* Plain variant (Im Trauerfall) — no card, just centered text */
.sw-philosophy-text__inner--plain {
    max-width: 56rem;
    margin-inline: auto;
}

.sw-philosophy-text__heading { font-size: 30px; font-weight: 700; margin-bottom: var(--space-6); }
.sw-philosophy-text__prose   { color: var(--color-muted-fg); max-width: 56rem; margin-inline: auto; }
.sw-philosophy-text__prose p { margin-bottom: var(--space-4); font-size: 16px; line-height: 1.75; }

/* =========================================================================
   39. CONTACT SECTION
   ========================================================================= */

.sw-contact-section { background: var(--color-bg); }
.sw-contact-section__heading  { margin-bottom: var(--space-8); }
.sw-contact-section__notice   { text-align: center; color: var(--color-muted-fg); padding: var(--space-8); }

/* =========================================================================
   40. BESTATTUNGSART DETAIL
   ========================================================================= */

.sw-bestattungsart-detail__heading { margin-bottom: var(--space-8); }
.sw-prose--wide { max-width: 56rem; margin-inline: auto; color: var(--color-muted-fg); }
.sw-prose--wide p { margin-bottom: var(--space-4); font-size: 1.05rem; line-height: 1.75; }

/* =========================================================================
   41. BEISETZUNGSARTEN TEXT CARDS
   ========================================================================= */

.sw-beisetzungsarten__header { text-align: center; margin-bottom: var(--space-12); }

.sw-beisetzungsarten__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}
@media (min-width: 640px)  {     
    .sw-beisetzungsarten__grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
    width: 56rem;
    margin: auto;
}
}
@media (min-width: 768px)  { .sw-beisetzungsarten__grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sw-beisetzungsarten__grid--cols-4 { grid-template-columns: repeat(4, 1fr); } }

.sw-text-card { background: var(--color-white); border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.sw-text-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-3); color: var(--color-fg); }
.sw-text-card p { font-size: 1rem; color: var(--color-muted-fg); line-height: 1.65; margin-bottom: var(--space-4); }
.sw-text-card p:last-child { margin-bottom: 0; }
.sw-text-card__link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
}
.sw-text-card__link:hover { text-decoration: underline; }

/* Centered button row inside .sw-prose (used for inline "Mehr zur Vorsorge erfahren" button) */
.sw-prose__cta-row { text-align: center; margin-top: var(--space-8); margin-bottom: 0; }
.sw-prose__cta-row .btn { margin: 0 auto; }

/* =========================================================================
   42. BAUMWÄLDER GRID
   ========================================================================= */

.sw-baumwaelder-grid .section-heading  { margin-bottom: var(--space-4); }
.sw-baumwaelder-grid .section-subtitle { margin-bottom: var(--space-4); }
.sw-baumwaelder-grid__note { text-align: center; color: var(--color-muted-fg); font-size: 0.875rem; margin-bottom: var(--space-8); }

.sw-baumwaelder-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}
@media (min-width: 640px)  { .sw-baumwaelder-grid__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-baumwaelder-grid__grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================================
   43. KOSTEN CTA
   ========================================================================= */

.sw-kosten-cta { background: var(--color-primary); }
.sw-kosten-cta__inner { max-width: 52rem; margin-inline: auto; text-align: center; }
.sw-kosten-cta__inner h2 { font-size: 30px; font-weight: 700; margin-bottom: var(--space-6); color: #ffffff; }
.sw-kosten-cta__inner p  { color: rgba(255,255,255,0.9); margin-bottom: var(--space-8); font-size: 1.125rem; line-height: 1.7; }
.sw-kosten-cta__buttons  { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* =========================================================================
   44. LOCAL SEO PAGE
   ========================================================================= */

.sw-local-intro { padding-block: var(--space-12); }
.sw-local-leistungen, .sw-local-bestattungsarten, .sw-local-betreuung { padding-block: var(--space-16); }

.sw-local-bestattungsarten__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}
@media (min-width: 640px) { .sw-local-bestattungsarten__grid { grid-template-columns: repeat(2, 1fr); } }

.sw-local-betreuung__list { list-style: none; margin-top: var(--space-4); }
.sw-local-betreuung__list li { padding: var(--space-2) 0; padding-left: 1.5rem; position: relative; font-size: 0.9375rem; color: var(--color-muted-fg); }
.sw-local-betreuung__list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

.sw-local-vorsorge { background: var(--color-primary); padding-block: var(--space-12); }
.sw-local-vorsorge__inner { text-align: center; max-width: 40rem; margin-inline: auto; }
.sw-local-vorsorge__inner h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: var(--space-4); }
.sw-local-vorsorge__inner p  { color: var(--color-primary-fg); opacity: 0.85; margin-bottom: var(--space-6); }

/* =========================================================================
   45. GEDENKPORTAL FEATURES
   ========================================================================= */

.sw-gedenkportal-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 640px)  { .sw-gedenkportal-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sw-gedenkportal-features__grid { grid-template-columns: repeat(3, 1fr); } }

/* React: bg-white p-6 shadow-md card with w-12 h-12 bg-primary/10 rounded-full icon-circle, w-6 h-6 icon */
.sw-gedenkportal-features__grid .sw-werte-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-6);
    text-align: left;
}
.sw-gedenkportal-features__grid .sw-werte-card__icon-wrap {
    width: 3rem;
    height: 3rem;
    background: hsl(220 30% 70% / 0.15);
    border-radius: 50%;
    margin: 0 0 var(--space-4) 0;
    display: flex; align-items: center; justify-content: center;
}
.sw-gedenkportal-features__grid .sw-werte-card__icon { width: 1.5rem; height: 1.5rem; }
.sw-gedenkportal-features__grid .sw-werte-card__title { font-size: 1.25rem; font-weight: 600; color: var(--color-fg); margin-bottom: var(--space-3); }
.sw-gedenkportal-features__grid .sw-werte-card p { font-size: 1rem; color: var(--color-muted-fg); line-height: 1.65; }

/* =========================================================================
   46. QUOTE BLOCK
   ========================================================================= */

/* React: outer bg-white, inner Card bg-background p-8 md:p-12 border-l-4 border-primary */
.sw-quote-block__inner { max-width: 56rem; margin-inline: auto; }
.sw-quote-block__card {
    background: var(--color-bg);
    border-left: 4px solid #9cabc9;
    padding: 48px;
    border-radius: 10px;
    border-top: 1px solid #9cabc9;
    border-bottom: 1px solid #9cabc9;
    border-right: 1px solid #9cabc9;
}
@media (max-width: 768px) { .sw-quote-block__card { padding: var(--space-8) var(--space-6); } }
.sw-quote-block__quote       { font-style: italic; font-size: 1.25rem; line-height: 30px; margin-bottom: var(--space-6); color: #364049cc; margin-top: 0; }
.sw-quote-block__attribution { font-size: 1rem; color: var(--color-muted-fg); margin: 0; }

/* =========================================================================
   47. GEDENKPORTAL CTA
   ========================================================================= */

.sw-gedenkportal-cta__inner { text-align: center; max-width: 48rem; margin-inline: auto; }
.sw-gedenkportal-cta__heading { margin-bottom: var(--space-4); }
.sw-gedenkportal-cta__text {
    color: #364049cc;
    margin-bottom: var(--space-8);
    font-size: 18px;
}
/* =========================================================================
   48. LOCATIONS SECTION (footer area)
   ========================================================================= */

.sw-locations { background: var(--color-muted); padding-block: var(--space-12); }
.sw-locations__header { text-align: center; margin-bottom: var(--space-8); }
.sw-locations__heading { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--space-2); }
.sw-locations__subtitle { color: var(--color-muted-fg); }

.sw-locations__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 56rem;
    margin-inline: auto;
}
@media (min-width: 640px) {
    
    .sw-locations__grid { 
        
        grid-template-columns: repeat(2, 1fr);
        max-width: 64rem;
        margin: auto;
    
    }
}

.sw-locations__card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.sw-locations__card-image-wrap { height: 12rem; overflow: hidden; }
.sw-locations__card-img { width: 100%; height: 100%; object-fit: cover; object-position:top;}
.sw-locations__card-img--top { object-position: top; }
.sw-locations__card-body  { padding: var(--space-6); flex: 1; }
.sw-locations__card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--space-3); }
.sw-locations__card-desc  { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: var(--space-4); }
.sw-locations__card-details { display: flex; flex-direction: column; gap: var(--space-2); }
.sw-locations__detail { display: flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; color: var(--color-muted-fg); transition: var(--transition); }
.sw-locations__detail:hover { color: var(--color-fg); opacity: 1; }
.sw-locations__detail svg { color: var(--color-accent); flex-shrink: 0; }
.sw-locations__phone { font-weight: 400; color: #67737e; }

/* =========================================================================
   49. FOOTER
   ========================================================================= */

.sw-footer { background: var(--color-primary); border-top: 1px solid rgba(0,0,0,0.08); padding-block: var(--space-12); }

.sw-footer__logo-wrap { display: flex; justify-content: center; margin-bottom: var(--space-8); }
.sw-footer__logo { height: 5rem; }

.sw-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-8);
}
@media (min-width: 768px) { .sw-footer__grid { grid-template-columns: repeat(3, 1fr); } }

.sw-footer__col-title { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--space-4); }

.sw-footer__contact-list { display: flex; flex-direction: column; gap: var(--space-3); }
.sw-footer__contact-item { display: flex; align-items: flex-start; gap: var(--space-3); color: var(--color-fg); opacity: 0.8; font-size: 0.9rem; transition: var(--transition); }
.sw-footer__contact-item:hover { opacity: 1; }
.sw-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; }

.sw-footer__col p { color: var(--color-fg); opacity: 0.8; font-size: 0.9rem; margin-bottom: var(--space-2); }
.sw-footer__fax   { font-size: 0.8rem; opacity: 0.65; }

.sw-footer__certs { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); }
.sw-footer__cert-logo { height: 4rem; object-fit: contain; }

.sw-footer__divider { border: none; border-top: 1px solid rgba(0,0,0,0.15); margin-block: var(--space-8); }

.sw-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    font-size: 0.875rem;
    color: var(--color-fg);
    opacity: 0.7;
}
@media (min-width: 768px) { .sw-footer__bottom { flex-direction: row; justify-content: space-between; } }

.sw-footer__legal-nav { display: flex; gap: var(--space-4); }
.sw-footer__legal-nav a { color: var(--color-fg); opacity: 0.7; font-size: 0.875rem; }
.sw-footer__legal-nav a:hover { opacity: 1; }

/* =========================================================================
   50. VORSORGE PARTNER CARD (standalone sw_vorsorge_partner layout)
   ========================================================================= */

   .sw-vorsorge-partner__grid .sw-partner-card {
    text-align: left;
    background: #e8ebee4d;
    border: 1px solid #9cabc9;
}

/* =========================================================================
   51. PRINT STYLES
   ========================================================================= */

@media print {
    .sw-header, .sw-sticky-desktop, .sw-sticky-mobile, .sw-footer, .sw-locations { display: none !important; }
    body { padding: 0 !important; }
}


/* ============ font size ============== */


.main-section-heading .section-heading{
    font-size: 30px;
}


/* =========== truaff page ========= */

h2.section-heading.abluaf-heading {
    font-size: 30px;
    margin-bottom: 10px;
}

section.sw-werte-grid.bg-background {
    padding-top: 0px;
}

.sw-checklist__heading {
    margin-bottom: var(--space-4);
    font-size: 30px;
    line-height: 38px;
}


section.sw-cta-phone.trauff-cta-phone {
    background: #e2e6e900;
    padding-top: 30px;
}

.sw-cta-phone-heading .sw-cta-phone__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: #364049 !important;
}

.sw-cta-phone-text-update .sw-cta-phone__text {
    font-size: 16px !important;
    color: #67737E !important;

}
.trauff-phone-card .sw-cta-phone__card {
    background: #9cabc700 !important;
 
}


.sw-trauerall-head h2.sw-cta-phone__heading{
    font-size: 30px !important;
}


/* common button */


.grey-btn .btn--secondary {
    background: #9CABC9 !important;
    color: #364049 !important;
    border: 0px !important;
    font-weight: 600;
    font-size: 14px;
}



/* Unserer page */

.uberunse-text-heading .sw-image-text__heading {
    font-size: 30px !important;
    font-weight: 700;
    margin-bottom: var(--space-6);
}

.uberunse-grid-text .sw-image-text__grid {
    width: auto !important;
}

.uberunse-prose-text .sw-prose p {
    font-size: 16px !important;
}
.uberunse-werte .sw-werte-grid__heading {
 
margin-bottom: 30px !important;
}

section.sw-cta-colored-block.uberunse-sw-prose.uberunse-colored-block-cta {
    background-color: #e2e6e9 !important
}

.uberunse-colored-cta-block .sw-cta-colored-block__inner {
    background: #9cabc9 !important;
    border-radius: 10px;
    padding: 40px;
}

.uberunse-sw-prose .sw-prose--invert {
    max-width: 60rem;
    color: var(--color-muted-fg);
    margin: auto;
    text-align: left;
}


.sw-abschiedsraum__card-heading-text .sw-abschiedsraum__card-heading {
    font-size: 30px;
    font-weight: 700 !important;
    margin-bottom: var(--space-6);
}

.se-abschiednm-p .sw-abschiedsraum__body p {
font-size: 16px;

}

.sw-abschied-cards .sw-abschiedsraum__card {
    box-shadow: var(--shadow-lg) !important;
    background: var(--color-white);
    max-width: 72rem;
    margin: auto;
    padding-top: 0px;
}


.sw-abchied-grid-crads .sw-abschiedsraum__card {
    box-shadow: var(--shadow-lg) !important;
    background: var(--color-white);
    max-width: 100% !important;
    margin: auto;
    padding-top: 0px;
}



.sw-abschied__body .sw-abschiedsraum__body {
    padding: 48px !important;
    justify-content: center !important;
}

section.sw-abschiedsraum.bg-white.sw-abschiedsraum__card-heading-text.se-abschiednm-p.sw-abschied-cards.sw-abschied__body {
    background: #e2e6e900;
}


/* unser mile page */

section.sw-cta-colored-block.uberunse-sw-prose {
    background: #e2e6e900;
    padding-top: 0px;
}


.sw-cta-colored--inerbox .sw-cta-colored-block__inner {
    background: #9cabc7 !important;
    padding: 40px !important;
    border-radius: 10px;
}

.unsere-sw-invert-prose .sw-prose--invert {
    text-align: center;
}

.sw-prose-text .sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 16px !important;
    color: #364049cc;
}


h2.section-heading.new-head {
    font-size: 30px;
    margin-bottom: 10px;
}

p.section-subtitle.sw-leistugen {
    font-size: 18px;
}

section.sw-partner-block {
    padding-top: 0px;
}

/* gedeno page */


.sw-gedenkportal-features__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 72rem;
    margin: auto;
}

h2.section-heading.gedenkportal {
    font-size: 30px;
}


.sw-abluaff-divider .sw-ablauf-step__number{
    color: white !important;
}


.sw-abluaff-divider .sw-ablauf-step:not(:last-child)::after {
    width: 0;

}

.gedenkportal-cta-heading .sw-cta-phone__heading {
    font-size: 30px;
}

p.sw-trauergruppen-cta__text {
    font-size: 18px;
}

.vorgoue-btn .btn--primary {
    color: white !important;
    font-size: 16px;
}


.vorgoue-btn-outline .btn--outline {
    background: #ffffff;
    color: #364049;
    font-weight: 400;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 16px;
    border: 1px solid #9cabc9;
}
.btn--outline:hover { background: #f5f3f3; color: #507395; opacity: 1; }

/* h2.sw-bestattungsart-detail__heading.section-heading {
    text-align: left;
} */


.vorsouge-second-sec .sw-werte-card__icon-wrap {
    width: 3rem !important;
    height: 3rem !important;
    background: #9cabc91a !important;
    padding: 10px !important;
    border-radius: 50%;
}


.herbolzheim-new-sec .sw-bestattungsart-detail__heading {
    font-size: 30px !important;
    line-height: 36px !important;
    width: 56rem;
    margin: 30px auto;
    text-align: left !important;
}


.vorsouge-text-sec .sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 16px !important;
    color: #364049cc;
}

.sw-hero-colored__title {
    font-size: 48px;
    line-height: 46px;
}

.sw-trauergruppen-hero__title {

    color: white;

}


.vorsouoge-second-sec .sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 16px !important;
    color: #364049cc;
}




/* ==================== mobile responsivness ================ */

@media screen and (max-width: 600px) {
 
    
.sw-hero__heading {
    font-size: 41px;
    line-height: 50px;
}

.sw-hero {
    position: relative;
    min-height: 42rem;
}
.sw-trauerfall-steps .sw-trauerfall-steps__heading {
    font-size: 30px;
    line-height: 38px;
}
.sw-trauerfall-steps__number {
    width: 3rem;
    height: 3rem;
}
.sw-memorial-card__heading {
    font-size: 24px;
    line-height: 30px;
}
.sw-image-text__heading {
    font-size: 30px;
    margin-bottom: 19px;
}

.sw-abschiedsraum .section-heading {
    margin-bottom: var(--space-2);
    font-size: 30px;
    line-height: 38px;
}
.sw-abschiedsraum__body {
    padding: 30px 0px;

}
.sw-abschiedsraum__card {
    padding-top: 0px;
}
.sw-gedenkportal-cta__heading {
    font-size: 30px;
}
.sw-bestattungsarten-cards .sw-bestattungsarten-cards__heading {
    margin-bottom: var(--space-12);
    font-size: 30px;
}
.sw-aktuelles-grid__heading{
    font-size: 30px;
}
.sw-cta-phone__heading {
    font-size: 30px;
}
.sw-cta-phone__card {
    border-radius: 10px;
}
.btn--secondary {
    width: 100%;
    justify-content: center;
}
.sw-cta-phone__text {
    font-size: 18px;
}
.sw-werte-grid__heading {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 40px;
}
.sw-kosten-cta__inner h2 {
    line-height: 36px;
}
.btn {
width: 100%;
justify-content: center;
padding: 12px 1.5rem;
}
.sw-cta-phone__card {
    padding: 30px;
    border-radius: 10px;
}
.uberunse-text-heading .sw-image-text__heading {
    line-height: 36px;
}
.sw-philosophy-text__heading {
    line-height: 38px;
}
.sw-philosophy-text__inner--card {
    padding: 32px;
}
.sw-cta-colored-block__heading {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: #ffffff !important;
    line-height: 38px;
}
.uberunse-colored-cta-block .sw-cta-colored-block__inner {
    background: #9cabc9 !important;
    border-radius: 10px;
    padding: 30px;
}

.sw-abschied__body .sw-abschiedsraum__body {
    padding: 24px !important;
    justify-content: center !important;
}
section.sw-abschiedsraum.bg-white.sw-abschiedsraum__card-heading-text.se-abschiednm-p.sw-abschied-cards.sw-abschied__body {
    background: #e2e6e900;
    padding-top: 0px;
}
section.sw-team-grid {
    padding-top: 0px;
}
.sw-trauerall-head h2.sw-cta-phone__heading {
    font-size: 30px !important;
    line-height: 40px;
}

.sw-team-intro-image__heading {
    font-size: 30px;
    line-height: 40px;
}
.sw-team-grid__heading {
    margin-bottom: 26px;
    font-size: 30px;
}
.sw-cta-colored--inerbox .sw-cta-colored-block__inner {
    background: #9cabc7 !important;
    padding: 30px !important;
    border-radius: 10px;
}
.sw-cta-colored-block .sw-prose p, .sw-cta-colored-block .sw-prose--invert p, .sw-cta-colored-block p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--space-4);
    font-size: 16px;
    line-height: 24px;
}
.sw-prose p {
    margin-bottom: var(--space-4);
    font-size: 16px;
    color: #364049cc;
}
section.sw-leistungen-overview {
    padding-top: 0px;
}

.sw-leistungen-overview__card {
    padding: 32px;
}
.sw-leistungen-overview__heading {
    line-height: 40px;
}
.sw-partner-block__badge {
    padding: 9px;
}
.sw-gedenkportal-features__grid {
    grid-template-columns: 1fr;
}
h2.section-heading.gedenkportal {
    font-size: 30px;
    line-height: 39px;
}
h2.section-heading.abluaf-heading {
    font-size: 30px;
    margin-bottom: 10px;
    line-height: 40px;
}
.sw-trauergruppen-intro__heading {
    font-size: 30px;
}

h2.sw-trauergruppen__heading.section-heading {
    font-size: 30px;
    line-height: 40px;
}
.sw-trauergruppen-cta__heading {
    font-size: 24px;
}
.sw-trauergruppen__heading {
    margin-bottom: 50px;
}
.herbolzheim_cta_sec h2 {
    font-size: 30px;
    line-height: 34px;
}
.herbolzheim_seventh_sec h3.sw-faq__question {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
}
.herbolzheim-new-sec .sw-bestattungsart-detail__heading {
    font-size: 30px !important;
    width: 100%;
}
.sw-vorsorge-section__heading {
    line-height: 30px;
}
.sw-prose .award-card {
    width: 100%;
}

.herbolzheim_sec_sec h2 {
    width: 100% !important;
}
.herbolzheim_first_sec h1 {
    font-size: 36px;
    line-height: 40px;
}
.herbolzheim_fourth_sec h2 {
    font-size: 24px;
}
.feuerbestattung_sixth_sec .sw-beisetzungsarten__grid.sw-beisetzungsarten__grid--cols-2 {
    width: 100%;
    margin: auto;
}
.feuerbestattung_sixth_sec .sw-baumwaelder-grid__grid {
    width: auto;
    margin: auto;
    grid-template-columns: 1fr;
}
.feuerbestattung_sixth_sec h3.sw-text-card__title {
    font-weight: 600;
    line-height: 30px;
}
.diamantbestattung_grid_sec .sw-wissenschaft-grid__grid {
    grid-template-columns: 1fr;
    margin: 0;
}
.herbolzheim_fourth_sec .sw-beisetzungsarten__grid {
    width: 100%;
    margin: auto;
}
.sw-hero-colored__title {
    font-size: 36px;
    line-height: 46px;
}
.sw-trauergruppen-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 40px;
}
}


/* ================================ tab ================================================= */

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .sw-trauerfall-steps__grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin: auto;
    }
    .sw-hero__heading {
        font-size: 70px;
        padding-top: 130px;
        line-height: 74px;
    }
    .sw-hero {
        position: relative;
        min-height: 56rem;
        overflow: hidden;
    }
    .sw-hero__tagline {
        font-size: 30px;
    }
    .sw-image-text__text.sw-image-text__text--order-1 {
        text-align: left;
        margin: auto;
    }
    .sw-abschiedsraum .section-heading {
        font-size: 36px;
    }
    .sw-abschiedsraum__image img {
        height: 96%;
    }
    .sw-abschiedsraum__body {
        padding: 0px 30px;
    }
    .sw-gedenkportal-cta__heading {
        font-size: 36px;
    }
    .sw-bestattungsarten-cards .sw-bestattungsarten-cards__heading{
        font-size: 36px;
    }
    .sw-aktuelles-grid__heading{
        font-size: 36px;
    }
    .sw-trauerfall-steps .sw-trauerfall-steps__heading{
        font-size: 36px;
    }
    .sw-image-text__grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin: auto;
    }
    .sw-abschiedsraum__body {
        padding: 20px 30px;
    }
    .sw-bestattungsarten-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sw-kosten-cta__inner p {
        line-height: 26px;
    }
    .sw-werte-grid__grid--cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sw-abschied__body .sw-abschiedsraum__body {
        padding: 16px 34px !important;
        justify-content: center !important;
    }
    .sw-prose {
        max-width: 100%;
        color: var(--color-muted-fg);
    }
    .sw-philosophy-text__inner--card {
        padding: 48px;
    }
    .sw-cta-colored-block__heading {
        font-size: 30px;
        line-height: 40px;
    }
    .sw-abschiedsraum__card-heading-text .sw-abschiedsraum__card-heading {
        font-size: 30px;
        font-weight: 700 !important;
        margin-bottom: var(--space-6);
        line-height: 40px;
    }
    .sw-abschiedsraum__image img {
        height: 100%;
    }
    .sw-cta-phone__card {
        padding: 40px;
    }
    .sw-cta-colored-block .sw-prose p, .sw-cta-colored-block .sw-prose--invert p, .sw-cta-colored-block p {
        font-size: 16px;
        line-height: 26px;
    }
    .sw-team-grid__heading {
        margin-bottom: 30px;
        font-size: 30px;
    }
    .sw-leistungen-overview__cols {
        grid-template-columns: repeat(2, 1fr);
    }
    section.sw-leistungen-overview {
        padding-top: 0px;
    }
    section.sw-leistungen-3col.font-size-30.prose-text-sw.sw-prose-text {
        padding-bottom: 0px;
    }
    .sw-gedenkportal-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sw-trauergruppen__heading {
        margin-bottom: 40px;
        font-size: 36px;
    }
    .herbolzheim-new-sec .sw-bestattungsart-detail__heading {
        width: 100%;
    }
    .sw-prose .award-card {
        width: 47%;
        display: inline-block;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .herbolzheim_sec_sec h2 {
        line-height: 40px !important;
        width: 100%;
    }
    .sw-beisetzungsarten__grid--cols-2 {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin: auto;
    }
    .feuerbestattung_sixth_sec .sw-beisetzungsarten__grid.sw-beisetzungsarten__grid--cols-2 {
        width: 100%;
        margin: auto;
    }
    .feuerbestattung_sixth_sec .sw-baumwaelder-grid__grid {
        width: 100%;
    }
    .herbolzheim_fourth_sec .sw-beisetzungsarten__grid {
        width: 100%;
        margin: auto;
    }
    .sw-werte-grid__grid--cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .herbolzheim_first_sec .sw-page-hero__content {
        padding-top: 14rem;
    }
    .herbolzheim_first_sec h1 {
        font-size: 42px;
        line-height: 48px;
    }
    .sw-hero-colored__inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .sw-trauergruppen-hero__title {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: var(--space-4);
        line-height: 40px;
    }
    
}
.sw-vorsorge-section__image {
    order: 2;
}
a.kunden_login {
    background: #9CABC9 !important;
    color: #364049 !important;
    border: 0px !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.gform_heading {
    display: none;
}

form#gform_2 {
    width: 56rem;
    margin: auto;
}
form#gform_2 input {
    width: 100% !important;
    padding: 12px 16px;
    border-radius: 7px;
    border: none;
}
form#gform_2 textarea {
    width: 100% !important;
    padding: 12px 16px;
    border-radius: 7px;
    border: none;
}
.charleft.ginput_counter.gfield_description {
    font-size: 14px;
}
fieldset#field_2_13 {
    border: none;
}
.gfield {
    margin-bottom: 20px;
}
input#gform_submit_button_2 {
    padding: 20px !important;
    background: #9cabc9;
    font-size: 16px;
}
.form_section {
    padding-top: 0px !important;
}
.form_section_heading {
    padding-bottom: 0px !important;
}
.gfield_label {
    font-size: 14px;
}

section.ce_colsetStart.first.row.colcount_1.bootstrap_customizable.col-1.bgc-primary {
    padding-top: 10px;
    padding-bottom: 0px;
}
#vorsorge-sicherheit {
    scroll-margin-top: 120px;
}
#verantwortung{
    scroll-margin-top: 120px;
}
#finanzierung{
    scroll-margin-top: 120px;
}
.sw-checklist__card{
	text-align:end;
}
button#sw-checklist-print {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
}




a.brlbs-cmpnt-cb-btn {
    background: #364047 !important;
}

a.brlbs-cmpnt-cb-btn {
    color: white !important;
}
a.brlbs-cmpnt-cb-provider-toggle {
    color: #364047 !important;
}