/* Farbpalette */
:root {
    --fsr-darkred: #490007;
    --fsr-red: #700c15;
    --fsr-lightred: #ff7d7d;
    --fsr-muted: #753d3c;
    --card-bg: #ffffff;
	--bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

/* Isolation */
.s-global-wrapper.startseite-bereich {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 1.5rem auto !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    position: relative !important;
}

.s-global-wrapper.startseite-bereich * {
    box-sizing: border-box !important;
}

/* HEADER BEREICH */
.s-global-wrapper .startseite-header {
    background-color: #490007 !important;
    color: #ffffff !important;
    padding: 1.2rem 1.5rem !important;
    box-shadow: 0 4px 15px rgba(73, 0, 7, 0.2) !important;
    border-bottom: 4px solid #700c15 !important;
    margin: 0 0 2rem 0 !important;
    border-radius: 12px !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
}

.s-global-wrapper .s-header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.s-global-wrapper .fsr-logo {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    border-radius: 8px !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
}

.s-global-wrapper .s-header-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    text-align: left !important;
    align-items: flex-start !important;
    flex: 1 !important;
}

.s-global-wrapper .startseite-h1 {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
    border: none !important;
    letter-spacing: -0.5px !important;
}

.s-global-wrapper .startseite-p {
    display: block !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
    font-weight: 400 !important;
}

/* HERO-SECTION: WILLKOMMEN & GRUPPENBILD */
.s-global-wrapper .s-hero-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2.5rem !important;
    background: #ffffff !important;
    border: 1px solid #f1e4e5 !important;
    box-shadow: 0 4px 12px rgba(112, 12, 21, 0.04) !important;
    border-radius: 14px !important;
    padding: 2.5rem !important;
    margin-bottom: 2.5rem !important;
}

.s-global-wrapper .s-hero-content {
    flex: 1.2 !important;
    text-align: left !important;
}

.s-global-wrapper .s-hero-content h2 {
    color: var(--fsr-darkred) !important;
    font-size: 1.8rem !important;
    margin: 0 0 1rem 0 !important;
    font-weight: 700 !important;
}

.s-global-wrapper .s-hero-content p {
    color: #475569 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin: 0 0 1rem 0 !important;
}

.s-global-wrapper .s-hero-content .s-hero-sub {
    font-weight: 500 !important;
    color: var(--fsr-muted) !important;
    margin: 0 !important;
}

.s-global-wrapper .s-hero-image-wrap {
    flex: 0.8 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.s-global-wrapper .s-gruppenbild {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
	object-position: top !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

/* SCHNELLZUGRIFFS-KACHELN (GRID) */
.s-global-wrapper .s-quick-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

.s-global-wrapper .s-nav-card {
    background: var(--card-bg) !important;
    border-radius: 14px !important;
    border: 1px solid #f1e4e5 !important;
    box-shadow: 0 4px 12px rgba(112, 12, 21, 0.04) !important;
    padding: 2rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.s-global-wrapper .s-nav-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(112, 12, 21, 0.08) !important;
    border-color: var(--fsr-lightred) !important;
}

.s-global-wrapper .s-card-icon {
    width: 55px !important;
    height: 55px !important;
    background: #fff5f5 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 1.2rem !important;
}

.s-global-wrapper .s-card-icon svg {
    width: 28px !important;
    height: 28px !important;
    fill: var(--fsr-red) !important;
}

.s-global-wrapper .s-nav-card h3 {
    color: var(--fsr-darkred) !important;
    font-size: 1.3rem !important;
    margin: 0 0 0.6rem 0 !important;
    font-weight: 700 !important;
}

.s-global-wrapper .s-nav-card p {
    color: #64748b !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    margin: 0 0 1.5rem 0 !important;
}

.s-global-wrapper .s-card-btn {
    margin-top: auto !important;
    color: var(--fsr-red) !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    transition: color 0.2s ease !important;
}

.s-global-wrapper .s-nav-card:hover .s-card-btn {
    color: var(--fsr-darkred) !important;
}

/* EDDY COMPANION DESIGN */
body div.s-eddy-fixed-container#s-eddy-true-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

body div.s-eddy-fixed-container#s-eddy-true-container img.s-eddy-img-render {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 105px !important;
    width: auto !important;
    min-height: 105px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    transform: scaleX(-1) !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body div.s-eddy-fixed-container#s-eddy-true-container img.s-eddy-img-render:hover {
    transform: scaleX(-1) translateY(-3px) scale(1.03) !important;
}

body div.s-eddy-fixed-container#s-eddy-true-container .s-eddy-bubble-style {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    background: white !important;
    border: 2px solid var(--fsr-muted) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    font-weight: bold !important;
    max-width: 240px !important;
    margin-right: 14px !important;        
    margin-bottom: 20px !important;       
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    color: #1e293b !important;
    font-family: sans-serif !important;
    text-align: left !important;
}

