html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #1A2F4F;
    background-color: #ffffff;
}

@media (max-width: 1199.98px) {
    body {
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1120px;
	}
}

@media (min-width: 1600px) {
	.container {
		max-width: 1340px;
	}
}

h1, h2, h3 {
    color: #111111;
}

h1 {
    font-size: 1.6rem;
	font-weight: 700;
    margin-bottom: 15px;
}

@media (max-width: 468px) {
    h1 {
        font-size: 1.45rem;
    }
}
@media (max-width: 420px) {
    h1 {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 2.0rem;
    }
}

h2 {
    font-size: 1.5rem;
	font-weight: 700;
    margin-bottom: 15px;
	line-height: 1.4;
	color: #1A2F4F;
	position: relative;
}

@media (min-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    h2 {
        font-size: 1.8rem;
		padding-bottom: 5px;
    }
}

h3 {
    font-size: 1.3rem;
	font-weight: 500;
    margin-bottom: 15px;
	line-height: 1.4;
}

@media (min-width: 768px) {
    h3 {
        font-size: 1.3rem;
    }
}

@media (min-width: 992px) {
    h3 {
        font-size: 1.4rem;
    }
}

/* Button Styling */
.btn-primary {
    background-color: #147A4D;
    border-color: #147A4D;    
    color: #FFFFFF;          
    box-shadow: 0 4px 8px rgba(232, 90, 14, 0.2); 
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #198754;
    border-color: #198754;
	color: #FFFFFF !important; 
}

.btn-einspruch {
    width: 100%;
}

@media (max-width: 468px) {
    .btn-einspruch.btn-sm {
        font-size: 0.80rem !important;
        padding: 4px 8px !important;
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: 0px;
        border-radius: 4px;
    }
}

.btn-outline-secondary {
    background-color: transparent !important;
    border: 1px solid #004fb0 !important; /* Dein Crimson Rot */
    color: #000000 !important;           /* Schwarze Schrift wie gewünscht */
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease-in-out;
}

/* Hover-Zustand */
.btn-outline-secondary:hover {
    background-color: #004fb0 !important; /* Rote Füllung */
    border-color: #004fb0 !important;
    color: #FFFFFF !important;           /* Weiße Schrift */
    box-shadow: 0 4px 10px rgba(220, 20, 60, 0.25);
    transform: translateY(-1px);
}

.lead {
    font-size:1.2rem;
    font-weight: 400;
    line-height: 1.5;
}

.lead-custom {
    font-size: 1.2rem; 
    color: #495057; 
    font-weight: 400; 
    margin-bottom: 1rem; 
}

@media (max-width: 767.98px) {
    .lead-custom {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
    .lead {
        font-size: 1.1rem;
    }
}

.link-hover {
	color: #2D3436 !important;
    text-decoration: underline; 
}

.card-body a {
    color: #2D3436;
    text-decoration: underline;
}

.card-body a:hover {
    color: #A23B3B;
    text-decoration: none;
}

.card-body a:active,
.card-body a:focus {
    color: #b34409;
    outline: none;
}

p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    p {
        font-size: 1.05rem;
        line-height: 1.5;
    }
}

.text-accent {
    color: #B87333; !important;
}

.link-hover.text-accent {
    text-decoration: underline;
    transition: text-decoration 0.3s ease;
}

.link-hover.text-accent:hover {
    text-decoration: underline;
    color: #B87333; 
}

.link-hover:hover {
    text-decoration: underline;
}

.styled-list-arrows {
    list-style: none; 
    padding-left: 0;   
}

.styled-list-arrows li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 8px;
    line-height: 1.4;  
    color: #333;
    font-weight: 400;
    font-size: 0.6rem;    	
}

.styled-list-arrows li::before {
    font-family: "bootstrap-icons";
    content: "\F134"; 
    color: #004fb0 !important;
    position: absolute;
    left: 5px;
    top: 2px; 
    font-size: 1.4rem; 
    line-height: 1; 
}

.table thead th {
    background-color: #ecf5ff !important;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    vertical-align: middle;
	    padding-top: 10px;
		padding-left: 10px;
    padding-bottom: 10px;
}

.table thead th .form-check-label {
    color: #333333;
}

.info-box-v2 {
    border: 1px solid #F0E2E2;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.info-box-v2 .info-header-line {
    display: flex; 
    align-items: flex-start;
    margin-bottom: 10px; 
    padding-top: 0;
    margin-top: 0;
}

/* --- Info Icon Styling --- */
.info-box-v2 .info-icon {
    flex-shrink: 0; 
    margin-right: 10px; 
    color: #0A858C;
    font-size: 1.8rem;
    line-height: 1; 
    padding-top: 0;
    margin-top: -5;
}

/* --- Die H4 Überschrift --- */
.info-box-v2 .info-header-line h4 {
    color: #111111;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0px; 
    line-height: 1.2;
    flex-grow: 1; 
    padding: 0; 
}

