/* Reset und Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-link {
    text-decoration: none;
    display: block;
    z-index: 1001;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #2e5c8a;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: #2e5c8a;
    border-bottom: 2px solid #2e5c8a;
}

.nav-link.active {
    color: #2e5c8a;
    border-bottom: 2px solid #2e5c8a;
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/laptop-background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    max-width: 100%;
}

.hero-title {
    font-size: 72px;
    color: #666;
    font-weight: 300;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 36px;
    color: #2e5c8a;
    font-style: italic;
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 80px 50px;
    background-color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 600px;
    background-image: url('../images/server-bild.jpg');
    background-size: cover;
    background-position: center;
}

.about-content {
    padding: 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 2px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Services Section */
.services-section {
    padding: 80px 50px;
    background-color: #e8e8e8;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

.services-list {
    list-style: none;
    margin-bottom: 30px;
}

.services-list li {
    font-size: 18px;
    padding: 8px 0;
    color: #2e5c8a;
}

.services-list li a {
    color: #2e5c8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-list li a:hover {
    color: #1a3a5a;
}

.services-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #2e5c8a;
}

/* Team Section */
.team-section {
    padding: 150px 50px 80px 50px;
    background-color: #e8e8e8;
    min-height: 100vh;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 40px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 10px;
}

.team-member-position {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #333;
    color: white;
}

/* Services Header */
.services-header {
    padding: 150px 50px 60px 50px;
    background-color: #e8e8e8;
    text-align: center;
}

.services-title {
    font-size: 56px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 18px;
    color: #666;
}

/* Services Grid */
.services-grid {
    padding: 60px 50px 80px 50px;
    background-color: #e8e8e8;
}

.services-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.service-icon img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.service-name {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 150px 50px 80px 50px;
    background-color: #e8e8e8;
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    font-size: 56px;
    font-weight: 300;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: none;
    border-bottom: 2px solid #333;
    background-color: transparent;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #2e5c8a;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #2e5c8a;
}

/* Contact Info */
.contact-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info-item {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #2e5c8a;
}

.contact-info-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #2e5c8a;
}

.contact-info-item p {
    margin: 0;
    line-height: 1.6;
}

/* Impressum Section */
.impressum-section {
    padding: 150px 50px 80px 50px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    min-height: 100vh;
}

.impressum-container {
    max-width: 1000px;
    margin: 0 auto;
}

.impressum-title {
    font-size: 64px;
    font-weight: 300;
    color: #333;
    margin-bottom: 60px;
    text-align: left;
    letter-spacing: 2px;
}

.impressum-content {
    display: grid;
    gap: 30px;
}

.impressum-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impressum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.impressum-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #2e5c8a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
}

.impressum-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.impressum-item:last-child {
    border-bottom: none;
}

.impressum-label {
    font-weight: 500;
    color: #666;
    font-size: 16px;
    flex: 0 0 auto;
}

.impressum-value {
    color: #333;
    font-size: 16px;
    text-align: right;
    flex: 1 1 auto;
}

.impressum-link {
    color: #2e5c8a;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    word-break: break-all;
}

.impressum-link:hover {
    color: #1a3a5a;
    text-decoration: underline;
}

.impressum-address {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.impressum-address p {
    margin: 8px 0;
}

/* Footer */
footer {
    padding: 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.footer-email {
    font-size: 16px;
    color: #333;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets (iPad, etc.) */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        height: 400px;
    }

    .about-content {
        padding: 20px;
    }

    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .section-title {
        font-size: 36px;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .navbar {
        padding: 15px 20px;
    }

    .logo-image {
        height: 50px;
    }

    /* Show Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    /* Mobile Menu Styles */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #f5f5f5;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #e8e8e8;
        border-left: 3px solid #2e5c8a;
        border-bottom: none;
    }

    /* Hero Mobile */
    .hero {
        margin-top: 140px;
        min-height: 500px;
        height: auto;
        padding: 40px 20px;
    }

    .hero-logo-image {
        width: 100px;
        height: 100px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 40px 20px;
    }

    .about-image {
        height: 300px;
    }

    .about-content {
        padding: 10px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 15px;
        text-align: left;
    }

    /* Services Section Mobile */
    .services-section {
        padding: 40px 20px;
    }

    .services-intro,
    .services-text {
        font-size: 15px;
    }

    .services-list li {
        font-size: 16px;
    }

    .btn-more {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* Team Section Mobile */
    .team-section {
        padding: 140px 20px 40px 20px;
    }

    .team-container {
        gap: 50px;
    }

    .team-member-image {
        max-width: 400px;
    }

    .team-member-name {
        font-size: 32px;
    }

    .team-member-position {
        font-size: 20px;
    }

    .btn-contact {
        padding: 10px 30px;
        font-size: 14px;
    }

    /* Services Grid Mobile */
    .services-header {
        padding: 140px 20px 40px 20px;
    }

    .services-title {
        font-size: 36px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .services-grid {
        padding: 40px 20px;
    }

    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
    }

    .service-icon img {
        width: 120px;
        height: 120px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 140px 20px 40px 20px;
    }

    .contact-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .contact-form {
        padding: 0 10px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px;
        font-size: 16px;
    }

    .contact-info {
        padding: 25px;
    }

    .contact-info-title {
        font-size: 22px;
    }

    .contact-info-item {
        font-size: 14px;
    }

    /* Impressum Mobile */
    .impressum-section {
        padding: 140px 20px 40px 20px;
    }

    .impressum-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .impressum-card {
        padding: 25px;
    }

    .impressum-subtitle {
        font-size: 20px;
    }

    .impressum-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .impressum-label {
        font-size: 14px;
    }

    .impressum-value {
        text-align: left;
        font-size: 14px;
    }

    .impressum-link {
        font-size: 14px;
    }

    .impressum-address {
        font-size: 14px;
    }

    /* Footer Mobile */
    footer {
        padding: 30px 20px;
    }

    .footer-email {
        font-size: 14px;
    }
}

/* Extra Small Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .team-member-name {
        font-size: 26px;
    }

    .services-title,
    .contact-title,
    .impressum-title {
        font-size: 28px;
    }

    .nav-link {
        font-size: 13px;
        padding: 5px 8px;
    }
}