:root {
  --ink: #243321;
  --ink-soft: #4c5c45;
  --navy: #1f321f;
  --navy-2: #31482a;
  --teal: #284907;
  --teal-dark: #284907;
  --teal-pale: #e8efdc;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(31, 50, 31, .14);
  --muted: #6e7967;
  --sand: #ece7dc;
  --shadow: 0 20px 60px rgba(31, 50, 31, .08);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .16em;
  font-weight: 800; font-size: .76rem; color: var(--teal-dark);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 780; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); font-weight: 760; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink-soft); max-width: 760px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--paper) 96%, transparent); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-mark {
  width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 12px;
  display: grid; place-items: center; position: relative; overflow: hidden; background: var(--white);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--teal); }
.brand-mark::before { width: 18px; height: 3px; transform: rotate(45deg); }
.brand-mark::after { width: 18px; height: 3px; transform: rotate(-45deg); }
.brand-word { font-weight: 850; letter-spacing: .16em; font-size: .96rem; }
.brand-sub { display: block; font-size: .63rem; color: var(--muted); font-weight: 650; letter-spacing: .03em; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .93rem; font-weight: 680; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--teal); transition: width .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 760; font-size: .94rem; cursor: pointer; transition: .2s ease;
  background: transparent; color: var(--ink);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(31, 50, 31, .16); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-soft { background: var(--white); border-color: var(--line); }
.mobile-menu { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); margin: 4px auto; }

