@font-face {
  font-family: 'averox';
  src: url('fonts/averox.woff2') format('woff2'),
       url('fonts/averox.woff') format('woff');
}

:root {
  --bg: #0b0b0b;
  --header: #000000;
  --text: #f2f2f2;
  --muted: rgba(255, 255, 255, 0.72);
  --accent: #ffffff;
  --header-h: 120px;
  --radius: 18px;
  --white-bg: #ffffff;
  --white-text: #0b0b0b;
  --white-muted: rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #0a0a0a;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(to bottom, #2a2a2a 0%, #000000 30%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  box-sizing: border-box;
}
.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-left: 2%;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}
.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

/* ===== MENU ===== */
.menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  margin-right: 10px;
}
.menu-link {
  display: inline-block;
  white-space: nowrap;
  padding: 0 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  font-family: 'averox', system-ui, sans-serif;
  pointer-events: none;
  cursor: default;
}
.site-header.menu-open .menu-link {
  pointer-events: auto;
  cursor: pointer;
}
.menu-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.3s ease;
}
.site-header.menu-open .menu-link:hover::after {
  width: calc(100% - 20px);
}

/* ===== BURGER ===== */
.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-right: 2%;
  margin-left: auto;
  z-index: 2;
}
.burger-line {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 220ms ease, opacity 180ms ease;
}
.burger-line--1 {
  transform: translateY(-6px);
}
.burger-line--2 {
  transform: translateY(6px);
}
.site-header.menu-open .burger-line--1 {
  transform: translateY(0) rotate(45deg);
}
.site-header.menu-open .burger-line--2 {
  transform: translateY(0) rotate(-45deg);
}

/* ===== GALERIE ===== */
.hero-gallery {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: calc(65vh - var(--header-h));
  background: #000;
  z-index: 1;
}
.gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background:
    radial-gradient(1200px 600px at 60% 30%, rgba(255,255,255,0.08), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
  pointer-events: none;
}
.gallery-control {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 20;
  pointer-events: auto !important;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 28px;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}
.gallery-control:hover {
  color: #fff;
  transform: scale(1.1);
}
.gallery-control:active {
  transform: scale(0.9);
}
.gallery-stage video,
.gallery-stage img {
  pointer-events: none !important;
}

@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes wipeLeft {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
.gallery-stage .anim-fadeZoom {
  animation: fadeZoom 900ms ease both;
}
.gallery-stage .anim-slideUp {
  animation: slideUp 800ms ease both;
}
.gallery-stage .anim-wipeLeft {
  animation: wipeLeft 800ms ease both;
}

/* ===== SECTIONS (STICKY STACK) ===== */
.section {
  position: sticky;
  z-index: 2;
  padding: 70px 5%;
  min-height: 70vh;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.4);
}
#profile {
  margin-top: calc(65vh);
  padding: 40px 5%;
  min-height: auto;
  background: linear-gradient(45deg, #888 0%, #000 110%);
  z-index: 2;
  top: var(--header-h);
}
#equipment {
  background: #0b0b0b;
  z-index: 3;
  margin-top: 0;
  padding: 70px 5%;
}
#contact {
  background: #a9a9a9;
  z-index: 4;
  margin-top: 0;
  padding: 70px 5%;
}
.section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.section--light {
  background: var(--white-bg);
  color: var(--white-text);
}
.section--light .section-inner h2 {
  color: var(--white-text);
}
.section--light .section-inner {
  color: var(--white-muted);
}
.section--dark {
  background: #0b0b0b;
}
.section--dark .section-inner {
  color: var(--muted);
}
.section-inner h2 {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 700;
}
#profile h2 {
  text-align: left;
  margin-left: 2%;
}
#equipment h2 {
  text-align: right;
  margin-right: 2%;
}
#contact h2 {
  text-align: center;
}

