/* ---------------------------------------------------------------
   netresearch.de, Entwurf 3 (2026-12-02): hell, mit Fotos, weniger Kästen.
   Nach der Netresearch-Markenrichtlinie (Plugin netresearch-branding 3.2.1):
   --nr-* Tokens, Raleway/Open Sans, Logo nur im Kopf, genau eine Fläche mit
   Petrol-Verlauf und Quadrat-Motiv (hier: "Was neu ist"), Haarlinien,
   Radien 10/16/24 px, keine Farbstreifen an Kanten, keine Schrift unter 14 px.
   Nur helles Schema (Entscheidung Thomas Fleck, 2026-12-02: "zu dunkel").
--------------------------------------------------------------- */

:root {
  color-scheme: light;

  --nr-primary: #2F99A4;
  --nr-primary-fill: #257880;
  --nr-primary-fill-hover: #15585E;
  --nr-primary-text: #15585E;
  --nr-primary-deep: #0A5057;
  --nr-primary-tint: #E6F2F3;
  --nr-accent: #FF4D00;
  --nr-accent-text: #9A2E00;
  --nr-text: #585961;
  --nr-text-secondary: #6E6F78;
  --nr-bg: #FFFFFF;
  --nr-bg-alt: #F5F5F5;
  --nr-border: #CCCDCC;
  --nr-border-strong: #8A8B93;
  --nr-border-light: #E5E5E5;
  --nr-focus: #2F99A4;
  --nr-ring: 0 0 0 4px rgba(47, 153, 164, 0.28);

  --nr-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23FFFFFF' stroke-opacity='.14' stroke-width='3'%3E%3Crect x='70' y='70' width='460' height='460' rx='64'/%3E%3Crect x='150' y='150' width='300' height='300' rx='44'/%3E%3Crect x='230' y='230' width='140' height='140' rx='26'/%3E%3C/svg%3E");

  --font-headline: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 104px;

  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-photo: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Grundlagen --------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--nr-text);
  background: var(--nr-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--nr-text);
  line-height: 1.15;
  margin: 0 0 var(--sp-md);
  font-weight: 700;
}
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; margin-bottom: var(--sp-lg); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1rem; }
p { margin: 0 0 var(--sp-md); }

a { color: var(--nr-primary-text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--nr-primary-deep); }
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 3px solid var(--nr-focus); outline-offset: 2px; box-shadow: var(--nr-ring); border-radius: 4px;
}
a[target="_blank"]:not(.btn)::after { content: ' ↗'; font-size: 0.9em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--sp-4xl) 0; }
.section--tight { padding: var(--sp-3xl) 0; }
.section--alt { background: var(--nr-bg-alt); }
.section-head { max-width: 760px; margin-bottom: var(--sp-3xl); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-headline); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--nr-primary-text); margin-bottom: var(--sp-md);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--nr-accent); box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.18);
}

.lead { font-size: 1.2rem; line-height: 1.6; max-width: 58ch; }

.more { font-family: var(--font-headline); font-weight: 700; display: inline-block; }

/* Navigation -------------------------------------------------- */

.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--nr-border-light);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-lg);
  max-width: 1200px; margin: 0 auto; padding: var(--sp-sm) var(--sp-lg);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  font-family: var(--font-headline); font-weight: 700; font-size: 1.2rem;
  color: var(--nr-text); text-decoration: none;
}
.brand:hover { color: var(--nr-primary-text); }
.brand .logo { width: 48px; height: 48px; }