body div.s-eddy-fixed-container#s-eddy-true-container .s-eddy-bubble-style::before {
    content: '' !important;
    position: absolute !important;
    right: -10px !important;              
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-style: solid !important;
    border-width: 8px 0 8px 10px !important;
    border-color: transparent transparent transparent var(--fsr-muted) !important;
}

body div.s-eddy-fixed-container#s-eddy-true-container .s-eddy-bubble-style::after {
    content: '' !important;
    position: absolute !important;
    right: -7px !important;              
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-style: solid !important;
    border-width: 7px 0 7px 9px !important;
    border-color: transparent transparent transparent white !important;
}

/* AKTUELLES / NEWS BLOCK */
.s-global-wrapper .s-news-section {
    margin: 2rem 0 !important;
    display: block; 
}

.s-global-wrapper .s-news-flex-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 1.25rem !important;
    position: relative !important;
}

.s-global-wrapper .s-news-megaphone {
    width: 45px !important;
    height: 45px !important;
    flex-shrink: 0 !important;
}

.s-global-wrapper .s-news-megaphone svg {
    width: 100% !important;
    height: 100% !important;
    fill: var(--fsr-red) !important; 
}

.s-global-wrapper .s-news-bubble-card {
    background-color: white !important; 
    color: black !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 12px !important;
	border: 1px solid var(--fsr-red) !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    box-shadow: 0 4px 12px rgba(117, 61, 60, 0.15) !important;
    text-align: left !important;
    border-left: 6px solid var(--fsr-red) !important;
	flex-grow: 1 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.s-global-wrapper .s-news-bubble-card::before {
    content: '' !important;
    position: absolute !important;
    left: -12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-style: solid !important;
    border-width: 8px 10px 8px 0 !important;
    border-color: transparent var(--fsr-red) transparent transparent !important;
    width: 0 !important;
    height: 0 !important;
}

.s-global-wrapper .s-news-content {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    color: var(--fsr-red) !important;
    font-weight: 400 !important;
	font-weight: bold !important;
}

.s-global-wrapper .s-news-action-btn {
    align-self: flex-end !important;
    background-color: var(--fsr-red) !important;
    color: white !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 6px !important;
    font-size: 1.0rem !important;
    text-decoration: none !important;
    border: 1px solid #f1e4e5 !important; 
    outline: none !important;
    transition: background-color 0.2s, transform 0.1s !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.s-global-wrapper .s-news-action-btn:hover {
    background-color: #f1f5f9 !important;
    color: var(--fsr-red) !important;
}

.s-global-wrapper .s-news-action-btn:active {
    transform: scale(0.98) !important;
}

/* Mobil-Optimierung */
@media (max-width: 600px) {
    .s-global-wrapper .s-news-flex-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    .s-global-wrapper .s-news-bubble-card::before {
        left: 15px !important;
        top: -10px !important;
        transform: none !important;
        border-width: 0 8px 10px 8px !important;
        border-color: transparent transparent var(--fsr-red) transparent !important;
    }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
    .s-global-wrapper .s-hero-section {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem !important;
    }
    .s-global-wrapper .s-hero-content {
        text-align: center !important;
    }
    .s-global-wrapper .s-hero-image-wrap {
        width: 100% !important;
        max-width: 400px !important;
    }
}

@media (max-width: 768px) {
    .s-global-wrapper .s-header-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    .s-global-wrapper .s-header-text {
        align-items: center !important;
        text-align: center !important;
    }
    body div.s-eddy-fixed-container#s-eddy-true-container .s-eddy-bubble-style {
        display: none !important;
    }
}