/* VersDirekt Brand Colors & Customizations */

:root {
    --vd-primary: #1a3a5c;
    --vd-accent:  #4CAF50;
    --vd-accent-dark: #3d8b40;
    --vd-light:   #f5f7fa;
    --vd-dark:    #111c2d;
}

/* ===== 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 #fff;
    color: #fff !important;
}

.button.button-outline:hover, a.button.button-outline:hover {
    background-color: var(--vd-accent);
    border-color: var(--vd-accent);
}

/* ===== HERO ===== */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.modular-hero .image-overlay {
    z-index: 0 !important;
}

.modular-hero {
    position: relative;
    background-color: var(--vd-dark);
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.modular-hero .container {
    position: relative;
    z-index: 2;
}

.modular-hero .image-overlay {
    background: linear-gradient(135deg, rgba(26,58,92,0.88) 0%, rgba(17,28,45,0.78) 100%);
}

.modular-hero .container {
    padding: 4rem 1rem;
}

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

.modular-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ===== 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-icon h6 {
    color: var(--vd-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.75rem;
}

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

/* ===== 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;
}

/* ===== 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 */
#body-wrapper .form-group {
    margin-bottom: 1.2rem;
}

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

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

#body-wrapper input[type=text]:focus,
#body-wrapper input[type=email]:focus,
#body-wrapper textarea:focus {
    border-color: var(--vd-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

#body-wrapper .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
}

#body-wrapper .form-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}
