/* Basis-CSS - Mobile-first, gut strukturierte Styles
   - Variablen im :root
   - Layout mit Flexbox / Grid
   - Wiederverwendbare Utility-Klassen
*/
:root {
  --color-primary: #1d4b6e;
  --color-accent: #9b4dff;
  --color-bg: #0a0a0a;
  --color-dark: #101113;
  --text: #e8e8e8;
  --text-light: #ffffff;
  --muted: #a0a0a0;
  --max-width: 1120px;
  --spacer: 1rem;
  --radius: 6px;
  --header-height: 80px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--color-bg);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  height: auto;
  padding: 1rem 0;
  border-bottom: none;
  background: var(--color-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav {
  display: flex;
  width: 100%;
  justify-content: center;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  justify-content: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.menu-text {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.burger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.burger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .burger-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Top Banner */
.top-banner {
  width: 100%;
  height: auto;
  min-height: 200px;
  background-image: url("../assets/images/top_background.png?v=2");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  aspect-ratio: auto;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  margin-top: 0;
}
.logo-overlay {
  position: relative;
  z-index: 10;
  max-width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-overlay img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Main content offset */
main {
  margin-top: 320px;
}

/* Hero */
.hero {
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--text-light);
  text-align: center;
  position: relative;
  scroll-margin-top: 320px;
}
.hero .hero-inner {
  max-width: 900px;
  position: relative;
  padding: 2rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 1.5rem 0;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hero p {
  color: var(--text-light);
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
  line-height: 1.8;
}
.hero .cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: var(--transition);
}
.hero .cta:hover {
  background: var(--text-light);
  color: var(--color-dark);
}

/* Services */
.services {
  padding: 4rem 0;
  background: var(--color-bg);
  scroll-margin-top: 320px;
}
.services h2,
#studio h2,
#referenzen h2,
#kontakt h2 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service {
  padding: 2rem;
  border-radius: 0;
  border: none;
  background: transparent;
  text-align: center;
  transition: var(--transition);
}
.service:hover {
  background: rgba(255, 255, 255, 0.03);
}
.service h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 400;
}
.service .service-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.service p {
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}

/* Service Images */
.service img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 8px;
  opacity: 0.9;
  transition: var(--transition);
}
.service img:hover {
  opacity: 1;
}

/* Studio Gallery */
.studio-gallery {
  max-width: 900px;
  margin: 3rem auto 0;
}
.gallery-main {
  position: relative;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-image-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--text-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
}
.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}
.gallery-nav svg {
  width: 24px;
  height: 24px;
}
.gallery-nav.prev {
  left: 1rem;
}
.gallery-nav.next {
  right: 1rem;
}
.gallery-thumbnails {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}
.gallery-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.thumbnail-track {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.thumbnail {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  flex-shrink: 0;
  border: 2px solid transparent;
}
.thumbnail:hover {
  opacity: 0.8;
}
.thumbnail.active {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(155, 77, 255, 0.5);
}

/* Video Gallery */
.video-gallery {
  max-width: 900px;
  margin: 3rem auto 0;
}
.video-main {
  position: relative;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
}
.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}
#youtube-player {
  width: 100%;
  height: 100%;
}

/* Responsive iframes and media */
iframe,
video,
embed,
object {
  max-width: 100%;
  height: auto;
}

.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--text-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
}
.video-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}
.video-nav svg {
  width: 24px;
  height: 24px;
}
.video-nav.prev {
  left: 1rem;
}
.video-nav.next {
  right: 1rem;
}
.video-thumbnails {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.video-thumbnails::-webkit-scrollbar {
  height: 6px;
}
.video-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}
.video-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.video-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.video-thumbnail-track {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.video-thumb {
  width: 160px;
  height: 90px;
  position: relative;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
}
.video-thumb:hover {
  opacity: 0.8;
}
.video-thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(155, 77, 255, 0.5);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  pointer-events: none;
}
.play-overlay svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
.video-thumb.active .play-overlay {
  background: var(--color-accent);
}

