/* storywalx.com review draft (15.11.2026). Nur Entwurf, nichts live. */

@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/fonts/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

.footer-box a[href^="tel:"]::after {
  content: "Mo. bis Fr. 9:00 bis 13:00";
  display: block;
  margin-top: 0.3em;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
html[lang="en"] .footer-box a[href^="tel:"]::after {
  content: "Mon. to Fri. 9:00 to 13:00";
}

#contact-form::after,
#cta-contact-form::after {
  content: "Ihre Angaben nutzen wir nur zur Beantwortung Ihrer Anfrage. Hinweise stehen in der Datenschutzerklärung.";
  display: block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4a4a6a;
  max-width: 65ch;
}
html[lang="en"] #contact-form::after,
html[lang="en"] #cta-contact-form::after {
  content: "We use your details only to answer your enquiry. Please see the privacy policy.";
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .flow-stop,
  .flow-stop.reveal,
  .reveal,
  .flow-hero .hero-logo,
  .flow-hero h1,
  .flow-hero .hero-sub,
  .cta-btn {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-hint { display: none !important; }
}

/* Contact and legal pages use the same light nav as the homepage. */

.cta-btn:active,
button:active,
.nav-link:active,
.link-arrow:active,
.footer-box a:active {
  transform: scale(0.97);
}

.project-page {
  padding: 120px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.project-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a1a2e;
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}
.project-page .lead {
  font-size: 1.15rem;
  color: #4a4a6a;
  max-width: 65ch;
  margin: 0 0 2.5rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(119, 113, 178, 0.08);
  display: flex;
  flex-direction: column;
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.project-card .card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.project-card .badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7771B2;
  background: #EDEAFF;
  border-radius: 999px;
  padding: 4px 10px;
}
.project-card h2 {
  font-size: 1.25rem;
  margin: 0;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}
.project-card p {
  color: #4a4a6a;
  margin: 0 0 0.6rem;
  flex: 1;
  line-height: 1.5;
}
.project-card a {
  color: #7771B2;
  font-weight: 700;
  text-decoration: none;
}
.project-card a:hover { text-decoration: underline; }

.legal-page {
  padding: 120px 24px 80px;
  max-width: 72ch;
  margin: 0 auto;
  color: #1a1a2e;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: #1a1a2e;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.6rem;
  color: #1a1a2e;
}
.legal-page p, .legal-page li {
  line-height: 1.6;
  max-width: 65ch;
}
.legal-page a { color: #7771B2; }
.legal-hero { display: none; }

@media (max-width: 430px) {
  .contact-hero h1 { overflow-wrap: anywhere; }
  .legal-page { padding: 100px 18px 64px; }
}


/* Contact page: same light look as the homepage, no separate purple-hero layout */
.contact-hero {
  min-height: 0 !important;
  background: #faf8ff !important;
  padding: 140px 24px 24px !important;
  overflow: visible !important;
}
.contact-hero::before,
.contact-hero::after {
  display: none !important;
}
.contact-logo {
  display: none !important;
}
.contact-hero h1 {
  color: #1a1a2e !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.contact-subtitle {
  color: #4a4a6a !important;
  font-size: 1.15rem !important;
}
.contact-body {
  background: #faf8ff !important;
  padding-top: 12px !important;
}
.contact-hero-inner {
  text-align: left !important;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 430px) {
  .contact-hero h1 { overflow-wrap: anywhere; }
}

/* Legal pages share homepage colors and type */
.legal-page {
  background: transparent;
}
body:has(.legal-page) {
  background: #faf8ff;
}