.info-box-v2 .info-header-line h3 {
    color: #111111;
    font-size: 1.4rem;
    font-weight: bold;
	margin-top: 0px !important;
    margin-bottom: 0px; 
    line-height: 1.2;
    flex-grow: 1; 
    padding: 0; 
}


/* --- Die Liste (separate Zeile, ausgerichtet) --- */
.info-box-v2 .styled-list-arrows {
    list-style: none; 
    padding-left: 0; 
    margin-top: 10px; 
    margin-bottom: 0;
    margin-left: 5px; 
}

.styled-list-arrows li {
    position: relative;
    padding-left: 30px; /* Einrückung für den Pfeil */
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
    font-size: 1.125rem; /* Basisgröße */
}

.styled-list-arrows li::before {
    font-family: "bootstrap-icons";
    content: "\F134";
    color: #AA4A44;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 1.3rem;
    line-height: 1;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    .info-box-v2 .info-icon {
        font-size: 1.5rem;
    }
    .info-box-v2 .info-header-line h4 {
        font-size: 1.2rem;
    }
    .info-box-v2 .info-header-line {
        margin-bottom: 5px; /* Anpassung für mobile Ansicht */
    }
    .info-box-v2 .styled-list-arrows {
        margin-left: 2px;
        margin-top: 25px; 
    }
    .styled-list-arrows li {
        font-size: 0.95rem;
		padding-left: 24px; 
    }
	.styled-list-arrows li::before {
    top: 3px;
    font-size: 1.0rem;
}
}

/* Allgemeine Linkfarbe */
a {
    color: #0563C1;
    text-decoration: underline;
text-decoration-thickness: 1px; 
    text-underline-offset: 4px; 
    text-decoration-color: rgba(10, 133, 140, 0.4); 
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: none !important; 
	text-underline-offset: 3px; 
	}

.navbar-nav .nav-link:hover,
.navbar-brand:hover,
footer a:hover {            
    text-decoration: none !important; 
}

.breadcrumb-item a {
    color: #AA4A44;
    text-decoration: none !important; 	
}

.breadcrumb-item a:hover {
    color: #8B3B37;
}

.breadcrumb-item .bi-house-fill {
    color: #333333;
}

