/* ==========================================================================
   NODESIDE – Corporate Design
   Farben: Hintergrund #fcfcfc · Primary #e09a5b · Accent #d29d7d/#c4a09f/#b7a4c1
   Fonts:  Montserrat (Titel) · Roboto (Body)
   ========================================================================== */

:root {
  --bg:        #fcfcfc;
  --bg-soft:   #f4efea;
  --ink:       #1f1a17;
  --ink-soft:  #4a413c;
  --muted:     #8a8078;
  --line:      #e9e2dc;

  --primary:   #e09a5b;
  --primary-d: #c7824a;
  --accent-1:  #d29d7d;
  --accent-2:  #c4a09f;
  --accent-3:  #b7a4c1;

  --gradient:  linear-gradient(135deg, #e09a5b 0%, #d29d7d 35%, #c4a09f 70%, #b7a4c1 100%);
  --gradient-soft: linear-gradient(135deg, rgba(224,154,91,.14), rgba(183,164,193,.14));

  --radius:    22px;
  --radius-sm: 12px;
  --radius-lg: 32px;

  --shadow-sm: 0 4px 14px rgba(31,26,23,.06);
  --shadow-md: 0 14px 40px rgba(31,26,23,.10);
  --shadow-lg: 0 30px 80px rgba(31,26,23,.14);

  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: .2s;
  --t-med:  .4s;
  --t-slow: .8s;

  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 500; }

p { color: var(--ink-soft); max-width: 65ch; }

a { color: var(--primary-d); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary-d);
  margin-bottom: 16px;
  padding: 8px 18px;
  background: rgba(224,154,91,.10);
  border-radius: 999px;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 1000;
  transition: width .1s linear;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 0;
  transition: all var(--t-med) var(--ease);
}
.nav.scrolled {
  background: rgba(252,252,252,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 120px;
  width: auto;
  transition: transform var(--t-fast) var(--ease), filter var(--t-med) var(--ease), height var(--t-med) var(--ease);
}
.nav.scrolled .brand-logo { height: 80px; }
.brand:hover .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 12px 32px rgba(31,26,23,.4));
}
.footer .brand-logo { height: 150px; }
@media (max-width: 1100px) {
  .brand-logo { height: 100px; }
  .nav.scrolled .brand-logo { height: 68px; }
}
@media (max-width: 860px) {
  .brand-logo { height: 84px; }
  .nav.scrolled .brand-logo { height: 60px; }
  .footer .brand-logo { height: 110px; }
}
@media (max-width: 560px) {
  .brand-logo { height: 64px; }
  .nav.scrolled .brand-logo { height: 50px; }
  .footer .brand-logo { height: 86px; }
}
.nav-links {
  display: flex; gap: 8px; align-items: center;
  list-style: none;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 20px !important;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px !important;
}
.nav-cta:hover { background: var(--primary-d) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; right: 16px; left: 16px;
    flex-direction: column;
    gap: 4px;
    background: var(--bg);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
    transform: scale(.96) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-med) var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }
  .nav-links a { width: 100%; text-align: left; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: none;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform var(--t-fast) var(--ease);
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 190px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 20s ease-in-out infinite;
}
.blob-1 {
  width: 520px; height: 520px;
  background: var(--primary);
  top: -100px; left: -100px;
}
.blob-2 {
  width: 460px; height: 460px;
  background: var(--accent-3);
  top: 20%; right: -120px;
  animation-delay: -7s;
}
.blob-3 {
  width: 380px; height: 380px;
  background: var(--accent-2);
  bottom: -120px; left: 30%;
  animation-delay: -13s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.08); }
  66%      { transform: translate(-30px,40px) scale(.94); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,26,23,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,26,23,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(252,252,252,.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff; font-size: .7rem;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  font-style: italic;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 52ch;
  margin-bottom: 40px;
  color: var(--ink-soft);
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-meta-label {
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ---------- Pain points ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.pain-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-med) var(--ease);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.pain-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.1);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .98rem; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-weight: 500; font-size: .92rem;
  color: var(--primary-d);
}
.service-link:hover { gap: 10px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  position: relative;
}
.step {
  position: relative;
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step-num {
  position: absolute;
  top: -20px; left: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin: 16px 0 10px; }

/* ---------- Stats ---------- */
.stats-card {
  padding: 72px 48px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.stats-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: .25;
  filter: blur(60px);
}
.stats-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 820px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stats-card { padding: 48px 28px; }
}
.stats-big {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 300;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
}
.stats-label {
  font-size: 1.1rem;
  opacity: .85;
  margin-top: 12px;
}
.stats-card h2 { color: #fff; }
.stats-card p { color: rgba(255,255,255,.75); }
.stats-list {
  list-style: none;
  margin-top: 24px;
}
.stats-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.9);
}
.stats-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.stats-list li:last-child { border-bottom: none; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: clamp(60px, 8vw, 100px) clamp(32px, 5vw, 72px);
  background: var(--gradient);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.3), transparent 40%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0 auto 32px; }
