/* Farben und Abstände zentral ändern. */
:root { color-scheme: dark; --bg: #101923; --surface: #16222f; --card: #1b2938; --line: #334252; --text: #f0f4f8; --muted: #b4c0cc; --accent: #93caff; --mono: Consolas, 'Courier New', monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--bg); }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 24px; background: var(--text); color: var(--bg); z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: #101923f5; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 22px; font-weight: 700; letter-spacing: -.6px; white-space: nowrap; }
.brand-mark { color: var(--accent); font: 700 24px var(--mono); margin-right: 12px; }
.domain { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 26px; align-items: center; }
nav a { font-size: 14px; color: var(--muted); padding-block: 30px; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current] { color: var(--text); border-color: var(--accent); }
.menu-button { display: none; color: var(--text); border: 1px solid var(--line); background: var(--surface); padding: 7px 12px; cursor: pointer; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 70px; padding-top: 90px; }
.eyebrow { color: var(--accent); font: 13px/1.5 var(--mono); letter-spacing: 1.7px; margin: 0 0 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 4.4vw, 62px); line-height: 1.13; letter-spacing: -2.5px; font-weight: 650; margin-bottom: 26px; }
h1 span { color: var(--accent); }
.hero-subtitle { font-size: 20px; line-height: 1.5; max-width: 450px; margin-bottom: 20px; }
.hero-description { color: var(--muted); max-width: 465px; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 26px; padding: 12px 21px; border-radius: 3px; font-weight: 600; }
.primary { background: var(--accent); color: #122131; }
.primary:hover { background: #b8ddff; }
.text-link { font-size: 15px; border-bottom: 1px solid var(--line); padding-block: 6px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.code-panel { align-self: center; background: var(--surface); border: 1px solid #41546a; box-shadow: 12px 12px 0 #0c141d; border-radius: 4px; font: 15px/1.8 var(--mono); transform: translateY(-5px); }
.panel-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 14px 21px; font-size: 12px; color: var(--muted); letter-spacing: .7px; margin-bottom: 23px; }
.code-row { display: flex; padding: 0 23px; gap: 22px; }
.line-number { color: #8395a6; font-size: 13px; min-width: 20px; }
.code-comment { color: var(--muted); }
.code-row b { color: var(--accent); font-weight: 400; }
.code-indent { color: #d1dbe5; }
.gap { padding-top: 17px; }
.panel-bottom { margin-top: 27px; border-top: 1px solid var(--line); padding: 15px 22px; font-size: 13px; display: flex; flex-direction: column; color: var(--muted); }
.panel-bottom strong { color: var(--text); font-weight: 400; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 70px; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font: 12px/1.6 var(--mono); letter-spacing: .6px; }
.section { padding-block: 90px; }
h2 { font-size: clamp(29px, 3vw, 39px); line-height: 1.25; letter-spacing: -1.1px; font-weight: 600; margin-bottom: 24px; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 600; margin-bottom: 12px; }
p { margin-bottom: 18px; }
.intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 100px; }
.intro-statement { font-size: 21px; line-height: 1.6; margin-top: 30px; }
.intro-statement span { color: var(--muted); }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--text); font-size: 18px; }
.projects { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 15px; margin-bottom: 3px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.project-card { border: 1px solid var(--line); background: var(--bg); border-radius: 4px; overflow: hidden; }
.project-visual { min-height: 200px; background: #203750; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px; font-family: var(--mono); }
.visual-label, .visual-bottom { font-size: 11px; letter-spacing: .7px; color: #c3d2e1; }
.project-visual > strong { font-size: 58px; font-weight: 400; letter-spacing: -3px; line-height: 1.4; color: #e1ecf8; }
.project-visual strong span { color: #9ac7ed; }
.editor-visual { background: #24303f; }
.editor-visual > strong { font-size: 46px; }
.gtk-visual { background: #293b43; }
.card-body { padding: 27px 25px 12px; }
.tag { font: 12px/1.6 var(--mono); color: var(--accent); letter-spacing: .5px; margin-bottom: 14px; }
.card-body > p:not(.tag) { color: var(--muted); min-height: 136px; }
details { border-top: 1px solid var(--line); }
summary { padding-block: 17px; cursor: pointer; color: var(--text); font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary span { color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary span { transform: rotate(45deg); }
.detail-body { color: var(--muted); font-size: 15px; }
.journey { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; }
.journey-intro > p:not(.eyebrow) { color: var(--muted); max-width: 320px; }
blockquote { margin: 40px 0 0; border-left: 2px solid var(--accent); padding-left: 24px; font-size: 21px; line-height: 1.6; max-width: 345px; }
.timeline { list-style: none; margin: 6px 0 0; padding-left: 27px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 31px 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; width: 9px; height: 9px; position: absolute; left: -32px; top: 8px; background: var(--accent); border: 2px solid var(--bg); }
.year { display: block; color: var(--accent); font: 13px/1.6 var(--mono); letter-spacing: .7px; margin-bottom: 8px; }
.timeline h3 { font-size: 20px; margin-bottom: 9px; }
.timeline p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.timeline .milestone { margin-top: 16px; padding: 12px 16px; background: var(--surface); }
.milestone strong { color: var(--text); font-weight: 500; }
.automation { background: #1a2938; border-block: 1px solid var(--line); }
.automation-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; }
.automation p:not(.eyebrow) { color: #c3cdd7; }
.experience { border-left: 1px solid #465565; padding-left: 38px; }
.experience h3 { font-size: 19px; }
dl { margin: 0; }
dl > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
dl > div:last-child { border: 0; }
dt { color: var(--accent); font: 13px/1.6 var(--mono); margin-bottom: 6px; }
dd { margin: 0; font-size: 16px; }
.article-list { border-top: 1px solid var(--line); }
.article-list article { display: grid; grid-template-columns: 48px 1fr auto; gap: 25px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line); }
.article-number { color: #91a5b9; font: 21px var(--mono); align-self: start; padding-top: 2px; }
.article-list .tag { margin-bottom: 8px; }
.article-list h3 { margin-bottom: 7px; }
.article-list p:not(.tag) { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.preview-label { border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px; color: var(--muted); font: 12px/1.5 var(--mono); }
.site-footer { border-top: 1px solid var(--line); padding-block: 35px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer p { color: var(--muted); font-size: 13px; margin: 5px 0 0; }
.site-footer > span { color: var(--muted); font-size: 13px; }
/* Auf schmalen Bildschirmen stehen die Bereiche untereinander. */
@media (max-width: 1050px) { .container { width: calc(100% - 48px); } nav { gap: 15px; } .brand-mark { display: none; } .hero { gap: 35px; } .intro, .journey { gap: 50px; } .automation-grid { gap: 45px; } .project-grid { gap: 14px; } .card-body { padding-inline: 19px; } .project-visual { padding-inline: 19px; } .visual-label { font-size: 10px; } }
@media (max-width: 800px) { html { scroll-padding-top: 90px; } .header-inner { flex-wrap: wrap; gap: 0; min-height: 72px; padding-block: 16px; } .menu-button:not([hidden]) { display: block; } nav { width: 100%; flex-wrap: wrap; gap: 0 22px; margin-top: 14px; } nav a { padding-block: 8px; font-size: 16px; } .js nav:not(.is-open) { display: none; } .hero { padding-top: 55px; grid-template-columns: 1fr; } h1 { font-size: clamp(39px, 7.8vw, 61px); } .hero-copy { max-width: 600px; } .code-panel { margin-top: 20px; width: 100%; transform: none; } .hero-foot { margin-top: 28px; gap: 12px; flex-wrap: wrap; } .section { padding-block: 60px; } .intro, .journey, .automation-grid { grid-template-columns: 1fr; gap: 30px; } .intro-statement { margin-block: 20px 0; } .section-heading { align-items: start; flex-direction: column; gap: 14px; } .project-grid { grid-template-columns: 1fr; gap: 24px; } .project-visual { min-height: 185px; } .visual-label { font-size: 12px; } .card-body > p:not(.tag) { min-height: 0; } .journey-intro > p:not(.eyebrow), blockquote { max-width: none; } blockquote { margin-top: 24px; } .timeline { margin-top: 12px; margin-left: 5px; } .experience { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); } .article-list article { grid-template-columns: 28px 1fr; gap: 16px; } .preview-label { grid-column: 2; justify-self: start; } .site-footer { flex-wrap: wrap; } }
@media (max-width: 400px) { .container { width: calc(100% - 36px); } h1 { font-size: 37px; letter-spacing: -1.5px; } .hero-actions { gap: 17px; flex-wrap: wrap; } .code-row { padding-inline: 14px; gap: 12px; font-size: 14px; } .panel-top { padding-inline: 14px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Rechtliche Seiten: schmaler, gut lesbarer Textbereich. */
.legal-main { max-width: 860px; }
.legal-prose { max-width: 760px; }
.legal-prose h2 { margin-top: 38px; font-size: 24px; }
.legal-prose a { color: var(--accent); }
.legal-prose code { font-family: var(--mono); color: var(--accent); }
.legal-date { margin-top: 42px; font: 13px/1.6 var(--mono); color: var(--muted); }
.footer-links { display: inline-flex; gap: 18px; }
.article-link { border-bottom: 1px solid transparent; }
.article-link:hover { color: var(--accent); border-color: var(--accent); }
.article-page { max-width: 860px; }
.article-prose { max-width: 740px; }
.article-prose h2 { margin-top: 38px; }
.article-prose a { color: var(--accent); }
.article-meta { color: var(--muted); font: 13px/1.6 var(--mono); letter-spacing: .3px; margin-bottom: 38px; }
.article-navigation { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 52px; }
