/* ================== */
/* Grundlegendes     */
/* ================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: url('rotorbild.png') center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================== */
/* HEADER             */
/* ================== */
header {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  color: white;
  position: relative;
}

/* Logo + Text + Foto */
.logo-text-photo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-box {
  width: 60px;
  height: 60px;
  overflow: hidden;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Logo Text ===== */
.logo-text {
  line-height: 1.2;
  white-space: nowrap;
}

/* Name kleiner */
.logo-name {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Firma dominant */
.logo-company {
  font-size: 1rem;
  font-weight: 700;
}

/* Foto */
.photo-box {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid white;
  overflow: hidden;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sprache direkt am Foto */
.language-select {
  margin-left: 6px;
  flex-shrink: 0;
}

.language-select select {
  background: rgba(0,0,0,0.5);
  color: white;
  border: 1px solid white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

/* ================== */
/* NAVIGATION & HAMBURGER */
/* ================== */
nav {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

nav a {
  font-size: 0.8rem;   /* vorher implizit ~1rem */
  font-weight: bold;
  color: white;
}

nav a:hover {
  color: #f0a500;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  margin-left: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* ================== */
/* ABOUT SECTIONS      */
/* ================== */
#about-extra {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.about-lists-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.about-lists {
  flex: 1;
}

.about-icon-container {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.about-icon {
  height: 100%;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

/* ================== */
/* MOBILE STYLES      */
/* ================== */
@media (max-width: 768px) {

  h1 {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
  }

  .logo-name {
    font-size: 0.65rem;
  }

  .logo-company {
    font-size: 0.9rem;
  }

  nav {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  nav.active {
    max-height: 100vh;
  }

  nav a {
    padding: 0.5rem 1rem;
    border-top: 1px solid #444;
    text-align: left;
  }

  .about-lists-container {
    flex-direction: column;
    align-items: center;
  }

  .about-icon {
    margin-top: 1rem;
    height: auto;
    max-width: 100%;
  }
}

/* ================== */
/* MAIN & FOOTER      */
/* ================== */
main {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  color: #000;
  flex: 1;
}

footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  color: white;
}

footer a {
  color: white;
  font-weight: bold;
  margin: 0 0.5rem;
}

footer a:hover {
  color: #f0a500;
}

/* ========================== */
/* LINK-STYLING (CONTENT)     */
/* ========================== */
main a {
  color: #0040f0ad;
  text-decoration: none;
  font-weight: 500;
}

main a:hover {
  color: #002a9c;
  text-decoration: underline;
}

main ul li a {
  color: #0040f0ad;
}

main ul li a:hover {
  color: #002a9c;
}
