/* High-End Bento Grid Design mit professionellem Blau-Schema */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    color: #0a192f;
    background: #f0f4f8;
}

header {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
    color: white;
    padding: 2em 1em;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5em;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #0077ff;
    transform: translateY(-2px);
}

.lang-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #0077ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0077ff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #0077ff;
    color: white;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 3em auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.intro {
    grid-column: span 2;
}

.contact {
    grid-column: span 2;
}

.card h2 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 1em;
    color: #0a192f;
    font-family: 'Segoe UI', sans-serif;
}

.card h3 {
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #1a365d;
}

.card p {
    margin-bottom: 1em;
    text-align: justify;
}

figure {
    margin: 1.5em 0;
    text-align: center;
}

img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

figcaption {
    font-size: 0.9em;
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
}

.tab-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.tab-content:not(.active) {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.tab-content-wrapper {
    position: relative;
}

.tab-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 119, 255, 0.3);
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight: 500;
    color: #0a192f;
}

.tab-button:hover {
    background: rgba(0, 119, 255, 0.1);
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: #0077ff;
    color: white;
    border-color: #0077ff;
}

.tab-button.active:hover {
    background-color: #0056cc;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 2em 1em;
    background: #0a192f;
    color: white;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* FAQ Styles */
details {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1em;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
}

summary {
    padding: 1em;
    cursor: pointer;
    background: rgba(0, 113, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #0a192f;
}

summary:hover {
    background: rgba(0, 113, 255, 0.2);
    transform: translateY(-2px);
}

details[open] summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px 8px 0 0;
}

details p {
    padding: 1em;
    margin: 0;
    color: #0a192f;
}

/* Kontaktformular Styles */
form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1em;
    border: none;
    border-bottom: 2px solid #0077ff;
    background: transparent;
    font-family: inherit;
    font-size: 1em;
    color: #0a192f;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-bottom: 3px solid #0077ff;
    outline: none;
}

button {
    background: #0077ff;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover {
    background: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

/* Animation für Apple-artigen Flow */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Layout */
.about-content {
    padding: 20px 0;
}

.profile-section {
    float: left;
    width: 250px;
    margin-right: 30px;
    text-align: center;
    shape-outside: inset(5px round 20px);
}

.profile-pic {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.about-text {
    text-align: left;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .profile-section {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    header h1 {
        font-size: 2em;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .intro, .model {
        grid-column: span 1;
    }

    .card {
        padding: 20px;
    }

    .card h2 {
        font-size: 2em;
    }

    nav a {
        display: block;
        margin: 0.5em 0;
    }
}

h2 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5em;
}

h3 {
    color: #555;
}

footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}