/* ===========================
   Grundlayout
=========================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* ===========================
   Header mit Hintergrundbild
=========================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url("rotorbild.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 2rem 3rem;
    position: relative;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.header-left, .header-right {
    position: relative;
    z-index: 1;
}

.header-left h1 { margin:0; font-size:2rem; }
.header-left p { margin:0.3rem 0 0; font-size:1.1rem; }

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-image {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
}

.partner-logos {
    display: flex;
    gap: 0.8rem;
}

.partner-logos img {
    height: 50px;
    width: auto;
    background-color: white;
    padding: 4px;
    border-radius: 4px;
}

/* ===========================
   Navigation
=========================== */
.nav {
    background-color: #f0f0f0;
    padding: 0.8rem 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav {
    display: flex;
    justify-content: space-between; /* Links und Rechts */
    align-items: center;
    background-color: #f0f0f0;
    padding: 0.8rem 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1f3a5f;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-link:hover { color: #ff6600; }

.nav-lang select {
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-weight: bold;
    cursor: pointer;
}

.hero {
    background-image: url("hhh.png");
    background-size: cover;
    background-position: center;
    padding: 5rem 3rem;
    color: white;
    position: relative;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero h2,
.hero p {
    position: relative;
    z-index: 1;
}


.nav-lang select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-weight: bold;
    cursor: pointer;
}


/* ===========================
   Main
=========================== */
main { padding: 2rem 3rem; }


/* ===========================
   Kontakt
=========================== */
.contact-form + .contact-form {
    margin-top: 3rem;
}

.contact-form textarea {
    min-height: 260px;
    min-width: 500px;
    padding: 0.8rem;
    line-height: 1.5;
}


/* ===========================
   Footer
=========================== */
footer {
    background-color: #eee;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* ===========================
   Patent-/Expertise-Grid
=========================== */
.patent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.patent-column h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 6px;
}

.patent-column .patent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.patent-column .patent-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    transition: background-color 0.3s, transform 0.2s;
}

.patent-column .patent-list li span {
    flex: 1;
}

.patent-column .patent-list li img,
.patent-column .patent-list li video {
    height: 80px;
    width: auto;
    margin-left: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.patent-column .patent-list li:hover {
    background-color: #e0f0ff;
    transform: translateX(5px);
}

/* Kleine Videos rechts neben Text */
.text-video {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
    .patent-grid { grid-template-columns: 1fr; }
    .patent-column .patent-list li { flex-direction: column; align-items: flex-start; }
    .patent-column .patent-list li img,
    .patent-column .patent-list li video { margin-left:0; margin-top:8px; width:100%; height:auto; }
}

@media (max-width: 700px) {
    .header { flex-direction: column; text-align:center; padding:1.5rem; }
    .header-right { margin-top:1rem; justify-content:center; flex-wrap:wrap; gap:1rem; }
    .profile-image { height:80px; width:80px; }
    .partner-logos img { height:40px; }
    .nav { flex-direction: column; gap:1rem; }
    main { padding:1.5rem; }
}
