/* Audioimpact 2026 – Visitenkarten-Homepage */

:root {
  --bg: #0c0c0f;
  --bg-elevated: #141418;
  --bg-card: #1a1a20;
  --text: #e8e8ec;
  --text-muted: #9a9aa8;
  --accent: #e8a838;
  --accent-dim: rgba(232, 168, 56, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --header-h: 72px;
  --max-w: 1100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: #f5c25a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 12, 15, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: min(100% - 2.5rem, var(--max-w));
  min-height: var(--header-h);
  padding-block: 0.75rem;
  margin-inline: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  color: var(--bg);
  background: var(--accent);
}

.lang-switch--footer {
  border: none;
}

.lang-switch--footer .lang-btn {
  background: transparent;
  padding: 0.2rem 0.45rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-icon {
  filter: invert(1) opacity(0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.85rem;
  color: #c4c4ce;
  font-family: var(--mono);
}

.site-nav {
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.9rem;
  color: #d0d0d8;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--accent-dim);
}

.site-nav a.is-active {
  color: var(--accent);
}

@media (min-width: 701px) {
  .site-header {
    height: var(--header-h);
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0;
    height: var(--header-h);
  }

  .site-nav {
    order: unset;
    flex-basis: auto;
    width: auto;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 12, 15, 0.5) 0%, rgba(12, 12, 15, 0.35) 50%, rgba(12, 12, 15, 0.88) 100%),
    radial-gradient(ellipse at 50% 25%, rgba(232, 168, 56, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: auto 0 12%;
  z-index: 2;
  height: 120px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-wave {
  width: 100%;
  height: 100%;
}

.wave-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  animation: wave-pulse 6s ease-in-out infinite;
}

.wave-path--delay {
  stroke: rgba(232, 168, 56, 0.4);
  animation-delay: -3s;
}

@keyframes wave-pulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}

.hero-content :is(.hero-eyebrow, h1, .hero-lead, .hero-tagline) {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-actions .btn {
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c96a;
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.hero-accent {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.15rem;
  color: #e2e2e8;
  max-width: 36ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #d8d8e0;
  font-style: italic;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #f5c25a;
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0;
}

/* Profile */

.section-profile {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-profile .section-header {
  margin-bottom: 1.25rem;
}

.profile-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.profile-grid--minimal {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .profile-grid--minimal {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.profile-photo-wrap {
  margin: 0;
}

.profile-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.profile-lead {
  margin: 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.profile-lead strong {
  color: var(--text);
  font-weight: 600;
}

.profile-tag {
  margin: 0.65rem 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Subtle sections (credits & services) */

.section-subtle {
  padding: 3rem 0;
}

.container--narrow {
  max-width: 42rem;
}

.subtle-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.subtle-lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Photo gallery */

.section-gallery {
  padding: 3rem 0;
  border-block: 1px solid var(--border);
}

.section-gallery .section-header {
  margin-bottom: 1.5rem;
}

.gallery-intro {
  margin: 0 0 0.5rem;
  max-width: 42rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.photo-grid li {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.photo-grid__wide,
.photo-grid__panorama {
  grid-column: 1 / -1;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-card--panorama img {
  aspect-ratio: 21 / 9;
  max-height: min(52vh, 420px);
  object-position: center 45%;
}

.photo-card:hover img {
  transform: scale(1.02);
}

.photo-card figcaption {
  padding: 0.5rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* Legacy facts list (unused) */

.facts-list {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.facts-list--compact {
  margin-top: 0;
}

.facts-list--compact .facts-row {
  grid-template-columns: minmax(4.5rem, 5.5rem) 1fr;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0.85rem;
}

.facts-list--compact .facts-row dt {
  font-size: 0.68rem;
}

.facts-list--compact .facts-row dd {
  font-size: 0.88rem;
  line-height: 1.35;
}

.facts-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) 1fr;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.facts-row:last-child {
  border-bottom: none;
}

.facts-row--highlight {
  background: rgba(232, 168, 56, 0.06);
}

.facts-row--highlight dd {
  color: var(--text);
  font-weight: 500;
}

.facts-row dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  padding-top: 0.1rem;
}

.facts-row dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .facts-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
  }
}

.section-credits {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.section-services {
  padding-bottom: 3.5rem;
}

.minimal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.minimal-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.25rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.minimal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
}

.minimal-list li:last-child {
  border-bottom: none;
}

/* Contact */

.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-card {
  font-style: normal;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.contact-card p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.contact-uid {
  margin-top: 1rem !important;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: rgba(232, 168, 56, 0.4);
  background: var(--accent-dim);
  color: var(--text);
}

.contact-link--primary {
  border-color: rgba(232, 168, 56, 0.3);
  background: var(--accent-dim);
}

.contact-link-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-link-value {
  font-size: 1.05rem;
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}

/* Legal page */

.page-legal .site-header {
  position: relative;
}

.legal-main {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  max-width: 720px;
}

.legal-back {
  margin: 0 0 1.5rem;
}

.legal-back a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 2rem;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.legal-prose {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-prose h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.legal-prose a {
  color: var(--accent);
}

.legal-prose em {
  font-size: 0.9rem;
}

.legal-prose code {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--bg-card);
  border-radius: 4px;
}

.legal-prose .cookies-joke {
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  color: var(--text);
  font-size: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-tag {
  font-family: var(--mono);
  font-size: 0.75rem !important;
  font-style: italic;
}

/* Mobile nav */

@media (max-width: 700px) {
  .site-header {
    height: auto;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.3s;
  }

  .site-nav.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wave-path {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
