/* ============================================================
   BOTTOM-UP TRANSFORMATION — single-page styles
   Sister site to product-craft.io & innovation-loop.com
   Accent: Teal #3ECFB2
   ============================================================ */

:root {
  --teal:         #3ECFB2;
  --teal-bold:    #1B6B75;
  --navy:         #1B2A4A;
  --light-teal:   #B8E8DC;
  --medium-teal:  #7ECFC4;
  --card:         #D4DBDB;
  --on-dark:      #E8EEF0;
  --on-light:     #1B2A4A;

  --max: 1200px;
  --pad-x: clamp(24px, 6vw, 120px);
  --dot-clear: 70px;
  --pad-y: clamp(80px, 11vh, 140px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }
html, body { width: 100%; }

body {
  font-family: 'Raleway', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--teal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===================== TOP NAV ===================== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 50px);
  pointer-events: none;
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  background: rgba(255,255,255,0.04);
}
.top-nav > * { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-mark { width: 60px; height: 30px; color: var(--navy); }
.brand-word { font-size: 18px; }
.brand-dot { color: var(--teal-bold); }

.top-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.top-links a {
  position: relative;
  padding: 6px 2px;
  transition: color .2s var(--ease);
}
.top-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--teal-bold);
  transition: width .25s var(--ease);
}
.top-links a:hover::after { width: 100%; }

/* When body has dark hero/section visible at top, shift nav colors */
.top-nav.on-dark { background: rgba(27,42,74,0.6); }
.top-nav.on-dark .brand,
.top-nav.on-dark .top-links { color: var(--on-dark); }
.top-nav.on-dark .brand-mark { color: var(--on-dark); }
.top-nav.on-dark .brand .brand-dot { color: var(--teal); }
.top-nav.on-dark .top-links a::after { background: var(--teal); }

/* ===================== HAMBURGER BUTTON ===================== */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 60;
  pointer-events: auto;
}
.nav-toggle-bar {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease), top .28s var(--ease), background-color .2s var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.top-nav.on-dark .nav-toggle-bar { background: var(--on-dark); }
.nav-toggle:focus-visible { outline: 2px solid var(--teal-bold); outline-offset: 2px; border-radius: 4px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27,42,74,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 45;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.nav-backdrop.is-visible { opacity: 1; }

/* ===================== DOT NAV ===================== */
.dot-nav {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-nav a {
  width: 14px; height: 14px;
  display: grid; place-items: center;
}
.dot-nav a span {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: transparent;
  transition: all .25s var(--ease);
  display: block;
}
.dot-nav a:hover span { transform: scale(1.2); }
.dot-nav a.is-active span {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(62,207,178,.18);
}
.dot-nav.on-dark a span { border-color: var(--teal); }
.dot-nav.on-dark a.is-active span { background: var(--teal); }

/* ===================== SECTIONS ===================== */
.sec {
  position: relative;
  min-height: 100vh;
  padding: var(--pad-y) var(--dot-clear) var(--pad-y) var(--pad-x);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.container.narrow { max-width: 980px; }

.sec-teal    { background: var(--teal);        color: var(--navy); }
.sec-navy    { background: var(--navy);        color: var(--on-dark); }
.sec-light   { background: var(--light-teal);  color: var(--navy); }
.sec-medium  { background: var(--medium-teal); color: var(--navy); }

.anchor-only { display: block; height: 0; }

/* ===================== TYPOGRAPHY ===================== */
.overline {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}
.overline.light { color: var(--teal); }
.overline.dark  { color: var(--teal-bold); }

.display {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--navy);
}
.display .line { display: inline-block; }
.display-md {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.display-name {
  font-size: clamp(54px, 7.5vw, 110px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--on-dark);
}
.display-name .brand-dot { color: var(--teal); }

.prose p {
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 64ch;
}
.prose strong { font-weight: 700; }
.sec-teal    .prose strong { color: var(--teal-bold); }
.sec-navy    .prose strong { color: var(--teal); }
.sec-light   .prose strong,
.sec-medium  .prose strong { color: var(--teal-bold); }

.lead {
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.55;
  max-width: 760px;
  margin-bottom: 40px;
}
.lead strong { color: var(--teal-bold); }

.sub-lead {
  font-size: 15px;
  line-height: 1.55;
  max-width: 760px;
  margin-top: 28px;
  opacity: 0.85;
}
.sub-lead strong { color: var(--teal-bold); font-weight: 700; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline {
  border-color: currentColor;
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.sec-teal .btn-outline { color: var(--navy); }
.sec-teal .btn-outline:hover { background: var(--navy); color: var(--on-dark); }

.sec-navy .btn-outline { color: var(--on-dark); }
.sec-navy .btn-outline:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }

.btn-navy {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--teal-bold); border-color: var(--teal-bold); }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 12px;
}
.btn-ghost:hover { color: var(--teal); }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 24px;
}
.cta-row.center { justify-content: center; margin-top: 56px; }

/* ===================== HERO ===================== */
.sec-hero {
  padding-top: calc(var(--pad-y) + 30px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-text { max-width: 720px; }
.hero-sub {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--navy);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--navy);
}
.meta-tag {
  background: var(--navy);
  color: var(--on-dark);
  padding: 6px 14px;
  border-radius: 999px;
}
.meta-sep { color: var(--navy); opacity: 0.5; font-weight: 400; }

.hero-art { display: flex; justify-content: center; align-items: center; }
.loop-mark { width: 100%; max-width: 560px; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--navy);
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -6px); }
}

