:root {
  --inwi-ink: #1a1a1a;
  --inwi-muted: #575757;
  --inwi-line: #d8d8d8;
  --inwi-paper: #ffffff;
  --inwi-sand: #f4f4f2;
  --inwi-band: #2c2c2c;
  --inwi-cta: #1f2a36;
  --inwi-accent: #8a6d1d;
  --inwi-max: 1080px;
  --inwi-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.inwi-legacy {
  margin: 0;
  color: var(--inwi-ink);
  background: var(--inwi-paper);
  font-family: var(--inwi-font);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: #1b57b1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.inwi-wrap {
  width: min(100% - 2rem, var(--inwi-max));
  margin-inline: auto;
}

.inwi-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.inwi-header-spacer {
  /* Fallback until JS measures the real header height */
  height: 220px;
}

.inwi-jump-target,
#unsere-mission,
#dabei-sein,
#top-b,
#top-d {
  scroll-margin-top: var(--inwi-header-offset, 240px);
}

.inwi-brand {
  padding: 1.1rem 0 0.65rem;
  text-align: center;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.inwi-logo-link {
  display: inline-block;
}

.inwi-logo {
  width: min(560px, 92vw);
  display: block;
  margin: 0 auto;
}

.inwi-brand-title {
  margin: 0.55rem 0 0.35rem;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.inwi-headerbar {
  padding: 1.75rem 0 0.5rem;
  text-align: center;
  max-width: none;
}

.inwi-headerbar .inwi-wrap {
  max-width: 46rem;
}

.inwi-headerbar h1,
.inwi-headerbar p {
  margin: 0.35rem 0;
}

.inwi-headerbar img {
  display: none;
}

.inwi-nav {
  background: #111;
}

.inwi-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  position: relative;
}

.inwi-nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.inwi-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.inwi-menu > li {
  position: relative;
}

.inwi-menu > li > a {
  display: block;
  color: #fff;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.inwi-menu > li.is-active > a,
.inwi-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.inwi-submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #1c1c1c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.has-children:hover > .inwi-submenu,
.has-children:focus-within > .inwi-submenu {
  display: block;
}

.inwi-submenu a {
  display: block;
  color: #fff;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.inwi-submenu a:hover,
.inwi-submenu .is-active > a {
  background: rgba(255, 255, 255, 0.08);
}

.inwi-section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.inwi-section--cta {
  background:
    linear-gradient(180deg, rgba(20, 28, 36, 0.88), rgba(20, 28, 36, 0.92)),
    radial-gradient(circle at top, #4a5560, #141c24 70%);
  color: #f2f2f2;
}

.inwi-section--cta a {
  color: #f2f2f2;
  text-decoration: none;
}

.inwi-section--cta a:hover {
  color: #fff;
  text-decoration: underline;
}

.inwi-section--band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, #ece7dc, #f7f7f7);
}

.inwi-section--quote {
  background: var(--inwi-sand);
  border-top: 1px solid var(--inwi-line);
  border-bottom: 1px solid var(--inwi-line);
}

.inwi-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 760px;
  margin-inline: auto;
}

.inwi-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1rem;
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inwi-cta-stack {
  display: grid;
  gap: 0.75rem;
}

.inwi-cta-stack .inwi-cta-card {
  padding: 0.5rem;
}

.inwi-prose {
  text-align: center;
}

.inwi-prose h1,
.inwi-prose h2,
.inwi-prose h3 {
  line-height: 1.25;
}

.inwi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.inwi-page-wrap {
  padding: 2.5rem 0 4rem;
}

.inwi-article {
  max-width: 820px;
  margin: 0 auto;
}

.inwi-article h1 {
  text-align: center;
}

.inwi-footer {
  background: #111;
  color: #cfcfcf;
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.inwi-footer a {
  color: #cfcfcf;
}

.inwi-footer a:hover {
  color: #fff;
}

.inwi-mobile-only {
  display: none;
}

@media (max-width: 860px) {
  .inwi-desktop-only {
    display: none !important;
  }

  .inwi-mobile-only {
    display: block;
  }

  .inwi-split {
    grid-template-columns: 1fr;
  }

  .inwi-nav-toggle {
    display: inline-block;
    margin: 0.65rem 0;
  }

  .inwi-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.75rem;
  }

  .inwi-menu.is-open {
    display: flex;
  }

  .inwi-submenu {
    position: static;
    display: block;
    box-shadow: none;
    background: #1a1a1a;
  }

  .inwi-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 861px) {
  .inwi-cta-stack.inwi-mobile-only {
    display: none !important;
  }
}
