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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header und Navigation */
header {
    background-color: #000000;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: none;
    box-shadow: none;
    padding: 0 2vw;
}
nav ul {
    display: flex;
    list-style: none;
    margin: 0 1.5rem 0 0;
    padding: 0;
    gap: 0.5rem;
}
nav ul li a {
    color: #222;
    background: #fff;
    border-radius: 4px;
    padding: 0.3rem 0.9rem;
    margin: 0 0.1rem;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}
nav ul li a.active, nav ul li a:hover {
    color: #fff;
    background: #ff0000;
    border: 1px solid #ff0000;
}
.logo {
    margin-left: 0.5rem;
    margin-right: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 80px;
    vertical-align: middle;
}
@media (max-width: 600px) {
    nav {
        padding: 0 0.5vw;
    }
    .logo img {
        height: 48px;
    }
    nav ul li a {
        padding: 0.2rem 0.5rem;
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hintergrund.jpeg') no-repeat center 100%;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #000000;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

/* Service Details Section */
.service-details {
    padding: 5rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-details h2 {
    text-align: center;
    color: #000000;
    margin-bottom: 3rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.contact-section {
    text-align: center;
    padding: 3rem 0;
}

.contact-section h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cc0000;
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1 1 200px;
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #ff0000;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.footer-section a:hover {
    color: #ff0000;
    text-decoration: underline;
}
.footer-section a.red {
    color: #ff0000 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-section {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 10px;
    width: 100vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2, .contact-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    width: 95%;
    margin: 0 auto;
    max-width: 1200px;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.info-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 960px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-item {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
    }
}

/* Impressum Seite */
.impressum-main {
    padding-top: 160px;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    color: #000000;
}
.impressum-main h1, .impressum-main h2 {
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.impressum-main h1 {
    font-size: 2.2rem;
    margin-top: 2.5rem;
}
.impressum-main h2 {
    font-size: 1.3rem;
    border-bottom: 1px solid #000000;
    padding-bottom: 0.3rem;
}
.impressum-main a {
    color: #3498db;
    text-decoration: underline;
    word-break: break-all;
}
.impressum-main p,
.impressum-main a,
.impressum-main li,
.impressum-main h1,
.impressum-main h2 {
    color: #ffffff;
}
.impressum-main p {
    margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
    .impressum-main {
        max-width: 98vw;
        padding: 1rem;
    }
}

.impressum-bg {
    background: #000000 !important;
}


.kontakt-button {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: #ff0000;
    color: #fff;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, transform 0.2s;
}
.kontakt-button:hover {
    background: #b30000;
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 600px) {
    .intro-section {
        font-size: 1rem;
        padding: 2.5rem 0.5rem 1.5rem 0.5rem;
    }
    .kontakt-button {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}

.red {
    color: #ff0000;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    color: #222;
    margin: 10vh auto;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    max-width: 700px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    position: relative;
    animation: modalIn 0.25s;
}
.modal-content ul {
  white-space: nowrap;
  overflow-x: auto;
  padding-left: 2em;
}
@keyframes modalIn {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close {
    color: #ff0000;
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.close:hover {
    color: #b30000;
}
@media (max-width: 600px) {
    .modal-content {
        padding: 1rem 0.5rem;
        max-width: 95vw;
    }
}

.kontaktformular {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 2.5rem auto 0 auto;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#kontaktformular {
    scroll-margin-top: 160px;
}
.kontaktformular label {
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: #2c3e50;
}
.kontaktformular input,
.kontaktformular textarea {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.7rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    background: #f8f8f8;
    color: #222;
}
.kontaktformular textarea {
    resize: vertical;
    min-height: 120px;
}
.kontaktformular button {
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.kontaktformular button:hover {
    background: #b30000;
}
@media (max-width: 600px) {
    .kontaktformular {
        padding: 1rem 0.5rem;
        max-width: 98vw;
    }
}

.kontakt-einleitung {
    text-align: center;
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}
