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%;
}

.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: #004fb0 !important;
    color: #ffffff;
    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: #ffffff;
}

.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-underline-offset: 3px; 
}

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 {
    /* Hintergrund: Minimales Cloud-Grey */
    background-color: #e0f7fa !important; 
    /* Border: Neutral statt Blau, mit einem kleinen orangen Akzent links */
    border: 1px solid #DEE2E6;
    border-radius: 4px;
    padding: 25px;
    margin: 15px 0 25px 0; 
    /* Schatten: Neutraler Grauschleier */
    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; /* Deine Footer-Farbe für die Überschrift */
    margin-top: 0;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-legal p {
    color: #333333; /* Etwas weicheres Text-Grau für bessere Lesbarkeit */
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.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;
}