:root {
  --ink: #17221d; --ink-soft: #526059; --green-950: #0d2b1e; --green-900: #143d2b;
  --green-800: #1d543c; --green-600: #3a7d59; --green-400: #80b899; --sage: #dce8df;
  --cream: #f6f2e9; --paper: #fffdf8; --line: rgba(20, 61, 43, .14); --white: #fff;
  --shadow: 0 24px 60px rgba(20, 61, 43, .11); --radius: 1.25rem; --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding: 8rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1000; padding: .75rem 1rem; background: var(--white); color: var(--green-950); border-radius: .5rem; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 4px; }

.site-header { position: fixed; z-index: 100; top: 0; width: 100%; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(255, 253, 248, .93); border-color: var(--line); box-shadow: 0 10px 30px rgba(20, 61, 43, .06); backdrop-filter: blur(14px); }
.header-inner { min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; color: var(--cream); background: var(--green-900); border-radius: 50% 50% 50% 18%; font-size: .78rem; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 1.45rem; font-size: .92rem; font-weight: 650; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 2px; background: var(--green-600); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.nav-cta { padding: .72rem 1.15rem; color: var(--white); background: var(--green-900); border-radius: 999px; }
.nav-cta[aria-current="page"] { background: var(--green-800); box-shadow: 0 0 0 3px rgba(58, 125, 89, .18); }
.menu-toggle { display: none; width: 3rem; height: 3rem; padding: .75rem; border: 0; color: var(--ink); background: transparent; border-radius: .5rem; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 770px; padding: 10rem 0 5rem; overflow: hidden; background: linear-gradient(135deg, var(--cream) 0%, #eef3ec 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(20,61,43,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(20,61,43,.08) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent, black); }
.hero-glow { position: absolute; width: 38rem; height: 38rem; right: -12rem; top: -10rem; border-radius: 50%; background: rgba(128, 184, 153, .25); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy { min-width: 0; max-width: 960px; }
.hero-copy h1 { max-width: 960px; font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
.hero-portrait { width: 100%; max-width: 380px; height: auto; aspect-ratio: 1; padding: 6px; border: 2px solid var(--green-400); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.hero-model { max-width: 650px; margin-bottom: 2rem; color: var(--ink-soft); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; color: var(--green-800); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 2.4rem; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--green-400); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h2, h3 { hyphens: auto; overflow-wrap: break-word; }
h1 { max-width: 800px; margin-bottom: 1.6rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 7vw, 6.4rem); font-weight: 500; }
h1 em { display: block; color: var(--green-800); font-weight: 500; }
.hero-intro { max-width: 650px; margin-bottom: 2rem; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.5rem; padding: .85rem 1.45rem; border: 0; border-radius: 999px; font-weight: 750; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button span { transition: transform .2s ease; }
.button:hover:not(:disabled) span { transform: translateX(4px); }
.button-primary { color: var(--white); background: var(--green-900); box-shadow: 0 12px 30px rgba(20, 61, 43, .2); }
.button-primary:hover { background: var(--green-800); }
.button-primary:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.text-link { font-weight: 750; border-bottom: 1px solid var(--green-600); }
.hero-facts { display: flex; gap: clamp(1.4rem, 3vw, 3rem); margin: 3.8rem 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { color: var(--green-900); font-size: 1.25rem; }
.hero-facts span { color: var(--ink-soft); font-size: .78rem; }
.status-dot { width: .55rem; height: .55rem; background: #4ca86f; border-radius: 50%; box-shadow: 0 0 0 5px rgba(76,168,111,.13); }
.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section-heading h2 { max-width: 700px; margin-bottom: 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 500; }
.section-heading > p:last-child { max-width: 650px; color: var(--ink-soft); font-size: 1.08rem; }
.section-heading.centered { max-width: 800px; margin: 0 auto 4rem; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.about-copy { padding-top: .5rem; }
.about-copy > p { color: var(--ink-soft); }
.about-copy .lead { color: var(--ink); font-size: 1.35rem; line-height: 1.55; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
.principles div { padding-top: 1rem; border-top: 1px solid var(--line); }
.principles span, .principles strong, .principles small { display: block; }
.principles span { margin-bottom: .65rem; color: var(--green-600); font-size: .7rem; font-weight: 800; }
.principles small { color: var(--ink-soft); }

.services { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.service-card { position: relative; min-height: 390px; padding: 2.2rem; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(20,61,43,.32); box-shadow: var(--shadow); }
.service-card.featured { color: var(--white); background: var(--green-900); }
.card-number { position: absolute; top: 1.5rem; right: 1.7rem; color: var(--green-600); font-size: .72rem; font-weight: 800; }
.featured .card-number { color: var(--green-400); }
.service-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 3.2rem; color: var(--green-800); background: var(--sage); border-radius: .8rem; font-family: ui-monospace, monospace; font-weight: 800; }
.featured .service-icon { color: var(--white); background: rgba(255,255,255,.13); }
.service-card h3 { margin-bottom: .8rem; font-size: 1.65rem; }
.service-card h2 { margin-bottom: .8rem; font-size: 1.65rem; }
.service-card p { max-width: 570px; color: var(--ink-soft); }
.featured p { color: rgba(255,255,255,.72); }
.service-card ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.service-card li { padding: .35rem .7rem; color: var(--green-900); background: var(--sage); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.featured li { color: var(--white); background: rgba(255,255,255,.12); }

.expertise { color: var(--white); background: var(--green-950); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.expertise .section-heading > p:last-child { color: rgba(255,255,255,.65); }
.expertise-list > div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.expertise-list span { color: var(--green-400); font-size: .75rem; font-weight: 800; }
.expertise-list p { margin: 0; color: rgba(255,255,255,.65); }
.expertise-list strong { display: block; margin-bottom: .15rem; color: var(--white); font-size: 1.08rem; }

.contact { padding-bottom: 4rem; }
.contact-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; padding: clamp(2.5rem, 6vw, 5rem); color: var(--white); background: var(--green-900); border-radius: 1.5rem; box-shadow: var(--shadow); }
.contact-card > div { min-width: 0; }
.contact-card h2 { max-width: 680px; margin-bottom: 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
.contact-card p { max-width: 650px; color: rgba(255,255,255,.68); }
.contact-action { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-left: clamp(0rem, 4vw, 3rem); border-left: 1px solid rgba(255,255,255,.18); }
.contact-label { color: var(--green-400); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-action strong { margin: .35rem 0 1.3rem; font-size: 1.15rem; }
.contact-action small { margin-top: .65rem; color: rgba(255,255,255,.55); }
.button-light { color: var(--green-950); background: var(--white); }
.button-light:disabled { cursor: not-allowed; opacity: .48; }

.site-footer { padding: 4rem 0 1.5rem; background: var(--cream); }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand > span:last-child { display: flex; flex-direction: column; }
.footer-brand small { color: var(--ink-soft); font-weight: 500; }
.footer-main nav { display: flex; align-items: flex-start; flex-direction: column; gap: .65rem; font-size: .88rem; font-weight: 650; }
.footer-main nav a:hover { color: var(--green-600); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.4rem; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: .78rem; }

.legal-page { background: var(--cream); }
.legal-header { position: static; background: var(--paper); border-color: var(--line); }
.legal-main { min-height: 70vh; padding: 6rem 0; }
.legal-content { max-width: 780px; }
.legal-content h1 { margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 5rem); }
.legal-content h2 { margin-top: 3rem; font-size: 1.55rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.placeholder-box { margin: 2rem 0; padding: 1.4rem; background: #fff8dd; border: 1px solid #e8d89c; border-radius: .75rem; }
.placeholder-box strong { display: block; margin-bottom: .35rem; color: #6e5810; }
.legal-placeholder { padding: 1rem 1.2rem; color: var(--ink); background: var(--paper); border-left: 3px solid var(--green-600); }

/* Mehrseitige Inhalte */
.page-header { background: rgba(255, 253, 248, .93); border-color: var(--line); backdrop-filter: blur(14px); }
.inline-link { display: inline-block; margin-top: 1rem; }
.home-services { padding-top: 7rem; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.teaser-grid.four-up { grid-template-columns: repeat(2, 1fr); }
.teaser-card { min-height: 270px; padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.teaser-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.teaser-card > span { color: var(--green-600); font-size: .72rem; font-weight: 800; }
.teaser-card h3 { margin-top: 3rem; font-size: 1.55rem; }
.teaser-card p { color: var(--ink-soft); }
.teaser-card.lead-card { color: var(--white); background: var(--green-900); }
.teaser-card.lead-card > span { color: var(--green-400); }
.teaser-card.lead-card p { color: rgba(255,255,255,.7); }
.center-action { display: flex; justify-content: center; margin-top: 2.5rem; }
.home-contact { padding-top: 7rem; }

.page-hero { position: relative; min-height: 650px; display: flex; align-items: center; padding: 10rem 0 6rem; overflow: hidden; background: linear-gradient(135deg, var(--cream), #eaf0e9); }
.page-hero-shape { position: absolute; width: 35rem; height: 35rem; right: -9rem; top: -10rem; border: 1px solid rgba(20,61,43,.12); border-radius: 50%; box-shadow: inset 0 0 0 6rem rgba(128,184,153,.10), inset 0 0 0 12rem rgba(128,184,153,.08); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.page-hero h1 { margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7vw, 6rem); }
.page-hero h1 em { display: block; color: var(--green-800); font-weight: 500; }
.experience-panel { display: grid; min-width: 0; gap: 1rem; padding: 1rem; background: rgba(255,255,255,.55); border: 1px solid rgba(20,61,43,.13); border-radius: var(--radius); backdrop-filter: blur(10px); }
.experience-panel > div { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(255,253,248,.88); border-radius: .85rem; }
.experience-panel strong { min-width: 5.2rem; flex-shrink: 0; color: var(--green-800); font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; white-space: nowrap; }
.experience-panel span { min-width: 0; color: var(--ink-soft); font-weight: 700; line-height: 1.35; hyphens: auto; overflow-wrap: anywhere; }
.values-section { background: var(--cream); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.value-card { padding: 2.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.value-card > span { color: var(--green-600); font-size: .72rem; font-weight: 800; }
.value-card h3 { margin-top: 2.4rem; font-size: 1.6rem; }
.value-card p { margin-bottom: 0; color: var(--ink-soft); }
.compact-cta { padding-top: 5rem; }

.hero-aside { position: relative; padding: 2.2rem; color: var(--white); background: var(--green-900); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-aside p { margin-bottom: .5rem; color: var(--green-400); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-aside strong, .hero-aside span { display: block; }
.hero-aside strong { margin-bottom: 2rem; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.35; }
.hero-aside span { color: rgba(255,255,255,.65); font-size: .82rem; }
.services-page { padding-top: 7rem; }
.lead-offer { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); margin-bottom: 1.25rem; padding: clamp(2.4rem, 5vw, 4.2rem); color: var(--white); background: var(--green-900); border-radius: var(--radius); box-shadow: var(--shadow); }
.lead-offer h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 500; }
.lead-offer > div:last-child > p { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.lead-offer ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.lead-offer li { padding: .4rem .75rem; background: rgba(255,255,255,.11); border-radius: 999px; font-size: .75rem; font-weight: 700; }
.end-to-end { background: var(--paper); }
.end-to-end .section-heading { margin-bottom: 3.5rem; }
.delivery-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.delivery-flow li { position: relative; min-width: 0; padding: 2rem 1.2rem 1.4rem; border-top: 2px solid var(--sage); }
.delivery-flow li::before { content: ""; position: absolute; width: .8rem; height: .8rem; top: -.45rem; left: 1.2rem; background: var(--green-600); border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--green-600); transition: transform .25s, background .25s; }
.delivery-flow li:hover::before { transform: scale(1.4); background: var(--green-900); }
.delivery-flow span { color: var(--green-600); font-size: .7rem; font-weight: 800; }
.delivery-flow strong { display: block; margin: 1rem 0 .5rem; line-height: 1.35; }
.delivery-flow p { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.contact-page { color: var(--white); background: var(--green-950); }
.contact-hero { position: relative; min-height: 760px; display: flex; align-items: center; padding: 10rem 0 6rem; overflow: hidden; }
.contact-orbit { position: absolute; width: 50rem; height: 50rem; left: -30rem; bottom: -28rem; border: 1px solid rgba(128,184,153,.15); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(128,184,153,.035), 0 0 0 14rem rgba(128,184,153,.025); }
.contact-page-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.contact-page-grid > * { min-width: 0; }
.contact-page-grid > :first-child { container-type: inline-size; }
.contact-hero h1 { color: var(--white); font-size: min(13cqi, 6rem); white-space: nowrap; overflow-wrap: normal; hyphens: none; }
.contact-hero h1 em { display: block; color: var(--green-400); font-weight: 500; }
.contact-hero .hero-intro { color: rgba(255,255,255,.68); }
.availability { display: flex; align-items: center; gap: .9rem; margin-top: 2.5rem; }
.availability p, .availability strong, .availability small { display: block; margin: 0; }
.availability small { color: rgba(255,255,255,.55); }
.contact-detail-card { padding: clamp(2rem, 5vw, 3.2rem); color: var(--ink); background: var(--paper); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.contact-detail-card h2 { margin-bottom: .25rem; font-size: 1.15rem; }
.contact-detail-card > strong { max-width: 100%; white-space: normal; overflow-wrap: anywhere; display: block; margin-bottom: 1.5rem; color: var(--green-800); font-size: 1.45rem; transition-property: none; }
.contact-detail-card > small { display: block; margin-top: .7rem; color: var(--ink-soft); }
.contact-detail-card hr { margin: 2.2rem 0; border: 0; border-top: 1px solid var(--line); }
.contact-detail-card ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.contact-process { color: var(--ink); background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.process-grid article { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.process-grid span { color: var(--green-600); font-size: .72rem; font-weight: 800; }
.process-grid h3 { margin-top: 2rem; font-size: 1.45rem; }
.process-grid p { margin-bottom: 0; color: var(--ink-soft); }
/* Lebenslauf und Techstack */
.cv-profile { background: var(--paper); }
.cv-profile .section-heading { margin-bottom: 3.5rem; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.role-card { position: relative; padding: clamp(2rem, 4vw, 3rem); overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.role-card.primary { color: var(--white); background: var(--green-900); }
.role-card > span { color: var(--green-600); font-size: .72rem; font-weight: 800; }
.role-card.primary > span { color: var(--green-400); }
.role-card h3 { margin-top: 2.5rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.role-card p { color: var(--ink-soft); }
.role-card.primary p { color: rgba(255,255,255,.72); }
.role-card ul { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.role-card li { margin: .45rem 0; }
.role-card.primary li { color: rgba(255,255,255,.86); }

.career-timeline { overflow: hidden; background: var(--cream); }
.timeline-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 4.5rem; }
.timeline-heading .section-heading h2 { margin-bottom: .7rem; }
.timeline-heading .section-heading > p:last-child { margin-bottom: 0; }
.timeline-range { display: flex; align-items: center; gap: 1rem; flex: none; padding: .85rem 1.2rem; color: var(--green-900); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 35px rgba(20,61,43,.07); }
.timeline-range span { color: var(--green-600); }
.timeline-list { position: relative; max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.timeline-list::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(var(--green-400), var(--green-800)); transform-origin: top; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.reveal-ready .timeline-list.reveal:not(.is-visible)::before { transform: scaleY(0); }
.timeline-item { position: relative; width: calc(50% - 3rem); margin-bottom: 2rem; }
.timeline-item:nth-child(odd) { margin-right: auto; }
.timeline-item:nth-child(even) { margin-left: auto; }
.timeline-item::before { content: ""; position: absolute; z-index: 2; top: 2rem; width: .95rem; height: .95rem; background: var(--green-600); border: 4px solid var(--cream); border-radius: 50%; box-shadow: 0 0 0 1px var(--green-600); }
.timeline-item:nth-child(odd)::before { right: -3.48rem; }
.timeline-item:nth-child(even)::before { left: -3.48rem; }
.timeline-item article { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 45px rgba(20,61,43,.06); transition: transform .25s, box-shadow .25s; }
.timeline-item article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.timeline-item.qualification article { background: var(--sage); border-color: rgba(58,125,89,.25); }
.timeline-item.qualification::before { background: var(--paper); box-shadow: 0 0 0 3px var(--green-600); }
.timeline-item.current article { color: var(--white); background: var(--green-900); }
.timeline-item.current::before { background: #4ca86f; box-shadow: 0 0 0 5px rgba(76,168,111,.18); }
.timeline-meta { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.3rem; color: var(--green-800); font-size: .74rem; font-weight: 800; }
.timeline-kind { margin-left: auto; padding: .28rem .58rem; background: var(--sage); border-radius: 999px; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.qualification .timeline-kind { background: rgba(255,255,255,.6); }
.current .timeline-meta { color: var(--green-400); }
.current .timeline-kind { color: var(--white); background: rgba(255,255,255,.13); }
.timeline-item h3 { margin-bottom: .55rem; font-size: 1.55rem; }
.timeline-focus { margin-bottom: .45rem; color: var(--green-800); font-weight: 750; }
.timeline-company { margin-bottom: 0; color: var(--ink-soft); font-weight: 750; }
.current .timeline-company { color: rgba(255,255,255,.75); }
.timeline-placeholder { margin: 1.35rem 0 0; padding: .75rem .9rem; color: var(--ink-soft); background: var(--cream); border: 1px dashed rgba(20,61,43,.24); border-radius: .65rem; font-size: .78rem; }
.current .timeline-placeholder { color: rgba(255,255,255,.65); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.timeline-responsibilities { display: grid; gap: .45rem; margin: 1.25rem 0 0; padding-left: 1.15rem; color: var(--ink-soft); font-size: .88rem; }
.timeline-responsibilities li::marker { color: var(--green-600); }
.current .timeline-responsibilities { color: rgba(255,255,255,.82); }
.current .timeline-responsibilities li::marker { color: var(--green-400); }
.parallel-note { margin: 1rem 0 0; padding-top: .8rem; color: var(--ink-soft); border-top: 1px solid rgba(20,61,43,.14); font-size: .78rem; }
.timeline-disclaimer { max-width: 720px; margin: 2rem auto 0; color: var(--ink-soft); text-align: center; font-size: .82rem; }


.tech-details { background: var(--cream); }
.tech-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.tech-category { padding: 2.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tech-category h3 { margin-bottom: 1.5rem; font-size: 1.55rem; }
.tech-category dl, .tech-category dd { margin: 0; }
.tech-category dl > div { padding: .85rem 0; border-top: 1px solid var(--line); }
.tech-category dt { color: var(--green-800); font-weight: 800; }
.tech-category dd { color: var(--ink-soft); font-size: .9rem; }
.tech-category.adaptable { grid-column: 1 / -1; color: var(--white); background: var(--green-900); }
.tech-category.adaptable h3 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.tech-category.adaptable p { color: rgba(255,255,255,.72); }

/* Beratungsprofil: Probleme, Erfahrung und Kernstack */
.section.home-offers { padding-block: 3rem; background: var(--cream); }
.home-offers .teaser-card { min-width: 0; min-height: 0; overflow-wrap: break-word; }
.home-offers .teaser-card h3 { margin-top: 0; }
.home-offers .teaser-card p { margin-bottom: 0; }
@media (max-width: 900px) {
  .home-offers .teaser-grid { grid-template-columns: 1fr; }
}
.problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 2.5rem 0; padding: 0; list-style: none; }
.problem-grid li { padding: 1.3rem 1.5rem; border-left: 3px solid var(--green-600); background: var(--cream); border-radius: 0 .75rem .75rem 0; font-size: 1.08rem; }
.section-outro { max-width: 740px; margin: 2rem 0 0; font-size: 1.2rem; }
.home-model, .core-stack { background: var(--cream); }
.project-list { display: grid; gap: 2rem; margin-top: 3rem; }
.project-examples .project-list { margin-top: 0; }
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner .brand-name { display: none; }
  .main-nav { gap: 1rem; }
}
.project-card { min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.project-number { color: var(--green-600); font-size: .8rem; font-weight: 800; }
.project-card h3 { max-width: 850px; margin: 1rem 0 2rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.project-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.project-details dt { margin-bottom: .7rem; color: var(--green-800); font-weight: 800; }
.project-details dd { margin: 0; color: var(--ink-soft); overflow-wrap: break-word; hyphens: auto; }
.project-skills { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.project-skills li { max-width: 100%; padding: .35rem .7rem; color: var(--green-900); background: var(--sage); border-radius: .5rem; font-size: .8rem; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .project-details { grid-template-columns: 1fr; gap: 1.5rem; }
}
.stack-list { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.stack-list li { padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--green-900); font-weight: 750; }
.supporting-skills { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.supporting-skills h3 { font-size: 1.5rem; }
.supporting-skills p { max-width: 850px; color: var(--ink-soft); }
.contact-links { display: flex; align-items: flex-start; flex-direction: column; gap: 1.2rem; }
.contact-links .button, .contact-action .button { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .problem-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.6rem, 11vw, 4.5rem); overflow-wrap: anywhere; }
}

/* Bewegungsdesign mit vollständigem No-JS-Fallback */
[data-parallax] { transform: translate3d(0, var(--parallax-y, 0), 0); will-change: transform; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 28px), 0); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal-ready .reveal-left { --reveal-x: -38px; --reveal-y: 0; }
.reveal-ready .reveal-right { --reveal-x: 38px; --reveal-y: 0; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal-ready .hero-portrait { --reveal-y: 20px; transition-delay: .12s; }
.stagger-group .reveal:nth-child(2) { transition-delay: .08s; }
.stagger-group .reveal:nth-child(3) { transition-delay: .16s; }
.stagger-group .reveal:nth-child(4) { transition-delay: .24s; }
.stagger-group .reveal:nth-child(5) { transition-delay: .32s; }
.stagger-group .reveal:nth-child(6) { transition-delay: .40s; }
.reveal-ready .reveal .eyebrow > span { transform: scaleX(0); transform-origin: left; transition: transform .55s ease .25s; }
.reveal-ready .reveal.is-visible .eyebrow > span { transform: scaleX(1); }
.page-enter main { opacity: .94; transform: translateY(7px); transition: opacity .35s ease, transform .35s ease; }
.page-enter.page-ready main { opacity: 1; transform: none; }
body.page-leaving { opacity: 0; transform: translateY(-7px); transition: opacity .2s ease, transform .2s ease; }
.service-card::after, .teaser-card::after, .value-card::after, .process-grid article::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover::after, .teaser-card:hover::after, .value-card:hover::after, .process-grid article:hover::after { transform: scaleX(1); }
.teaser-card, .value-card, .process-grid article { position: relative; overflow: hidden; }
.value-card, .process-grid article { transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover, .process-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

@media (min-width: 901px) {
  .contact-detail-card { padding-inline: 1.5rem; }
  .contact-detail-card > strong { font-size: 1.0625rem; white-space: nowrap; }
}

@media (max-width: 900px) {
  .section { padding: 6rem 0; }
  .site-header, .site-header.is-scrolled, .page-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand-name { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.8rem; visibility: hidden; opacity: 0; color: var(--white); background: var(--green-950); font-size: 1.35rem; transition: opacity .2s, visibility .2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .menu-toggle[aria-expanded="true"] { color: var(--white); }
  .hero { min-height: auto; padding-top: 9rem; }
  .hero-grid, .split-layout, .expertise-grid, .page-hero-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-portrait { max-width: 320px; justify-self: center; }
  .split-layout, .expertise-grid { gap: 2.5rem; }
  .contact-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-action { padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .page-hero, .contact-hero { min-height: auto; }
  .experience-panel, .hero-aside, .contact-detail-card { max-width: 650px; }
  .teaser-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:last-child { grid-column: 1 / -1; }
  .lead-offer { grid-template-columns: 1fr; gap: 1.5rem; }
  .delivery-flow { grid-template-columns: 1fr; }
  .delivery-flow li { padding: .8rem 1rem 1.5rem 2.5rem; border-top: 0; border-left: 2px solid var(--sage); }
  .delivery-flow li::before { top: .95rem; left: -.45rem; }
  .delivery-flow strong { margin-top: .35rem; }
  .role-grid, .tech-category-grid { grid-template-columns: 1fr; }
  .tech-category.adaptable { grid-column: auto; }
  .timeline-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .timeline-list::before { left: .45rem; }
  .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { width: calc(100% - 2.5rem); margin-right: 0; margin-left: 2.5rem; }
  .timeline-item:nth-child(odd)::before, .timeline-item:nth-child(even)::before { right: auto; left: -2.525rem; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .section { padding: 4.8rem 0; }
  .header-inner { min-height: 4.7rem; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  h1 em { overflow-wrap: anywhere; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts li:last-child { grid-column: 1 / -1; }
  .principles, .service-grid, .teaser-grid, .teaser-grid.four-up, .value-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid article:last-child { grid-column: auto; }
  .service-card { min-height: auto; }
  .contact-card { width: calc(100% - 1.5rem); border-radius: 1rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .page-hero, .contact-hero { padding: 8rem 0 4.5rem; }
  .experience-panel > div { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .timeline-range { width: 100%; justify-content: space-between; }
  .timeline-item article { padding: 1.45rem; }
  .timeline-kind { width: 100%; margin: .45rem 0 0; text-align: center; }

}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .hero-portrait { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  body, body.page-leaving, .page-enter main, [data-parallax], .reveal, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}

a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Servicepakete und Projektanfragen */
.package-grid, .problem-cards, .reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.packages { background: var(--cream); }
.packages .section-heading, .home-experience .section-heading { margin-bottom: 3rem; }
.package-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 2.5vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: break-word; }
.package-card h3 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.25; }
.package-label { margin: 0 0 1rem; color: var(--green-800); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.package-price { margin: 0 0 1rem; color: var(--green-900); }
.package-price strong { display: block; font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1.2; }
.package-price span { display: block; margin-top: .35rem; font-size: .9rem; }
.package-hours { padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.package-features { margin: .5rem 0 1.5rem; padding-left: 1.2rem; }
.package-features li { margin: .5rem 0; }
.package-result { margin: 0 0 1rem; }
.package-limit { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: .9rem; }
.package-card > .button { width: 100%; margin-top: auto; text-align: center; white-space: normal; overflow-wrap: break-word; }
.package-featured { color: var(--white); background: var(--green-900); border-color: var(--green-900); }
.package-featured .package-label, .package-featured .package-price { color: var(--white); }
.package-featured .package-limit { color: rgba(255,255,255,.8); }
.package-featured .package-hours { border-color: rgba(255,255,255,.25); }
.package-breakdown { margin-bottom: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.package-breakdown summary { cursor: pointer; color: var(--green-800); font-weight: 700; }
.package-breakdown ul { padding-left: 1.2rem; }
.package-breakdown li { margin: .5rem 0; }
.pricing-note { max-width: 960px; margin: 2rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.problem-cards .teaser-card, .reference-grid .teaser-card { min-width: 0; min-height: 0; overflow-wrap: break-word; }
.problem-cards .teaser-card h3, .reference-grid .teaser-card h3 { margin-top: 0; }
.reference-grid .teaser-card { display: flex; flex-direction: column; }
.reference-grid .text-link { margin-top: auto; align-self: flex-start; }
.package-selection { margin-bottom: 1.5rem; }
.package-selection label { display: block; margin-bottom: .5rem; color: var(--green-900); font-weight: 700; }
.package-selection select { display: block; width: 100%; min-width: 0; padding: .8rem .6rem; color: var(--ink); background: var(--white); border: 1px solid var(--green-600); border-radius: .5rem; font: inherit; font-size: .9rem; }
.selected-package { margin: .75rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.hero-actions { flex-wrap: wrap; }
@media (max-width: 900px) {
  .package-grid, .problem-cards, .reference-grid { grid-template-columns: 1fr; }
}
/* Ein kurzer Einstieg mit Preis und direkter Quick-Check-Anfrage. */
.hero-entry { margin: 0 0 1.5rem; padding-left: 1rem; border-left: 3px solid var(--green-600); color: var(--green-900); }
.hero-entry strong, .hero-entry span { display: block; }
.hero-entry strong { font-size: 1.05rem; }
.hero-entry span { margin-top: .3rem; font-size: .95rem; }
.contact-detail-card .contact-label { color: var(--green-800); }
.button-outline { color: var(--green-900); background: transparent; border: 1px solid var(--green-900); cursor: pointer; }
.button-outline:hover { background: var(--sage); }
.button-outline:disabled { cursor: wait; opacity: .7; }
.copy-status { margin: 0; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 620px) {
  .hero { padding-top: 6.5rem; }
  .hero-copy h1 { margin-bottom: 1rem; font-size: clamp(2rem, 8.8vw, 3rem); overflow-wrap: normal; }
  .hero-copy .eyebrow { margin-bottom: 1rem; }
  .hero-copy .hero-intro { margin-bottom: 1.2rem; font-size: 1rem; }
  .hero-entry { margin-bottom: 1.2rem; }
  .hero-entry strong { font-size: 1rem; }
  .hero-entry span { font-size: .875rem; }
  .hero-actions { gap: 1rem; }
  .hero-facts { margin-top: 2rem; }
}
.contact-links [hidden] { display: none; }
