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

:root {
    --color-green: #3A5C54;
    --color-accent: #7CA99A;
    --color-gold: #C2A46A;
    --color-dark: #181818;
    --color-light: #F5F3ED;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-light);
}

body {
    padding-top: 90px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--color-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

@media (max-width: 1024px) {
    body {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: var(--color-green);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 18px 18px;
    height: 90px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-center-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 1;
}

.logo-kreis-wrapper {
    width: 90%;
    max-width: 600px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
}

.kreis-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    z-index: 1;
}

.main-logo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove old animation classes */
.main-logo.load,
.main-logo.scroll,
.main-logo.sticky,
.main-logo.fadeout {
    animation: none;
    transform: none;
    opacity: 1;
}

/* Tablet Portrait */
@media (min-width: 601px) and (max-width: 1024px) {
    .logo-kreis-wrapper {
        width: 80%;
        max-width: 500px;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1366px) {
    .logo-kreis-wrapper {
        max-width: 550px;
        padding: 0 40px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .logo-kreis-wrapper {
        width: 85%;
        max-width: 300px;
    }
}

.header-logo {
    height: 70px;
    width: auto;
    margin-right: 1.2rem;
    transition: height 0.2s;
}

@media (max-width: 600px) {
    .header-logo {
        height: 54px;
    }
}

.nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav ul li {
    position: relative;
}

.nav ul li:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav ul li a {
    color: var(--color-green);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    display: block;
    position: relative;
}

.nav ul li a:hover {
    background: var(--color-green);
    color: #fff;
    transform: translateY(-1px);
}

.nav ul li a:active {
    background: var(--color-dark);
    color: #fff;
    transform: translateY(0);
}

/* Submenu Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0.8rem;
    border-radius: 10px;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(42, 139, 118, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    margin-top: 0.2rem;
    z-index: 1001;
    display: block;
    pointer-events: none;
}

.nav ul li:hover .submenu {
    pointer-events: all;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.submenu a {
    color: var(--color-green) !important;
    background: none;
    transition: all 0.2s ease-out;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
}

.submenu a:hover {
    background: var(--color-green) !important;
    color: #fff !important;
    transform: translateX(5px);
}

.submenu a:active {
    background: var(--color-dark) !important;
    color: #fff !important;
    transform: translateX(0);
}

/* Gold Button Styles */
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: var(--color-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.cta-button:hover {
    background: #B29355;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(194, 164, 106, 0.3);
}

.cta-button:active {
    background: #8E754A;
    transform: translateY(0);
    box-shadow: none;
}

.cta-button:focus {
    outline: none;
    border-color: #8E754A;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-accent) !important;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

/* Mobile Menu Styles */
@media (max-width: 1024px) {
    .nav {
        padding: 0.8rem 1.5rem;
        height: 80px;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2100;
    }

    .nav ul {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 5rem 2rem;
        margin: 0;
        z-index: 2000;
        overflow-y: auto;
    }

    .nav ul.show {
        display: flex;
    }

    .nav ul li {
        width: 100%;
        max-width: 500px;
        text-align: center;
    }

    .nav ul li a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        color: var(--color-green) !important;
        font-weight: 600;
        border-radius: 12px;
        background: rgba(255,255,255,0.8);
        box-shadow: 0 2px 12px rgba(42,139,118,0.07);
        transition: all 0.2s ease;
    }

    .nav ul li a:hover,
    .nav ul li a:focus {
        background: var(--color-green);
        color: #fff !important;
        transform: translateY(-2px);
    }

    /* Hide submenu on mobile */
    .submenu,
    .nav ul li:hover .submenu,
    .submenu.show {
        display: none !important;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .nav {
        height: 70px;
    }

    main {
        margin-top: 70px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .nav ul {
        padding: 3rem 1rem;
    }
    .nav ul li {
        max-width: 400px;
    }
    .nav ul li a {
        padding: 0.8rem 1.2rem;
        font-size: 1.1rem;
    }
    .menu-toggle {
        display: block;
    }
    .nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.2s ease-out;
    }
    .nav ul.show {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    .nav ul li {
        width: 100%;
    }
    .nav ul li a {
        width: 100%;
        padding: 0.8rem;
    }
    .submenu {
        position: static;
        box-shadow: none;
        margin: 0.5rem 0;
        padding: 0.5rem 0 0.5rem 1rem;
        transform: none;
        display: none;
        pointer-events: all;
    }
    .nav ul li:hover .submenu {
        display: none;
    }
    .submenu.show {
        display: block;
    }
    .submenu::before {
        display: none;
    }
    .nav ul li a:hover {
        transform: none;
    }
    .submenu a:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .nav {
        height: 60px;
    }

    main {
        margin-top: 60px;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .page-header p {
        font-size: 0.95rem;
    }
}

/* Page Header Styles */
.page-header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    margin-top: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--color-green);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-accent);
    line-height: 1.6;
}

/* Content Styles */
.page-content {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    padding: 2.5rem 1rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.content-section {
    background: transparent;
    color: var(--color-dark);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    opacity: 0.98;
}

.content-section h2, .service-card h3 {
    color: var(--color-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.content-section p, .service-card p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    line-height: 1.8;
    color: var(--color-dark);
}

.content-section ul {
    list-style: none;
    margin: 1rem 0;
}

.content-section ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-section ul li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

/* Image Grid Styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    background: transparent;
    box-shadow: none;
    width: 100%;
    padding: 2rem 0;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
}

.service-card {
    background: #fff;
    color: var(--color-dark);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
    transition: transform 0.18s;
    border: 1px solid rgba(42, 139, 118, 0.2);
}
.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.service-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    display: block;
}

.card-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: var(--color-green);
}

.service-card p {
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--color-dark);
}

.cta-button {
    align-self: center;
    margin-top: auto;
    background: var(--color-gold);
    color: var(--color-dark);
    border: 2px solid var(--color-gold);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(212, 184, 134, 0.3);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.cta-button:hover {
    background: var(--color-green);
    color: #fff;
    border-color: var(--color-green);
    box-shadow: 0 4px 16px rgba(42,139,118,0.18);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0 2rem 0;
    }
    .service-card {
        border-radius: 0 0 16px 16px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.13);
        margin-top: 0;
        padding-top: 0;
    }
    .service-image {
        height: 170px;
        border-radius: 0;
        margin-top: 0;
        display: block;
        width: 100%;
        object-fit: cover;
    }
    .card-content {
        padding: 1.2rem 1rem 1.2rem 1rem;
    }
    .cta-button {
        font-size: 1.05rem;
        padding: 0.9rem 2rem;
    }
    .content-section {
        padding-top: 0;
        margin-top: 0;
    }
}

@media (min-width: 769px) {
    .service-cards {
        background: transparent;
        box-shadow: none;
        gap: 5rem;
    }
    .content-section, .service-card {
        max-width: none;
    }
}

.index .content-section,
.index .service-card {
    color: var(--color-dark);
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(42, 139, 118, 0.1);
}

.index p, .index h1, .index h2, .index h3 {
    color: var(--color-dark);
    line-height: 1.8;
}

.index .service-card p {
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    line-height: 1.8;
    color: var(--color-dark);
}

.index .service-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-green);
    margin-bottom: 1.5rem;
}

footer {
    background: var(--color-green) url('Design/goldsplitter.png');
    background-size: 400px;
    color: #fff;
    padding: 3rem 0 1rem 0;
    text-align: center;
    font-size: 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
}

.blatt-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.blatt-container img {
    width: auto;
    height: 40vh;
    max-height: 600px;
    transform: rotate(90deg); /* oder -90deg, je nach gewünschter Richtung */
    object-fit: contain;
}

@media (max-width: 600px) {
    body {
        padding-bottom: 0;
    }
    .blatt-container {
        height: 30vh;
    }
    .blatt-container img {
        width: 90vw;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.footer-contact {
    text-align: left;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.footer-whatsapp:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.footer-whatsapp svg {
    width: 18px;
    height: 18px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-icons a:hover {
    background: var(--color-green);
    color: #fff;
    transform: translateY(-2px);
}

.social-icons a:active {
    background: var(--color-green);
    color: #fff;
    transform: translateY(0);
}

.social-icons a:focus {
    outline: none;
    border-color: var(--color-green);
    background: var(--color-green);
    color: #fff;
}

@media (max-width: 768px) {
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.6rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.6rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        padding-bottom: 60px; /* Platz für das Unendlichkeitszeichen */
    }

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

    .footer-social {
        align-items: center;
        margin-bottom: 20px; /* Zusätzlicher Abstand zum Unendlichkeitszeichen */
    }

    .footer-infinity {
        bottom: 0;
        width: 80px;
    }

    .social-icons {
        justify-content: center;
        position: relative;
        z-index: 2; /* Höherer z-index als footer-infinity */
    }
}

.nav-spacer {
    height: 80px;
}

.section-content h2, .section-content p {
    color: var(--color-dark) !important;
}

/* Unternehmensenergetik Page Styles */
.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-dark);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-column {
    background: rgba(42, 139, 118, 0.08);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(42, 139, 118, 0.1);
}

.service-column h3 {
    color: var(--color-green);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-column ul {
    list-style: none;
    padding: 0;
}

.service-column li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-column li:before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-size: 1.4rem;
    line-height: 1;
}

.pricing-section {
    background: rgba(42, 139, 118, 0.05);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    border: 1px solid rgba(42, 139, 118, 0.1);
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-green);
    font-size: 1.8rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(42, 139, 118, 0.1);
}

.pricing-card h3 {
    color: var(--color-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 139, 118, 0.1);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-green);
    margin: 0.5rem 0;
}

.additional {
    font-size: 0.9rem;
    color: var(--color-dark);
    opacity: 0.8;
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .service-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-section {
        padding: 2rem;
    }
}

/* About Section Styles */
.about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 max(2rem, 4vw);
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover;
    margin-bottom: 2rem;
}

.vision-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.vision-title {
    color: var(--color-green);
    font-size: 2.2rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-align: left;
    width: 100%;
}

.vision-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-green);
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: left;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

@media (max-width: 768px) {
    .about-flex {
        gap: 2rem;
        padding: 0 1rem;
    }

    .vision-content {
        padding: 0;
    }

    .vision-title {
        font-size: 1.8rem;
        margin: 1.5rem 0 1rem 0;
    }

    .vision-text {
        font-size: 1.2rem;
    }

    .vision-description {
        font-size: 1rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.image-grid img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.02);
}

.welcome-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.2rem 2.7rem;
    border-radius: 22px;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    color: var(--color-dark);
    text-align: center;
}

.welcome-box h2 {
    color: var(--color-green);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .welcome-box {
        padding: 1.2rem 0.7rem;
        font-size: 1rem;
        border-radius: 14px;
    }
}

.contact-form {
    max-width: 480px;
    margin: 2.5rem auto 0 auto;
    background: #fff;
    padding: 2.2rem 2rem 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    border: 1px solid rgba(42, 139, 118, 0.1);
}

.contact-form label {
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 0.3rem;
    text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(42, 139, 118, 0.2);
    border-radius: 10px;
    background: #fff;
    color: var(--color-dark);
    font-size: 1.08rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 184, 134, 0.3);
}

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

.privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0.5rem 0 1.2rem 0;
}

