/* VersDirekt Brand Colors & Customizations */

:root {
    --vd-primary: #0d2d45;
    --vd-accent:  #0d9488;
    --vd-accent-dark: #0a7a70;
    --vd-light:   #f5f7fa;
    --vd-dark:    #071c2c;
}

/* ===== HEADER ===== */
#header {
    background-color: var(--vd-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#header .navbar-section a,
#header .navbar-section a:visited {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0 0.8rem;
}

#header .navbar-section a:hover {
    color: #fff !important;
}

#header .logo img {
    max-height: 40px;
    max-width: 160px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 840px) {
    #header .logo img {
        max-height: 32px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    #header .logo img {
        max-height: 28px;
        max-width: 100px;
    }
}

/* ===== BUTTONS ===== */
.button, a.button {
    background-color: var(--vd-accent);
    border-color: var(--vd-accent);
    color: #fff !important;
    border-radius: 3px;
    padding: 0.65rem 1.6rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}

.button:hover, a.button:hover {
    background-color: var(--vd-accent-dark);
    border-color: var(--vd-accent-dark);
    color: #fff !important;
}

.button.button-outline, a.button.button-outline {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.85);
    color: #fff !important;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.2s, border-color 0.2s;
}

.button.button-outline:hover, a.button.button-outline:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* ===== HERO ===== */
.modular-hero {
    background: linear-gradient(135deg, #0d2d45 0%, #0d9488 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    padding: 5rem 0 4rem;
}

.hero-text {
    flex: 0 0 50%;
    text-align: left;
}

.modular-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.modular-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 2rem 0;
    line-height: 1.65;
    max-width: none;
}

.hero-illustration {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-illustration img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35));
    animation: hero-float 4s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

@media (max-width: 840px) {
    .hero-split {
        flex-direction: column;
        padding: 3rem 0;
    }
    .hero-text {
        flex: 0 0 auto;
        text-align: center;
    }
    .hero-illustration {
        justify-content: center;
        max-height: 260px;
        overflow: hidden;
    }
    .modular-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-illustration { display: none; }
}

/* ===== FEATURES ===== */
.modular-features {
    background-color: #fff;
    padding: 4rem 0;
}

.modular-features .frame-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: 3rem 2.5rem;
}

