/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-b);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2.4s ease-in-out infinite;
}

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.about-text {}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat {
  padding: 1.5rem;
  border: 1px solid var(--glass-b);
  background: var(--glass);
}

.stat-number {
  font-family: var(--font-h);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: filter 0.6s var(--ease);
}

.about-img-frame:hover img {
  filter: grayscale(0%) brightness(0.95);
}

.about-img-deco {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 55%;
  height: 55%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
}

.about-img-badge {
  position: absolute;
  top: 2rem;
  right: -2rem;
  background: var(--bg);
  border: 1px solid var(--glass-b);
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.about-img-badge .badge-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.about-img-badge .badge-txt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.4rem;
}

/* ============================================
   SERVICES PREVIEW (Homepage)
   ============================================ */
.services-preview {
  background: var(--bg-2);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--glass-b);
}

.service-card {
  background: var(--bg-2);
  padding: 3rem 2.5rem;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  border: none;
  backdrop-filter: none;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-l);
}

.service-card:hover {
  background: var(--bg-3);
  transform: none;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: border-color 0.4s var(--ease);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.85;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease);
  cursor: none;
}

.service-link:hover {
  gap: 0.8rem;
}

.service-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   REFERENCES TEASER (Homepage)
   ============================================ */
.references-teaser {
  overflow: hidden;
}

.refs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ref-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-3);
}

.ref-card:first-child {
  aspect-ratio: auto;
  grid-row: span 2;
}

.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.7);
  transition: filter 0.7s var(--ease), transform 0.7s var(--ease-l);
}

.ref-card:hover img {
  filter: brightness(0.55) saturate(0.5);
  transform: scale(1.05);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s var(--ease);
}

.ref-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  background: rgba(8,8,8,0.5);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.ref-overlay h4 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.ref-overlay p {
  font-size: 0.85rem;
  color: rgba(240,237,232,0.65);
}

.refs-more {
  text-align: center;
  margin-top: 3.5rem;
}

/* ============================================
   CTA BANNER (Homepage)
   ============================================ */
.cta-banner {
  background: var(--bg-2);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(201,168,76,0.06), transparent),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(201,168,76,0.04), transparent);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.cta-banner p {
  max-width: 480px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.cta-banner-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   LEISTUNGEN PAGE
   ============================================ */
.service-detail {
  padding: 6rem 0;
  position: relative;
}

.service-detail:nth-child(even) {
  background: var(--bg-2);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content {
  direction: ltr;
}

.service-detail:nth-child(even) .service-detail-visual {
  direction: ltr;
}

.service-detail-content {}

.service-detail-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.service-detail-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.service-detail-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.3rem;
}

.service-detail-content p {
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(240,237,232,0.05);
}

.feature-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  background:
    linear-gradient(var(--gold), var(--gold)) center/1px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center/8px 1px no-repeat;
  opacity: 0.7;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--glass-b);
  background: var(--glass);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-visual {
  position: relative;
}

.service-visual-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.service-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.8);
  transition: transform 0.8s var(--ease-l);
}

.service-visual-img:hover img {
  transform: scale(1.04);
}

.service-visual-deco {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  border: 1px solid rgba(201,168,76,0.15);
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   REFERENZEN PAGE
   ============================================ */
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(201,168,76,0.08);
}

.ref-grid-card {
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: none;
}

.ref-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.6);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease-l);
}

.ref-grid-card:hover img {
  filter: brightness(0.5) saturate(0.4);
  transform: scale(1.06);
}

.ref-grid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, transparent 50%);
}

.ref-grid-overlay .tag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
}

.ref-grid-overlay h4 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.ref-grid-overlay p {
  font-size: 0.82rem;
  color: rgba(240,237,232,0.55);
  line-height: 1.5;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding-top: 3rem;
  padding-bottom: 8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
}

/* Form */
.contact-form-wrap {}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea,
.form-select {
  background: transparent;
  border: 1px solid rgba(240,237,232,0.12);
  border-top: none;
  border-left: none;
  border-right: none;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.95rem;
  padding: 0.85rem 0;
  outline: none;
  transition: border-color 0.3s var(--ease);
  cursor: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--dim);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
  font-size: 0.88rem;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
  animation: fadeInUp 0.5s var(--ease-l) forwards;
}

/* Contact Info */
.contact-info {}

.contact-info-title {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-info-desc {
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--glass-b);
  background: var(--glass);
  transition: border-color 0.35s var(--ease);
}

.contact-method:hover {
  border-color: rgba(201,168,76,0.3);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-method-text {}

.contact-method-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.35rem;
}

.contact-method-value {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.3s var(--ease);
  cursor: none;
}

.contact-method-value:hover {
  color: var(--gold);
}

.contact-socials {
  display: flex;
  gap: 0.9rem;
}

/* ============================================
   IMPRESSUM / DATENSCHUTZ
   ============================================ */
.legal-page {
  padding-top: 3rem;
  padding-bottom: 8rem;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-content p {
  font-size: 0.93rem;
  margin-bottom: 1rem;
  line-height: 1.9;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.3);
  transition: text-decoration-color 0.3s;
  cursor: none;
}

.legal-content a:hover {
  text-decoration-color: var(--gold);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-content ul li,
.legal-content ol li {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.legal-content hr {
  border: none;
  border-top: 1px solid rgba(240,237,232,0.06);
  margin: 2.5rem 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .service-detail-grid {
    gap: 4rem;
  }

  .contact-grid {
    gap: 4rem;
  }

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

@media (max-width: 768px) {
  .about-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }

  .about-visual {
    order: -1;
  }

  .about-img-badge {
    right: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .refs-grid {
    grid-template-columns: 1fr;
  }

  .ref-card:first-child {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .referenzen-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .cta-banner-btns {
    flex-direction: column;
    align-items: center;
  }
}