.nav-menu { display: flex; align-items: center; gap: var(--sp-xs); list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-headline); font-weight: 600; font-size: 0.95rem;
  color: var(--nr-text); text-decoration: none;
}
.nav-link:hover { background: var(--nr-bg-alt); color: var(--nr-primary-text); }
.nav-menu .btn { margin-left: var(--sp-sm); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--nr-text); display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--nr-border-light);
    max-height: 0; overflow: hidden; padding: 0 var(--sp-lg);
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav-menu[data-open="true"] { max-height: 460px; padding: var(--sp-md) var(--sp-lg) var(--sp-lg); }
  .nav-menu li { border-bottom: 1px solid var(--nr-border-light); }
  .nav-menu li:last-child { border-bottom: 0; padding-top: var(--sp-md); }
  .nav-link { display: block; padding: 12px 0; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-menu .btn { margin-left: 0; width: 100%; }
}

.lang-switch {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--nr-bg-alt, #F4F4F4); border-radius: 999px;
  font-family: var(--font-headline); font-size: 0.875rem;
}
.lang-switch a {
  padding: 4px 10px; border-radius: 999px;
  color: var(--nr-text); font-weight: 600; text-decoration: none;
}
.lang-switch a.is-active { background: var(--nr-primary-fill); color: #fff; }
.lang-switch a:hover:not(.is-active) { background: #fff; color: var(--nr-primary-text); }

/* Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font-family: var(--font-headline); font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius-md); border: 0; text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn--primary { background: var(--nr-primary-fill); color: #fff; }
.btn--primary:hover { background: var(--nr-primary-fill-hover); color: #fff; }
.btn--tonal { background: #fff; color: var(--nr-primary-text); box-shadow: inset 0 0 0 1.5px var(--nr-primary); }
.btn--tonal:hover { background: var(--nr-primary-tint); color: var(--nr-primary-deep); }

/* Kopf -------------------------------------------------------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-cut {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  font-family: var(--font-headline); font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--nr-text-secondary);
  margin-bottom: var(--sp-md);
}
.hero-cut s { text-decoration-color: var(--nr-accent); text-decoration-thickness: 3px; }

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-lg);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-md); margin-top: var(--sp-xl); }

.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-photo);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* Angebot: Text und Bild im Wechsel ----------------------------- */

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.feature + .feature { margin-top: var(--sp-4xl); }
.feature--flip .feature-media { order: 2; }
.feature-media img, .photo-placeholder {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg);
}
.feature-media img { box-shadow: var(--shadow-photo); }
.feature-kind {
  font-family: var(--font-headline); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--nr-text-secondary);
  margin-bottom: var(--sp-sm);
}
.feature h3 { margin-bottom: var(--sp-xs); }
.feature-claim { font-family: var(--font-headline); font-weight: 600; font-size: 1.2rem; color: var(--nr-primary-text); margin-bottom: var(--sp-lg); }
.feature-text p:not(.feature-kind):not(.feature-claim) { max-width: 52ch; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .feature--flip .feature-media { order: 0; }
  .feature + .feature { margin-top: var(--sp-3xl); }
}

.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #F5F5F5 0 14px, #EEEFEF 14px 28px);
  border: 1px dashed var(--nr-border-strong);
  color: var(--nr-text); font-family: var(--font-headline); font-weight: 600; font-size: 0.95rem;
  padding: var(--sp-lg);
}

/* Stimme ------------------------------------------------------ */

.voice { display: grid; grid-template-columns: 160px 1fr; gap: var(--sp-2xl); align-items: center; max-width: 980px; }
.voice-photo { width: 160px; height: 160px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
.voice blockquote { margin: 0; }
.voice blockquote p {
  font-family: var(--font-headline); font-weight: 600; color: var(--nr-text);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; margin-bottom: var(--sp-md);
}
.voice blockquote footer { color: var(--nr-text-secondary); font-size: 1rem; }
@media (max-width: 640px) {
  .voice { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .voice-photo { width: 112px; height: 112px; }
}

/* Bild neben Text --------------------------------------------- */

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-media img { width: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-photo); }
#arbeitsweise .split-media img { aspect-ratio: 3 / 4; }
.split--contact { grid-template-columns: 1fr 1fr; }
.split--contact .split-media img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .split, .split--contact { grid-template-columns: 1fr; }
  #arbeitsweise .split-media img { aspect-ratio: 4 / 3; }
}

