/* ===========================
   APPLE-STYLE DESIGN SYSTEM
   =========================== */

:root {
  /* Apple Core Palette */
  --a-black:   #1d1d1f;
  --a-gray:    #6e6e73;
  --a-silver:  #86868b;
  --a-light:   #f5f5f7;
  --a-white:   #ffffff;

  /* Apple Accent Colors */
  --a-blue:    #007AFF;
  --a-purple:  #BF5AF2;
  --a-pink:    #FF375F;
  --a-orange:  #FF9F0A;
  --a-green:   #34C759;
  --a-teal:    #5AC8FA;

  /* Brand (rosé-wine) — blended in */
  --wine:      #7A2D3C;
  --wine-mid:  #A84060;
  --rose:      #E8C2CB;

  /* Service Gradients */
  --g-strat:   linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
  --g-content: linear-gradient(135deg, #FF375F 0%, #FF9F0A 100%);
  --g-ads:     linear-gradient(135deg, #BF5AF2 0%, #007AFF 100%);
  --g-video:   linear-gradient(135deg, #34C759 0%, #30B0C7 100%);
  --g-brand:   linear-gradient(135deg, #C47888 0%, #7A2D3C 100%);

  /* Typography — Apple system font stack */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-w:  1200px;
  --sec-v:  120px;
  --nav-h:  48px;
  --r-card: 18px;
  --r-btn:  980px;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font);
  color: var(--a-black);
  background: var(--a-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================
   NAV — Apple compact translucent
   =========================== */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.3s;
}

nav.nav-scrolled {
  background: rgba(255,255,255,0.88);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--a-black);
  text-decoration: none;
}

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--a-black);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }

/* ===========================
   BUTTONS — Apple pill style
   =========================== */
.btn-filled {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-filled:hover {
  background: var(--wine-mid);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(122,45,60,0.3);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--wine-mid);
  text-decoration: none;
  transition: gap 0.2s, opacity 0.2s;
}
.btn-text:hover { gap: 8px; opacity: 0.8; }

/* ===========================
   HERO — Apple fullscreen
   =========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--a-white);
  overflow: hidden;
  padding-top: var(--nav-h);
  text-align: center;
}

/* Subtle radial glow in background */
#hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(184, 68, 102, 0.08) 0%,
    rgba(184, 68, 102, 0.04) 40%,
    transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-parallax-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  will-change: transform, opacity;
}

.hero-kicker {
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--a-gray);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--a-black);
  margin-bottom: 24px;
}

/* Gradient word inside headline */
.hero-headline .grad-word {
  display: inline-block;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--a-gray);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Animated scroll chevron */
.hero-chevron {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.35;
  animation: chevron-bounce 2s ease-in-out infinite;
}
.hero-chevron span {
  display: block;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--a-black);
  border-bottom: 1.5px solid var(--a-black);
  transform: rotate(45deg);
}
.hero-chevron span:nth-child(2) { opacity: 0.5; margin-top: -6px; }

@keyframes chevron-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   ABOUT — Apple light gray section
   =========================== */
#about {
  background: var(--a-light);
  padding: var(--sec-v) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.about-blob-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.about-blob {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 52% 48% 44% 56% / 55% 50% 50% 45%;
  overflow: hidden;
  background: linear-gradient(145deg, #EFCED6 0%, #DDAABA 100%);
  box-shadow: 0 24px 60px rgba(122,45,60,0.18);
}

.about-blob img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-mid);
  margin-bottom: 16px;
  display: block;
}

.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--a-black);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 1rem;
  color: var(--a-gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-text strong { color: var(--a-gray); font-weight: 500; }

/* CSS-only collapsible */
.about-toggle-input { display: none; }

.about-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-toggle-input:checked ~ .about-collapsible { max-height: 1200px; }

.about-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--wine-mid);
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s;
}
.about-toggle-btn:hover { opacity: 0.7; }
.about-toggle-btn svg { width: 14px; height: 14px; transition: transform 0.35s; }

.lbl-close { display: none; }
.about-toggle-input:checked ~ .about-toggle-btn .lbl-open  { display: none; }
.about-toggle-input:checked ~ .about-toggle-btn .lbl-close { display: inline-flex; align-items: center; gap: 6px; }
.about-toggle-input:checked ~ .about-toggle-btn .arrow-icon { transform: rotate(180deg); }