/* ===== PROFILE ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
  align-items: start;
  max-width: 800px;
  margin: 20px auto 0;
}
.profile-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding-left: 2%;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--text);
  flex-shrink: 0;
}
.profile-avatar img,
.profile-avatar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-name {
  text-align: center;
  margin-top: 10px;
}
.profile-name h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white-text);
  margin: 0;
}
.profile-contact {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  width: 100%;
}
.profile-contact p {
  margin: 4px 0;
}

.profile-contact a {
  color: var(--white-text);
  text-decoration: none;
}

.profile-contact a:hover {
  color: var(--muted);
}

.profile-right {
  justify-self: end;
  text-align: right;
  padding-right: 2%;
  width: 100%;
}
.profile-right h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  text-decoration: underline;
}
.profile-skills {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: right;
  color: var(--muted);
}
.profile-skills li {
  padding: 6px 0;
  font-size: 1rem;
  text-align: right;
}

/* ===== EQUIPMENT ===== */
.equipment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.equipment-item--reverse {
  flex-direction: row-reverse;
}
.equipment-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
}
.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.equipment-image--dji {
  border-radius: 35% 65% 45% 55% / 40% 30% 60% 70%;
}
.equipment-image--oval {
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  width: 130px;
  height: 100px;
}
.equipment-image--asymmetric {
  border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
}
.equipment-info {
  flex: 1;
  text-align: center;
}
.equipment-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.equipment-info p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.equipment-info strong {
  color: #fff;
}

/* ===== CONTACT ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}
.form-group {
  margin-bottom: 30px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0 8px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  color: #333;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #000;
}
.form-group textarea {
  height: 100px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #000;
  font-weight: 300;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.submit-btn:hover {
  background: #333;
  transform: scale(1.02);
}
.submit-btn:active {
  transform: scale(0.95);
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 5;
  background: #000;
  color: rgba(255,255,255,0.6);
  padding: 16px 5%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}
.site-footer p {
  margin: 0;
}

/* ===== SMARTPHONE-FIXES (für Xiaomi Note 12 S) ===== */
.gallery-control {
  z-index: 9999 !important;
  touch-action: manipulation !important;
  pointer-events: auto !important;
}

.profile-contact a {
  word-break: break-all;
}

.equipment-image img {
  object-fit: cover;
}

/* Burger auf Mobilgeräten immer anzeigen */
.burger {
  display: grid;
}

/* ============================================
   📱 MEDIA QUERIES (OPTIMIERT FÜR XIAOMI NOTE 12 S)
   ============================================ */