.flow { list-style: none; counter-reset: f; margin: var(--sp-xl) 0 0; padding: 0; }
.flow li {
  counter-increment: f; position: relative;
  padding: var(--sp-md) 0 var(--sp-md) 56px;
  border-top: 1px solid var(--nr-border-light);
}
.flow li:last-child { border-bottom: 1px solid var(--nr-border-light); }
.flow li::before {
  content: counter(f);
  position: absolute; left: 0; top: var(--sp-md);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 700; color: var(--nr-primary-text);
  background: var(--nr-primary-tint);
}
.flow strong { font-family: var(--font-headline); color: var(--nr-text); }

.day-one { margin: var(--sp-xl) 0 0; }
.day-one strong { font-family: var(--font-headline); color: var(--nr-text); }

/* Was neu ist: die eine Fläche mit Verlauf und Motiv ------------- */

.brand-panel {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 80px);
  background-color: #257880;
  background-image: linear-gradient(150deg, #257880 0%, #15585E 58%, #0A5057 100%);
  color: #fff;
}
.brand-panel::after {
  content: ""; position: absolute; z-index: -1;
  right: -120px; top: -140px; width: 520px; height: 520px;
  background: var(--nr-motif) center / contain no-repeat; pointer-events: none;
}
.brand-panel h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.brand-panel a { color: #fff; }
.brand-panel a:focus-visible { outline-color: #fff; }
.eyebrow--on-fill { color: #fff; }
.panel-lead { font-size: 1.2rem; max-width: 56ch; margin-bottom: var(--sp-2xl); }

.compare { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-2xl); }
.compare-label {
  font-family: var(--font-headline); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  padding-bottom: var(--sp-sm); border-bottom: 1px solid rgba(255,255,255,0.35);
}
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 10px 0; }
.compare-then li { color: rgba(255,255,255,0.85); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.5); }
.compare-now li { font-family: var(--font-headline); font-weight: 700; font-size: 1.1rem; color: #fff; }
.mission { font-family: var(--font-headline); font-weight: 700; font-size: 1.6rem; line-height: 1.15; color: #fff; margin-top: 10px; }
.panel-note {
  position: relative; z-index: 1; margin: var(--sp-2xl) 0 0; padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.9);
}
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; gap: var(--sp-xl); } }
@media (max-width: 700px) {
  /* Motiv auf schmalen Schirmen klein in die Ecke unten rechts, weg vom Text */
  .brand-panel::after { top: auto; right: -80px; bottom: -80px; width: 280px; height: 280px; }
  .brand-panel { padding-bottom: 150px; }
}

/* Investoren -------------------------------------------------- */

.investors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: start; }
.investors h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
@media (max-width: 860px) { .investors { grid-template-columns: 1fr; gap: var(--sp-lg); } }

/* Kontakt ----------------------------------------------------- */

.split--contact h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.split--contact .lead { margin-bottom: var(--sp-xl); }

/* Fuß: Anthrazit laut Markenrichtlinie ------------------------- */

.footer { background: #585961; color: rgba(255,255,255,0.9); padding: var(--sp-3xl) 0 var(--sp-lg); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-xl); padding-bottom: var(--sp-xl); }
.footer h4 { color: #fff; margin-bottom: var(--sp-sm); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--sp-xs); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a:focus-visible { outline-color: #fff; }
.footer-brand { font-family: var(--font-headline); font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer-bottom {
  display: flex; flex-direction: column; gap: var(--sp-xs, 0.5rem);
  border-top: 1px solid rgba(255,255,255,0.2); padding-top: var(--sp-lg);
}
.todo-link { opacity: 0.7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hilfen ------------------------------------------------------ */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--nr-primary-fill); color: #fff; padding: 8px 14px; border-radius: var(--radius-md);
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