.modular-features h2 {
    color: var(--vd-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.feature-icon i {
    color: var(--vd-accent);
    font-size: 2.2rem;
}

.feature-image {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem;
}

.feature-icon h6 {
    color: var(--vd-primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
}

.feature-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* ===== PROZESS ===== */
.modular-prozess {
    background-color: var(--vd-light);
    padding: 4rem 0;
    text-align: center;
}

.modular-prozess h2 {
    color: var(--vd-primary);
    margin-bottom: 2.5rem;
}

.prozess-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.prozess-step {
    text-align: center;
    flex: 0 0 auto;
}

.prozess-step img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.75rem;
}

.prozess-step p {
    font-weight: 600;
    color: var(--vd-primary);
    margin: 0;
    font-size: 0.95rem;
}

.prozess-arrow {
    font-size: 1.8rem;
    color: var(--vd-accent);
    flex: 0 0 auto;
}

/* ===== ZIELGRUPPEN ===== */
.modular-text.bg-light {
    background-color: #fff;
    padding: 4rem 0;
}

.modular-text.bg-light h2 {
    color: var(--vd-primary);
    margin-bottom: 1.5rem;
}

.modular-text.bg-light ul {
    list-style: none;
    padding: 0;
}

.modular-text.bg-light ul li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid #eee;
    color: #444;
}

.modular-text.bg-light ul li:before {
    content: '→';
    color: var(--vd-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== PRODUKTE ===== */
.modular-produkte {
    background-color: var(--vd-light);
    padding: 4rem 0;
}

.modular-produkte h2 {
    color: var(--vd-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

.produkt-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    text-align: center;
}

.produkt-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.produkt-icon {
    margin-bottom: 1rem;
}

.produkt-icon i {
    font-size: 2.5rem;
    color: var(--vd-accent);
}

.produkt-card h4 {
    color: var(--vd-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.produkt-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
}

.produkte-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== COVERCHECK ===== */
.modular-text.bg-primary {
    background-color: var(--vd-primary) !important;
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.modular-text.bg-primary h2 {
    color: #fff !important;
    margin-bottom: 1rem;
}

.modular-text.bg-primary p {
    color: rgba(255,255,255,0.85) !important;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.modular-text.bg-primary a {
    color: #fff !important;
}

/* ===== NEWS ===== */
.modular-news {
    background-color: #fff;
    padding: 4rem 0;
}

.modular-news h2, .modular-news h3 {
    color: var(--vd-primary);
    text-align: center;
}

.modular-news h2 {
    margin-bottom: 0.5rem;
}

.modular-news h3 {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.13);
}

.news-bild {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.news-bild img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: #fff;
}

.news-kein-bild {
    color: #ccc;
    font-size: 3rem;
}

.news-datum {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.news-inhalt h5 a {
    color: var(--vd-primary);
    text-decoration: none;
}

.news-inhalt h5 a:hover {
    color: var(--vd-accent);
}

.news-inhalt {
    padding: 1.5rem;
}

.news-inhalt h5 {
    color: var(--vd-primary) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.news-inhalt p {
    color: #555 !important;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-mehr {
    color: var(--vd-accent);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.news-mehr:hover {
    color: var(--vd-accent-dark);
}

.news-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--vd-dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
    font-size: 0.88rem;
}

#footer p, #footer a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}

#footer a:hover {
    color: rgba(255,255,255,0.9);
}

#footer strong {
    color: rgba(255,255,255,0.85);
}

.footer-brand {
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0.2rem 0;
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
}

.footer-madeby {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}
.footer-madeby a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}
.footer-madeby a:hover {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
}

.footer-privacy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    line-height: 1.6;
}
.footer-privacy a {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
}
.footer-privacy a:hover {
    color: rgba(255,255,255,0.7);
}

/* ===== ALLGEMEIN ===== */
h1, h2, h3, h4 { color: var(--vd-primary); }
a { color: var(--vd-accent); }
a:hover { color: var(--vd-accent-dark); }

/* Markenname überall im Text */
.vd-name {
    font-weight: 300;
    letter-spacing: 0.02em;
}
.vd-name b {
    font-weight: 800;
}

/* Markenname Text-Fallback im Header (wenn kein Logo) */
.vd-brand {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #fff;
    font-weight: 300;
}
.vd-brand strong {
    font-weight: 800;
    color: #fff;
}

/* Telefon im Header */
.header-phone {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    margin-left: 1.5rem;
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.95rem;
}

.header-phone:hover {
    color: #fff !important;
}

.header-phone .fa {
    color: var(--vd-accent);
    margin-right: 0.3rem;
}

/* ===== TEAM-SEITE ===== */
.team-page {
    padding: 4rem 0;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-header h1 {
    color: var(--vd-primary);
    margin-bottom: 0.75rem;
}

.team-subtitle {
    color: #888;
    font-size: 1.1rem;
}

.team-grid {
    gap: 2rem 0;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s;
    height: 100%;
}

.team-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}

.team-foto {
    width: 100%;
    padding: 2rem 2rem 0.5rem;
    display: flex;
    justify-content: center;
    background: #fff;
}

.team-foto img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--vd-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-rolle {
    color: var(--vd-accent);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.team-beschreibung {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.team-email {
    color: var(--vd-primary);
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.team-email:hover {
    color: var(--vd-accent);
}

.team-email .fa {
    color: var(--vd-accent);
}

.team-initials {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--vd-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Spacing zwischen Sektionen */
.section + .section { margin-top: 0; }

/* ===== CONTENT PAGES (Impressum, Datenschutz, etc.) ===== */
.content-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1rem 4rem;
}

.content-page-title {
    color: var(--vd-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--vd-accent);
}

.content-page h2 {
    color: var(--vd-primary);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    color: var(--vd-primary);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-page p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-page ul, .content-page ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-page li {
    color: #444;
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.content-page th {
    background: var(--vd-primary);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.content-page td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #eee;
    color: #444;
}

.content-page tr:nth-child(even) td {
    background: #f9f9f9;
}

.content-page hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
}

/* Contact form styling */
.form-group {
    margin-bottom: 1.2rem;
}

.form-label, .form-group label {
    display: block;
    color: var(--vd-primary);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    border-color: var(--vd-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

.form-check, .checkboxes {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #555;
}

.form-check input[type=checkbox] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.modular-text .form-actions {
    margin-top: 1.5rem;
}

.modular-text .form-errors,
.notices.alert {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    color: #b91c1c;
}

.notices.success {
    background: #dcfce7;
    border-left: 4px solid var(--vd-accent);
    padding: 1rem 1.25rem;
    border-radius: 4px;
    color: #166534;
}
