/* Allgemeine Stile */
:root {
    --dark-grey: #1c1c1c;
    --accent-yellow: #facc15;
    --light-grey: #f4f4f4;
    --text-color: #e0e0e0;
    --dark-text: #333;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif; /* Starke Typografie */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--accent-yellow);
    margin-bottom: 0.8em;
    font-weight: 700;
}

h1 {
    font-size: 2.8em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--accent-yellow);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--dark-grey);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e0b300;
    text-decoration: none;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
header {
    background-color: #000;
    color: var(--text-color);
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-yellow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--accent-yellow);
}

.logo span {
    color: var(--text-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-yellow);
    text-decoration: none;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-bottom: 10px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav li {
    padding: 10px 20px;
    border-bottom: 1px solid #333;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav li a {
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.mobile-nav li a:hover {
    color: var(--accent-yellow);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x600/1c1c1c/facc15?text=PV+Handel+Direkt') no-repeat center center/cover;
    text-align: center;
    padding: 100px 0;
    color: var(--text-color);
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.hero-small {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x300/1c1c1c/facc15?text=PV+Handel+Direkt') no-repeat center center/cover;
    text-align: center;
    padding: 60px 0;
    color: var(--text-color);
}

.hero-small h1 {
    font-size: 2.5em;
    color: var(--accent-yellow);
}

.hero-small p {
    font-size: 1.1em;
}

/* Sections */
section {
    padding: 60px 0;
    border-bottom: 1px solid #333;
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent-yellow);
}

section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Vorteile Section */
.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vorteil-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.vorteil-item:hover {
    transform: translateY(-5px);
}

.vorteil-item h3 {
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.vorteil-item p {
    color: var(--text-color);
    text-align: left;
}

/* Leistungen Übersicht Section */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.leistung-item {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.leistung-item:hover {
    transform: translateY(-5px);
}

.leistung-item .icon {
    font-size: 2.5em;
    color: var(--accent-yellow);
    margin-right: 20px;
}

.leistung-item h3 {
    color: var(--accent-yellow);
    margin-bottom: 5px;
    text-align: left;
}

.leistung-item p {
    color: var(--text-color);
    font-size: 0.95em;
    text-align: left;
    margin-bottom: 0;
}

/* Leistungen Detail Section */
.leistungen-detail .leistung-item-detail {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.leistungen-detail .leistung-item-detail h2 {
    color: var(--accent-yellow);
    text-align: left;
    margin-bottom: 20px;
}

.leistungen-detail .leistung-item-detail p {
    color: var(--text-color);
    text-align: left;
    margin-bottom: 15px;
}

.leistungen-detail .leistung-item-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.leistungen-detail .leistung-item-detail ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23facc15"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Referenzen Section */
.referenzen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.referenz-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.referenz-item h3 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
    text-align: left;
}

.referenz-item p {
    color: var(--text-color);
    text-align: left;
    margin-bottom: 10px;
}

.referenz-item strong {
    color: var(--accent-yellow);
}

.kundenstimme {
    font-style: italic;
    border-left: 4px solid var(--accent-yellow);
    padding-left: 15px;
    margin-top: 20px;
    color: var(--light-grey);
    text-align: left;
}

.kundenstimme span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent-yellow);
}

/* Karriere Section */
.karriere-intro p {
    text-align: left;
}

.stellenangebote {
    margin-top: 40px;
}

.stelle-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stelle-item h3 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
    text-align: left;
}

.stelle-item p {
    color: var(--text-color);
    text-align: left;
    margin-bottom: 15px;
}

.stelle-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.stelle-item ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23facc15"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.stelle-item .btn-small {
    margin-top: 15px;
}

/* Über uns Section */
.ueber-uns-intro p {
    text-align: left;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.team-member {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-yellow);
}

.team-member h3 {
    color: var(--accent-yellow);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.95em;
    margin-bottom: 0;
}

.werte ul {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.werte ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23facc15"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: left;
    font-size: 1.1em;
}

.werte ul li strong {
    color: var(--accent-yellow);
}

/* Kontakt Section */
.kontakt-formular {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 8px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.kontakt-formular h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: var(--text-color);
    font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5);
}

.form-feedback {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-feedback.success {
    background-color: #4CAF50;
    color: white;
}

.form-feedback.error {
    background-color: #f44336;
    color: white;
}

.kontakt-info {
    text-align: center;
    margin-top: 50px;
}

.kontakt-info p {
    color: var(--text-color);
    margin-bottom: 5px;
}

.kontakt-info strong {
    color: var(--accent-yellow);
}

/* Impressum, Datenschutz, AGB */
.container h1 {
    text-align: center;
    margin-bottom: 40px;
}

.container h2 {
    color: var(--accent-yellow);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.container h3 {
    color: var(--light-grey);
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.container p, .container ul li {
    text-align: left;
    color: var(--text-color);
}

.container ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

/* Footer */
footer {
    background-color: #000;
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    border-top: 3px solid var(--accent-yellow);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer nav ul {
    margin-top: 10px;
}

footer nav ul li {
    margin: 0 10px;
}

footer p {
    margin-top: 15px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero h1 {
        font-size: 2.8em;
    }

    .hero p {
        font-size: 1.1em;
    }

    nav ul {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .vorteile-grid, .leistungen-grid, .referenzen-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .leistung-item {
        flex-direction: column;
        text-align: center;
    }

    .leistung-item .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .leistung-item h3, .leistung-item p {
        text-align: center;
    }

    .kundenstimme {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--accent-yellow);
        padding-top: 15px;
    }

    .stelle-item ul li {
        background-position: top left;
    }

    .werte ul li {
        background-position: top left;
    }

    footer .container {
        flex-direction: column;
    }

    footer nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

    footer nav ul li {
        margin: 5px 0;
    }
}
