/* ============================================================
   MN Digital – Rebrand Layer ("Editorial")
   Wird als LETZTES geladen. Überschreibt die visuelle Ebene:
   grosse Sora-Typografie, viel Weissraum, ruhige Motion.
   Marke (Petrol/Teal) bleibt erhalten. Funktion/JS unberührt.
   Akzent umstellen: nur --primary / --primary-light in style.css
   ============================================================ */

:root {
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  /* grosszuegigere Radien fuer den weichen, premium Eindruck */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

/* mehr Zeilenhöhe/Raum im Fliesstext */
body { line-height: 1.7; }

/* ---------- Typografie: Sora fuer Display ---------- */
h1, h2, h3, h4,
a.logo,
.hero-title,
.section-header h2,
.price-amount,
.process-number,
.pricing-header h3,
.pricing-hosting h3 {
  font-family: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.03em;
}

h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 700; line-height: 1.05; }
h3 { font-size: 1.4rem; font-weight: 600; }

/* ---------- Weissraum ---------- */
.section { padding: clamp(60px, 7vw, 104px) 0; }
.section-header { max-width: 640px; margin: 0 0 clamp(48px, 6vw, 80px); text-align: left; }
.section-header p { font-size: 1.12rem; max-width: 40rem; }

/* ---------- Buttons: Pill ---------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-lg { border-radius: 999px; padding: 16px 34px; }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(79, 154, 143, 0.55); }
.nav-links .btn-nav { border-radius: 999px; }
.btn-block { border-radius: 999px; }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ---------- Navigation ---------- */
.navbar { padding: 20px 0; }
.navbar.scrolled { padding: 13px 0; backdrop-filter: blur(14px); background: rgba(22, 25, 29, 0.72); }
a.logo { font-size: 1.4rem; letter-spacing: -0.02em; }

/* ============================================================
   HERO – editorial, links ausgerichtet, Zeilen-Reveal
   ============================================================ */
.hero { min-height: 88vh; padding: clamp(130px, 16vh, 190px) 0 clamp(80px, 10vh, 120px); }
/* gleiches Container-Raster wie Nav/Sektionen (linke Kante bündig), nur Text linksbündig */
.hero-content {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge { margin-bottom: 34px; }

.hero .hero-title {
  font-weight: 700;
  font-size: clamp(2.9rem, 8.5vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}
/* Zeilen-Maske: jede Zeile steigt beim Laden von unten herein (reines CSS) */
.hero-title .line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-title .line-mask > span {
  display: block;
  transform: translateY(110%);
  animation: mnLineRise 0.95s var(--ease-out) both;
}
.hero-title .line-mask:nth-child(1) > span { animation-delay: 0.05s; }
.hero-title .line-mask:nth-child(2) > span { animation-delay: 0.16s; }
.hero-title .line-mask:nth-child(3) > span { animation-delay: 0.27s; }
@keyframes mnLineRise { to { transform: translateY(0); } }

/* Auto-Animation der ganzen H1 aus tweaks.css hier deaktivieren
   (die einzelnen Zeilen animieren stattdessen) */
.hero .hero-title { animation: none !important; }

.hero-foot {
  margin-top: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-subtitle {
  margin: 0;
  max-width: 34rem;
  font-size: 1.18rem;
  line-height: 1.7;
}
.hero-actions { margin: 0; justify-content: flex-start; }

/* Hintergrund-Glow etwas nach rechts, editorialer */
.hero-spotlight {
  background: radial-gradient(680px circle at 78% 12%, rgba(79, 154, 143, 0.10), transparent 62%);
}

/* ============================================================
   MARQUEE – ruhige Lauftext-Leiste mit Leistungen
   ============================================================ */
.mn-marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  background: var(--bg-light);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mn-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: mnScrollX 34s linear infinite;
}
.mn-marquee-track span {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.mn-marquee-track span::after {
  content: "◆";
  color: var(--primary-light);
  font-size: 0.6em;
}
@keyframes mnScrollX { to { transform: translateX(-50%); } }

/* ============================================================
   TRUST BAR – etwas mehr Luft
   ============================================================ */
.trust-bar { padding: 30px 0; }

/* ============================================================
   SERVICES – groesser, editorialer
   ============================================================ */
.services-grid { gap: 20px; }
.service-card { padding: clamp(32px, 4vw, 44px); border-radius: var(--radius); }
.service-card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.service-card > p { font-size: 1rem; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; }
.service-icon svg { width: 26px; height: 26px; }

/* ============================================================
   PROCESS – grosse Nummern
   ============================================================ */
.process-number { font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; }
.process-step h3 { font-size: 1.3rem; }

/* ============================================================
   ABOUT – Statement-Charakter
   ============================================================ */
.about-content { max-width: 900px; text-align: left; margin: 0; }
.about-content h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 24px; }
.about-content > p { font-size: 1.25rem; line-height: 1.6; max-width: 46rem; color: var(--text-light); margin-bottom: 56px; }
.about-features { text-align: left; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card { padding: clamp(36px, 4vw, 48px) 32px; border-radius: var(--radius); }
.price-amount { font-size: 4rem; }
.pricing-hosting { border-radius: var(--radius); padding: clamp(36px, 5vw, 56px); }
.pricing-hosting h3 { font-size: 1.8rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin: 0; max-width: 820px; }
.faq-question { padding: 22px 24px; font-size: 1.05rem; }
.faq-item { border-radius: var(--radius-sm); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-form { padding: clamp(32px, 4vw, 48px); border-radius: var(--radius); }
.contact-card { border-radius: var(--radius); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 88px 0 40px; }

/* ============================================================
   MOTION – Reveal etwas ruhiger/editorialer
   ============================================================ */
.fade-in {
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-in.visible { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-foot { flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-header { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .line-mask > span { transform: none; animation: none; }
  .mn-marquee-track { animation: none; }
  .fade-in { transform: none; }
}

/* ============================================================
   SERVICE-CARD "MEHR ERFAHREN"-LINK
   ============================================================ */
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-light, #6fb3a9);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.service-more svg { transition: transform 0.3s var(--ease-out); }
.service-more:hover { gap: 12px; }
.service-more:hover svg { transform: translateX(3px); }

/* ============================================================
   SERVICE-LANDINGPAGES (webdesign/webentwicklung/webhosting)
   Nutzen js/legal.js (ohne Reveal-FX) -> Inhalte immer sichtbar.
   ============================================================ */
body.svc-page .fade-in { opacity: 1; transform: none; }
body.svc-page .services-grid-v2 .service-card { opacity: 1; transform: none; }

.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.svc-intro { max-width: 46rem; font-size: 1.18rem; color: var(--text-muted); }
.svc-intro strong { color: var(--text); }

.svc-faq { display: grid; gap: 16px; }
.svc-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
}
.svc-faq-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-faq-item p { color: var(--text-muted); margin: 0; }

.svc-cta { text-align: center; }
.svc-cta .section-header { margin-left: auto; margin-right: auto; text-align: center; }

@media (max-width: 600px) {
  .svc-hero-actions { flex-direction: column; }
  .svc-hero-actions .btn { width: 100%; justify-content: center; }
}