/* Gallery */
.gallery {
  padding: 4rem 0;
  background: var(--color-bg);
  scroll-margin-top: 320px;
}
.gallery h2 {
  margin-bottom: 2rem;
  color: var(--text-light);
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transition: var(--transition);
  opacity: 0.9;
}
.gallery img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* About & Contact sections */
#hoerbeispiele,
#studio,
#referenzen,
#kontakt {
  padding: 4rem 0;
  background: var(--color-bg);
  scroll-margin-top: 320px;
}
#hoerbeispiele {
  text-align: center;
}
#hoerbeispiele h2 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audio-samples {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 0;
}
#studio {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
#studio h2 {
  color: var(--text-light);
}
#studio p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
#referenzen {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
#referenzen h2 {
  color: var(--text-light);
}
#referenzen p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.referenzen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
}
.referenzen-column h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.referenzen-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.referenzen-column li {
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.referenzen-column li:hover {
  color: var(--text-light);
  padding-left: 0;
}
.referenzen-column li:last-child {
  border-bottom: none;
}
#kontakt {
  text-align: center;
}
#kontakt h2 {
  color: var(--text-light);
}
#kontakt p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
  padding: 4rem 0;
  background: var(--color-bg);
  margin-top: 320px;
}
.legal-page h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.legal-content h2 {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: none;
  background: url("../assets/images/footer_backgroung.png") center/cover
      no-repeat,
    var(--color-dark);
  color: var(--muted);
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Forms */
form {
  max-width: 600px;
  margin: 1.5rem auto;
  text-align: left;
}
form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}
form input,
form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  transition: var(--transition);
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}
form input.invalid,
form textarea.invalid {
  border-color: #ff4444;
}
form input.valid,
form textarea.valid {
  border-color: #44ff44;
}
.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}
.error-message.show {
  display: block;
}
form button {
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}
form button:hover {
  background: var(--text-light);
  color: var(--color-dark);
}

/* Utilities */
.flex {
  display: flex;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0 0 1.5rem;
  font-weight: 600;
  text-align: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Instagram Section */
#instagram {
  padding: 4rem 0;
  background: var(--color-bg);
  scroll-margin-top: 320px;
}
#instagram h2 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#instagram > p {
  text-align: center;
  color: var(--muted);
  max-width: 800px;
  margin: 1rem auto 3rem;
  line-height: 1.8;
}
.instagram-feed {
  max-width: 700px;
  margin: 0 auto;
}
.instagram-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.instagram-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 77, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}
.instagram-cta:hover::before {
  left: 100%;
}
.instagram-cta:hover {
  border-color: var(--color-accent);
  background: rgba(155, 77, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(155, 77, 255, 0.2);
}
.instagram-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
  border-radius: 16px;
  transition: transform 0.3s ease;
}
.instagram-cta:hover .instagram-icon {
  transform: scale(1.1) rotate(5deg);
}
.instagram-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
  stroke-width: 2.5;
}
.instagram-info {
  flex: 1;
  text-align: left;
}
.instagram-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-light);
}
.instagram-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.instagram-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.instagram-cta:hover .instagram-arrow {
  transform: translateX(8px);
}
.instagram-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

