* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Global overflow wrapping & text hyphens for small screens */
h1, h2, h3, h4, h5, h6, p, span, a, li, strong, th, td {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  cursor: none;
}

a, button, .svc-card, .btn {
  cursor: none !important;
}

::selection { background: var(--accent); color: var(--bg); }

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999999 !important;
  transform: translate(-50%, -50%);
}

.cursor-orb {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(165, 243, 161, 0.25);
  background: radial-gradient(circle at center, rgba(165, 243, 161, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999998 !important;
  opacity: 0.5;
  filter: blur(25px);
  transform: translate(-50%, -50%) scale(1);
  will-change: transform, opacity, width, height;
  mix-blend-mode: screen;
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1), height 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease;
  animation: orbMorph 8s ease-in-out infinite;
}

.cursor-glow {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999997 !important;
  opacity: 0.12;
  filter: blur(90px);
  transform: translate(-50%, -50%);
  will-change: transform;
  mix-blend-mode: screen;
}

@keyframes orbMorph {
  0%, 100% { border-radius: 50% 50% 50% 50%; transform: translate(-50%, -50%) rotate(0deg); }
  25% { border-radius: 58% 42% 52% 48%; }
  50% { border-radius: 45% 55% 48% 52%; transform: translate(-50%, -50%) rotate(180deg); }
  75% { border-radius: 52% 48% 58% 42%; }
}

/* ============ GLOBAL LAYOUT CONTAINERS ============ */
.container {
  width: 85%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.reveal { 
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 0.8s ease, transform 0.8s ease; 
  will-change: opacity, transform;
}
.reveal.in { 
  opacity: 1; 
  transform: translateY(0); 
}

.divider {
  border-top: 1px solid var(--line);
}

/* ============ GLOBAL SCOPE SPACING SYSTEM ============ */
.section,
.problem-outcome-section,
.tech-strip,
.praxis-section,
.scroll-features-section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
  width: 100%;
}

/* Base list resets for all subpages */
ul, ol {
  box-sizing: border-box;
}

/* ============ TEXT HELPERS & UTILITIES ============ */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.mt-auto { margin-top: auto !important; }
.mb-4rem { margin-bottom: 4rem !important; }
.mb-5rem { margin-bottom: 5rem !important; }

/* ============ GENERAL IMAGE UTIL RULES ============ */
.contact-visual-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.legal-hero-visual-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 3rem;
  display: block;
}

.impressum-accent-img {
  max-width: 300px;
  opacity: 0.5;
  display: block;
  margin: 0 auto;
}

.about-sub {
  font-size: 1.1rem;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ COMMON SECTION LAYOUTS ============ */
.section-label {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--fg-3);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.section-label .accent {
  color: var(--accent);
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 24ch;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-title .light {
  font-weight: 300;
  color: var(--fg-2);
}

@media (max-width: 992px){
  .cursor-dot,
  .cursor-orb,
  .cursor-glow {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .container {
    width: 90%;
  }
}

section:not(.page-header){
}