/* ===================== IN KÜRZE ===================== */
.ghost-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  color: var(--teal);
  opacity: 0.07;
  white-space: nowrap;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.sec-navy .container { position: relative; z-index: 1; }

.loop-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(232,238,240,.25);
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255,255,255,0.03);
}
.loop-glyph {
  font-size: 22px;
  color: var(--teal);
  font-weight: 700;
  line-height: 1;
}
.loop-note em { font-style: normal; color: var(--on-dark); }

.credibility {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.credibility strong { color: var(--teal); font-weight: 700; }

/* ===================== TWO-COL (Im Detail) ===================== */
.two-col {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.two-col.reverse { grid-template-columns: 40% 60%; }
.col-text { min-width: 0; max-width: 100%; }
.col-text > .prose p { max-width: 60ch; }
.col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.phase-icon {
  width: 100%;
  max-width: 460px;
  height: auto;
}

/* ===================== ANGEBOT CARDS ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.card {
  background: var(--card);
  border-radius: 22px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(27,42,74,.18);
}
.card-tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--teal-bold);
}
.card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.card-list li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-bold);
}

/* ===================== ZUR PERSON ===================== */
.person-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-top: 12px;
}
.person-grid .prose p { color: var(--on-dark); }
.person-portrait {
  display: flex;
  justify-content: center;
}
.portrait-svg {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 14px 40px rgba(0,0,0,.35));
}
.portrait-circle {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  outline: 6px solid #3ECFB2;
  outline-offset: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================== KONTAKT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  margin-top: 40px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.7;
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--navy);
  padding: 8px 0;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  outline: none;
  resize: vertical;
  font-family: inherit;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--navy);
  opacity: 0.45;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--teal-bold); }

.contact-form .btn-navy {
  align-self: flex-start;
  margin-top: 10px;
  min-width: 160px;
}

.contact-info {
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
}
.contact-block { margin: 0 0 32px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block--title strong { font-size: 22px; font-weight: 700; display: inline-block; margin-bottom: 6px; }
.contact-block--title a { color: var(--navy); text-decoration: none; }
.contact-block--links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.contact-info a:hover { opacity: 0.7; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding: 50px var(--dot-clear) 50px var(--pad-x);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-line { font-size: 14px; }
.footer-line.muted { opacity: 0.6; }
.footer-links {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--teal); }
.footer-links a:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col.reverse .col-icon { order: 2; }
  .two-col.reverse .col-text { order: 1; }
  .person-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-info { padding-top: 12px; }
}

@media (max-width: 768px) {
  :root { --pad-y: 90px; --dot-clear: var(--pad-x); }
  body { font-size: 16px; }
  .top-nav { padding: 16px 20px; }
  .nav-toggle { display: block; }
  .top-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 32px 40px;
    background: var(--navy);
    color: var(--on-dark);
    z-index: 50;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,.25);
  }
  .top-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--on-dark);
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .top-links a::after { display: none; }
  body.nav-open .top-links { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .dot-nav { display: none; }
  .sec { min-height: auto; padding: var(--pad-y) var(--pad-x); }
  .sec-hero { min-height: 100vh; }
  .display { font-size: clamp(40px, 11vw, 72px); }
  .display-md { font-size: clamp(40px, 9vw, 60px); }
  .display-name { font-size: clamp(54px, 13vw, 90px); }
  .card-grid { grid-template-columns: 1fr; }
  .hero-meta { font-size: 10px; }
  .meta-tag { padding: 5px 10px; }
  .scroll-cue { display: none; }
  .ghost-watermark { font-size: 100px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============== FAQ ============== */
.faq-list { display: grid; gap: 16px; max-width: 880px; margin-top: 28px; }
.faq-item { padding: 22px 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.03); transition: background .2s ease, border-color .2s ease; }
.faq-item:hover { background: rgba(255,255,255,.06); border-color: rgba(62,207,178,.4); }
.faq-q { margin: 0 0 8px; font-size: 1.18rem; font-weight: 600; line-height: 1.35; color: var(--on-dark); }
.faq-a { margin: 0; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.86); }
.faq-a a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.faq-a a:hover { color: #fff; }
@media (max-width: 720px) {
  .faq-item { padding: 18px 18px; }
  .faq-q { font-size: 1.06rem; }
  .faq-a { font-size: .96rem; }
}
