/* ========== Basis ========== */

:root {
  --bg: #050505;
  --bg-alt: #111111;
  --bg-soft: #181818;
  --text: #f5f5f5;
  --muted: #aaaaaa;
  --border: #2b2b2b;
  --accent: #ffffff;
  --radius-xl: 1.25rem;
  --radius-lg: 0.9rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
  --shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #202020 0, #050505 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ========== Layout ========== */

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

main {
  flex: 1;
}

/* ========== Header / Navigation ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to right, #050505, #111111);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.brand-title:hover {
  color: #d8d8d8;
  transform: translateY(-1px);
}

/* Navigation Desktop */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  transition: all 0.3s ease;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA Button */

.nav-cta {
  border: 1px solid #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: #000;
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.nav-cta:hover {
  background: #e6e6e6;
  color: #000;
}

/* Burger Menü */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 999px;
  transition: all 0.3s ease;
}

/* Animation bei aktivem Menü */

.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Menü */

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom-left-radius: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

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

  .nav-links a {
    font-size: 0.95rem;
    color: #f0f0f0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.nav-cta {
    align-self: stretch;
    text-align: center;
    background: #ffffff;
    color: #000;
  }
}

/* ========== Buttons ========== */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all var(--transition-med);
}

.btn {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  background: #e8e8e8;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

/* ========== Hero (Startseite) ========== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1.03;
  margin-bottom: 1rem;
}

.hero-title span {
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero Panel */

.hero-panel {
  background: radial-gradient(circle at top, #222 0, #0b0b0b 60%);
  border-radius: 1.75rem;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-panel-tag {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.25rem 0.7rem;
}

.hero-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(125, 255, 125, 0.6);
}

.hero-panel-body {
  display: grid;
  gap: 1rem;
}

.hero-panel-line {
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.hero-panel-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.hero-panel-value {
  font-weight: 600;
}

.hero-panel-footnote {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ========== Sections / Cards ========== */

.page-header {
  margin: 2.5rem 0 1.5rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--muted);
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin: 0.4rem 0 0.6rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 34rem;
}

.section {
  margin-top: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-description {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 26rem;
}

.grid-3 {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(145deg, #141414, #050505);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-med),
    box-shadow var(--transition-med), border-color var(--transition-med),
    background var(--transition-med);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.08),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--transition-med);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

.card-meta {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Lists */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

.bullet-list li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.bullet-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
}

/* ========== Timeline (Über uns) ========== */

.timeline {
  border-left: 1px solid var(--border);
  padding-left: 1.2rem;
}

.timeline-item {
  margin-bottom: 1.4rem;
  position: relative;
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: #000;
  position: absolute;
  left: -1.8rem;
  top: 0.2rem;
}

.timeline-year {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-title {
  font-size: 1rem;
  margin: 0.2rem 0;
}

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

/* ========== Galerie ========== */

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--border);
  cursor: pointer;
  transform: translateY(0);
  transition: transform var(--transition-med),
    box-shadow var(--transition-med), border-color var(--transition-med);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-image-placeholder {
  padding-top: 62%;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  position: relative;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.3),
    transparent
  );
  font-size: 0.8rem;
}

/* ========== FAQ ========== */

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font: inherit;
}

.faq-question-text {
  font-size: 0.95rem;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition-med),
    background var(--transition-med), border-color var(--transition-med);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  transition: max-height 0.25s ease-out, padding-bottom 0.25s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 120px;
  padding-bottom: 0.8rem;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
  background: var(--accent);
  color: #000;
  border-color: transparent;
}

/* ========== Formular (Kontakt) ========== */

.form-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
}

.form-card {
  background: linear-gradient(145deg, #151515, #050505);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.3rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  background: #050505;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast);
}

.field textarea {
  border-radius: 0.9rem;
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: #080808;
}

.form-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-aside {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-aside-block {
  margin-bottom: 1.2rem;
}

.contact-aside-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.contact-aside-value {
  margin-top: 0.25rem;
}

/* ========== Footer ========== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.2rem 1.5rem 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ========== Animations / Scroll Reveal ========== */

.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.05s;
}
.stagger-2 {
  transition-delay: 0.12s;
}
.stagger-3 {
  transition-delay: 0.18s;
}
.stagger-4 {
  transition-delay: 0.24s;
}
.stagger-5 {
  transition-delay: 0.3s;
}

/* ========== Utilities ========== */

.tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.18rem 0.6rem;
  color: var(--muted);
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }

  .grid-3,
  .grid-2,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