/* Mobile-optimierte Styles */
@media (max-width: 699px) {
  /* Mobile Header */
  .site-header {
    padding: 0.75rem 0;
    height: 60px;
    display: flex;
    align-items: center;
  }
  .site-header .container {
    position: relative;
  }
  .menu-toggle {
    display: flex;
  }

  /* Mobile Navigation */
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  .nav.open {
    max-height: calc(100vh - 60px);
    opacity: 1;
    overflow-y: auto;
  }
  .nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }
  .nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    text-align: left;
  }
  .nav a:hover {
    background: rgba(155, 77, 255, 0.1);
  }

  /* Mobile Banner */
  .top-banner {
    min-height: 100px;
    padding: 1rem 1rem;
    top: 60px;
  }
  .logo-overlay {
    width: 100%;
    transform: translateY(-30px);
  }
  .logo-overlay img {
    max-width: 250px;
  }

  /* Mobile Main Content */
  main {
    margin-top: 170px;
  }

  /* Mobile Hero */
  .hero {
    padding: 2rem 0;
    scroll-margin-top: 170px;
  }
  .hero .hero-inner {
    padding: 1rem;
  }
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero .cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Mobile Services */
  .services,
  #studio,
  #hoerbeispiele,
  #referenzen,
  #instagram,
  #kontakt {
    padding: 2.5rem 0;
    scroll-margin-top: 170px;
  }
  .services h2,
  #studio h2,
  #referenzen h2,
  #kontakt h2,
  #hoerbeispiele h2,
  #instagram h2 {
    font-size: 1.5rem;
  }
  
  /* Mobile Formular */
  form {
    padding: 0 1rem;
  }
  form input,
  form textarea {
    width: calc(100% - 2rem);
    margin: 0 auto;
  }
  .services-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .service {
    padding: 1.5rem 1rem;
  }
  .service h3 {
    font-size: 1.25rem;
  }
  .service img {
    max-width: 250px;
  }

  /* Mobile Gallery */
  .studio-gallery,
  .video-gallery {
    margin-top: 2rem;
  }
  .gallery-nav,
  .video-nav {
    width: 40px;
    height: 40px;
  }
  .gallery-nav svg,
  .video-nav svg {
    width: 20px;
    height: 20px;
  }
  .gallery-nav.prev,
  .video-nav.prev {
    left: 0.5rem;
  }
  .gallery-nav.next,
  .video-nav.next {
    right: 0.5rem;
  }
  .thumbnail {
    width: 100px;
    height: 66px;
  }

  /* Mobile Referenzen */
  .referenzen-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .referenzen-column h3 {
    font-size: 1.2rem;
  }
  .referenzen-column ul {
    font-size: 0.9rem;
  }

  /* Mobile Kontakt */
  form input,
  form textarea {
    font-size: 1rem;
  }
  form button {
    width: 100%;
    padding: 1rem;
  }

  /* Instagram Mobile */
  .instagram-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  .instagram-info {
    text-align: center;
  }
  .instagram-info h3 {
    font-size: 1.25rem;
  }
  .instagram-arrow {
    display: none;
  }

  /* Mobile Footer */
  .site-footer {
    font-size: 0.8rem;
    padding: 1.5rem 0;
  }

  /* Mobile Legal Pages */
  .legal-page {
    margin-top: 220px;
    padding: 2rem 0;
  }
  .legal-page h1 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  .legal-content h2 {
    font-size: 1.25rem;
  }
  .legal-content h3 {
    font-size: 1.1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .services h2,
  #studio h2,
  #referenzen h2,
  #kontakt h2,
  #hoerbeispiele h2,
  #instagram h2 {
    font-size: 1.3rem;
  }
  .logo-overlay img {
    max-width: 250px;
  }
}

/* Tablet and Desktop */
@media (min-width: 700px) {
  .logo-overlay img {
    max-width: 600px;
  }
  .nav ul {
    gap: 0.5rem;
  }
  .nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .referenzen-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1100px) {
  .logo-overlay img {
    max-width: 700px;
  }
  .nav ul {
    gap: 0.75rem;
  }
  .nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .container {
    padding: 0 2rem;
  }
}

/* Small improvements */
a {
  transition: var(--transition);
}
button {
  cursor: pointer;
}

/* Touch-optimized interactive elements */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - larger tap targets */
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .gallery-nav,
  .video-nav {
    min-width: 44px;
    min-height: 44px;
  }
  button,
  .cta,
  form button {
    min-height: 44px;
  }
  /* Remove hover effects on touch devices */
  .service:hover {
    background: transparent;
  }
  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}
.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.amp-knob-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.amp-scale {
  position: absolute;
  width: 100%;
  height: 100%;
}

.scale-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 140px;
  margin-left: -1px;
  margin-top: -140px;
  transform: rotate(var(--angle));
  transform-origin: bottom center;
}

.scale-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 15px;
  background: #fff;
  transform: translateX(-50%);
}

.scale-mark span {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.amp-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  transform: rotate(-135deg);
  animation: knob-turn 3s ease-in-out forwards;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.9));
}

.knob-indicator {
  /* Styling now in SVG */
}

.knob-text {
  /* Styling now in SVG */
}

@keyframes knob-turn {
  0%,
  33% {
    transform: rotate(-135deg);
  }
  66% {
    transform: rotate(135deg);
  }
  100% {
    transform: rotate(135deg);
  }
}

/* End of file */
