:root {
  color-scheme: light;
  --text: #302b36;
  --text-soft: #625c69;
  --muted: #7a7381;
  --background: #f8f4ff;
  --cream: #fff9f1;
  --white: #fffefd;
  --lavender: #e9e0f8;
  --lavender-soft: #f2ecfb;
  --mint: #dff3ea;
  --peach: #ffe2d7;
  --sky: #dcecf6;
  --lemon: #f8edc9;
  --sage: #dce9ca;
  --accent: #c86f61;
  --accent-live: var(--custom-accent, #c86f61);
  --line: rgba(48,43,54,.14);
  --line-soft: rgba(48,43,54,.09);
  --shadow: 0 28px 70px rgba(86,72,102,.14);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--background); font-family: var(--sans); }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(circle at 82% 5%, rgba(255,202,187,.72), transparent 31rem), radial-gradient(circle at 10% 44%, rgba(197,232,223,.7), transparent 29rem), radial-gradient(circle at 67% 88%, rgba(222,208,249,.72), transparent 31rem), var(--background); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
::selection { color: var(--text); background: var(--lemon); }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .8rem 1rem; color: var(--text); background: var(--lemon); }
.skip-link:focus { top: 1rem; }
.grain { display: none; }
.cursor-light { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(420px circle at var(--x,50%) var(--y,30%), rgba(255,255,255,.58), transparent 72%); }

/* Kopfbereich */
.site-header { min-height: 80px; padding: 0 clamp(1rem,4vw,4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,252,248,.9); box-shadow: 0 10px 36px rgba(86,72,102,.06); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand-sign { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); font-family: var(--display); font-size: clamp(1.25rem,2.3vw,1.7rem); letter-spacing: -.04em; line-height: 1; }
.brand-sign::after { content: ""; width: .48rem; height: .48rem; border-radius: 50%; background: var(--accent-live); box-shadow: 0 0 16px rgba(200,111,97,.42); }
.brand-sign i { display: none; }
.brand-subtitle { max-width: 15rem; padding-left: 1rem; color: var(--muted); border-left: 1px solid var(--line); font-size: .69rem; line-height: 1.3; }
.main-nav { display: flex; align-items: center; gap: clamp(.7rem,1.5vw,1.4rem); }
.main-nav a { padding: .55rem 0; color: #716a78; text-decoration: none; text-transform: uppercase; font-size: .64rem; font-weight: 800; letter-spacing: .1em; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.search-toggle { width: 39px; height: 39px; display: grid; place-items: center; color: var(--text); border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.66); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.search-toggle:hover { background: var(--peach); transform: translateY(-2px); }
.menu-button { display: none; padding: .5rem; color: var(--text); border: 0; background: none; cursor: pointer; }
.menu-button span { display: block; width: 27px; height: 2px; margin: 5px; background: currentColor; }
.menu-button b { display: none; }

/* Suche */
.search-panel { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 2rem; color: var(--text); background: rgba(241,234,252,.97); backdrop-filter: blur(28px); opacity: 0; transform: scale(1.02); transition: .25s ease; }
.search-panel.is-open { opacity: 1; transform: scale(1); }
.search-panel form { width: min(820px,100%); }
.search-panel label { display: block; margin-bottom: 1.4rem; font-family: var(--display); font-size: clamp(1.9rem,4.5vw,4rem); line-height: .94; letter-spacing: -.05em; }
.search-panel form div { display: flex; border-bottom: 2px solid var(--text); }
.search-panel input { flex: 1; min-width: 0; padding: 1rem 0; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 1.15rem; }
.search-panel input::placeholder { color: #817a88; }
.search-panel form button { padding: .7rem 1.5rem; color: var(--text); border: 0; background: var(--sage); font-weight: 850; cursor: pointer; }
.search-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 46px; height: 46px; color: var(--text); border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.5); font-size: 2rem; cursor: pointer; }

