/* Backend Footer Styles */
.backend-footer {
  text-align: center;
  width: 100vw;
  min-width: 100vw;
  clear: both;
  margin-top: 32px;
  left: 0;
  right: 0;
  position: relative;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0 18px 0;
}
.backend-footer .footer-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.backend-footer .footer-link:hover {
  color: #c85c5c;
}
.backend-footer .footer-disclaimer {
  opacity: 0.7;
  margin-top: 5px;
  display: block;
  font-size: 0.98em;
  line-height: 1.5;
}
/* Icon-Label für Header-Icons (Tooltip bei Hover) */
.icon-label {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #222;
    color: #fff;
    font-size: 0.72em;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 8px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}
.notification-btn:hover .icon-label,
.frontend-dropdown-toggle:hover .icon-label,
.user-avatar:hover .icon-label {
    display: inline-block;
}
.notification-btn, .frontend-dropdown-toggle, .user-avatar {
    position: relative;
}
/* LSFD Website - Bereinigtes CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.lsfdwebsite {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border: none;
    box-shadow: none;
    width: 100%;
    overflow-x: hidden;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    body {
        background-color: #fff;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    
    .lsfdwebsite {
        margin: 0;
        border: none;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .lsfdwebsite {
        margin: 0;
        border: none;
        border-radius: 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
    }
}

/* =================
   HEADER STYLES
   ================= */

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 25px 30px;
    background-color: #660606;
    min-height: 150px;
}

.header-bottom {
    background-color: #660606;
    padding: 0;
}

.logo-section-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-background {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 150px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
}

.header-right-top {
    position: absolute;
    top: 25px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons-header {
    display: flex;
    gap: 8px;
}

.social-icon-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon-header:hover {
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.8);
}

.emergency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
}

.emergency-badge i {
    font-size: 16px;
}

/* =================
   CONTENT STYLES
   ================= */

.content {
    padding: 30px;
    min-height: 400px;
}

.about-content {
    text-align: center;
    padding: 40px 20px;
}

.about-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.about-header,
.section-header,
.news-header,
.team-header,
.career-header,
.location-header,
.contact-header,
.legal-header {
    color: #660606;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* =================
   NEWS SECTION
   ================= */

.news-section {
    padding: 25px;
    border-left: 5px solid #660606;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
    box-shadow: none;
}

.news-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: none;
}

.news-title {
    color: #660606;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.news-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.news-read-more {
    display: inline-block;
    margin-top: 10px;
    color: #660606;
    text-decoration: none;
    font-weight: bold;
}

.news-read-more:hover {
    text-decoration: underline;
}

/* =================
   TEAM SECTION
   ================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.person-card {
    border: 2px solid #660606;
    padding: 20px;
    display: flex;
    gap: 20px;
    background-color: #fff;
    box-shadow: none;
    align-items: flex-start;
}

.person-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #660606;
}

.person-info h3 {
    color: #660606;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.person-rank {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.person-details {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.person-details p {
    margin-bottom: 5px;
}

.person-details a {
    color: #660606;
    text-decoration: none;
}

.person-details a:hover {
    text-decoration: underline;
}

.responsibilities h4 {
    color: #660606;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.responsibilities ul {
    list-style: none;
    padding-left: 0;
}

.responsibilities ul li {
    color: #666;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.responsibilities ul li::before {
    content: "•";
    color: #660606;
    position: absolute;
    left: 0;
}

.team-section {
    margin-bottom: 40px;
}

.team-subheader {
    color: #660606;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* =================
   CAREER SECTION
   ================= */

.career-section {
    padding: 40px;
    text-align: center;
    margin-top: 0;
}

.career-section h2 {
    color: #660606;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.career-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.job-search {
    background-color: #fff !important;
    color: #666 !important;
    border: 2px solid #660606 !important;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    width: 300px;
    margin-bottom: 30px;
}

.job-search:focus {
    border-color: #660606;
    box-shadow: none;
    outline: none;
}