.hero { padding: 76px 0 46px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 880px; font-size: clamp(2rem, 3.4vw, 3.1rem); }
.home-intro-label { font-size: clamp(.95rem, 1.5vw, 1.15rem); letter-spacing: .08em; margin-bottom: 18px; }
.home-section-label { font-size: clamp(.9rem, 1.3vw, 1.05rem); letter-spacing: .1em; margin-bottom: 14px; }
.hero-copy h1 .accent { color: var(--teal); }
.hero-copy .lead { margin-top: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 24px; color: var(--muted); font-size: .92rem; }
.hero-visual {
  min-height: 560px; border-radius: 34px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 25% 20%, rgba(83, 115, 43, .24), transparent 32%),
              linear-gradient(145deg, #1b2b19, #354c27 66%, #25391e);
  box-shadow: var(--shadow); color: white; padding: 34px;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-visual .visual-label { position: relative; z-index: 2; text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; opacity: .72; }
.system-map { position: absolute; inset: 90px 26px 26px; z-index: 2; }
.node {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border-radius: 14px; font-size: .88rem; font-weight: 730; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.node i { width: 8px; height: 8px; border-radius: 50%; background: #bad58b; box-shadow: 0 0 0 6px rgba(186,213,139,.11); }
.node { transform: translate(-50%, -50%); white-space: nowrap; z-index: 2; background: rgba(48, 70, 35, .92); }
.node.n1 { left: 50%; top: 8%; }
.node.n2 { left: 82%; top: 29%; }
.node.n3 { left: 18%; top: 29%; }
.node.n4 { left: 82%; top: 73%; }
.node.n5 { left: 18%; top: 73%; }
.node.n6 { left: 50%; top: 92%; border-color: rgba(186,213,139,.5); background: #496332; }
.map-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.map-connections path { stroke: rgba(186,213,139,.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-connections ellipse { stroke: rgba(186,213,139,.16); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }.map-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(255,255,255,.24); background: rgba(25, 42, 22, .62); z-index: 3;
  box-shadow: 0 0 0 24px rgba(255,255,255,.035), 0 0 0 48px rgba(255,255,255,.018);
}
.map-core strong { display: block; font-size: 1.15rem; }
.map-core span { display: block; font-size: .72rem; opacity: .67; margin-top: 3px; }

.proofbar { padding: 34px 0 56px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-num { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.05em; }
.proof-label { color: var(--muted); font-size: .9rem; margin-top: 5px; }

.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 50px; }
.section-head .lead { max-width: 620px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  box-shadow: 0 12px 40px rgba(31, 50, 31, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(83, 115, 43, .34); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-pale); display: grid; place-items: center; color: var(--teal-dark); font-weight: 900; margin-bottom: 28px; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-soft); }
.card .text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 24px; font-weight: 780; color: var(--teal-dark); }
.card .text-link::after { content: "→"; transition: transform .2s ease; }
.card:hover .text-link::after { transform: translateX(4px); }

.dark-section { background: var(--navy); color: white; }
.dark-section .eyebrow { color: #c3dba1; }
.dark-section .lead, .dark-section .muted { color: rgba(255,255,255,.68); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.18); }
.step { padding: 30px 28px 12px 0; border-right: 1px solid rgba(255,255,255,.13); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-num { font-size: .8rem; color: #c3dba1; font-weight: 850; letter-spacing: .12em; }
.step h3 { margin: 18px 0 12px; font-size: 1.35rem; }
.step p { color: rgba(255,255,255,.66); font-size: .94rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
.portrait-placeholder {
  min-height: 560px; border-radius: 34px; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #e5eadc, #d3ddc4 42%, #f4f0e7);
  border: 1px solid var(--line);
}
.portrait-placeholder::before {
  content: "AF"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(8rem, 20vw, 14rem); font-weight: 850; letter-spacing: -.08em; color: rgba(31,50,31,.08);
}
.portrait-note { position: absolute; left: 26px; right: 26px; bottom: 24px; background: rgba(255,255,255,.76); backdrop-filter: blur(12px); padding: 16px 18px; border-radius: 16px; font-size: .88rem; color: var(--ink-soft); }
.bullets { display: grid; gap: 18px; margin-top: 30px; }
.bullet { display: grid; grid-template-columns: 32px 1fr; gap: 13px; }
.bullet .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); display: grid; place-items: center; font-weight: 900; font-size: .78rem; }

.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: white; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; transition: .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-art { height: 188px; background: linear-gradient(145deg, #283d21, #526c39); position: relative; overflow: hidden; }
.article-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 34px 34px; }
.article-art span { position: absolute; bottom: 18px; left: 20px; color: white; font-size: 2.1rem; font-weight: 850; letter-spacing: -.06em; }
.article-body { padding: 25px; }
.article-meta { color: var(--teal-dark); font-size: .76rem; font-weight: 820; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.article-body h3 { font-size: 1.35rem; margin-bottom: 12px; }
.article-body p { color: var(--muted); font-size: .94rem; }

.cta-band { padding: 86px 0; }
.cta-box { background: var(--teal); color: white; border-radius: 34px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.cta-box h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); max-width: 720px; }
.cta-box p { color: rgba(255,255,255,.78); margin-top: 16px; max-width: 650px; }
.cta-box .btn { background: white; border-color: white; color: var(--ink); min-width: max-content; }

.page-hero { padding: 90px 0 70px; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.75rem); max-width: 940px; }
.page-hero .lead { margin-top: 24px; }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 30px; }

.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 30px; min-height: 275px; display: flex; flex-direction: column; }
.service-card .kicker { color: var(--teal-dark); font-weight: 820; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 30px; }
.service-card p { color: var(--muted); margin-top: 14px; }
.service-card a { margin-top: auto; padding-top: 26px; color: var(--teal-dark); font-weight: 760; }

.detail-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.sticky-side { position: sticky; top: 120px; background: white; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.checklist { display: grid; gap: 13px; margin-top: 22px; }
.checkline { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; color: var(--ink-soft); }
.checkline span:first-child { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); display: grid; place-items: center; font-size: .72rem; font-weight: 900; margin-top: 2px; }
.content-block + .content-block { margin-top: 52px; }
.content-block h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); margin-bottom: 18px; }
.content-block p + p { margin-top: 16px; }
.content-block ul { margin: 20px 0 0; padding-left: 20px; color: var(--ink-soft); }
.content-block li + li { margin-top: 9px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: white; font-size: .84rem; font-weight: 700; }