/* ----- Smartphone (klein) ----- */
@media (max-width: 480px) {
  .site-header {
    padding: 0 4%;
    height: 70px;
  }
  .brand {
    margin-left: 4%;
  }
  .brand-logo {
    height: 32px !important;
    width: auto;
  }
  .menu-link {
    font-size: 0.7rem;
    padding: 0 4px;
  }
  .menu {
    margin-right: 2px;
  }
  .burger {
    width: 36px;
    height: 36px;
    display: grid !important;
    margin-right: 4%;
  }
  .burger-line {
    width: 18px;
    height: 1.5px;
  }
  .burger-line--1 {
    transform: translateY(-5px);
  }
  .burger-line--2 {
    transform: translateY(5px);
  }

  .hero-gallery {
    height: calc(55vh - 70px);
    top: 70px;
  }
  .gallery-control {
    display: none !important;
  }

  .section {
    padding: 30px 4% !important;
    min-height: 50vh;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  #profile {
    padding: 25px 4% !important;
    margin-top: calc(55vh);
    top: 70px !important;
  }
  #profile h2 {
    text-align: center;
    margin-left: 0;
    color: var(--muted) !important;
  }
  #equipment,
  #contact {
    padding: 30px 4% !important;
  }

  .section-inner h2 {
    font-size: 24px !important;
  }

  #equipment h2 {
    text-align: center;
    margin-right: 0;
  }

  .profile-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0;
    width: 100%;
  }
  .profile-left {
    padding-left: 0;
    align-items: center;
    width: 100%;
  }
  .profile-right {
    padding-right: 0;
    text-align: center;
    width: 100%;
  }
  .profile-right h3 {
    text-align: center;
    text-decoration: none !important;
    border-bottom: none !important;  
  }
  .profile-right h3::after,
  .profile-right h3::before {
    display: none !important;
  }
  .profile-skills {
    text-align: center;
  }
  .profile-skills li {
    text-align: center;
    font-size: 0.9rem;
    padding: 4px 0;
  }
  .profile-avatar {
    width: 90px;
    height: 90px;
  }
  .profile-name h3,
  .profile-contact p,
  .profile-contact a {
    color: var(--muted) !important;
  }
  .profile-right h3,
  .profile-skills {
    color: var(--white-text) !important;
  }
  .profile-contact {
    text-align: center;
    padding-left: 0;
    width: 100%;
    font-size: 0.85rem;
  }
  .profile-contact p {
    text-align: center;
  }
  .profile-contact i {
    margin-right: 6px;
  }

  .equipment-item {
    flex-direction: column !important;
    gap: 12px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }
  .equipment-item--reverse {
    flex-direction: column !important;
  }
  .equipment-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  .equipment-image--oval {
    width: 90px;
    height: 70px;
  }
  .equipment-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  .equipment-info p {
    font-size: 0.8rem;
    margin: 2px 0;
  }

  .contact-form {
    padding: 0;
    width: 100%;
  }
  .form-group {
    margin-bottom: 18px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.85rem;
    padding: 8px 0 6px 0;
    width: 100%;
  }
  .form-group textarea {
    height: 80px;
  }
  .submit-btn {
    font-size: 0.95rem;
    padding: 10px;
    width: 100%;
  }

  .site-footer {
    padding: 10px 4%;
    font-size: 0.7rem;
  }
}

/* ----- Smartphone (groß) & Foldables ----- */
@media (min-width: 481px) and (max-width: 768px) {
  .site-header {
    padding: 0 4%;
    height: 80px;
  }
  .brand-logo {
    height: 38px !important;
  }
  .burger {
    display: grid !important;
  }
  .hero-gallery {
    height: calc(60vh - 80px);
    top: 80px;
  }

  .section {
    padding: 40px 4% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
  #profile {
    margin-top: calc(60vh);
  }

  .profile-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    width: 100%;
  }
  .profile-left {
    padding-left: 0;
    align-items: center;
  }
  .profile-right {
    padding-right: 0;
    text-align: center;
  }
  .profile-right h3 {
    text-align: center;
  }
  .profile-skills {
    text-align: center;
  }
  .profile-skills li {
    text-align: center;
  }
  .profile-contact {
    text-align: center;
    padding-left: 0;
  }
  .profile-contact p {
    text-align: center;
  }

  #equipment h2 {
    text-align: center;
    margin-right: 0;
  }

  .equipment-item {
    flex-direction: column !important;
    text-align: center;
  }
  .equipment-item--reverse {
    flex-direction: column !important;
  }
  .equipment-image {
    margin: 0 auto;
  }

  .site-footer {
    padding: 12px 4%;
  }
}

/* ----- Tablet ----- */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header {
    padding: 0 4%;
  }
  .brand-logo {
    height: 45px;
  }
  .hero-gallery {
    height: calc(60vh - var(--header-h));
  }
  #profile {
    margin-top: calc(60vh);
  }
  .profile-grid {
    gap: 30px;
  }
  .profile-left {
    padding-left: 8%;
  }
  .profile-right {
    padding-right: 8%;
  }
  .equipment-item {
    gap: 24px;
    max-width: 95%;
  }
  #equipment h2 {
    margin-right: 2%;
  }
}

/* ----- Laptop & kleinere Desktops ----- */
@media (min-width: 1025px) and (max-width: 1366px) {
  .site-header {
    padding: 0 5%;
  }
  .brand-logo {
    height: 48px;
  }
  .hero-gallery {
    height: calc(65vh - var(--header-h));
  }
  #profile {
    margin-top: calc(65vh);
  }
  .profile-left {
    padding-left: 3%;
  }
  .profile-right {
    padding-right: 3%;
  }
  .equipment-item {
    max-width: 95%;
  }
}

