/* Globale Styles */
:root {
    --white: #FFFFFF;
    --dark-red: #A11739;
    --beige: #F4EAD7;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
}

/* Header und Navigation */
header {
    background-color: var(--dark-red);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--white);
    font-size: 16px;
    line-height: 1.2;
}

.title-line1 {
    font-weight: 700;
}

.title-line2 {
    font-weight: 400;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo svg {
        width: 130px;
        height: 130px;
    }

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    position: relative;
}

.burger-menu span {
    width: 2rem;
    height: 0.25rem;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: absolute;
    left: 0;
}

/* Positionierung der einzelnen Striche */
.burger-menu span:first-child {
    top: 0;
}

.burger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span:nth-child(3) {
    bottom: 0;
}

/* Animation für die Transformation */
.burger-menu.open span {
    background-color: #808080; /* Grau während der Animation */
}

.burger-menu.open span:first-child {
    top: 50%;
    transform: rotate(135deg); /* Geändert von 90 auf 135 Grad */
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    top: 50%;
    transform: rotate(45deg); /* Geändert von 180 auf 45 Grad */
}

.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 233px;
    background-color: var(--beige);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links.open {
    transform: translateX(0);
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 20px;
}

.nav-links li {
    margin: 1.5rem 0;
}

.nav-links a {
    color: var(--dark-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--black);
}


/* Hero Section */
.hero {
    background-image: url('images/1.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(161, 23, 57, 0.5);
}

.hero h1, .hero p, .hero button {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-red);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--beige);
    color: var(--dark-red);
    transform: translateY(-3px);
}

/* Leistungen Sektion */
.leistungen {
    padding: 6rem 1rem;
    background-color: var(--white);
}

.leistungen h2 {
    text-align: center;
    color: var(--dark-red);
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.leistung-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.027);
    box-shadow: 0 6px 12px 0 rgba(31, 38, 135, 0.37);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leistung-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, var(--black) 0%, transparent 90%);
    opacity: 0.03;
    z-index: 0;
}

.leistung-card > * {
    position: relative;
    z-index: 1;
}