.timeline { display: grid; gap: 0; margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--teal-dark); font-weight: 820; }
.timeline-item p { color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-panel { background: var(--navy); color: white; border-radius: 28px; padding: 38px; }
.contact-panel .eyebrow { color: #c3dba1; }
.contact-panel p { color: rgba(255,255,255,.68); margin-top: 16px; }
.contact-details { display: grid; gap: 16px; margin-top: 32px; }
.contact-line { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-line small { display: block; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.contact-line strong { font-size: 1.03rem; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 760; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px 15px; color: var(--ink); outline: none; transition: .2s ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(83,115,43,.10); }
.form-status { display: none; padding: 14px 16px; background: var(--teal-pale); color: var(--teal-dark); border-radius: 12px; font-weight: 700; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line); background: white; padding: 10px 14px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.filter-btn.active { background: var(--ink); color: white; border-color: var(--ink); }

footer { background: #192718; color: white; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 330px; margin-top: 16px; }
.footer-col h4 { font-size: .83rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.48); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.78); margin: 9px 0; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: none; position: absolute; left: 20px; right: 20px; top: 100%; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: 13px 12px; font-weight: 720; border-radius: 10px; }
  .mobile-menu a:hover { background: var(--paper); }
  .hero-grid, .split, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 470px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(3) { padding-left: 0; }
  .cards, .service-list, .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
  .step:nth-child(3) { padding-left: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .sticky-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .section { padding: 76px 0; }
  .hero { padding-top: 44px; }
  .hero-grid { gap: 38px; }
  .hero-visual { min-height: 410px; padding: 24px; }
  .system-map { inset: 74px 12px 20px; }
  .node { font-size: .75rem; padding: 9px 11px; }
  .map-core { width: 116px; height: 116px; }
  .connector { opacity: .6; }
  .proof-grid, .cards, .service-list, .knowledge-grid, .process, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .proof-item:last-child { border-bottom: 0; }
  .step { border-right: 0; border-top: 1px solid rgba(255,255,255,.13); padding-left: 0 !important; }
  .cta-box { padding: 34px 26px; align-items: flex-start; flex-direction: column; }
  .portrait-placeholder { min-height: 430px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-bottom { flex-direction: column; }
  .brand-sub { display: none; }
}

/* Keep the optional AI section visible below the sticky header when linked. */
#ki-analyse { scroll-margin-top: 110px; }

/* Original transparent logo: frame hides only the empty outer margins. */
.brand { min-width: 0; flex-shrink: 0; }
.brand-logo { display: block; position: relative; width: 176px; aspect-ratio: 1.92; overflow: hidden; }
.brand-logo img { position: absolute; width: 104.167%; max-width: none; height: auto; left: -2.1875%; top: -46.5%; }
.nav { min-height: 112px; }
.btn-primary { background: var(--teal); border-color: var(--teal); }
.btn-primary:hover { background: #3b5d1b; border-color: #3b5d1b; }
.footer-brand > .brand { padding: 15px 20px; border-radius: 16px; background: var(--paper); }
.footer-brand .brand-logo { width: 200px; }
@media (max-width: 680px) {
  .brand-logo { width: 130px; }
  .nav { min-height: 90px; gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 10px 12px; font-size: .82rem; }
}
.portrait-placeholder[aria-label="Platzhalter für das Porträt von Jenny Ferchland"]::before { content: "JF"; }


.download-terms h3 { margin-top: 28px; margin-bottom: 12px; }
#nutzungsbedingungen { scroll-margin-top: 130px; }


/* Shared page hierarchy, matching the approved contact page. */
.page-hero .eyebrow { font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: .08em; margin-bottom: 18px; }
h1, h2, h3 { line-height: 1.18; overflow-wrap: break-word; }

/* Original portraits, responsive framing without altering the image files. */
.profile-photo { overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--sand); box-shadow: var(--shadow); }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-photo-portrait { aspect-ratio: 4 / 5; }
.profile-photo-portrait img { object-position: center top; }
.profile-photo-wide { aspect-ratio: 4 / 3; }
.profile-photo-wide img { object-position: 38% center; }
@media (max-width: 980px) {
  .profile-photo-portrait { width: 100%; max-width: 520px; margin-inline: auto; }
  .profile-photo-wide { aspect-ratio: 16 / 9; }
}