.cta-banner .btn-primary {
  background: var(--ink);
  color: #fff;
}
.cta-banner .btn-primary::before {
  background: #000;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-soft); font-size: .95rem; }
.footer ul a:hover { color: var(--primary-d); }
.footer-brand p { font-size: .95rem; margin-top: 12px; max-width: 40ch; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Page Header ---------- */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: var(--gradient);
  opacity: .18;
  filter: blur(100px);
  border-radius: 50%;
  z-index: 0;
}
.page-header > * { position: relative; z-index: 1; }
.page-header p { max-width: 56ch; margin: 20px auto 0; }

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.value {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-med) var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  font-size: 1.8rem; margin-bottom: 12px;
}
.value h4 { margin-bottom: 8px; }
.value p { font-size: .95rem; }

/* ---------- Founder card ---------- */
.founder {
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; text-align: center; padding: 32px; }
  .founder-avatar { margin: 0 auto; }
}
.founder-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  box-shadow: var(--shadow-lg);
}
.founder h3 { margin-bottom: 4px; }
.founder-role {
  display: inline-block;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 20px; align-items: flex-start;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: grid; place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: .82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.contact-info-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
}
.contact-info-value a { color: var(--ink); }
.contact-info-value a:hover { color: var(--primary-d); }

/* ---------- Form ---------- */
.form-card {
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) {
  .form-card { padding: 28px; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  position: relative;
  margin-bottom: 20px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 22px 18px 10px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
  outline: none;
}
.form-field textarea { min-height: 140px; resize: vertical; padding-top: 26px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  background: var(--bg);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(224,154,91,.15);
}
.form-field label {
  position: absolute;
  top: 18px; left: 18px;
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--t-fast) var(--ease);
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: .72rem;
  color: var(--primary-d);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0 28px;
  font-size: .9rem; color: var(--ink-soft);
}
.form-check input { margin-top: 4px; }
.form-feedback {
  display: none;
  padding: 18px 20px;
  background: rgba(224,154,91,.12);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--ink);
  margin-top: 16px;
}
.form-feedback.visible { display: block; }

/* ---------- Details / Accordion ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq details[open] summary { color: var(--primary-d); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 200;
  color: var(--primary-d);
  transition: transform var(--t-fast) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 14px;
  color: var(--ink-soft);
}

/* ---------- Bereiche (detailed services) ---------- */
.bereich {
  padding: 56px 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  transition: all var(--t-med) var(--ease);
}
.bereich:hover { box-shadow: var(--shadow-md); }
@media (max-width: 780px) {
  .bereich { grid-template-columns: 1fr; padding: 32px; gap: 20px; }
}
.bereich-icon {
  width: 84px; height: 84px;
  border-radius: 22px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff; font-size: 2.4rem;
  box-shadow: var(--shadow-md);
}
.bereich ul {
  list-style: none; margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.bereich ul li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Photo sections ---------- */
.photo-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.photo-split.reverse { grid-template-columns: 1fr 1.1fr; }
.photo-split.reverse .photo-split-media { order: -1; }
@media (max-width: 900px) {
  .photo-split, .photo-split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .photo-split.reverse .photo-split-media { order: 0; }
}
.photo-split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-soft);
}
.photo-split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.photo-split-media:hover img { transform: scale(1.04); }
.photo-split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31,26,23,.1) 100%);
  pointer-events: none;
}
.photo-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  padding: 12px 20px;
  background: rgba(252,252,252,.92);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 10px;
}
.photo-badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip > :last-child { grid-column: span 2; }
}
.photo-strip-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.photo-strip-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.photo-strip-item:hover img { transform: scale(1.06); }

.page-header-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-header-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: saturate(.8);
}
.page-header-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252,252,252,0) 20%, var(--bg) 70%),
    linear-gradient(180deg, rgba(252,252,252,.6) 0%, var(--bg) 100%);
}

/* Quote block */
.quote {
  position: relative;
  padding: 48px 56px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}
.quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 24px;
  font-size: 6rem;
  color: var(--primary);
  opacity: .4;
  font-family: Georgia, serif;
  line-height: 1;
}
.quote cite {
  display: block;
  margin-top: 20px;
  font-size: .9rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 600px) { .quote { padding: 32px 28px; font-size: 1.1rem; } }