.stellen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stellen-card {
    border: 2px solid #660606;
    padding: 20px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.stellen-card:hover {
    box-shadow: 0 4px 8px rgba(138, 8, 8, 0.2);
    transform: translateY(-2px);
}

.stellen-card h3 {
    color: #660606;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.stellen-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.stellen-link {
    display: inline-block;
    background-color: #660606;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.stellen-link:hover {
    background-color: #660606;
    color: white;
}

/* =================
   JOB DETAIL PAGES
   ================= */

.job-detail-section {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.job-header {
    margin-bottom: 40px;
}

.job-breadcrumb a {
    color: #660606;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.job-breadcrumb a:hover {
    text-decoration: underline;
}

.job-title {
    color: #660606;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border: 1px solid #ddd;
}

.job-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.job-main {
    background-color: #fff;
}

.job-section {
    margin-bottom: 40px;
    padding: 30px;
    border: 2px solid #660606;
    border-radius: 5px;
}

.job-section h2 {
    color: #660606;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #660606;
    padding-bottom: 10px;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.job-section ul li::before {
    content: "✓";
    color: #660606;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 14px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #660606;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #660606;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-content p {
    color: #666;
    font-size: 14px;
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-box,
.apply-box,
.job-info-box {
    background-color: #f8f9fa;
    padding: 25px;
    border: 2px solid #660606;
    border-radius: 5px;
}

.contact-box h3,
.apply-box h3,
.job-info-box h3 {
    color: #660606;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-person {
    color: #666;
    line-height: 1.6;
}

.contact-person i {
    color: #660606;
    margin-right: 8px;
    width: 16px;
}

.apply-btn {
    display: inline-block;
    background-color: #660606;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    margin: 15px 0;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #4d0404;
    color: white;
}

.apply-btn i {
    margin-right: 8px;
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    color: #666;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
}

/* =================
   APPLICATION FORM
   ================= */

.application-section {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border: 3px solid #660606;
    border-radius: 15px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(102, 6, 6, 0.1);
}

.application-header {
    color: #660606;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #660606;
    padding-bottom: 20px;
}

.application-intro {
    text-align: center;
    margin-bottom: 40px;
}

.application-intro p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.application-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.application-form-section {
    background-color: #fff;
}

.application-form {
    background-color: #f8f9fa;
    padding: 30px;
    border: 2px solid #660606;
    border-radius: 10px;
}

.form-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-section h4 {
    color: #660606;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #660606;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h4 i {
    color: #660606;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #660606;
}

.form-group input[type="file"] {
    padding: 8px;
    background-color: #fff;
    border: 2px dashed #660606;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    background-color: #f8f9fa;
}

.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-label-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.checkbox-label-inline input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.application-info-section {
    background-color: #f8f9fa;
    padding: 30px;
    border: 2px solid #660606;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.application-info-section h3 {
    color: #660606;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.tip-block {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.tip-block h4 {
    color: #660606;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-block h4 i {
    color: #660606;
}

.tip-block ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.tip-block ul li {
    padding: 4px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.tip-block ul li::before {
    content: "•";
    color: #660606;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tip-block p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

/* Responsive Design für Application Form */
@media (max-width: 1024px) {
    .application-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .application-info-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .application-section {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .application-form {
        padding: 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .checkbox-group-inline {
        flex-direction: column;
        gap: 10px;
    }
}

/* =================
   APPLICATION CTA SECTION
   ================= */

.application-cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding: 40px;
    background-color: #f8f9fa;
    border: 2px solid #660606;
    border-radius: 10px;
}

.application-cta {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 6, 6, 0.15);
}

.application-cta h3 {
    color: #660606;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.application-cta h3 i {
    color: #660606;
    font-size: 1.2rem;
}

.application-cta p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #660606;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #4d0404;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 6, 6, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #660606;
    border: 2px solid #660606;
}

.cta-button.secondary:hover {
    background-color: #660606;
    color: white;
}

.cta-button i {
    margin-right: 8px;
}

/* Responsive für Application CTA */
@media (max-width: 768px) {
    .application-cta-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .application-cta {
        padding: 20px;
    }
    
    .application-cta h3 {
        display: block !important;
        text-align: center !important;
    }
    
    .application-cta h3 i {
        margin-right: 8px !important;
        display: inline !important;
    }
}

@media (max-width: 480px) {
    .application-cta h3 {
        font-size: 1.2rem;
        display: block !important;
        text-align: center !important;
    }
    
    .application-cta h3 i {
        margin-right: 6px !important;
        display: inline !important;
    }
}

@media (max-width: 380px) {
    .application-cta h3 {
        font-size: 1.1rem !important;
        display: block !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    .application-cta h3 i {
        margin-right: 5px !important;
        display: inline !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    .application-cta {
        padding: 15px !important;
        margin: 0 5px !important;
    }
}

/* =================
   LOCATION SECTION
   ================= */

.location-section {
    padding: 40px;
}

.map-container {
    margin-bottom: 40px;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h3 {
    color: #660606;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.map-header p {
    color: #666;
    font-size: 16px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.location-card {
    border: 2px solid #660606;
    padding: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.location-card:hover,
.location-card.active {
    background-color: #660606;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 8, 8, 0.3);
}

.location-card.active .location-icon i,
.location-card:hover .location-icon i {
    color: white;
}

.location-card.active .location-status,
.location-card:hover .location-status {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.location-icon {
    text-align: center;
    margin-bottom: 15px;
}

.location-icon i {
    font-size: 2rem;
    color: #660606;
    transition: color 0.3s ease;
}

.location-details h4 {
    color: inherit;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.location-details p {
    color: inherit;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.location-status {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 3px;
}

.location-status.online {
    background-color: #28a745;
    color: white;
}

.location-status.maintenance {
    background-color: #ffc107;
    color: #333;
}

.location-details-container {
    margin-top: 40px;
}

.station-details {
    display: none;
    margin-top: 30px;
    padding: 30px;
    border: 2px solid #660606;
    background-color: #fff;
    border-radius: 5px;
}

.station-details.active {
    display: block;
}

.station-info {
    width: 100%;
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.station-header h3 {
    color: #660606;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.station-badge {
    padding: 5px 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 3px;
}

.station-badge.main {
    background-color: #660606;
}

.station-badge.rescue {
    background-color: #28a745;
}

.station-badge.air {
    background-color: #007bff;
}

.station-badge.marine {
    background-color: #17a2b8;
}

.station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

.station-column {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #660606;
}

.station-column h4 {
    color: #660606;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.station-column p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.station-column ul {
    list-style: none;
    padding: 0;
}

.station-column ul li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.station-column ul li::before {
    content: "•";
    color: #660606;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.station-specialties {
    margin-top: 25px;
}

.station-specialties h4 {
    color: #660606;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.specialty-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty-badge {
    background-color: #660606;
    color: white;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.specialty-badge:hover {
    background-color: #660606;
}

.maintenance-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
}

.maintenance-notice i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.emergency-info {
    text-align: center;
    margin-top: 50px;
}

.emergency-box {
    display: inline-block;
    background-color: #660606;
    color: white;
    padding: 25px 35px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(102, 6, 6, 0.3);
    transition: transform 0.3s ease;
}

.emergency-box:hover {
    transform: translateY(-2px);
}

.emergency-box i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.emergency-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.emergency-box p {
    margin-bottom: 5px;
    font-size: 1rem;
}

/* =================
   CONTACT SECTION
   ================= */

.contact-section {
    padding: 40px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.emergency-reminder {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.emergency-reminder i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.emergency-reminder div {
    flex: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 2px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #660606;
}

.checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.checkbox-label span:last-child {
    flex: 1;
    word-wrap: break-word;
    hyphens: auto;
    margin-top: -2px;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #660606;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0px;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: #660606;
    font-weight: bold;
    font-size: 14px;
}

input[type="checkbox"]:checked + .checkmark {
    border-color: #660606;
    background-color: #f8f9fa;
}

input[type="checkbox"] {
    display: none;
}

/* Simple Checkbox Style */
.checkbox-label-simple {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.checkbox-label-simple input[type="checkbox"] {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #660606;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
}

.submit-btn,
.reset-btn {
    padding: 12px 24px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.submit-btn {
    background-color: #660606;
    color: white;
}

.submit-btn:hover {
    background-color: #660606;
}

.reset-btn {
    background-color: #6c757d;
    color: white;
}

.reset-btn:hover {
    background-color: #545b62;
}

.contact-info-section h3 {
    color: #660606;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h4 {
    color: #660606;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    color: #660606;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #660606;
}

.emergency-contact {
    background-color: #dc3545;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

.emergency-contact i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.additional-info {
    margin-top: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    border: 2px solid #660606;
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.info-card i {
    font-size: 2rem;
    color: #660606;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #660606;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* =================
   LEGAL PAGES
   ================= */

.legal-section {
    padding: 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.impressum-section,
.privacy-section,
.disclaimer-section {
    margin-bottom: 30px;
}

.impressum-section h3,
.privacy-section h3,
.disclaimer-section h3 {
    color: #660606;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-details,
.contact-info,
.authority-info,
.content-responsibility {
    margin-bottom: 15px;
}

.contact-details p,
.contact-info p,
.authority-info p,
.content-responsibility p,
.legal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.data-list,
.rights-list {
    padding-left: 20px;
    margin-bottom: 15px;
}

.data-list li,
.rights-list li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.authority-contact {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #660606;
}

.privacy-officer {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #660606;
}

.notice-box {
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-box.emergency {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.notice-box i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content h4 {
    margin-bottom: 8px;
    font-weight: 600;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #666;
}

/* =================
   MOBILE CONTAINER FIX
   ================= */
   
/* Universelle Mobile Container Regeln */
@media (max-width: 768px) {
    /* Alle Container zentriert und begrenzt */
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .contact-container,
    .application-container,
    .info-cards,
    .career-filters,
    .job-search,
    .benefits-box {
        margin: 0 auto !important;
        padding: 15px !important;
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .info-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .career-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .contact-container,
    .application-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Benefits Box - Was wir bieten */
    .benefits-box {
        margin: 20px auto !important;
        padding: 20px !important;
        border: 2px solid #660606 !important;
        overflow-x: hidden !important;
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
    }
    
    .benefits-box div[style*="grid"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .benefits-box div[style*="flex"] {
        display: flex !important;
        align-items: flex-start !important;
        padding: 10px !important;
        margin: 0 !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .benefits-box span {
        font-size: 14px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        flex: 1 !important;
        width: 100% !important;
    }
    
    .benefits-box i {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
        font-size: 16px !important;
    }
    
    /* Alle Karten - einheitliche Breite */
    .person-card,
    .job-card,
    .station-card,
    .info-card,
    .location-card,
    .stellen-card {
        margin: 0 auto !important;
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    /* Text-Überlauf verhindern */
    .stellen-card h3,
    .stellen-card p,
    .job-card h3,
    .job-card p,
    .person-card h3,
    .person-card p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Formulare - einheitliche Breite */
    .form-group,
    .form-row {
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Content Container */
    .content {
        padding: 15px !important;
        margin: 0 auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Application CTA Sektion - einheitliche Breite */
    .application-cta-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 20px auto !important;
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .application-cta {
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        margin: 0 auto !important;
    }
    
    /* Footer - einheitliche Breite */
    .footer {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    /* Noch kompaktere Mobile Ansicht - einheitliche Breiten */
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .contact-container,
    .application-container,
    .info-cards,
    .career-filters,
    .job-search,
    .benefits-box,
    .application-cta-section {
        padding: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin: 0 auto !important;
    }
    
    .person-card,
    .job-card,
    .station-card,
    .info-card,
    .location-card,
    .stellen-card,
    .application-cta {
        padding: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 0 auto !important;
    }
    
    .content {
        padding: 10px !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .filter-btn {
        flex: 1 !important;
        min-width: 70px !important;
        max-width: calc(25% - 4px) !important;
        padding: 8px 4px !important;
        box-sizing: border-box !important;
    }
    
    /* Benefits Box für sehr kleine Bildschirme - einheitliche Breite */
    .benefits-box {
        padding: 15px 10px !important;
        margin: 15px auto !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
    }
    
    .benefits-box h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .benefits-box div[style*="flex"] {
        padding: 8px !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
    }
    
    .benefits-box span {
        font-size: 13px !important;
        line-height: 1.3 !important;
        width: calc(100% - 30px) !important;
    }
    
    .benefits-box i {
        font-size: 14px !important;
        margin-right: 8px !important;
        margin-top: 1px !important;
        width: 14px !important;
        flex-shrink: 0 !important;
    }
    
    /* Formulare - einheitliche Breite */
    .form-group,
    .form-row {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 0 auto !important;
    }
    
    /* Footer - einheitliche Breite */
    .footer {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
}

/* Spezielle Regeln für sehr schmale Bildschirme (Galaxy S9 etc.) */
@media (max-width: 380px) {
    /* Ultra-kompakte Ansicht für schmale Geräte */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .lsfdwebsite {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .contact-container,
    .application-container,
    .info-cards,
    .career-filters,
    .job-search,
    .benefits-box,
    .application-cta-section {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin: 8px auto !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        display: block !important;
    }
    
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .info-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        justify-items: center !important;
    }
    
    .person-card,
    .job-card,
    .station-card,
    .info-card,
    .location-card,
    .stellen-card,
    .application-cta {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        margin: 4px auto !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Benefits Box für ultra-schmale Bildschirme - perfekte Zentrierung */
    .benefits-box {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin: 10px auto !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        display: block !important;
        position: relative !important;
    }
    
    .benefits-box div[style*="grid"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        justify-items: center !important;
    }
    
    .benefits-box div[style*="flex"] {
        width: calc(100% - 4px) !important;
        max-width: calc(100% - 4px) !important;
        margin: 2px auto !important;
        padding: 6px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: flex-start !important;
        position: relative !important;
    }
    
    .benefits-box span {
        font-size: 12px !important;
        line-height: 1.2 !important;
        width: calc(100% - 20px) !important;
        flex: 1 !important;
        word-wrap: break-word !important;
    }
    
    .benefits-box i {
        font-size: 12px !important;
        margin-right: 6px !important;
        width: 12px !important;
        flex-shrink: 0 !important;
    }
    
    /* Career Filters - zentriert */
    .career-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        width: calc(100% - 16px) !important;
        margin: 8px auto !important;
        padding: 8px !important;
    }
    
    /* Navigation für schmale Bildschirme - zentriert */
    .header-bottom {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .navigation-center {
        display: flex !important;
        justify-content: stretch !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    .nav-tab {
        padding: 10px 2px !important;
        font-size: 10px !important;
        flex: 1 !important;
        text-align: center !important;
        width: 25% !important;
        max-width: 25% !important;
        min-width: 25% !important;
        box-sizing: border-box !important;
        border: none !important;
        margin: 0 !important;
    }
    
    /* Header-Anpassungen - zentriert */
    .header-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 8px !important;
    }
    
    .header-logo {
        height: 70px !important;
        max-width: 200px !important;
    }
    
    .emergency-badge {
        font-size: 10px !important;
        padding: 6px 10px !important;
    }
    
    .social-icons-header {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .social-icons-header a {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }
    
    /* Filter Buttons für ultra-schmale Bildschirme - zentriert */
    .filter-btn {
        flex: 1 !important;
        min-width: 60px !important;
        max-width: calc(25% - 2px) !important;
        padding: 6px 3px !important;
        font-size: 10px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Job Search - zentriert */
    .job-search {
        width: calc(100% - 40px) !important;
        max-width: 300px !important;
        margin: 0 auto 30px auto !important;
        display: block !important;
        background-color: #fff !important;
        color: #666 !important;
        border: 2px solid #660606 !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        font-family: 'Montserrat', sans-serif !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    /* Application CTA Section - zentriert */
    .application-cta-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        justify-items: center !important;
        width: calc(100% - 16px) !important;
        margin: 8px auto !important;
        padding: 8px !important;
    }
}

/* =================
   FOOTER STYLES
   ================= */

.footer {
    text-align: center;
    padding: 20px;
    background: #660606;
    color: white;
    margin-top: 0;
    font-size: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer a {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.footer a:hover {
    color: #f0f0f0;
}

/* =================
   RESPONSIVE DESIGN
   ================= */

@media (max-width: 768px) {
    body {
        background-color: #fff;
        padding: 0;
        margin: 0;
    }
    
    .lsfdwebsite {
        margin: 0;
        border: none;
        max-width: 100%;
        width: 100%;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 15px 10px;
        min-height: auto;
    }
    
    .header-right-top {
        position: static;
        order: 2;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons-header {
        order: 2;
    }
    
    .emergency-badge {
        order: 1;
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .logo-section-center {
        order: 1;
    }
    
    .header-logo {
        height: 100px;
        max-width: 300px;
    }
    
    .navigation-center {
        gap: 0;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
    
    .nav-tab {
        padding: 15px 8px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        min-width: 80px;
        border-radius: 0;
    }
    
    .content {
        padding: 15px 10px;
    }
    
    /* Team Seite Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100vw - 20px);
    }
    
    .person-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .person-card img {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px auto;
    }
    
    /* Karriere Seite Mobile */
    .stellen-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100vw - 20px);
    }
    
    .job-card {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        padding: 15px 10px;
    }
    
    .career-filters {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 5px;
        margin: 0;
        width: calc(100% - 10px);
    }
    
    .filter-btn {
        flex: 1;
        min-width: 80px;
        max-width: calc(25% - 6px);
        padding: 10px 5px;
        box-sizing: border-box;
    }
    
    .job-search {
        width: calc(100% - 40px) !important;
        max-width: 300px !important;
        margin: 0 auto 30px auto !important;
        display: block !important;
        background-color: #fff !important;
        color: #666 !important;
        border: 2px solid #660606 !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        font-family: 'Montserrat', sans-serif !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    /* Stellendetail Seiten Mobile */
    .job-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
        margin: 0;
        width: calc(100% - 10px);
        max-width: 100%;
    }
    
    .job-sidebar {
        order: -1;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        margin: 0;
    }
    
    /* Standorte Mobile */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
        margin: 0;
        width: calc(100% - 10px);
    }
    
    .station-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        margin: 0;
    }
    
    .station-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Formulare Mobile */
    .contact-container,
    .application-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
        margin: 0;
        width: calc(100% - 10px);
        max-width: 100%;
    }
    
    .application-form-section,
    .contact-form-section {
        order: 1;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .application-info-section,
    .contact-info-section {
        order: 2;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    
    .form-group {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
    
    /* News Grid Mobile */
    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
        margin: 0;
        width: calc(100% - 10px);
    }
    
    .info-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 20px 15px;
        font-size: 11px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lsfdwebsite {
        margin: 0;
        border: none;
        border-radius: 0;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100vw;
    }
    
    .header-top {
        padding: 10px 5px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-logo {
        height: 80px;
        max-width: 200px;
    }
    
    .nav-tab {
        padding: 12px 4px;
        font-size: 11px;
        min-width: 50px;
        max-width: calc(25% - 2px);
        flex: 1;
        box-sizing: border-box;
    }
    
    .navigation-center {
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    
    .about-header,
    .section-header,
    .news-header,
    .team-header,
    .career-header,
    .location-header,
    .contact-header,
    .legal-header,
    .application-header {
        font-size: 1.4rem;
        margin-bottom: 15px;
        padding: 0 5px;
        word-wrap: break-word;
    }
    
    .content {
        padding: 10px 0;
        margin: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .emergency-badge {
        font-size: 11px;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .social-icons-header a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .person-card {
        margin: 0 2px;
        padding: 15px 8px;
        width: calc(100% - 4px);
        max-width: calc(100vw - 14px);
        box-sizing: border-box;
    }
    
    .person-card img {
        width: 90px;
        height: 90px;
    }
    
    .job-title {
        font-size: 1.6rem;
        padding: 0 5px;
        word-wrap: break-word;
    }
    
    .form-group {
        margin: 0 2px 15px 2px;
        width: calc(100% - 4px);
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 6px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 2px;
        margin: 0;
        width: calc(100% - 4px);
    }
    
    .info-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 15px 10px;
    }
    
    .footer {
        padding: 15px 5px;
        font-size: 10px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Alle Grids und Container */
    .team-grid,
    .stellen-grid,
    .location-grid,
    .station-grid,
    .contact-container,
    .application-container {
        width: calc(100% - 4px);
        max-width: calc(100vw - 14px);
        margin: 0 2px;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Filter Buttons für sehr kleine Bildschirme */
    .filter-btn {
        flex: 1;
        min-width: 70px;
        max-width: calc(25% - 4px);
        padding: 8px 4px;
        box-sizing: border-box;
        font-size: 11px;
    }
    
    .career-filters {
        width: calc(100% - 4px);
        margin: 0 2px;
        padding: 0;
    }
    
    /* Job Search Input */
    .job-search {
        width: calc(100% - 40px) !important;
        max-width: 300px !important;
        margin: 0 auto 30px auto !important;
        display: block !important;
        background-color: #fff !important;
        color: #666 !important;
        border: 2px solid #660606 !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        font-family: 'Montserrat', sans-serif !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* Menü-Zentrum */
.navigation-center {
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-tab {
  display: flex;
  align-items: center;
  height: 60px; /* gleiche Höhe wie Header */
  padding: 0 25px; /* kein vertikales Padding mehr! */
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-tab i {
  margin-left: 5px;
  font-size: 0.85em;
  transform: translateY(1px); /* manuelles Ausgleichen */
}

.nav-tab:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Dropdown */
.has-dropdown > ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  width: max-content;
  background: #660606;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 0 0 6px 6px;
  z-index: 10;
  padding: 0;
  white-space: nowrap;
}

.has-dropdown:hover > ul,
.has-dropdown:focus-within > ul {
  display: block;
}

.has-dropdown > ul > .nav-item {
  display: block;
}

.has-dropdown > ul > .nav-item > .nav-tab {
  padding: 15px 25px;
  font-weight: 600;
  color: white;
  background: none;
}

.has-dropdown > ul > .nav-item > .nav-tab:hover,
.has-dropdown > ul > .nav-item > .nav-tab.active {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-menu {
    flex-direction: column;
    background-color: #660606;
    width: 100%;
  }

  .has-dropdown > ul {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-tab {
    border-radius: 0;
  }
}