/* ----- Große Desktops (27 Zoll) ----- */
@media (min-width: 1921px) {
  .site-header {
    padding: 0 8%;
    height: calc(var(--header-h) * 1.1);
  }
  .brand-logo {
    height: 65px;
  }
  .menu-link {
    font-size: 1.15rem;
    padding: 0 14px;
  }
  .burger {
    width: 52px;
    height: 52px;
  }
  .burger-line {
    width: 26px;
    height: 2.5px;
  }
  .burger-line--1 {
    transform: translateY(-7px);
  }
  .burger-line--2 {
    transform: translateY(7px);
  }

  .hero-gallery {
    height: calc(70vh - var(--header-h));
  }
  #profile {
    margin-top: calc(70vh);
    padding: 50px 8%;
  }
  #equipment,
  #contact {
    padding: 80px 8%;
  }

  .section-inner h2 {
    font-size: 44px;
  }

  .profile-grid {
    gap: 50px;
    max-width: 1000px;
  }
  .profile-avatar {
    width: 150px;
    height: 150px;
  }
  .profile-left {
    padding-left: 4%;
  }
  .profile-right {
    padding-right: 4%;
  }
  .profile-name h3 {
    font-size: 1.6rem;
  }
  .profile-contact {
    font-size: 1.05rem;
  }
  .profile-skills li {
    font-size: 1.1rem;
  }

  .equipment-item {
    gap: 30px;
    max-width: 1100px;
  }
  .equipment-image {
    width: 150px;
    height: 150px;
  }
  .equipment-image--oval {
    width: 160px;
    height: 125px;
  }
  .equipment-info h3 {
    font-size: 1.7rem;
  }
  .equipment-info p {
    font-size: 1.05rem;
  }

  .contact-form {
    max-width: 750px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 1.1rem;
    padding: 14px 0 10px 0;
  }
  .submit-btn {
    font-size: 1.2rem;
    padding: 16px;
  }

  .site-footer {
    padding: 20px 8%;
    font-size: 0.95rem;
  }
}

/* ----- Ultrawide (32 Zoll & größer) ----- */
@media (min-width: 2560px) {
  .site-header {
    padding: 0 10%;
    height: calc(var(--header-h) * 1.2);
  }
  .brand-logo {
    height: 75px;
  }
  .menu-link {
    font-size: 1.25rem;
    padding: 0 16px;
  }
  .burger {
    width: 58px;
    height: 58px;
  }
  .burger-line {
    width: 28px;
    height: 3px;
  }
  .burger-line--1 {
    transform: translateY(-8px);
  }
  .burger-line--2 {
    transform: translateY(8px);
  }

  .hero-gallery {
    height: calc(75vh - var(--header-h));
  }
  #profile {
    margin-top: calc(75vh);
    padding: 60px 10%;
  }
  #equipment,
  #contact {
    padding: 90px 10%;
  }

  .section-inner h2 {
    font-size: 50px;
  }

  .profile-grid {
    gap: 60px;
    max-width: 1200px;
  }
  .profile-avatar {
    width: 180px;
    height: 180px;
  }
  .profile-left {
    padding-left: 5%;
  }
  .profile-right {
    padding-right: 5%;
  }
  .profile-name h3 {
    font-size: 1.8rem;
  }
  .profile-contact {
    font-size: 1.15rem;
  }
  .profile-skills li {
    font-size: 1.2rem;
  }

  .equipment-item {
    gap: 35px;
    max-width: 1300px;
  }
  .equipment-image {
    width: 180px;
    height: 180px;
  }
  .equipment-image--oval {
    width: 190px;
    height: 150px;
  }
  .equipment-info h3 {
    font-size: 2rem;
  }
  .equipment-info p {
    font-size: 1.15rem;
  }

  .contact-form {
    max-width: 850px;
  }
  .site-footer {
    padding: 24px 10%;
    font-size: 1rem;
  }
}