/* Einstieg */
.hero { min-height: min(780px,calc(100vh - 80px)); padding: clamp(4rem,8vw,7rem) clamp(1.25rem,6vw,7rem); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); align-items: center; gap: clamp(3rem,8vw,8rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 56vw; height: 56vw; right: -29vw; top: -22vw; border: 1px solid rgba(72,64,84,.1); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(255,255,255,.18), 0 0 0 17vw rgba(255,255,255,.09); animation: orbital 20s linear infinite; }
.hero::after { content: "KAI / 001"; position: absolute; right: clamp(1rem,4vw,4rem); bottom: 2rem; color: #8b8492; font-size: .6rem; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-copy { position: relative; z-index: 2; }
.overline { margin: 0 0 1.3rem; display: flex; align-items: center; gap: .65rem; color: #716a78; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--accent-live); box-shadow: 0 0 0 6px rgba(200,111,97,.13), 0 0 20px rgba(200,111,97,.38); animation: pulse 1.6s infinite; }
.hero h1 { max-width: 12ch; margin: 0 0 1.7rem; font-family: var(--display); font-size: clamp(3rem,6.2vw,5.6rem); line-height: .89; letter-spacing: -.06em; }
.hero-intro { max-width: 42rem; margin: 0; color: var(--text-soft); font-size: clamp(1rem,1.65vw,1.3rem); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.2rem; color: var(--text); border: 1px solid rgba(48,43,54,.18); border-radius: 999px; background: rgba(255,255,255,.64); text-decoration: none; text-transform: uppercase; font-size: .63rem; font-weight: 850; letter-spacing: .09em; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--sage); border-color: #c4d5aa; }
.button-primary:hover { background: var(--white); }
.button-ghost:hover { background: var(--peach); }

/* Nachrichtenkonsole */
.hero-machine { width: 100%; max-width: 470px; justify-self: center; position: relative; padding: 1rem; border: 1px solid rgba(69,61,80,.14); border-radius: 28px; background: linear-gradient(145deg,#fffefd,#e7ddf7); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 32px 75px rgba(87,72,105,.15); }
.hero-machine::before { content: "LIVE FEED"; position: absolute; top: 1.4rem; left: 1.5rem; z-index: 2; color: #77707e; font-size: .55rem; font-weight: 800; letter-spacing: .16em; }
.lamp { position: absolute; z-index: 3; right: 1.3rem; top: 1.25rem; display: flex; align-items: center; gap: .45rem; color: #6e6875; font-size: .53rem; letter-spacing: .14em; }
.lamp span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-live); box-shadow: 0 0 14px rgba(200,111,97,.45); animation: pulse 1.3s infinite; }
.machine-window { min-height: 310px; position: relative; overflow: hidden; padding: 4rem 1.5rem 1.5rem; color: var(--text); border: 1px solid rgba(69,61,80,.12); border-radius: 20px; background: #fffefa; }
.machine-window::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background: linear-gradient(rgba(109,158,169,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(109,158,169,.12) 1px,transparent 1px); background-size: 28px 28px; }
.machine-window > p { position: relative; z-index: 1; margin: 0 0 1.1rem; color: #4d7b84; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.ticker-track { position: relative; z-index: 1; display: flex; flex-direction: column; }
.ticker-track a { padding: .95rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #4d4853; border-top: 1px solid var(--line-soft); text-decoration: none; font-size: .86rem; line-height: 1.3; transition: color .2s,padding .2s; }
.ticker-track a::after { content: "↗"; color: var(--accent); }
.ticker-track a:hover { padding-left: .5rem; color: var(--text); }
.machine-dials { display: none; }
.paper-slip { position: absolute; right: -1rem; bottom: -1.2rem; padding: .8rem 1rem; color: var(--text); border-radius: 12px; background: #e2efca; box-shadow: 0 16px 36px rgba(83,72,97,.14); font-size: .66rem; font-weight: 800; line-height: 1.35; transform: rotate(-2deg); }

/* Schaltzentrale */
.control-room { padding: clamp(5rem,9vw,9rem) clamp(1.25rem,6vw,7rem); position: relative; color: var(--text); border-top: 1px solid var(--line); background: radial-gradient(circle at 92% 12%,rgba(255,217,204,.82),transparent 28rem), linear-gradient(135deg,#f1eaff,#e7f5f0 62%,#fff4e5); }
.control-room::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background: linear-gradient(90deg,transparent 49.8%,rgba(69,61,80,.06) 50%,transparent 50.2%); background-size: 10vw 100%; }
.section-heading { position: relative; z-index: 1; margin-bottom: 2.8rem; }
.section-heading p, .archive-header > p { margin: 0 0 .75rem; color: #ad5d51; font-size: .6rem; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; }
.section-heading h2 { max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(2.6rem,5vw,4.6rem); line-height: .9; letter-spacing: -.055em; }
.section-heading > span { display: block; margin-top: 1.1rem; color: #756f7d; font-size: .79rem; }
.cabinet-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12,1fr); grid-auto-flow: dense; gap: 1rem; perspective: 1200px; }
.cabinet-card { --rx:0deg; --ry:0deg; min-height: 330px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; grid-column: span 4; padding: clamp(1.3rem,2.5vw,2rem); color: var(--text); border: 1px solid rgba(69,61,80,.13); border-radius: 24px; background: var(--white); box-shadow: 0 17px 45px rgba(87,72,105,.08); text-decoration: none; transform: rotateX(var(--rx)) rotateY(var(--ry)); opacity: 1; transition: transform .35s ease,opacity .5s ease,border-color .25s,box-shadow .25s; }
.cabinet-card:nth-child(7n+1) { background: var(--lavender); }
.cabinet-card:nth-child(7n+2) { background: var(--peach); }
.cabinet-card:nth-child(7n+3) { background: var(--mint); }
.cabinet-card:nth-child(7n+4) { background: var(--sky); }
.cabinet-card:nth-child(7n+5) { background: var(--lemon); }
.cabinet-card:nth-child(7n+6) { background: #eee7fa; }
.cabinet-card:nth-child(7n+7) { background: #f8e6dd; }
.cabinet-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 0%,rgba(255,255,255,.7),transparent 60%); transition: opacity .3s; }
.cabinet-card::after { content: ""; position: absolute; top: 0; left: 2rem; right: 2rem; height: 2px; background: var(--card-accent,var(--accent)); opacity: .62; }
.js .cabinet-card { opacity: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(22px); }
.js .cabinet-card.revealed { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.cabinet-card:hover { border-color: rgba(69,61,80,.25); box-shadow: 0 25px 60px rgba(87,72,105,.14); z-index: 3; }
.cabinet-card:hover::before { opacity: 1; }
.cabinet-card.chosen { animation: chosen .4s ease; }
.card-1, .card-4 { grid-column: span 7; }
.card-2, .card-3 { grid-column: span 5; }
.card-4 { min-height: 380px; }
.card-5, .card-6, .card-7 { grid-column: span 4; }
.card-news { grid-column: span 12; min-height: 260px; flex-direction: row; align-items: center; gap: 2rem; background: linear-gradient(125deg,#e8dff8,#ddf1ea 56%,#ffe5dc); }
.card-number { position: absolute; top: 1.4rem; right: 1.5rem; color: #766f7d; font-size: .58rem; font-weight: 850; letter-spacing: .15em; }
.object-icon { width: min(62%,220px); height: 145px; align-self: center; display: grid; place-items: center; color: var(--card-accent,var(--accent)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cabinet-card:hover .object-icon { transform: translateY(-7px) scale(1.04); }
.object-icon svg { width: 100%; height: 100%; overflow: visible; fill: transparent; stroke: currentColor; stroke-width: 2; }
.object-icon svg .line, .object-icon svg .keys { fill: none; stroke-width: 2; stroke-linecap: round; }
.object-icon svg text { stroke: none; fill: currentColor; font-family: var(--sans); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-anchor: middle; }
.object-icon svg .cross { fill: currentColor; stroke: none; }
.card-copy { display: flex; flex-direction: column; position: relative; z-index: 2; }
.card-copy small { color: #6c6673; text-transform: uppercase; font-size: .56rem; font-weight: 850; letter-spacing: .11em; }
.card-copy strong { max-width: 13ch; margin: .45rem 0 .75rem; font-family: var(--display); font-size: clamp(1.5rem,2.45vw,2.5rem); line-height: .96; letter-spacing: -.045em; }
.card-copy em { max-width: 35rem; color: #5e5965; font-style: normal; font-size: .84rem; line-height: 1.45; }
.card-arrow { position: absolute; right: 1.5rem; bottom: 1.4rem; width: 36px; height: 36px; display: grid; place-items: center; color: #a25348; border: 1px solid rgba(48,43,54,.16); border-radius: 50%; background: rgba(255,255,255,.38); font-size: 1rem; }
.news-stack { flex: 0 0 min(30%,230px); height: 150px; position: relative; display: grid; place-items: center; }
.news-stack::before { content: ""; position: absolute; width: 135px; height: 135px; border: 1px solid rgba(48,43,54,.14); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.23); }
.news-stack i { display: none; }
.news-stack b { position: relative; z-index: 1; color: #a9564b; font-family: var(--display); font-size: clamp(1.8rem,4vw,3.7rem); letter-spacing: -.05em; }

/* Neuigkeiten */
.latest-news { padding: clamp(5rem,9vw,9rem) clamp(1.25rem,6vw,7rem); color: var(--text); background: var(--cream); }
.section-heading.horizontal { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading.horizontal h2 { max-width: none; font-size: clamp(2.6rem,4.9vw,4.5rem); }
.section-heading.horizontal > a { color: var(--text); font-size: .63rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; text-underline-offset: 5px; }
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.news-card { opacity: 1; transform: none; transition: .5s ease; }
.js .news-card { opacity: 0; transform: translateY(20px); }
.js .news-card.revealed { opacity: 1; transform: none; }
.news-card > a { height: 100%; display: flex; flex-direction: column; overflow: hidden; color: inherit; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.88); text-decoration: none; transition: transform .25s,box-shadow .25s; }
.news-card > a:hover { transform: translateY(-7px); box-shadow: 0 22px 55px rgba(86,72,102,.13); }
.news-placeholder { min-height: 210px; display: grid; place-items: center; position: relative; overflow: hidden; color: var(--text); border-bottom: 1px solid var(--line); background: linear-gradient(135deg,var(--lavender),var(--mint)); }
.news-placeholder::before { content: ""; position: absolute; width: 160px; height: 160px; border: 25px solid #efb9a8; border-radius: 50%; opacity: .9; }
.news-placeholder::after { content: ""; position: absolute; width: 65%; height: 1px; background: rgba(48,43,54,.24); transform: rotate(-38deg); }
.news-placeholder b { position: relative; z-index: 1; font-family: var(--display); font-size: 6rem; line-height: 1; letter-spacing: -.08em; }
.news-placeholder i { position: absolute; z-index: 2; top: 1rem; left: 1rem; color: #655f6c; font-style: normal; font-size: .53rem; font-weight: 850; letter-spacing: .14em; }
.news-lead .news-placeholder { min-height: 310px; }
.news-body { flex: 1; padding: 1.5rem; display: flex; flex-direction: column; }
.news-body small { color: #a95a4e; font-size: .56rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.news-body > strong { margin: .75rem 0; font-family: var(--display); font-size: clamp(1.4rem,2.1vw,2.15rem); line-height: 1; letter-spacing: -.04em; }
.news-body em { color: #615b67; font-style: normal; font-size: .85rem; line-height: 1.5; }
.read-more { margin-top: auto; padding-top: 1.5rem; color: var(--text); font-size: .59rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }

/* Persönliche Notiz */
.manifesto { width: min(1080px,calc(100% - 2.5rem)); margin: 5rem auto 8rem; padding: clamp(2rem,6vw,4.5rem); position: relative; overflow: hidden; color: var(--text); border: 1px solid rgba(65,58,76,.13); border-radius: 30px; background: linear-gradient(125deg,#e8def9,#dff3ed 55%,#fff0df); box-shadow: var(--shadow); }
.manifesto::before { content: "“"; position: absolute; right: 2rem; top: -3rem; color: rgba(195,119,101,.18); font-family: Georgia,serif; font-size: 15rem; line-height: 1; }
.manifesto > p { margin: 0; color: #a8574b; font-size: .58rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.manifesto blockquote { max-width: 820px; margin: 1.5rem 0; position: relative; z-index: 1; font-family: var(--display); font-size: clamp(1.3rem,2.7vw,2.2rem); line-height: 1.14; letter-spacing: -.035em; }
.signature { display: block; color: #756538; font-size: .69rem; font-weight: 850; text-align: right; text-transform: uppercase; letter-spacing: .16em; }
.tape { display: none; }

/* Seiten und Beiträge */
.article-page, .archive-page { width: min(1280px,calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(4rem,8vw,8rem) 0; }
.article-hero { min-height: 420px; display: grid; grid-template-columns: minmax(250px,.65fr) 1.35fr; gap: clamp(2rem,7vw,7rem); align-items: center; overflow: hidden; padding: clamp(2rem,5vw,5rem); color: var(--text); border: 1px solid rgba(69,61,80,.14); border-radius: 30px; background: linear-gradient(135deg,#efe6fb,#e4f4ee 58%,#fff0e7); box-shadow: var(--shadow); }
.article-icon { min-height: 240px; display: grid; place-items: center; color: var(--page-accent,var(--accent)); }
.article-icon svg { width: 100%; max-width: 320px; max-height: 240px; fill: transparent; stroke: currentColor; stroke-width: 2; }
.article-icon .line, .article-icon .keys { fill: none; stroke-width: 2; stroke-linecap: round; }
.article-icon text { fill: currentColor; stroke: none; font-family: var(--sans); font-size: 10px; font-weight: 850; text-anchor: middle; }
.article-icon .cross { fill: currentColor; stroke: none; }
.article-hero p, .post-hero > p { margin: 0 0 .8rem; color: #aa594d; font-size: .59rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.article-hero h1, .post-hero h1, .archive-header h1, .not-found h1 { margin: 0 0 1.25rem; font-family: var(--display); font-size: clamp(2.8rem,5.4vw,5rem); line-height: .9; letter-spacing: -.055em; }
.article-hero strong, .post-hero strong, .archive-header strong { display: block; max-width: 42rem; color: var(--text-soft); font-size: clamp(.98rem,1.8vw,1.3rem); font-weight: 500; line-height: 1.5; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) 220px; justify-content: center; gap: clamp(3rem,8vw,8rem); padding: clamp(4rem,8vw,8rem) 0; }
.article-content { color: #47424d; font-size: clamp(1.02rem,1.4vw,1.14rem); line-height: 1.78; }
.article-content > p:first-child::first-letter { float: left; margin: .08em .13em 0 0; color: var(--accent); font-family: var(--display); font-size: 4.7em; line-height: .7; }
.article-content h2 { margin: 2.7rem 0 1rem; color: var(--text); font-family: var(--display); font-size: clamp(1.5rem,2.5vw,1.8rem); line-height: 1.12; letter-spacing: -.035em; }
.article-content h3 { margin: 2.2rem 0 .8rem; color: var(--text); font-family: var(--display); font-size: clamp(1.2rem,2vw,1.45rem); line-height: 1.18; letter-spacing: -.025em; }
.article-content a { color: #8e5c44; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-content blockquote { margin: 2.7rem 0; padding: 1.5rem 0 1.5rem 2rem; color: var(--text); border-left: 3px solid var(--accent); font-size: 1.25em; line-height: 1.42; }
.article-content img { margin: 2.5rem 0; border-radius: 18px; box-shadow: var(--shadow); }
.article-content figure.media-inline { max-width: 100%; padding: 0; }
.article-content figure.media-inline img { width: 100%; height: auto; margin: 0; border-radius: 16px; box-shadow: 0 16px 42px rgba(86,72,102,.14); }
.article-content figure.media-small { width: 220px; max-width: 36%; }
.article-content figure.media-medium { width: 360px; max-width: 48%; }
.article-content figure.media-large { width: 560px; max-width: 76%; }
.article-content figure.media-full { width: 100%; max-width: 100%; }
.article-content figure.align-left { float: left; margin: .45rem 1.8rem 1.1rem 0; }
.article-content figure.align-right { float: right; margin: .45rem 0 1.1rem 1.8rem; }
.article-content figure.align-center { clear: both; margin: 1.8rem auto; }
.article-content figure.media-full { clear: both; float: none; margin: 2rem auto; }
.article-content figcaption { padding: .65rem .2rem 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.article-content::after { content: ""; display: block; clear: both; }
.article-aside { align-self: start; position: sticky; top: 2rem; padding: 1.4rem; color: var(--text); border: 1px solid rgba(67,59,78,.13); border-radius: 18px; background: var(--lavender); }
.article-aside span { display: block; color: #6d6674; font-size: .55rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.article-aside b { display: block; margin: 1rem 0; color: #966748; font-family: var(--display); font-size: 3.5rem; line-height: 1; }
.article-aside p { color: #5e5864; font-size: .78rem; line-height: 1.5; }
.article-aside a { display: block; margin-top: 1.5rem; color: var(--text); font-size: .59rem; font-weight: 850; text-transform: uppercase; line-height: 1.4; }
.post-hero { max-width: 1000px; padding: 3rem 0 4.5rem; }
.post-hero time { display: inline-flex; margin-top: 2rem; padding: .5rem .75rem; color: var(--text); border-radius: 999px; background: var(--sage); font-size: .56rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.featured-image { max-height: 700px; overflow: hidden; margin: 0; border-radius: 28px; box-shadow: var(--shadow); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* Archiv und Fehlerseite */
.archive-header { max-width: 1000px; padding: 2rem 0 5rem; }
.archive-list { border-top: 1px solid var(--line); }
.archive-list article { opacity: 1; transform: none; transition: .4s ease; }
.js .archive-list article { opacity: 0; transform: translateX(-18px); }
.js .archive-list article.revealed { opacity: 1; transform: none; }
.archive-list article > a { display: grid; grid-template-columns: 150px 1fr 50px; gap: 2rem; align-items: start; padding: 2rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s,padding .2s; }
.archive-list article > a:hover { padding-left: 2rem; background: rgba(255,255,255,.5); }
.archive-list time { color: #706a77; font-size: .59rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.archive-list small { color: #a9584c; font-size: .56rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.archive-list h2 { margin: .45rem 0 .7rem; font-family: var(--display); font-size: clamp(1.5rem,3vw,2.6rem); line-height: 1; letter-spacing: -.045em; }
.archive-list p { max-width: 700px; margin: 0; color: #5e5964; line-height: 1.5; }
.archive-list article > a > span { color: #a25348; font-size: 1.4rem; }
.empty-state { padding: 4rem; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--lavender-soft); }
.empty-state b { font-family: var(--display); font-size: 2.5rem; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem; text-align: center; }
.not-found > b { color: var(--accent); font-family: var(--display); font-size: clamp(6rem,18vw,13rem); line-height: .7; letter-spacing: -.08em; }
.not-found h1 { font-size: clamp(2.7rem,5.6vw,4.8rem); }
.not-found p { color: var(--muted); }

/* Fußbereich */
.site-footer { padding: 5rem clamp(1.25rem,6vw,7rem) 2rem; display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; color: var(--text); border-top: 1px solid var(--line); background: linear-gradient(135deg,#e9dff8,#dbf1e9 58%,#fff0e1); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand b { font-family: var(--display); font-size: 2.2rem; line-height: 1; letter-spacing: -.045em; }
.footer-brand b::after { content: "."; color: var(--accent); }
.footer-brand span, .site-footer p { max-width: 25rem; color: #67616e; font-size: .78rem; line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: .8rem; font-size: .59rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.footer-links a { color: #514c57; }
.site-footer small { grid-column: 1 / -1; padding-top: 2rem; color: #746e7b; border-top: 1px solid var(--line); font-size: .58rem; }

@keyframes pulse { 50% { opacity: .45; transform: scale(.88); } }
@keyframes orbital { to { transform: rotate(360deg); } }
@keyframes chosen { 50% { transform: scale(.97); filter: brightness(1.05); } }

@media (max-width:1050px) {
  .brand-subtitle { display: none; }
  .main-nav a:nth-of-type(n+4) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-machine { margin-top: 1rem; }
  .card-1, .card-2, .card-3, .card-4, .card-5, .card-6, .card-7 { grid-column: span 6; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-lead { grid-column: 1 / -1; }
}

@media (max-width:720px) {
  .site-header { min-height: 70px; padding: 0 1rem; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; background: rgba(249,245,255,.98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; backdrop-filter: blur(20px); }
  .main-nav.is-open { display: flex; }
  .main-nav a:nth-of-type(n) { display: block; padding: .8rem; color: var(--text); font-size: .72rem; }
  .search-toggle { align-self: end; }
  .hero { min-height: auto; padding: 3.5rem 1.25rem 5.5rem; }
  .hero h1 { font-size: clamp(2.7rem,12vw,4.2rem); }
  .hero-machine { width: calc(100% - .5rem); }
  .paper-slip { right: -.25rem; }
  .control-room, .latest-news { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section-heading h2, .section-heading.horizontal h2 { font-size: clamp(2.3rem,10.5vw,3.5rem); }
  .cabinet-grid { display: flex; flex-direction: column; }
  .cabinet-card, .card-news { width: 100%; min-height: 300px; }
  .card-news { flex-direction: column; align-items: stretch; }
  .news-stack { width: 175px; flex-basis: 125px; }
  .section-heading.horizontal { align-items: start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-lead { grid-column: auto; }
  .news-lead .news-placeholder { min-height: 220px; }
  .article-page, .archive-page { width: min(100% - 2rem,1280px); padding-top: 2rem; }
  .article-hero { grid-template-columns: 1fr; padding: 2rem; }
  .article-icon { min-height: 165px; }
  .article-hero h1, .post-hero h1, .archive-header h1 { font-size: clamp(2.55rem,11vw,3.9rem); }
  .article-layout { grid-template-columns: 1fr; padding: 3rem .5rem; }
  .article-aside { position: static; }
  .article-content figure.media-small, .article-content figure.media-medium, .article-content figure.media-large, .article-content figure.media-full, .article-content figure.align-left, .article-content figure.align-right { width: 100%; max-width: 100%; float: none; margin: 1.5rem auto; }
  .archive-list article > a { grid-template-columns: 1fr 30px; gap: 1rem; }
  .archive-list time { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cabinet-card, .news-card, .archive-list article { opacity: 1; transform: none; }
}
