:root {
    --primary-color: #003399; /* Polizei Blau */
    --secondary-color: #f4f7f6;
    --text-color: #333;
    --accent-color: #ffcc00; /* Polizei Gelb/Gold */
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: rgba(0, 51, 153, 0.85); /* Semi-transparent Primary Color */
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hero {
    background: linear-gradient(rgba(0, 51, 153, 0.9), rgba(0, 51, 153, 0.75)), url('https://images.unsplash.com/photo-1543165365-07232fe1222a?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    min-height: 400px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 30px;
}

.btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    background-color: #e6b800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.container h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

footer {
    background-color: var(--dark-bg);
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Presse Gallery */
.news-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* Presse Detail View */
.detail-container {
    text-align: left;
    padding-top: 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}

.news-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Job Gallery */
.job-gallery {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 30px;
    row-gap: 50px;
}

.job-card {
    background-color: #ffffff;
    color: #333;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.job-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.job-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.job-description {
    margin-bottom: 20px;
    white-space: pre-wrap;
    line-height: 1.6;
    flex-grow: 1;
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: auto;
}

.apply-btn:hover {
    background-color: #002266;
}

@media (max-width: 768px) {
    header { 
        flex-direction: column; 
        gap: 10px; 
        padding: 1rem;
        text-align: center;
    }
    .hero { height: 60vh; }
}

@media (min-width: 992px) {
    .job-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Form */
.contact-form {
    width: 100%;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.user-name {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Team Grid */
.team-grid {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.team-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-color);
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-role {
    color: #666;
    font-size: 0.9rem;
}
