﻿/* styles.css */
:root {
    --bg-color: #06112c;
    --text-color: #f4f7ff;
    --gold-color: #ffc000;
    --gray-color: #123b87;
    --purple-hover: #001a4d;
    --footer-bar: #00143a;
    --line-color: #1f3f77;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #06112c 0%, #040a1a 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.top-bar {
    position: relative;
    padding: 20px;
    background: #081734;
    text-align: center;
    border-bottom: 1px solid var(--line-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
}

.schnell-und-jederzeit {
    font-size: 1.2em;
    color: #ffffff;
    text-decoration: underline;
    margin: 5px 0;
}

.top-email-link {
    font-size: 1.1em;
    color: rgba(255, 192, 0, 0.92);
}

.infobox {
    background: rgba(0, 24, 73, 0.78);
    border: 1px solid rgba(255, 192, 0, 0.35);
    padding: 15px;
    margin: 20px auto;
    color: #ffffff;
    max-width: 800px;
    border-radius: 8px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

@media (min-width: 1025px) {
    .top-bar {
        padding-top: 30px;
        min-height: 200px;
        display: block;
        text-align: center;
    }

    .logo-link {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 100;
    }

    .logo-img {
        width: 320px;
        margin: 0;
    }

    .top-bar-content {
        margin-top: 10px;
    }
}

nav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: #0a1b44;
    border-bottom: 1px solid var(--line-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li { margin: 0 5px; }

nav ul li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 4px;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: var(--gold-color);
    color: var(--purple-hover);
}

nav ul li a.active {
    color: var(--gold-color);
    border-bottom: 2px solid var(--gold-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gold-color);
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    background-color: #0b1d48;
    border-bottom: 1px solid var(--line-color);
}

.text-center { text-align: center; }

.btn {
    display: inline-block;
    background-color: var(--gray-color);
    color: #ffffff;
    border: 1px solid transparent;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

.btn:hover {
    background-color: var(--gold-color) !important;
    border-color: var(--gold-color);
    color: var(--purple-hover) !important;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.service-row img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
}

.service-row.reverse { flex-direction: row-reverse; }

.service-text { flex: 1; min-width: 300px; }

footer {
    background-color: var(--footer-bar);
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}

footer a { color: var(--gold-color) !important; font-weight: bold; }

@media (max-width: 768px) {
    .service-row { flex-direction: column !important; }
    nav ul { flex-direction: column; align-items: center; }
}
