html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
    overflow-y: scroll;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
header {
    background: white;
    color: #333;
    padding: 0.1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 0;
    transform: translateY(0);
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 3rem;
    font-size: 18px;
    font-weight: 600;
    color: #0073b7;
    letter-spacing: 0.5px;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: #0073b7;
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #0073b7;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 0;
    text-align: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('drawing.svg');
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem 3rem;
    border-radius: 10px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
    margin: 0;
    font-size: 3rem;
}

.hero-text p {
    margin: 1rem 0 0 0;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}


/* About Section */
.about-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* About Section 2*/
.about-section2 {
    padding: 1rem 0;
    background: #f8f9fa;
}

.about-content2 {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text2 h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text2 p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Logo Section */
.logo {
    padding: 2rem 0;
    background: #ffffff;
}

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

.logo-content img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Speisekarte Section */
.speisekarte {
    padding: 2rem 0;
    background: #ffffff;
}

.speisekarte-content {
    text-align: center;
}

.speisekarte-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.speisekarte-content iframe {
    display: block;
    margin: 0 auto;
}

/* Gallery Section 1*/
.gallery-section {
    padding: 4rem 0;
    background: #ffffff;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 600;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.image-item {
    position: relative;
    overflow: visible;
    transition: transform 0.4s ease;
    background: transparent;
    flex-shrink: 0;
}

/* Varied sizes for a more organic feel */
.image-item:nth-child(1) {
    width: 550px;
}

.image-item:nth-child(2) {
    width: 500px;
    margin-top: 40px;
}

.image-item:nth-child(3) {
    width: 420px;
    margin-top: -20px;
}

.image-item:nth-child(4) {
    width: 480px;
    margin-top: 60px;
}

.image-item:nth-child(5) {
    width: 460px;
    margin-top: 20px;
}

.image-item:nth-child(6) {
    width: 490px;
    margin-top: -30px;
}

.image-item:nth-child(7) {
    width: 430px;
    margin-top: 50px;
}

.image-item:nth-child(8) {
    width: 450px;
    margin-top: -20px;
}

.image-item:nth-child(9) {
    width: 470px;
    margin-top: 40px;
}

.image-item:nth-child(10) {
    width: 440px;
    margin-top: -10px;
}

.image-item:nth-child(11) {
    width: 510px;
    margin-top: 30px;
}

.image-item:nth-child(12) {
    width: 460px;
    margin-top: -25px;
}

.image-item:hover {
    transform: scale(1.05);
    z-index: 10;
}


.image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Gallery Section 2 */
.gallery-section2 {
    padding: 4rem 0;
    background: #ffffff;
    overflow: hidden;
}

.section-title2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 600;
}

.image-grid2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.image-item2 {
    position: relative;
    overflow: visible;
    transition: transform 0.4s ease;
    background: transparent;
    flex-shrink: 0;
}

/* Varied sizes for a more organic feel */
.image-item2:nth-child(1) {
    width: 550px;
}

.image-item2:nth-child(2) {
    width: 500px;
    margin-top: 40px;
}

.image-item2:nth-child(3) {
    width: 420px;
    margin-top: -20px;
}

.image-item2:nth-child(4) {
    width: 480px;
    margin-top: 60px;
}

.image-item2:nth-child(5) {
    width: 460px;
    margin-top: 20px;
}

.image-item2:nth-child(6) {
    width: 490px;
    margin-top: -30px;
}

.image-item2:nth-child(7) {
    width: 430px;
    margin-top: 50px;
}

.image-item2:nth-child(8) {
    width: 430px;
    margin-top: 50px;
}

.image-item2:nth-child(9) {
    width: 430px;
    margin-top: 50px;
}

.image-item2:hover {
    transform: scale(1.05);
    z-index: 10;
}

.image-item2 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Kontakt Section */
html body.Kontakt {
    background: url('../images/solar2.jpg');
    background-position: center;
    background-size: cover;
    backdrop-filter: blur(10px);
    min-height: 100vh;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    top: 0 !important;
}

html body.Kontakt::before {
    content: '';
    display: none;
}

html body.Kontakt header,
body.Kontakt > header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    transform: translateY(0) !important;
    z-index: 1000 !important;
}

.section-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.325);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.section-content h1,
.section-content p {
    margin: 0;
}

.contact-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.Kontakt-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0073b7;
    margin: 1rem 0;
}

.Kontakt-header p {
    font-size: 1.5rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,115,183,0.15);
}

.contact-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid #0073b7;
    box-shadow: 0 4px 15px rgba(0,115,183,0.2);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0073b7, #005a94);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-card .role {
    font-size: 1rem;
    color: #0073b7;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    stroke: #0073b7;
    flex-shrink: 0;
}

.contact-info-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-info-item a:hover {
    color: #0073b7;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        padding: 1.5rem 2rem;
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .image-grid {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .image-item {
        width: 100% !important;
        max-width: 400px;
        height: auto !important;
        aspect-ratio: 4 / 3;
        margin-top: 0 !important;
    }
    
    .image-item:hover {
        transform: scale(1.02) !important;
    }
    
    .image-grid2 {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .image-item2 {
        width: 100% !important;
        max-width: 400px;
        height: auto !important;
        aspect-ratio: 4 / 3;
        margin-top: 0 !important;
    }
    
    .image-item2:hover {
        transform: scale(1.02) !important;
    }
    
    .section-title2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 16px;
    }
}