.leistung-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.leistung-card h3 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.leistung-card h4 {
    color: var(--black);
    font-size: 1.125rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.leistung-card p {
    color: var(--black);
    font-size: 0.9rem;
}

/* Elfen gesucht Divider */
.divider {
    background-image: url('images/2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(161, 23, 57, 0.5);
}

.divider-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.divider h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.divider p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.divider .cta-button {
    display: inline-block;
    background-color: var(--dark-red);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.divider .cta-button:hover {
    background-color: var(--beige);
    color: var(--dark-red);
    transform: translateY(-3px);
}

/* Über uns Sektion */
.ueber-uns {
    padding: 6rem 1rem;
    background-color: var(--white);
}

.ueber-uns-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ueber-uns h2 {
    color: var(--dark-red);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.ueber-uns h3 {
    color: var(--black);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.ueber-uns p {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Geschäftsführer Sektion */
.geschaeftsfuehrer {
    padding: 6rem 1rem;
    background-color: var(--beige);
}

.geschaeftsfuehrer-content {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.geschaeftsfuehrer-text {
    flex: 1;
    padding-right: 2rem;
}

.geschaeftsfuehrer h3 {
    color: var(--dark-red);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.geschaeftsfuehrer p {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.geschaeftsfuehrer-image {
    flex: 1;
    text-align: center;
}

.geschaeftsfuehrer-image img {
    max-width: 50%;
    max-height: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    

}

/* Bewerbung Sektion */
.bewerbung {
    padding: 6rem 1rem;
    background-color: var(--white);
    text-align: center;
}

.bewerbung h2 {
    color: var(--dark-red);
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.bewerbung-content {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto 2rem;
}



.bewerbung-box {
    flex-basis: 48%;
    background-color: var(--beige);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.027);
    box-shadow: 0 6px 12px 0 rgba(31, 38, 135, 0.37);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.bewerbung-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, var(--black) 0%, transparent 90%);
    opacity: 0.03;
    z-index: 0;
}

.bewerbung-box h3 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bewerbung-box h4 {
    color: var(--black);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.bewerbung-box p, .bewerbung-box ul {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.6;
}

.bewerbung-box ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.bewerbung-contact {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.bewerbung-contact-info {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.bewerbung-contact-info a {
    color: var(--dark-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bewerbung-contact-info a:hover {
    color: var(--black);
}

/* Kontakt Sektion */
.kontakt {
    padding: 6rem 1rem;
    background-color: var(--beige);
    text-align: center;
}

.kontakt h2 {
    color: var(--dark-red);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.kontakt p {
    color: var(--black);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.kontakt-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--dark-red);
    box-shadow: 0 0 0 2px rgba(161, 23, 57, 0.2);
}

/* Footer Styles */
footer {
    background-color: var(--dark-red);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}


/* Impressum */

.impressum-content {
    padding-top: var(--header-height, 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem;
}

.impressum-content section {
    margin-bottom: 4rem;
}

.impressum-content h1 {
    color: var(--dark-red);
    font-size: 2.25rem;
	padding-top: 2rem;
    margin-bottom: 2rem;
}

.impressum-content h2 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.impressum-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-content h4 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impressum-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.impressum-content a {
    color: var(--dark-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: var(--black);
}

@media screen and (max-width: 744px) {
    .impressum-content {
        padding: 4rem 1rem;
    }

    .impressum-content h1 {
        font-size: 2rem;
    }

    .impressum-content h2 {
        font-size: 1.35rem;
    }

    .impressum-content h3 {
        font-size: 1.2rem;
    }

    .impressum-content h4 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 428px) {
    .impressum-content {
        padding: 3rem 1rem;
    }

    .impressum-content h1 {
        font-size: 1.75rem;
    }

    .impressum-content h2 {
        font-size: 1.25rem;
    }
}


/* Responsive Design */

@media screen and (max-width: 1024px) {
    /* Anpassungen für große Tablets im Querformat und kleine Laptops */
    .nav-links {
        width: 280px;
    }
	
	.logo svg {
        width: 130px;
        height: 130px;
    }
}

@media screen and (max-width: 900px) {
    .site-title {
        font-size: 18px;
    }

    .logo svg {
        width: 130px;
        height: 130px;
    }

    .burger-menu {
        display: flex !important;
    }
}

@media screen and (max-width: 744px) {
    .site-title {
        font-size: 16px;
    }

    .logo svg {
        width: 120px;
        height: 120px;
    }

    .hero {
        background-size: cover;
        background-position: center center;
        height: 90vh;
    }

    .hero h1 {
        font-size: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
    }
	
    .divider {
        background-size: cover;
        background-position: center center;
        padding: 4rem 1rem;
    }
	
	.divider h2 {
       font-size: 2rem;
       max-width: 90%;
       margin-left: auto;
       margin-right: auto;
       padding: 0 1rem;
   }
	
	    .divider p {
        font-size: 1rem;
    }

    .bewerbung-content {
        flex-direction: column;
    }

    .bewerbung-box {
        flex-basis: 100%;
        margin-bottom: 1.5rem;
    }

    .geschaeftsfuehrer-content {
        flex-direction: column-reverse;
    }

    .geschaeftsfuehrer-text {
        text-align: center;
        padding-right: 0;
        padding-top: 2rem;
    }

    .geschaeftsfuehrer-image {
        margin: 0 auto;
        text-align: center;
    }

    .geschaeftsfuehrer-image img {
        max-width: 60%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 428px) {
    .site-title {
        font-size: 16px;
    }

    .logo svg {
        width: 110px;
        height: 110px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero {
        background-size: cover;
    }

    .divider {
        background-size: cover;
    }
	
	.divider h2 {
       font-size: 1.75rem;
       max-width: 90%;
   }
	
	.divider p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 375px) {
    .site-title {
        font-size: 14px;
    }

    .logo svg {
        width: 100px;
        height: 100px;
    }

    .nav-links {
        width: 100%; /* Fullscreen menu für sehr kleine Geräte */
    }
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero, .divider-content {
    animation: fadeIn 1s ease-out;
}

.leistung-card, .bewerbung-box {
    animation: fadeInUp 0.5s ease-out;
}

.ueber-uns-content, .geschaeftsfuehrer-text {
    animation: fadeInLeft 1s ease-out;
}

.geschaeftsfuehrer-image {
    animation: fadeInRight 1s ease-out;
}

.kontakt-form, .footer-content {
    animation: fadeIn 1s ease-out;
}

/* Verbesserter Focus-Style für bessere Accessibility */
:focus {
 
}

/* Verbesserte Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--beige);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--black);
}