:root {
    --paper: #f7f5ef;
    --paper-deep: #ede9df;
    --white: #fffefa;
    --ink: #22312c;
    --ink-muted: #59645e;
    --forest: #1c493d;
    --forest-dark: #16362f;
    --accent: #b85f3e;
    --warm: #e8be87;
    --border: #dcded6;
    --radius: 22px;
    --shadow: 0 22px 60px rgb(20 38 30 / 9%);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: 110px; }
.shell { width: min(100% - 72px, 1200px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -80px; padding: 12px 16px; color: white; background: var(--forest); }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #e7e5dd; background: var(--paper); }
.header-inner { min-height: 93px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; text-decoration: none; gap: 14px; align-items: center; flex-shrink: 0; }
.brand-symbol { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.brand-shape-primary { stroke: #224b3d; }
.brand-shape-accent { stroke: #c58b51; }
.brand-text { display: grid; gap: 4px; }
.brand-text strong { color: #224b3d; font-size: 1.22rem; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.brand-text em { font-style: normal; color: #c58b51; }
.brand-text small { font-size: .71rem; letter-spacing: 0; text-transform: none; color: var(--ink-muted); font-weight: 500; white-space: nowrap; }
.desktop-nav { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; margin-left: auto; }
.desktop-nav a { color: #3c4b44; font-weight: 640; text-decoration: none; font-size: .89rem; transition: color .15s; }
.desktop-nav a[aria-current], .desktop-nav a:hover { color: var(--accent); }
.header-action { padding: 13px 19px; background: var(--forest); border-radius: 6px; color: #fff; font-weight: 650; text-decoration: none; font-size: .82rem; white-space: nowrap; transition: background .2s; }
.header-action:hover { background: var(--forest-dark); }
.header-action span { margin-left: 10px; }
.mobile-nav { display: none; }

/* Buttons and typography */
.eyebrow { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; font-weight: 800; color: var(--forest); }
.eyebrow-line { display: inline-block; vertical-align: middle; width: 21px; height: 2px; margin-right: 8px; background: var(--accent); }
.serif-word { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.015em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; text-decoration: none; gap: 20px; min-height: 50px; padding: 13px 21px; border-radius: 8px; font-size: .9rem; font-weight: 730; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-dark); }
.button-light { color: var(--forest-dark); background: var(--warm); }
.button-light:hover { background: #f1ca98; }
.text-link { font-size: .88rem; text-underline-offset: 6px; font-weight: 680; }
.text-link span { margin-left: 9px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(30px, 4.6vw, 75px); align-items: center; padding-top: clamp(56px, 7vw, 105px); padding-bottom: clamp(70px, 8vw, 118px); }
.hero-copy h1 { font-size: clamp(3.3rem, 5.6vw, 5.5rem); max-width: 710px; letter-spacing: -.076em; line-height: 1.065; font-weight: 780; margin: 26px 0 26px; }
.hero-copy h1 .serif-word { color: var(--accent); }
.hero-lead { max-width: 530px; font-size: clamp(1.03rem, 1.65vw, 1.22rem); line-height: 1.78; color: #47534c; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.hero-aside { display: flex; align-items: center; gap: 10px; color: #627069; font-size: .83rem; margin-top: 48px; }
.tiny-asterisk { color: var(--accent); font-size: 1.6rem; line-height: 1; }
.hero-visual { position: relative; background: var(--forest); padding: 35px 28px 32px; border-radius: 135px 13px 13px 13px; min-height: 570px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; }
.visual-grid { pointer-events: none; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(#adc8b3 1px, transparent 1px), linear-gradient(90deg, #adc8b3 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(160deg, black, transparent 76%); }
.hero-image-wrap { position: relative; z-index: 1; border-radius: 100px 9px 9px 9px; overflow: hidden; background: #aac0ad; transform: rotate(-2deg); box-shadow: 0 20px 42px #10251f55; }
.hero-image-wrap img { width: 100%; height: clamp(250px, 27vw, 362px); object-fit: cover; }
.hero-image-caption { z-index: 1; display: grid; gap: 10px; margin: 36px 4px 0; color: white; max-width: 370px; }
.hero-image-caption span { font-size: .72rem; letter-spacing: .17em; color: #b5d0c0; font-weight: 750; }
.hero-image-caption strong { font-size: 1.34rem; line-height: 1.32; font-weight: 650; letter-spacing: -.025em; }
.hero-sticker { position: absolute; z-index: 2; right: 16px; top: 30px; display: grid; place-content: center; width: 108px; height: 108px; background: var(--warm); color: #563e27; border-radius: 50%; text-align: center; font-size: .68rem; line-height: 1.55; font-weight: 850; letter-spacing: .095em; transform: rotate(12deg); }

/* Values strip */
.principles-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #efeee7; }
.principles-inner { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.principles-inner > span { display: inline-flex; gap: 13px; align-items: center; font-size: .9rem; color: #44524a; font-weight: 660; }
.principles-inner > span > span { color: var(--accent); font-size: 1.4rem; }

/* Project cards */
.section { padding-block: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading h2, .feature-copy h2, .next-panel h2 { font-size: clamp(2.3rem, 4vw, 3.9rem); letter-spacing: -.06em; line-height: 1.16; margin: 17px 0 0; max-width: 670px; }
.section-heading > p { max-width: 345px; font-size: .99rem; line-height: 1.8; margin: 0 0 2px; color: #687069; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { background: var(--white); border: 1px solid #e7e5dd; border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-image { display: block; position: relative; background: #d7dfd7; overflow: hidden; }
.project-image img { width: 100%; height: 242px; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-image img { transform: scale(1.035); }
.image-corner { position: absolute; top: 14px; left: 14px; background: #f7f5eef0; border-radius: 4px; padding: 8px 10px; font-weight: 780; font-size: .72rem; }
.project-content { padding: 27px 26px 29px; display: flex; flex-direction: column; flex-grow: 1; }
.project-type { letter-spacing: .15em; color: #7b715f; font-weight: 820; font-size: .7rem; }
.project-content h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.25; letter-spacing: -.045em; margin: 16px 0 13px; }
.project-content p { color: var(--ink-muted); line-height: 1.75; font-size: .93rem; margin: 0 0 27px; }
.card-link { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 9px; text-decoration: none; border-top: 1px solid var(--border); padding-top: 20px; color: var(--forest); font-weight: 800; font-size: .86rem; }
.card-link span { font-size: 1.1rem; }
.card-link:hover { color: var(--accent); }
.preview-note { margin: 17px 0 0; color: #73766d; font-size: .78rem; line-height: 1.6; }

/* About feature */
.feature-section { background: var(--forest-dark); color: var(--white); overflow: hidden; }
.feature-inner { min-height: 550px; display: grid; grid-template-columns: 100px minmax(0, 740px) 1fr; gap: 45px; align-items: center; position: relative; padding-block: 94px; }
.feature-copy { position: relative; z-index: 1; }
.feature-copy .eyebrow { color: #e7bd87; }
.feature-copy h2 { font-size: clamp(2.6rem, 4.5vw, 4.7rem); margin: 22px 0 30px; }
.feature-copy .serif-word { color: #e8be87; }
.feature-copy p:not(.eyebrow) { color: #d1e0d6; line-height: 1.8; max-width: 680px; font-size: 1.07rem; }
.feature-copy .button { margin-top: 25px; }
.feature-mark { font-family: Georgia, serif; align-self: start; font-size: 13rem; line-height: .9; color: #7cafa04d; }
.feature-decoration { position: relative; min-height: 400px; }
.decoration-ring { position: absolute; width: 310px; height: 310px; top: 15%; left: 0; border: 32px solid #76a99626; border-radius: 50%; }
.decoration-mini { position: absolute; top: 15%; left: 14%; color: #e0b681; display: grid; align-items: center; font-family: Georgia,serif; font-size: 3rem; line-height: 1.2; font-style: italic; transform: rotate(-11deg); opacity: .85; }
.next-section { padding-block: 90px 105px; }
.next-panel { display: flex; justify-content: space-between; align-items: center; gap: 36px; background: #ede7dc; padding: clamp(28px, 5vw, 58px); border-radius: 13px; }
.next-panel p:not(.eyebrow) { max-width: 630px; color: #647068; line-height: 1.7; }
.next-panel .button { flex-shrink: 0; }

/* Footer */
.site-footer { background: #eae8df; border-top: 1px solid #dddcd3; padding: 49px 0 26px; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 35px; }
.footer-brand { font-weight: 830; text-decoration: none; font-size: 1.3rem; letter-spacing: -.04em; }
.footer-dot { color: var(--accent); font-size: 1.8rem; }
.footer-inner p { color: #647068; font-size: .89rem; line-height: 1.65; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-inner nav a { font-size: .85rem; text-decoration: none; font-weight: 650; }
.footer-inner nav a:hover { color: var(--accent); }
.footer-product-note { margin-top: 36px; padding-top: 19px; border-top: 1px solid #d4d8ce; color: #5e6c62; font-size: .82rem; line-height: 1.7; }
.footer-product-note strong { font-weight: 740; color: var(--forest); }
.footer-note { font-size: .82rem; line-height: 1.7; color: #80847b; margin-top: 17px; }

/* Article design */
.article-page { padding-bottom: 100px; }
.breadcrumbs { padding: 28px 0; display: flex; gap: 11px; flex-wrap: wrap; align-items: center; color: #7a827b; font-size: .8rem; }
.breadcrumbs a { text-decoration: none; color: var(--forest); font-weight: 700; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-hero { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); align-items: center; gap: 55px; padding: 40px 0 76px; border-bottom: 1px solid var(--border); }
.article-hero h1 { font-size: clamp(2.7rem, 4.3vw, 4.5rem); line-height: 1.17; font-weight: 600; letter-spacing: -.03em; margin: 24px 0 27px; }
.article-hero h1 .serif-word { color: var(--accent); }
.article-intro { font-size: clamp(1.04rem, 1.6vw, 1.19rem); line-height: 1.75; color: #5b665f; max-width: 610px; }
.article-byline { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: #5e6961; font-size: .8rem; flex-wrap: wrap; }
.byline-dot { display: inline-block; background: var(--accent); width: 9px; height: 9px; border-radius: 50%; }
.draft-label { font-size: .83rem; color: #87633f; background: #efe3cf; border-left: 3px solid #c18b50; padding: 11px 14px; line-height: 1.6; margin-top: 30px; }
.article-cover { margin: 0; }
.article-cover img { width: 100%; aspect-ratio: 1.18; object-fit: cover; border-radius: 120px 10px 10px 10px; box-shadow: var(--shadow); }
.article-cover figcaption { color: #748078; font-size: .79rem; padding: 13px 0; line-height: 1.6; }
.article-layout { display: grid; grid-template-columns: 238px minmax(0, 745px); gap: clamp(38px, 7vw, 106px); padding-top: 65px; }
.article-toc { font-size: .87rem; }
.toc-inner { position: sticky; top: 24px; }
.toc-title { color: #7f806e; letter-spacing: .15em; font-weight: 850; font-size: .7rem; margin: 0 0 23px; }
.article-toc nav { display: grid; border-left: 2px solid #d8dcd4; }
.article-toc nav a { padding: 12px 15px; text-decoration: none; font-weight: 630; color: #58665d; line-height: 1.5; }
.article-toc nav a:hover, .article-toc nav a:focus-visible { border-left: 2px solid var(--accent); margin-left: -2px; color: var(--forest); }
.toc-back { display: inline-block; margin-top: 28px; text-decoration: none; color: var(--forest); font-weight: 740; }
.article-body { min-width: 0; }
.article-body h2 { font-size: clamp(1.8rem, 2.7vw, 2.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.27; margin: 64px 0 20px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 1.05rem; line-height: 1.9; color: #46554b; margin: 0 0 23px; }
.article-summary { padding: 27px 29px; border-radius: 12px; background: #e5e8de; display: flex; gap: 22px; margin-bottom: 48px; }
.article-summary strong { display: block; margin-bottom: 7px; font-size: 1.02rem; }
.article-summary p { margin: 0; line-height: 1.7; font-size: .97rem; }
.summary-icon { color: var(--accent); font-size: 1.8rem; line-height: 1.1; }
.spec-list { border: 1px solid #dcded6; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: repeat(3,1fr); margin: 33px 0 44px; }
.spec-list div { padding: 20px; display: grid; gap: 8px; border-right: 1px solid var(--border); }
.spec-list div:last-child { border-right: 0; }
.spec-list span { color: #758076; font-size: .76rem; }
.spec-list strong { font-size: 1rem; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.article-body table { width: 100%; border-collapse: collapse; text-align: left; min-width: 480px; }
.article-body th { background: #eaece5; padding: 17px 19px; text-align: left; font-size: .82rem; color: #385144; }
.article-body td { border-top: 1px solid var(--border); padding: 16px 19px; font-size: .88rem; }
.article-body tbody tr:nth-child(2n) { background: #faf9f5; }
.article-callout { margin: 27px 0 50px; padding: 22px 25px; background: #f0e3d0; border-left: 4px solid var(--accent); }
/* Nur die direkt vorangestellte Callout-Überschrift blockweise anzeigen; Hervorhebungen im Fließtext bleiben inline. */
.article-callout > strong { display: block; margin-bottom: 6px; }
.article-callout p { margin: 0; line-height: 1.7; font-size: .95rem; }
.article-callout p + p { margin-top: 12px; }
/* Listen in Hinweisboxen nutzen dieselben Innenabstände wie die Absätze. */
.article-body .article-callout ul { margin: 0; }
.article-body .article-callout li:last-child { margin-bottom: 0; }
.code-panel { margin: 26px 0 52px; border-radius: 9px; overflow: hidden; background: #1d2926; color: #e9f2e9; box-shadow: 0 12px 35px #1a312a22; }
.code-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #455b4c; font-size: .82rem; font-weight: 730; }
.code-language { color: #9eae9f; font-weight: 400; }
.code-header button { border: 1px solid #81988b; border-radius: 5px; color: #eef6ed; background: transparent; cursor: pointer; padding: 7px 12px; font-size: .76rem; }
.code-header button:hover { background: #415447; }
.code-panel pre { padding: 23px; margin: 0; overflow-x: auto; }
.code-panel code { font-size: .89rem; line-height: 1.7; tab-size: 2; font-family: Consolas, "Cascadia Code", "Liberation Mono", monospace; }
.article-end { border-top: 1px solid var(--border); margin-top: 60px; padding-top: 28px; }
.article-end .button { margin-top: 9px; }

@media (max-width: 1120px) {
    .header-action { display: none; }
    .desktop-nav { margin-left: auto; }
    .hero { gap: 30px; }
    .hero-visual { min-height: 490px; }
    .feature-inner { grid-template-columns: 65px minmax(0, 1fr); }
    .feature-mark { font-size: 9rem; }
    .feature-decoration { display: none; }
}
@media (max-width: 820px) {
    .shell { width: min(100% - 38px, 1200px); }
    .header-inner { min-height: 80px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; margin-left: auto; position: relative; }
    .mobile-nav summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #bdc4ba; border-radius: 7px; cursor: pointer; font-weight: 750; font-size: .84rem; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav nav { position: absolute; z-index: 20; right: 0; top: calc(100% + 10px); display: grid; width: max-content; min-width: 205px; padding: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 9px; box-shadow: var(--shadow); }
    .mobile-nav nav a { padding: 12px; text-decoration: none; font-weight: 650; font-size: .9rem; }
    .mobile-nav nav a:hover { color: var(--accent); }
    .hero { grid-template-columns: 1fr; padding-block: 62px; gap: 50px; }
    .hero-copy h1 { font-size: clamp(3.4rem, 8vw, 5.4rem); }
    .hero-visual { max-width: 650px; min-height: 490px; width: 100%; }
    .hero-image-wrap img { height: 330px; }
    .principles-inner { justify-content: center; padding-block: 22px; gap: 18px 34px; }
    .section { padding-block: 74px; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 18px; max-width: 620px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card-feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .project-card-feature .project-image img { height: 100%; min-height: 345px; }
    .feature-inner { gap: 20px; padding-block: 75px; }
    .feature-mark { font-size: 6rem; }
    .next-panel { display: grid; }
    .article-hero { grid-template-columns: 1fr; gap: 25px; padding: 20px 0 50px; }
    .article-cover { max-width: 700px; }
    .article-cover img { aspect-ratio: 16/9; border-top-left-radius: 80px; }
    .article-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; }
    .article-toc { border-bottom: 1px solid var(--border); padding-bottom: 25px; }
    .article-toc nav { display: flex; flex-wrap: wrap; gap: 4px; border: 0; }
    .article-toc nav a { padding: 7px 11px; border: 1px solid #d0d7cd; border-radius: 5px; }
    .article-toc nav a:hover { margin-left: 0; border: 1px solid var(--accent); }
    .toc-title { margin-bottom: 13px; }
    .toc-back { margin-top: 16px; }
}
@media (max-width: 580px) {
    .shell { width: min(100% - 30px, 1200px); }
    .header-inner { gap: 12px; }
    .brand { gap: 10px; }
    .brand-text strong { font-size: 1.05rem; }
    .brand-text small { font-size: .62rem; }
    .brand-symbol { width: 34px; height: 34px; }
    .hero { padding-top: 49px; gap: 42px; }
    .hero-copy h1 { font-size: clamp(2.9rem, 13vw, 4.5rem); }
    .hero-lead { font-size: 1.03rem; }
    .hero-actions { align-items: start; flex-direction: column; gap: 19px; }
    .hero-aside { margin-top: 33px; }
    .hero-visual { min-height: 420px; padding: 28px 18px 22px; border-top-left-radius: 90px; }
    .hero-image-wrap { border-top-left-radius: 70px; }
    .hero-image-wrap img { height: 245px; }
    .hero-sticker { width: 77px; height: 77px; right: 12px; top: 17px; font-size: .48rem; }
    .hero-image-caption { margin-top: 26px; }
    .hero-image-caption strong { font-size: 1.13rem; }
    .principles-inner { justify-content: flex-start; gap: 12px 30px; }
    .principles-inner > span { font-size: .82rem; }
    .section-heading h2, .feature-copy h2 { font-size: 2.55rem; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card-feature { grid-column: auto; display: flex; }
    .project-card-feature .project-image img, .project-image img { height: 215px; min-height: 0; }
    .feature-inner { grid-template-columns: 1fr; padding-block: 62px 75px; }
    .feature-mark { height: 48px; line-height: .6; }
    .feature-copy h2 { margin-top: 19px; }
    .next-panel h2 { font-size: 2.4rem; }
    .footer-inner { display: block; }
    .footer-inner nav { margin-top: 25px; gap: 14px 22px; }
    .breadcrumbs { font-size: .75rem; }
    .article-hero h1 { font-size: clamp(2.65rem, 10vw, 3.5rem); }
    .article-body p { font-size: 1rem; }
    .article-summary { padding: 20px; }
    .spec-list { grid-template-columns: 1fr; }
    .spec-list div { border-right: 0; border-bottom: 1px solid var(--border); }
    .spec-list div:last-child { border: 0; }
    .article-layout { padding-top: 30px; }
    .article-body h2 { margin-top: 47px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Bei technischen Titelbildern ohne sinnvollen Beschnitt gezielt verwenden. */
.article-cover img.image-fit-contain { object-fit: contain; }