/* ===========================
   LEISTUNGEN — Apple Black section
   =========================== */
#leistungen {
  background: #000;
  padding: var(--sec-v) 0;
  overflow: hidden;
}

.dark-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

/* Animated gradient headline */
.dark-headline {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 20px;
}

@keyframes grad-flow {
  from { background-position: 0% center; }
  to   { background-position: -200% center; }
}

.grad-line {
  display: block;
  background: linear-gradient(90deg,
    #fff 0%, #BF5AF2 20%, #FF375F 40%, #FF9F0A 60%, #BF5AF2 80%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-flow 4s linear infinite;
}
.grad-line:nth-child(2) { animation-duration: 4.4s; }
.grad-line:nth-child(3) { animation-duration: 3.8s; }

.dark-subtitle {
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  margin-bottom: 72px;
  font-style: italic;
}

.services-dark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dark-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-card);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dark-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--card-grad);
  opacity: 0.6;
}

.dark-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Gradient glow sphere behind card */
.dark-card::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--card-grad);
  opacity: 0.07;
  bottom: -80px; right: -60px;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dark-card:hover::after { opacity: 0.13; }

.dark-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--card-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dark-card-icon svg {
  width: 22px; height: 22px;
  color: #fff;
}

.dark-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.dark-card-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  font-weight: 300;
}

/* ===========================
   REFERENZEN — Apple white cards
   =========================== */
#referenzen {
  background: var(--a-white);
  padding: var(--sec-v) 0;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ref-card {
  background: var(--a-light);
  border-radius: var(--r-card);
  padding: 36px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ref-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.ref-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-mid);
  margin-bottom: 16px;
  white-space: nowrap;
}

.ref-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--a-black);
  margin-bottom: 12px;
}

.ref-text {
  font-size: 0.9rem;
  color: var(--a-gray);
  line-height: 1.8;
  font-weight: 300;
}

.ref-goal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.82rem;
  color: var(--wine-mid);
  font-style: italic;
  font-weight: 400;
}

/* ===========================
   TESTIMONIALS — Apple dark gradient
   =========================== */
#testimonials {
  background: linear-gradient(160deg, #0a001a 0%, #1a0530 45%, #0d0220 100%);
  padding: var(--sec-v) 0;
  overflow: hidden;
  position: relative;
}

#testimonials::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,90,242,0.15) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}

#testimonials::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,122,255,0.12) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

.testimonials-section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.testimonials-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 40px;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.testimonials-slider::-webkit-scrollbar { display: none; }

.testimonial-slide {
  flex: 0 0 min(680px, calc(100vw - 96px));
  scroll-snap-align: center;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-card);
  padding: 52px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-size: 4.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #BF5AF2, #FF375F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
}

.testimonial-text {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 36px;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.testimonial-company {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 300;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.slider-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--a-purple);
}

/* ===========================
   KONTAKT — Apple light gray
   =========================== */
#kontakt {
  background: var(--a-light);
  padding: var(--sec-v) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 90px;
  align-items: start;
}

.contact-info .section-headline { margin-bottom: 20px; }

.contact-info p {
  font-size: 0.97rem;
  color: var(--a-gray);
  line-height: 1.8;
  font-weight: 300;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-gray);
}

.form-group input,
.form-group textarea {
  background: var(--a-white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--a-black);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0,0,0,0.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wine-mid);
  box-shadow: 0 0 0 4px rgba(168,64,96,0.1);
}

button[type="submit"] {
  align-self: flex-start;
  background: var(--wine);
  border: none;
  border-radius: var(--r-btn);
  color: #fff;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
button[type="submit"]:hover {
  background: var(--wine-mid);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(122,45,60,0.3);
}

/* ===========================
   FOOTER — Apple dark
   =========================== */
footer {
  background: var(--a-black);
  padding: 40px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  :root { --sec-v: 80px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-blob-wrap {
    position: static;
    max-width: 220px;
    margin: 0 auto;
  }

  .services-dark-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }

  footer .wrap {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .testimonial-card { padding: 36px 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
}