/* ---------- Brand Morph ---------- */
.brand-morph-section {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(224,154,91,.10), transparent 60%),
    radial-gradient(900px  500px at 50% 100%, rgba(183,164,193,.12), transparent 65%),
    var(--bg);
}

.brand-morph {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.brand-morph-stage {
  position: relative;
  aspect-ratio: 16 / 7;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, #0d0d14 0%, #050509 75%, #000 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.brand-morph-stage::before,
.brand-morph-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* subtle moving sparkle */
.brand-morph-stage::before {
  background:
    radial-gradient(2px 2px at 15% 30%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 22%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 25% 78%, rgba(255,255,255,.40), transparent 60%),
    radial-gradient(2px 2px at 72% 68%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,.60), transparent 60%);
  opacity: .55;
  animation: brand-twinkle 6s ease-in-out infinite;
}

/* warm brand gradient wash on hover / when playing */
.brand-morph-stage::after {
  background: var(--gradient-soft);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}
.brand-morph.is-playing .brand-morph-stage::after { opacity: .35; }

.brand-morph-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(224,154,91,.55), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transform: scale(.6);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}
.brand-morph.is-playing .brand-morph-glow {
  opacity: .7;
  transform: scale(1);
}

.brand-morph-img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 72%;
  max-height: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease);
  z-index: 2;
  will-change: opacity, transform, filter;
}

/* initial state: only the orange N is visible, big and centered */
.brand-morph-img.is-n {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: drop-shadow(0 0 24px rgba(224,154,91,.55));
}
.brand-morph-img.is-full {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  filter: blur(12px) saturate(1.2);
}

/* playing state: N fades/shrinks, full logo blooms in */
.brand-morph.is-playing .brand-morph-img.is-n {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.6);
  filter: drop-shadow(0 0 60px rgba(224,154,91,.9)) blur(6px);
}
.brand-morph.is-playing .brand-morph-img.is-full {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0) saturate(1.05);
}

@keyframes brand-twinkle {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50%      { opacity: .75; transform: translateY(-3px); }
}

/* controls under the stage */
.brand-morph-controls {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.brand-morph-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  color: var(--ink-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
}
.brand-morph-btn:hover {
  border-color: var(--primary);
  color: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-morph-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(224,154,91,.18);
  animation: brand-dot-pulse 2.4s var(--ease) infinite;
}
@keyframes brand-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(224,154,91,.18); }
  50%      { box-shadow: 0 0 0 10px rgba(224,154,91,0); }
}

/* smaller stages on mobile keep the proportions pleasant */
@media (max-width: 720px) {
  .brand-morph-stage { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .brand-morph-img   { max-width: 82%; max-height: 68%; }
}

/* ---------- Legal pages (Impressum, Datenschutz) ---------- */
.legal-page {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(80px, 10vw, 140px);
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(224,154,91,.08), transparent 60%),
    var(--bg);
}
.legal-page .container { max-width: 820px; }

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}
.legal-page h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 40px; }
.legal-page h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 72ch;
}
.legal-page p + p { margin-top: 14px; }
.legal-page ul {
  margin: 12px 0 12px 22px;
  padding: 0;
}
.legal-page ul li { margin: 6px 0; }
.legal-page a {
  color: var(--primary-d);
  border-bottom: 1px solid rgba(224,154,91,.35);
  padding-bottom: 1px;
}
.legal-page a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.legal-meta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-placeholder {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(224,154,91,.14);
  color: var(--primary-d);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  border: 1px dashed rgba(224,154,91,.55);
}

.legal-contact-card {
  margin-top: 18px;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
}
.legal-contact-card p { color: var(--ink); font-family: 'Montserrat', sans-serif; }
.legal-contact-card strong { font-weight: 500; }

.legal-note {
  margin-top: 48px;
  padding: 22px 26px;
  background: #fff7ef;
  border: 1px solid rgba(224,154,91,.35);
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--ink-soft);
}
.legal-note strong { color: var(--ink); }

.legal-toc {
  margin: 40px 0 48px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.legal-toc h4 {
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 12px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}
.legal-toc ol li { margin: 4px 0; break-inside: avoid; }
.legal-toc a { border-bottom: 0; color: var(--ink-soft); }
.legal-toc a:hover { color: var(--primary-d); }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* For users with reduced motion: just show the final logo */
  .brand-morph-img.is-n    { opacity: 0; }
  .brand-morph-img.is-full { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: none; }
  .brand-morph-stage::before { animation: none; }
}