.privacy-label {
    font-size: 0.98rem;
    color: var(--color-dark);
    opacity: 0.8;
    font-weight: 400;
}

.privacy-label a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.2s;
}
.privacy-label a:hover {
    color: var(--color-green);
}

.form-success {
    background: rgba(42, 139, 118, 0.1);
    color: var(--color-green);
    border: 1.5px solid var(--color-green);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.form-error {
    background: rgba(233, 77, 137, 0.1);
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.contact-form button.cta-button {
    margin-top: 0.7rem;
    width: 100%;
    font-size: 1.15rem;
    padding: 1rem 0;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .page-header h1,
    .content-section h2,
    .service-card h3,
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        word-break: break-word;
        padding: 0 0.5rem;
        text-align: left;
    }
    .content-section p,
    .service-card p {
        font-size: 1rem !important;
        padding: 0 0.5rem;
    }
    .service-cards,
    .pricing-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .service-card,
    .pricing-card {
        width: 100%;
        max-width: 400px;
        margin: 1rem 0;
    }
}

.footer-infinity {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: auto;
    opacity: 0.5;
    pointer-events: none;
}

.footer-infinity img {
    max-width: 100px;
    width: 60vw;
    height: auto;
    display: inline-block;
    transform: translateY(-90%);
}

/* Vision Section Styles */
.vision-section {
    padding: 2rem max(1rem, 4vw);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(124,169,154,0.1) 100%);
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    object-fit: cover;
    margin-bottom: 2.5rem;
}

.vision-title {
    color: var(--color-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

.vision-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-green);
    margin-bottom: 2rem;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: left;
}

.vision-description.highlight {
    font-size: 1.2rem;
    color: var(--color-green);
    font-weight: 500;
    padding: 1.5rem;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(124,169,154,0.1);
    margin: 2rem 0;
}

.cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .vision-section {
        padding: 1.5rem 1rem;
    }

    .about-image {
        max-width: 300px;
        margin-bottom: 2rem;
    }

    .vision-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .vision-text {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .vision-description {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .vision-description.highlight {
        font-size: 1.1rem;
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
}

/* Landscape mode fixes */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .page-header {
        margin-top: 120px;
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-header h3 {
        font-size: 1.2rem;
        margin-top: 1rem;
        position: relative;
        z-index: 2;
    }

    .logo-center-wrapper {
        min-height: auto;
        height: auto;
        position: relative;
        padding: 2rem 1rem;
    }

    .logo-kreis-wrapper {
        width: 70%;
        max-width: 200px;
        margin: 1rem auto;
    }

    .hero-title {
        font-size: 1.4rem;
        margin: 1rem 0;
        position: relative;
        z-index: 2;
    }
}

