/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

:root {
    --primary-color: #003b5c; 
    --accent-color: #c09e6b; 
    --light-bg: #f4f7f6;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Header & Navigation */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #002236;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 59, 92, 0.8), rgba(0, 59, 92, 0.9)), url('platzhalter-hintergrund.jpg') center/cover;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Grid & Cards */
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

/* Intro Text */
.intro-text {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: justify;
    line-height: 1.8;
    hyphens: auto;
}

/* Werte Grid 2x2 */
.werte-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.wert-card {
    background: #fff;
    padding: 35px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.wert-card p {
    text-align: justify;
    hyphens: auto;
}

/* Vita Sektion */
.container-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-img {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.vita-list {
    list-style: none;
    margin-top: 20px;
}

.vita-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 1px;
    font-size: 1.05rem;
}

.vita-list li::before {
    content: "■";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 4px;
}

/* Zertifikate */
.certificate-row {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.cert-mini {
    height: 175px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Kontakt Box */
.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .hero h2 { font-size: 2rem; }
    .container-flex { flex-direction: column; }
    .werte-grid { grid-template-columns: 1fr; }
    .certificate-row { justify-content: center; flex-wrap: wrap; }
    .cert-mini { height: 130px; }
}
/* Zentriert nur die Überschriften im Werte-Grid */
#werte .wert-card h3 {
    text-align: center;
    margin-bottom: 20px;
}