/* Grundlegende CSS-Stilregeln */
:root {
    /* Farbpalette */
    --primary-color: #005F56; /* Tiefes Smaragdgrün */
    --accent-color: #FFB400; /* Leuchtendes Safrangelb */
    --light-color: #ECECEC; /* Aschgrau */
    --dark-color: #1A1A1A; /* Kohlenschwarz */
    --white-color: #FFFFFF; /* Weiß */
    --text-color: #2E2E2E; /* Dunkelgraphit */
    
    /* Typografie */
    --font-family: 'Arial', sans-serif;
    --heading-weight: 700;
    --text-weight: 400;
    
    /* Abstände */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Border-Radius */
    --border-radius: 12px;
    
    /* Box-Shadow */
    --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset und Basis */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Etwas mehr als die Header-Höhe für bessere Sichtbarkeit */
}

body {
    font-family: var(--font-family);
    font-weight: var(--text-weight);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white-color);
    max-width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--heading-weight);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-desc {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--white-color);
    text-transform: lowercase;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white-color);
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile-Menü-Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hauptinhalt */
main {
    margin-top: 80px; /* Abstand für Fixed Header */
}

/* Abstand für Ankerpunkte, damit sie nicht vom Header verdeckt werden */
section[id] {
    padding-top: 90px;
    margin-top: -90px;
}

/* Hero-Sektion */
.hero {
    background: linear-gradient(rgba(0, 95, 86, 0.8), rgba(0, 95, 86, 0.8)), url('../img/ZtXMZ5.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white-color);
}

/* Über uns Sektion */
.about {
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
}

/* Dienstleistungen Sektion */
.services {
    background-color: var(--light-color);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    margin: 0 auto 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Service Card Image Styles */
.service-card .service-image {
    height: 200px;
    margin-bottom: 20px;
}

.service-card .service-image img {
    height: 100%;
    object-fit: cover;
}

/* Vorteile Sektion */
.benefits {
    background-color: var(--white-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white-color);
    font-size: 1.5rem;
}

/* Verschiedene Vorteil-Icons mit CSS */
.icon-experience::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid var(--white-color);
    border-top-color: transparent;
    position: relative;
}

.icon-experience::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 15px;
    background: var(--white-color);
}

.icon-quality::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: 
        linear-gradient(-45deg, transparent 15px, var(--white-color) 15px 18px, transparent 18px);
    position: relative;
}

.icon-support::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background: 
        radial-gradient(circle at center, var(--white-color) 5px, transparent 5px),
        radial-gradient(circle at top left, var(--white-color) 5px, transparent 5px),
        radial-gradient(circle at top right, var(--white-color) 5px, transparent 5px),
        radial-gradient(circle at bottom left, var(--white-color) 5px, transparent 5px),
        radial-gradient(circle at bottom right, var(--white-color) 5px, transparent 5px);
}

.icon-security::before {
    content: '';
    display: block;
    width: 25px;
    height: 30px;
    background: 
        linear-gradient(var(--white-color) 15px, transparent 15px),
        radial-gradient(circle 12.5px at 12.5px 12.5px, var(--white-color) 10px, transparent 12.5px);
}

/* Arbeitsablauf Sektion */
.workflow {
    background-color: var(--light-color);
    position: relative;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
}

.step {
    flex: 0 0 calc(20% - 20px);
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    z-index: 0;
}

.step h4 {
    margin-bottom: 10px;
}

/* Testimonials Sektion */
.testimonials {
    background-color: var(--white-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin: 0 10px;
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    position: absolute;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content::before {
    top: -10px;
    left: 0;
}

.testimonial-content::after {
    bottom: -30px;
    right: 0;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.rating {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* FAQ-Sektion */
.faq-section {
    background-color: var(--light-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question a {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.faq-question a:hover {
    background-color: rgba(0, 95, 86, 0.05);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

/* Formular Sektion */
.form-section {
    background-color: var(--white-color);
}

.audit-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 95, 86, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.submit-group {
    text-align: center;
    margin-top: 30px;
}

.required {
    color: #e74c3c;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 20px;
}

.error-message {
    background-color: #fdecea;
    color: #e74c3c;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

/* Kontakt-Sektion */
.contact {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.contact h2 {
    color: var(--white-color);
}

.contact h2::after {
    background: var(--accent-color);
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    margin-bottom: 0;
}

.contact-text a {
    color: var(--white-color);
    text-decoration: underline;
}

.contact-text a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--white-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

address p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1100;
}

.cookie-content {
    text-align: center;
}

.cookie-content h4 {
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Richtlinienseiten */
.policy-page {
    padding: 100px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.policy-container h2 {
    color: var(--primary-color);
}

.policy-container h3 {
    margin-top: 30px;
}

.policy-container ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Danke-Seite */
.thank-you {
    text-align: center;
    padding: 150px 0;
}

.thank-you h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.thank-you p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.steps-list {
    max-width: 500px;
    margin: 40px auto;
    text-align: left;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.steps-list ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.steps-list li {
    margin-bottom: 15px;
}

/* Hilfeklassen */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-30 {
    margin-top: 30px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