.breadcrumb-item.active {
    color: inherit;
    font-weight: normal; 
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
    padding-right: 0.5rem;
    padding-left: 0.0rem; 
    color: var(--bs-breadcrumb-divider-color, #6c757d); 
}
.cta-legal {
    background-color: #e0f7fa !important; 
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    padding: 25px;
    margin: 15px 0 25px 0; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cta-legal h3 {
    color: #1B263B;
    margin-top: 0;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-legal p {
    color: #333333;
    line-height: 1.5;
    margin-bottom: 20px;
}

@media (min-width: 768px) { 
    .cta-legal h3::before {
        width: 26px;
        height: 26px;
		margin-right: 6px;
    }
	.cta-legal p {
    margin-bottom: 15px;
    }
}

/* Fix für Mobile */
@media (max-width: 390px) {
    .cta-legal h3 {
        font-size: 1.15rem !important;
    }
		.cta-legal p {
    font-size: 14px;
	}
}

.list-columns {
    column-count: 3;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .list-columns {
        column-count: unset; 
        column-gap: unset;

        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 15px 20px;
    }
    
    .list-with-dots .catalog-item {
        display: block; 
    }
}

@media (max-width: 768px) {
    .breadcrumb-item.active {
        white-space: nowrap; 
        overflow: hidden;
        text-overflow: ellipsis; 
        max-width: 300px;
    }
}

/* Zentrales Branding-Update für Badges */
.badge.rounded-pill {
    background-color: #0A858C !important; /* Footer-Farbe */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Minimaler Kontrast */
    letter-spacing: 0.03em;
    padding: 0.5em 1em !important;
}

figcaption {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #495057; 
    text-align: center;
    margin-top: 10px;
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

	    .share-icon-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #64748b;
        text-decoration: none !important;
        margin-left: 8px;
        transition: all 0.3s ease;
    }

    .share-icon-btn:hover {
        transform: translateY(-1px);
        color: #fff;
    }

    .share-icon-btn.whatsapp:hover { background: #0A858C; border-color: #25D366; }
    .share-icon-btn.facebook:hover { background: #0A858C; border-color: #1877F2; }
    .share-icon-btn.x-twitter:hover { background: #0A858C; border-color: #0A858C; }
	.share-icon-btn.email:hover { background: #0A858C; border-color: #0A858C; }
	.share-icon-btn.copy:hover { background: #0A858C; border-color: #0A858C; }

    @media (max-width: 768px) {
        .share-buttons-container { display: flex; justify-content: flex-start; margin-top: 15px; }
        .share-icon-btn { margin-left: 0; margin-right: 12px; }
    }
	    .meta-link {
        font-size: 0.85rem;
        color: #64748b !important;
        text-decoration: none !important;
        transition: color 0.2s ease;
    }

    .meta-link:hover {
        color: #0A858C !important;
    }

    .btn-editorial-check {
        font-size: 0.85rem;
        font-weight: 700;
        color: #0A858C !important;
        text-decoration: none !important;
        padding: 8px 16px;
        background: #ffffff;
        border: 1px solid #0A858C;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .btn-editorial-check:hover {
        background: #0A858C !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(10, 133, 140, 0.2);
    }

@media (max-width: 768px) {
    .editorial-box { text-align: center; }
    
    .editorial-box .col-md-auto { 
        display: flex; 
        justify-content: center; 
        margin-bottom: 1rem;
    }

    .editorial-box .d-flex.flex-wrap {
        justify-content: center !important;
        gap: 15px !important;
    }

    .meta-link { 
        width: auto;
        font-size: 0.8rem;
    }

    .btn-editorial-check { 
        width: 100%; 
        margin-top: 10px;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .editorial-box .row {
        align-items: flex-start !important;
    }
    .editorial-box .col-md-auto {
        padding-top: 5px;
    }
    .share-icon-btn {
        margin-left: 8px;
    }
}

.status-badge-professional {
    display: inline-flex;
    align-items: center;
    background: #ffffff; /* Reinweiß */
    padding: 5px 0px;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.badge-icon {
    color: #0A858C;
    font-size: 0.9rem;
    margin-right: 10px;
}

.badge-label {
    color: #072c33; /* Dein Petrol */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-divider {
    width: 1px;
    height: 14px;
    background-color: #e2e8f0;
    margin: 0 12px;
}

.badge-date {
    color: #64748b; /* Slate-Grau */
    font-size: 0.85rem;
}

.badge-date strong {
    color: #072c33;
    font-weight: 600;
}

/* Mobil-Optimierung */
@media (max-width: 767.98px) {
    .status-badge-professional {
        padding: 4px 0px;
        margin-bottom: 1.25rem;
    }
    
    .badge-divider {
        margin: 0 8px;
    }
    
    .badge-date, .badge-label {
        font-size: 0.75rem;
    }
}
/* --- Sticky Navigation (TOC) - Premium 2026 Edition --- */

.sticky-toc-container {
    position: sticky;
    top: 85px;
background-color: #ffffff;
    border: 1px solid #e2e8f0; /* Das dezente Silbergrau */
    border-radius: ´2px;
    padding: 12px 6px;
}

.toc-header {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px; /* Etwas mehr Luft für Eleganz */
    color: #94a3b8; /* Dezentes Grau statt knalligem Teal */
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    padding-left: 16px; /* Aligniert mit den Links */
}

.toc-header i {
    color: #0A858C; /* Nur das Icon ist Teal */
    font-size: 1rem;
}

.toc-body {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Engerer Abstand, da die Links jetzt Flächen sind */
}

.toc-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
}

/* Der permanente türkise Punkt */
.toc-link::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #0A858C; /* Dein Türkis */
    border-radius: 50%;
    margin-right: 12px;
    /* Dezent im Ruhezustand */
    opacity: 0.25; 
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hover-Effekt: Punkt wird etwas deutlicher */
.toc-link:hover {
    color: #072c33;
    background-color: #f8fafc;
}

.toc-link:hover::before {
    opacity: 0.6;
    transform: scale(1.2);
}

/* ACTIVE STATE: Der Fokus-Punkt */
.toc-link.active {
    color: #072c33;
    font-weight: 700;
    background-color: #f0fdfa;
}

.toc-link.active::before {
    opacity: 1; /* Volle Leuchtkraft */
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(10, 133, 140, 0.4); /* Subtiler Glow-Effekt */
}
    /* --- Modern FAQ Design 2026 --- */
    .faq-section {
        padding: 80px 0;
        background-color: #f8fafc; /* Ganz leichtes Grau für Kontrast */
    }

    .faq-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .faq-item {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        margin-bottom: 16px;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item:hover {
        border-color: #0A858C;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(7, 44, 51, 0.05) !important;
    }

    /* Status wenn offen */
    .faq-item:has(.show) {
        border-color: #0A858C;
        box-shadow: 0 15px 30px rgba(10, 133, 140, 0.08) !important;
        background-color: #ffffff;
    }

    .faq-button {
        width: 100%;
        padding: 24px 30px;
        background: none;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        color: #072c33;
        font-weight: 700;
        font-size: 1.1rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .faq-button:not(.collapsed) {
        color: #0A858C;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
        background-color: #f0fdfa;
        color: #0A858C;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition: all 0.4s ease;
    }

    .faq-button:not(.collapsed) .faq-icon {
        background-color: #0A858C;
        color: #ffffff;
        transform: rotate(180deg);
    }

    .faq-body {
        padding: 0 30px 30px 30px;
        color: #475569;
        line-height: 1.7;
        font-size: 1rem;
    }

    .faq-body strong {
        color: #072c33;
    }

    /* Mobil-Optimierung */
    @media (max-width: 767.98px) {
        .faq-button { padding: 20px; font-size: 1rem; }
        .faq-body { padding: 0 20px 20px 20px; }
    }