:root {
    --ink: #09234d;
    --muted: #61748f;
    --blue: #0867d8;
    --blue-2: #1c7be5;
    --line: #dce7f2;
    --paper: #f4f9fd;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 12px 35px rgba(19, 61, 105, .07);
    --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #eef8ff 0, #f7fbfe 34rem, #f4f8fb 100%);
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(3rem, 5.2vw, 6rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 1.5rem; hyphens: auto; overflow-wrap: break-word}
h2 { font-size: clamp(1.55rem, 2.1vw, 2.2rem); line-height: 1.12; letter-spacing: -.03em; margin: .25rem 0 .45rem; hyphens: auto}
h3 { line-height: 1.2; }
p { color: var(--muted); }
.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; }
.eyebrow { color: #587294; font-size: .72rem; font-weight: 800; letter-spacing: .11em; }

.site-header {
    height: 78px;
    padding: 0 max(24px, calc((100vw - var(--max))/2));
    background: rgba(255,255,255,.96);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    border-bottom: 1px solid rgba(9,35,77,.08);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}
.brand { display:flex; align-items:center; gap:.7rem; min-width:max-content; }
.brand-icon { display:grid; place-items:center; width:34px; height:34px; color:var(--blue); border:2px solid var(--blue); border-radius:7px; font-size:1.25rem; }
.brand strong { display:block; font-size:1.12rem; letter-spacing:.01em; }
.brand small { display:block; color:#90a0b4; font-size:.65rem; }
.main-nav { display:flex; justify-content:center; gap:2.1rem; font-weight:650; font-size:.93rem; }
.main-nav a:hover, .section-head > a:hover, .text-link:hover { color:var(--blue); }
.search { width:min(330px, 24vw); border:1px solid #cad8e6; border-radius:9px; display:flex; background:white; }
.search input { border:0; outline:0; padding:.75rem .9rem; width:100%; background:transparent; color:var(--ink); }
.search button { border:0; background:transparent; padding:0 .9rem; color:var(--blue); font-size:1.25rem; }
.menu-toggle { display:none; }

main { width:min(var(--max), calc(100% - 36px)); margin:auto; }
.hero {
    min-height: 505px;
    display:grid;
    grid-template-columns: .92fr 1.3fr;
    align-items:stretch;
    overflow:hidden;
    margin-bottom: 18px;
}
.hero-copy { padding: 4.5rem 1.5rem 2.5rem 2.5rem; position:relative; z-index:2; }
.hero-copy > p { max-width:620px; font-size:1.08rem; }
.button { display:inline-flex; align-items:center; gap:.75rem; background:var(--blue); color:white; padding:.9rem 1.25rem; border-radius:7px; font-weight:750; box-shadow:0 8px 20px rgba(8,103,216,.2); }
.button:hover { background:#005bbf; }
.hero-facts { display:flex; gap:2.7rem; margin-top:2.5rem; flex-wrap:wrap; }
.hero-facts div { display:grid; }
.hero-facts strong { font-size:.84rem; }
.hero-facts span { font-size:.7rem; color:var(--muted); }

.hero-visual {
    position:relative;
    min-height:430px;
    background:
        radial-gradient(circle at 48% 50%, rgba(65,177,255,.35), transparent 27%),
        linear-gradient(135deg, #d7edfb 0%, #7fb5d6 33%, #123a60 70%, #071b33 100%);
    clip-path: polygon(9% 0,100% 0,100% 100%,0 100%);
}
.wafer {
    position:absolute; width:min(560px,70%); aspect-ratio:1; border-radius:50%;
    left:45%; top:48%; transform:translate(-50%,-50%) rotateX(58deg) rotateZ(-12deg);
    background:radial-gradient(circle at 30% 30%, #d8f4ff, #3aa0d8 30%, #7256b2 58%, #122b49 80%);
    box-shadow:0 30px 60px rgba(0,0,0,.35), inset 0 0 0 8px rgba(255,255,255,.22);
    overflow:hidden;
}
.wafer-grid { width:100%; height:100%; opacity:.65; background-image:linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size:28px 28px; }
.hero blockquote { position:absolute; right:2rem; bottom:2rem; color:white; text-align:right; max-width:240px; font-size:1rem; }

.panel { background:rgba(255,255,255,.94); border:1px solid rgba(9,35,77,.055); border-radius:var(--radius); box-shadow:var(--shadow); padding:2rem; margin-bottom:18px; }
.section-head { display:flex; justify-content:space-between; gap:2rem; align-items:flex-start; margin-bottom:1.4rem; }
.section-head p { margin:0; }
.section-head > a { color:var(--blue); font-size:.82rem; font-weight:750; white-space:nowrap; margin-top:1.4rem; }

.process-scroll { overflow-x:auto; scrollbar-width:thin; padding-bottom:.4rem; }
.process-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(10,minmax(105px,1fr)); min-width:1080px; }
.process-list li { position:relative; text-align:center; }
.process-list li:not(:last-child)::after { content:"→"; position:absolute; right:-.4rem; top:2.5rem; color:var(--blue); }
.process-list a { display:grid; justify-items:center; gap:.18rem; padding:.4rem; }
.process-icon {
    width:74px;
    height:74px;
    position:relative;
    overflow:hidden;
    border-radius:10px;
    background:#f4f8fb;
    display:grid;
    place-items:center;
    margin-bottom:.45rem;
    border:1px solid #e1ebf3;
}
.process-icon img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
}
.process-icon > span {
    position:absolute;
    top:5px;
    left:5px;
    z-index:1;
    padding:.12rem .32rem;
    border:1px solid rgba(9,35,77,.08);
    border-radius:5px;
    background:rgba(255,255,255,.94);
    box-shadow:0 2px 7px rgba(0,0,0,.08);
    color:var(--blue);
    font-size:.62rem;
    font-weight:900;
    line-height:1.2;
}
.process-list strong { font-size:.8rem; }
.process-list small { color:var(--muted); font-size:.67rem; }

.topic-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.topic-card { min-height:132px; border:1px solid var(--line); border-radius:10px; padding:1.25rem; display:grid; grid-template-columns:1.2fr .8fr; overflow:hidden; transition:.2s ease; background:linear-gradient(135deg,#fff,#f7fbff); }
.topic-card:hover { transform:translateY(-3px); border-color:#aac9e8; box-shadow:0 12px 24px rgba(14,72,127,.08); }
.topic-card h3 { margin:.1rem 0 .45rem; font-size:1rem; }
.topic-card p { font-size:.78rem; margin:0; }
.topic-art { align-self:center; justify-self:center; width:74px; height:74px; border-radius:50%; background:radial-gradient(circle at 35% 35%,#fff,#78bce9 35%,#126ac1 70%,#0a315f); box-shadow:0 8px 18px rgba(0,78,150,.15); }
.topic-art--chip,.topic-art--package,.topic-art--power { border-radius:12px; transform:rotate(-7deg); }
.topic-art--fab { border-radius:4px; background:repeating-linear-gradient(90deg,#dbeaf5 0 9px,#4b789b 10px 16px); }
.topic-art--light { background:radial-gradient(circle,#fff 0 8%,#72e7ff 10%,#1472e8 36%,#071b58 68%); }
.topic-art--nodes { background:repeating-linear-gradient(45deg,#9fd7ff 0 5px,#365ba7 6px 10px,#e9a95d 11px 14px); }

.content-grid { display:grid; grid-template-columns:1.55fr 1fr; gap:18px; }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.news-card { min-width:0; }
.news-image { height:140px; border-radius:8px; background:linear-gradient(135deg,#b9dff7,#226fa6 55%,#09284b); display:flex; align-items:flex-end; padding:.7rem; margin-bottom:.75rem; overflow:hidden; }
.news-image span { color:white; font-weight:800; font-size:.7rem; letter-spacing:.08em; }
.news-meta { color:#6d85a2; font-size:.67rem; text-transform:uppercase; font-weight:750; }
.news-card h3 { font-size:1rem; margin:.4rem 0; }
.news-card p { font-size:.78rem; }
.text-link { color:var(--blue); font-size:.78rem; font-weight:750; }
.article-list { display:grid; }
.article-row { display:grid; grid-template-columns:92px 1fr; gap:1rem; padding:.8rem 0; border-bottom:1px solid var(--line); }
.article-row:last-child { border-bottom:0; }
.article-thumb { height:66px; border-radius:6px; background:linear-gradient(145deg,#dbe7ef,#7790a2); }
.article-row strong { display:block; font-size:.88rem; }
.article-row small { display:block; color:var(--muted); font-size:.72rem; margin-top:.25rem; }

.bottom-grid { display:grid; grid-template-columns:1.55fr .9fr .85fr; gap:18px; }
.bottom-grid .panel { margin-bottom:2.5rem; }
.timeline { display:flex; justify-content:space-between; position:relative; margin-top:2.2rem; }
.timeline::before { content:""; position:absolute; left:2%; right:2%; top:6px; height:2px; background:#a9d2f4; }
.timeline div { display:grid; justify-items:center; gap:.25rem; position:relative; font-size:.68rem; }
.timeline i { width:12px; height:12px; border-radius:50%; background:var(--blue-2); box-shadow:0 0 0 5px #e7f4ff; margin-bottom:.5rem; }
.timeline span { color:var(--muted); }
.big-number { color:var(--blue); font-size:clamp(1.4rem,2.1vw,2.2rem); font-weight:900; margin:1.2rem 0 .1rem; letter-spacing:-.04em; }
.stats p { font-size:.8rem; }
.popular { display:grid; align-content:start; }
.popular > a { display:flex; justify-content:space-between; padding:.55rem 0; border-bottom:1px solid var(--line); font-size:.8rem; color:#536b88; }

.site-footer { width:min(var(--max),calc(100% - 36px)); margin:auto; padding:1.8rem 1rem 2.5rem; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:2rem; color:#70849e; font-size:.72rem; }
.site-footer nav { display:flex; gap:2rem; }
.site-footer > span { text-align:right; }

@media (max-width: 1100px) {
    .site-header { grid-template-columns:auto 1fr auto; gap:1rem; }
    .main-nav { position:absolute; top:78px; left:18px; right:18px; display:none; padding:1rem; background:white; border-radius:12px; box-shadow:var(--shadow); flex-direction:column; gap:0; }
    .main-nav.is-open { display:flex; }
    .main-nav a { padding:.85rem; border-bottom:1px solid var(--line); }
    .menu-toggle { display:grid; justify-self:end; width:42px; height:42px; place-content:center; gap:4px; border:0; background:transparent; }
    .menu-toggle span:not(.sr-only) { display:block; width:22px; height:2px; background:var(--ink); }
    .search { grid-column:3; grid-row:1; margin-right:50px; }
    .topic-grid { grid-template-columns:repeat(2,1fr); }
    .content-grid { grid-template-columns:1fr; }
    .bottom-grid { grid-template-columns:1fr 1fr; }
    .nodes { grid-column:1/-1; }
}
@media (max-width: 760px) {
    body { font-size:15px; }
    .site-header { height:68px; padding:0 18px; grid-template-columns:1fr auto; }
    .brand strong { font-size:.95rem; }
    .brand small { display:none; }
    .brand-icon { width:30px; height:30px; }
    .search { display:none; }
    .main-nav { top:68px; }
    main { width:min(100% - 20px,var(--max)); }
    .hero { grid-template-columns:1fr; min-height:0; border-radius:0 0 var(--radius) var(--radius); }
    .hero-copy { padding:3rem 1rem 2rem; }
    .hero-copy > p { font-size:1rem; }
    .hero-facts { gap:1.2rem; }
    .hero-visual { min-height:260px; clip-path:none; border-radius:var(--radius); }
    .hero blockquote { font-size:.8rem; right:1rem; bottom:1rem; }
    .panel { padding:1.25rem; border-radius:11px; }
    .section-head { display:block; }
    .section-head > a { display:inline-block; margin-top:.7rem; }
    .topic-grid { grid-template-columns:1fr; }
    .topic-card { min-height:110px; }
    .news-grid { grid-template-columns:1fr; }
    .news-image { height:180px; }
    .bottom-grid { grid-template-columns:1fr; }
    .nodes { grid-column:auto; overflow:hidden; }
    .timeline { min-width:570px; }
    .nodes { overflow-x:auto; }
    .site-footer { grid-template-columns:1fr; text-align:center; }
    .site-footer .brand { justify-self:center; }
    .site-footer nav { justify-content:center; flex-wrap:wrap; gap:1rem 1.5rem; }
    .site-footer > span { text-align:center; }
}


/* ---------- V2: stronger visual identity ---------- */
.hero {
    background: linear-gradient(90deg, rgba(244,250,255,.98) 0%, rgba(238,248,255,.94) 42%, rgba(213,235,249,.7) 57%, rgba(9,35,67,.04) 100%);
    border-radius: 0 0 18px 18px;
}
.hero-visual { overflow:hidden; }
.hero-visual::before {
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg,rgba(232,247,255,.1),transparent 35%,rgba(0,20,42,.22));
}
.fab-head {
    position:absolute; z-index:3; width:170px; height:84px; right:10%; top:8%;
    background:linear-gradient(145deg,#6e8497,#162b3d 65%); border-radius:18px 18px 7px 7px;
    box-shadow:0 18px 30px rgba(0,0,0,.3); transform:rotate(-5deg);
}
.fab-head::after { content:""; position:absolute; width:26px; height:100px; background:#182e40; left:72px; top:55px; border-radius:4px; }
.fab-head i { display:inline-block; width:19px; height:19px; margin:16px 5px; border-radius:50%; background:#b7d1df; box-shadow:inset 0 2px 5px #334b5b; }
.wafer { z-index:2; }
.wafer-glint { position:absolute; inset:0; background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.5) 43%,transparent 55%); }
.swipe-hint { display:none; color:#7690aa; font-size:.72rem; font-weight:700; margin:-.4rem 0 .65rem; }

/* distinct topic mini-illustrations */
.topic-art { position:relative; overflow:hidden; }
.topic-art i,.topic-art b { position:absolute; display:block; }
.topic-art--atom { background:none; border:2px solid #2377cf; box-shadow:none; }
.topic-art--atom::before,.topic-art--atom::after { content:""; position:absolute; inset:17px 4px; border:2px solid #2377cf; border-radius:50%; transform:rotate(60deg); }
.topic-art--atom::after { transform:rotate(-60deg); }
.topic-art--atom i { width:12px;height:12px;border-radius:50%;background:#0867d8;left:29px;top:29px; }
.topic-art--wafer,.topic-art--nodes { border-radius:50%; transform:rotateX(55deg) rotateZ(-18deg); background:repeating-linear-gradient(0deg,rgba(255,255,255,.38) 0 1px,transparent 1px 8px),repeating-linear-gradient(90deg,rgba(255,255,255,.38) 0 1px,transparent 1px 8px),radial-gradient(circle at 30% 25%,#d6f5ff,#3b9fd6 35%,#5c57a7 67%,#13375b); }
.topic-art--chip,.topic-art--package,.topic-art--power { background:linear-gradient(145deg,#8ca1b0,#172c3d); border:8px solid #d2dbe1; border-radius:8px; box-shadow:0 8px 16px rgba(10,34,55,.2); }
.topic-art--chip::before,.topic-art--package::before,.topic-art--power::before { content:""; position:absolute; inset:-13px; background:repeating-linear-gradient(90deg,transparent 0 9px,#7d8d99 10px 13px); z-index:-1; }
.topic-art--fab { background:linear-gradient(90deg,#d9e6ef 0 16%,#6b879b 16% 25%,#e9f2f7 25% 48%,#66869d 48% 58%,#dceaf3 58%); box-shadow:inset 0 -16px 0 rgba(23,91,139,.18); }
.topic-art--fab::after { content:"";position:absolute;width:38px;height:14px;border-radius:50%;background:#5e9bc0;left:18px;bottom:12px;box-shadow:0 0 0 4px #cfe0e9; }
.topic-art--light i { width:8px;height:8px;border-radius:50%;background:white;left:33px;top:33px;box-shadow:0 0 8px 5px white,0 0 18px 12px #61ddff,0 0 30px 18px #1674ed; }

/* richer news placeholders */
.news-card:nth-child(1) .news-image { background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,27,55,.25)),repeating-linear-gradient(90deg,#7e9caf 0 16px,#c8d9e3 17px 34px); }
.news-card:nth-child(2) .news-image { background:linear-gradient(125deg,#e9f3f8,#a8c4d5 45%,#4e7088 46%,#dceaf2 70%); }
.news-card:nth-child(3) .news-image { background:repeating-linear-gradient(0deg,rgba(255,255,255,.35) 0 1px,transparent 1px 14px),repeating-linear-gradient(90deg,rgba(255,255,255,.35) 0 1px,transparent 1px 14px),radial-gradient(circle,#76c8e9,#316da5 55%,#172f54); }

@media (max-width: 760px) {
    body { background:#f2f7fb; }
    main { width:100%; }
    .hero {
        position:relative; min-height:560px; margin:0 10px 10px; overflow:hidden;
        display:block; background:linear-gradient(180deg,#eef8ff 0%,#eef8ff 53%,#17476d 100%);
        border-radius:0 0 16px 16px;
    }
    .hero-copy { padding:2.4rem 1.2rem 0; }
    .hero-copy > p { max-width:92%; }
    .hero-facts { display:none; }
    .hero-visual {
        position:absolute; left:0; right:0; bottom:0; height:245px; min-height:0;
        border-radius:0; clip-path:none; background:linear-gradient(150deg,#bfe1f3,#397da8 50%,#0a2947);
    }
    .wafer { width:270px; left:47%; top:53%; }
    .fab-head { width:95px;height:45px;right:7%;top:5%; }
    .fab-head::after { width:15px;height:58px;left:40px;top:30px; }
    .fab-head i { width:10px;height:10px;margin:8px 2px; }
    .hero blockquote { display:none; }
    .panel { margin:10px; }
    .content-grid { gap:0; }
    .bottom-grid { gap:0; }
    .swipe-hint { display:block; }
    .process-scroll { margin-right:-1.25rem; padding-right:1.25rem; scroll-snap-type:x proximity; }
    .process-list { grid-template-columns:repeat(10,112px); min-width:1120px; }
    .process-list li { scroll-snap-align:start; }
    .process-icon { width:70px;height:64px; }
    .topic-grid { gap:10px; }
    .topic-card { grid-template-columns:1fr 90px; align-items:center; padding:1rem 1.1rem; }
    .topic-art { width:68px;height:68px; }
    .news-grid { gap:1.5rem; }
    .news-card { padding-bottom:1rem; border-bottom:1px solid var(--line); }
    .news-card:last-child { border-bottom:0; }
    .news-image { height:155px; }
    .article-row { grid-template-columns:78px 1fr; }
    .article-thumb { height:58px; }
    .bottom-grid .panel { margin-bottom:10px; }
}


/* =========================================================
   V3 – Mobile-first visual hierarchy
   ========================================================= */
@media (max-width: 760px) {
    body {
        font-size: 17px;
        line-height: 1.58;
    }

    h1 {
        font-size: clamp(2.75rem, 13vw, 4rem);
        line-height: .94;
        letter-spacing: -.06em;
        margin-bottom: 1.15rem;
    }

    h2 {
        font-size: 1.65rem;
        line-height: 1.08;
        margin: .35rem 0 .55rem;
    }

    h3 { font-size: 1.05rem; }
    .eyebrow { font-size: .72rem; }

    .site-header {
        padding: 0 16px;
    }

    .hero {
        min-height: 650px;
    }

    .hero-copy {
        padding: 2.7rem 1.35rem 0;
    }

    .hero-copy > p {
        font-size: 1rem;
        line-height: 1.55;
        max-width: 100%;
        margin-bottom: 1.3rem;
    }

    .button {
        font-size: .95rem;
        padding: .9rem 1.1rem;
    }

    .hero-visual {
        height: 285px;
    }

    .wafer {
        width: 315px;
        left: 46%;
        top: 54%;
    }

    .panel {
        padding: 1.4rem;
    }

    .section-head {
        margin-bottom: 1.25rem;
    }

    .section-head p {
        font-size: .93rem;
        line-height: 1.45;
    }

    .section-head > a,
    .text-link {
        font-size: .88rem;
    }

    /* Process: deliberately show a little over two cards */
    .swipe-hint {
        display: flex;
        justify-content: space-between;
        font-size: .78rem;
        margin-bottom: .8rem;
    }

    .process-scroll {
        margin-left: -.25rem;
    }

    .process-list {
        grid-template-columns: repeat(10, 145px);
        min-width: 1450px;
        gap: 8px;
    }

    .process-list li:not(:last-child)::after {
        display: none;
    }

    .process-list a {
        min-height: 164px;
        align-content: start;
        padding: .8rem .55rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: linear-gradient(145deg,#fff,#f4f9fd);
    }

    .process-icon {
        width: 86px;
        height: 72px;
        margin-bottom: .55rem;
    }

    .process-list strong {
        font-size: .9rem;
    }

    .process-list small {
        font-size: .75rem;
        line-height: 1.3;
    }

    /* Topics */
    .topic-card {
        min-height: 132px;
        grid-template-columns: 1fr 94px;
        padding: 1.1rem 1.15rem;
    }

    .topic-card h3 {
        font-size: 1.08rem;
        margin-bottom: .4rem;
    }

    .topic-card p {
        font-size: .84rem;
        line-height: 1.4;
    }

    .topic-art {
        width: 76px;
        height: 76px;
    }

    /* News */
    .news-image {
        height: 205px;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .news-meta {
        font-size: .73rem;
        margin-bottom: .35rem;
    }

    .news-card h3 {
        font-size: 1.2rem;
        line-height: 1.25;
        margin: .35rem 0 .55rem;
    }

    .news-card p {
        font-size: .92rem;
        line-height: 1.52;
    }

    .news-card {
        padding-bottom: 1.5rem;
    }

    /* Editorial article cards */
    .article-list {
        gap: .35rem;
    }

    .article-row {
        grid-template-columns: 112px 1fr;
        gap: 1rem;
        padding: 1rem 0;
        align-items: center;
    }

    .article-thumb {
        height: 84px;
        border-radius: 9px;
        background:
            linear-gradient(135deg,rgba(255,255,255,.35),transparent),
            linear-gradient(145deg,#d7e6ef,#6f8fa5);
    }

    .article-row strong {
        font-size: .98rem;
        line-height: 1.28;
    }

    .article-row small {
        font-size: .77rem;
        line-height: 1.4;
        margin-top: .35rem;
    }

    /* Technology timeline becomes a proper horizontal feature */
    .nodes {
        padding-bottom: 1.7rem;
    }

    .nodes .section-head {
        min-width: 0;
    }

    .timeline {
        width: max-content;
        min-width: 760px;
        justify-content: flex-start;
        gap: 54px;
        padding: .5rem 1.2rem .3rem .4rem;
        margin-top: 1.5rem;
    }

    .timeline::before {
        left: 10px;
        right: 35px;
    }

    .timeline div {
        min-width: 62px;
        font-size: .76rem;
    }

    .timeline i {
        width: 14px;
        height: 14px;
    }

    .timeline strong {
        font-size: .82rem;
    }

    /* Statistics becomes a visual anchor */
    .stats {
        padding-top: 1.65rem;
        padding-bottom: 1.7rem;
    }

    .stats h2 {
        margin-bottom: 1rem;
    }

    .big-number {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1;
        overflow-wrap: anywhere;
        margin: 1.1rem 0 .65rem;
    }

    .stats p {
        font-size: .92rem;
        max-width: 28rem;
    }

    /* Popular links intentionally quieter */
    .popular > a {
        font-size: .9rem;
        padding: .72rem 0;
    }

    .site-footer {
        font-size: .76rem;
        padding-top: 2.2rem;
    }
}

/* Very narrow phones */
@media (max-width: 390px) {
    h1 { font-size: 2.65rem; }
    .hero { min-height: 625px; }
    .hero-copy { padding-left: 1.15rem; padding-right: 1.15rem; }
    .hero-visual { height: 270px; }
    .wafer { width: 285px; }
    .panel { padding: 1.2rem; }
    .process-list { grid-template-columns: repeat(10, 138px); min-width: 1380px; }
    .article-row { grid-template-columns: 96px 1fr; }
    .article-thumb { height: 74px; }
}


/* =========================================================
   V4 – approved mobile visual direction
   ========================================================= */
@media (max-width: 760px) {
    body { font-size:16px; background:#f3f8fc; }

    .site-header {
        height:64px;
        background:#fff;
        box-shadow:0 1px 8px rgba(9,35,77,.06);
    }
    .main-nav { top:64px; }

    .hero {
        margin:0;
        border-radius:0;
        min-height:500px;
        background:#0b2946;
        color:#fff;
    }
    .hero-copy {
        position:absolute;
        z-index:5;
        inset:0;
        padding:2.1rem 1.3rem 1rem;
        background:linear-gradient(90deg,rgba(4,25,47,.94) 0%,rgba(4,25,47,.78) 47%,rgba(4,25,47,.08) 78%);
        pointer-events:none;
    }
    .hero-copy .button { pointer-events:auto; }
    .hero .eyebrow { color:#d3e8f8; }
    .hero h1 {
        color:#fff;
        font-size:2.8rem;
        max-width:330px;
        margin-top:.5rem;
    }
    .hero-copy > p {
        color:#fff;
        max-width:300px;
        font-size:.94rem;
        text-shadow:0 1px 3px rgba(0,0,0,.25);
    }
    .hero-visual {
        position:absolute;
        inset:0;
        height:100%;
        background:linear-gradient(145deg,#173d5d 0%,#08243e 46%,#061827 100%);
    }
    .hero-visual::after {
        content:"";
        position:absolute;
        inset:0;
        background:radial-gradient(circle at 72% 65%,rgba(44,172,236,.28),transparent 28%);
    }
    .wafer {
        width:390px;
        left:68%;
        top:68%;
        opacity:.98;
    }
    .fab-head {
        width:135px;height:62px;right:5%;top:4%;
    }
    .fab-head::after { width:20px;height:82px;left:58px;top:42px; }
    .hero blockquote { display:none; }

    .panel { border-radius:10px; box-shadow:0 5px 18px rgba(18,61,100,.055); }
    .process-panel { margin-top:10px; }

    /* process cards: image first, compact, carousel-like */
    .process-list {
        grid-template-columns:repeat(10,128px);
        min-width:1280px;
        gap:8px;
    }
    .process-list a {
        min-height:150px;
        padding:.55rem;
        justify-items:start;
        text-align:left;
    }
    .process-icon {
        width:100%;
        height:78px;
        border-radius:8px;
        position:relative;
        overflow:hidden;
        background:#f4f8fb;
    }
    .process-icon > span {
        position:absolute;
        top:6px;left:6px;
        background:#fff;
        color:var(--blue);
        border-radius:5px;
        padding:.12rem .35rem;
        font-size:.72rem;
        box-shadow:0 2px 7px rgba(0,0,0,.08);
    }
    .process-list strong { font-size:.82rem; }
    .process-list small { font-size:.68rem; }

    /* Themenkacheln: auf Tablet/groesseren Smartphones drei Spalten */
    .topic-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:7px;
    }
    .topic-card {
        min-height:128px;
        display:flex;
        flex-direction:column-reverse;
        justify-content:flex-end;
        align-items:center;
        text-align:center;
        padding:.65rem .35rem;
        gap:.45rem;
        border:0;
        background:#f4f9fd;
    }
    .topic-card h3 {
        font-size:.72rem;
        line-height:1.15;
        margin:0;
    }
    .topic-card p { display:none; }
    .topic-art {
        width:58px;
        height:58px;
        flex:0 0 58px;
    }

    /* news as compact media rows */
    .news-grid { gap:8px; }
    .news-card {
        display:grid;
        grid-template-columns:118px 1fr;
        grid-template-rows:auto auto 1fr;
        column-gap:12px;
        padding:0;
        border:1px solid var(--line);
        border-radius:9px;
        overflow:hidden;
        background:#fff;
    }
    .news-image {
        grid-column:1;
        grid-row:1 / 4;
        height:100%;
        min-height:105px;
        margin:0;
        border-radius:0;
    }
    .news-meta {
        grid-column:2;
        grid-row:1;
        margin:.7rem .7rem 0 0;
        font-size:.62rem;
    }
    .news-card h3 {
        grid-column:2;
        grid-row:2;
        font-size:.84rem;
        margin:.2rem .7rem .5rem 0;
        line-height:1.25;
    }
    .news-card p { display:none; }
    .news-card .text-link {
        grid-column:2;
        grid-row:3;
        align-self:end;
        margin:0 .7rem .65rem 0;
        font-size:.68rem;
    }

    /* articles: visual horizontal carousel */
    .article-list {
        display:flex;
        overflow-x:auto;
        gap:8px;
        padding-bottom:.4rem;
        scroll-snap-type:x proximity;
    }
    .article-row {
        flex:0 0 142px;
        display:flex;
        flex-direction:column;
        gap:.5rem;
        padding:0 0 .65rem;
        border:1px solid var(--line);
        border-radius:9px;
        overflow:hidden;
        background:#fff;
        scroll-snap-align:start;
    }
    .article-thumb {
        width:100%;
        height:92px;
        border-radius:0;
    }
    .article-row > span:last-child { padding:0 .6rem; }
    .article-row strong {
        font-size:.72rem;
        line-height:1.2;
    }
    .article-row small {
        display:none;
    }

    /* node section mirrors the approved compact visual strip */
    .timeline {
        min-width:660px;
        gap:32px;
        margin-top:1rem;
        padding-top:.35rem;
    }
    .timeline div { min-width:62px; }
    .timeline i {
        width:42px;
        height:24px;
        border-radius:50%;
        background:
          repeating-linear-gradient(0deg,rgba(255,255,255,.35) 0 1px,transparent 1px 5px),
          repeating-linear-gradient(90deg,rgba(255,255,255,.35) 0 1px,transparent 1px 5px),
          linear-gradient(145deg,#bfe0f3,#517da1);
        box-shadow:none;
    }
    .timeline::before { display:none; }

    .stats {
        position:relative;
        min-height:165px;
        overflow:hidden;
    }
    .stats::after {
        content:"▂▄▆█";
        position:absolute;
        right:1.2rem;
        bottom:1.4rem;
        color:#b8dcf6;
        font-size:2.3rem;
        letter-spacing:.08rem;
    }
    .big-number {
        font-size:2.25rem;
        max-width:75%;
    }

    .popular {
        grid-template-columns:1fr 1fr;
        column-gap:18px;
    }
    .popular .eyebrow,
    .popular h2 { grid-column:1/-1; }
    .popular > a { font-size:.75rem; }

    .site-footer {
        background:#f8fbfd;
        width:100%;
        padding-left:1rem;
        padding-right:1rem;
    }
}

@media (max-width: 420px) {
    .hero { min-height:475px; }
    .hero h1 { font-size:2.55rem; max-width:285px; }
    .hero-copy > p { max-width:260px; font-size:.88rem; }
    .wafer { width:350px; left:69%; top:70%; }

    /* Schmale Smartphones: zwei lesbare Themenkacheln pro Reihe.
       Bei 21 Themen wird die letzte Kachel mittig gesetzt. */
    .topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .topic-card { min-height:116px; }
    .topic-card:last-child:nth-child(odd) {
        grid-column:1 / -1;
        width:calc(50% - 3.5px);
        justify-self:center;
    }
    .topic-art { width:52px;height:52px;flex-basis:52px; }
    .news-card { grid-template-columns:105px 1fr; }
    .article-row { flex-basis:132px; }
}


/* V4.1 – keep mobile News and Article sections inside viewport */
@media (max-width: 760px) {
    #news,
    #artikel {
        min-width: 0;
        max-width: calc(100vw - 20px);
        overflow: hidden;
    }

    #news .section-head,
    #artikel .section-head {
        min-width: 0;
    }

    .news-grid,
    .news-card,
    .news-card h3,
    .news-card p {
        min-width: 0;
        max-width: 100%;
    }

    .news-card {
        width: 100%;
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .news-card h3,
    .news-meta {
        overflow-wrap: anywhere;
    }

    .article-list {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .article-row {
        flex: 0 0 132px;
        min-width: 0;
    }
}


/* =========================================================
   V5 – knowledge area and article templates
   ========================================================= */
.knowledge-main { width:min(var(--max),calc(100% - 36px)); margin:24px auto 0; }
.area-hero {
  position:relative; min-height:280px; border-radius:16px; padding:3.4rem; display:flex; align-items:center;
  justify-content:space-between; overflow:hidden; isolation:isolate;
  background:linear-gradient(120deg,#f8fcff,#e8f4fb 55%,#c9e1f0); margin-bottom:14px;
}
.area-hero__image {
  position:absolute; inset:0; z-index:-1; width:100%; height:100%;
  object-fit:cover; object-position:center;
}
.area-hero__content { position:relative; z-index:1; max-width:min(720px,52%); }
.area-hero h1,.article-header h1 { font-size:clamp(2.8rem,5vw,5.2rem); margin:.35rem 0 .8rem; }
.area-hero p { max-width:700px; font-size:1.05rem; }
.area-symbol { width:150px;height:150px;flex:0 0 150px;margin-right:5%; }
.breadcrumbs { display:flex; gap:.6rem; align-items:center; color:#70849c; font-size:.78rem; padding:.8rem .2rem 1.3rem; }
.breadcrumbs a:hover { color:var(--blue); }

.area-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:28px; align-items:start; }
.area-nav,.chapter-sidebar,.toc-sidebar {
  position:sticky; top:100px; display:grid; background:#fff; border:1px solid var(--line);
  border-radius:12px; padding:1.15rem; box-shadow:var(--shadow);
}
.area-nav a,.chapter-sidebar a,.toc-sidebar a { padding:.55rem .2rem; border-bottom:1px solid #edf2f6; color:#536c88; font-size:.82rem; }
.area-nav a:hover,.chapter-sidebar a:hover,.toc-sidebar a:hover,.chapter-sidebar a.active { color:var(--blue); }
.area-content { background:#fff; border-radius:14px; padding:2.2rem; box-shadow:var(--shadow); }
.lead { font-size:1.08rem; line-height:1.65; max-width:850px; }
.chapter-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:1.7rem; }
.chapter-card { display:grid; grid-template-columns:52px 1fr; gap:1rem; border:1px solid var(--line); border-radius:11px; padding:1.25rem; transition:.2s; }
.chapter-card:hover { border-color:#a9cbea; transform:translateY(-2px); }
.chapter-number { color:#9bb8d1; font-size:1.45rem; font-weight:900; }
.chapter-card h3 { margin:.1rem 0 .4rem; }
.chapter-card p { font-size:.82rem; margin-bottom:.7rem; }
.chapter-link { color:var(--blue); font-size:.76rem; font-weight:750; }

.article-layout { display:grid; grid-template-columns:210px minmax(0,820px) 190px; gap:28px; justify-content:center; align-items:start; }
.knowledge-article { background:#fff; border-radius:14px; padding:clamp(1.5rem,4vw,3.5rem); box-shadow:var(--shadow); }
.article-header { border-bottom:1px solid var(--line); padding-bottom:1.6rem; margin-bottom:1.8rem; }
.knowledge-article section { margin:2.8rem 0; }
.knowledge-article section h2 { font-size:1.65rem; margin-bottom:.8rem; }
.knowledge-article section p { font-size:1rem; line-height:1.75; color:#405774; }
.key-box { padding:1.25rem 1.4rem; background:#eef7fd; border-left:4px solid var(--blue); border-radius:0 9px 9px 0; }
.key-box p { margin:.4rem 0 0; }
.technical-figure { margin:2rem 0; padding:2rem; background:#f7fafc; border:1px solid var(--line); border-radius:10px; text-align:center; }
.band { padding:1.2rem; border-radius:6px; font-weight:800; }
.conduction { background:#c9e7fa; color:#124e7d; }
.valence { background:#87bde0; color:#092d4b; }
.gap { padding:1.5rem; color:#6d8298; font-weight:700; }
.related { display:grid; gap:.2rem; margin-top:1rem; padding-top:.8rem; }
.learn-next { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:3rem; }
.learn-next a { border:1px solid var(--line); border-radius:9px; padding:1rem; }
.learn-next a:last-child { text-align:right; }
.learn-next small,.learn-next strong { display:block; }
.learn-next small { color:#71869d; margin-bottom:.25rem; }

@media(max-width:1050px) {
  .article-layout { grid-template-columns:190px minmax(0,1fr); }
  .toc-sidebar { display:none; }
}
@media(max-width:760px) {
  .knowledge-main { width:100%; margin-top:0; }
  .area-hero { border-radius:0; min-height:235px; padding:2rem 1.3rem; }
  .area-hero__image { object-position:center; }
  .area-hero__content { max-width:62%; }
  .area-hero h1,.article-header h1 { font-size:2.65rem; }
  .area-hero h1 {
    text-shadow:0 0 3px rgba(255,255,255,.95), 0 0 11px rgba(255,255,255,.8);
  }
  .area-hero .eyebrow {
    color:#173b60;
    opacity:1;
    text-shadow:0 0 2px #fff, 0 0 8px rgba(255,255,255,.9);
  }
  .area-hero p { font-size:.92rem; }
  .area-symbol { width:90px;height:90px;flex-basis:90px;margin:0; }
  .breadcrumbs { padding:.8rem 1rem; overflow-x:auto; white-space:nowrap; }
  .area-layout,.article-layout { display:block; }
  .area-nav,.chapter-sidebar { position:static; margin:0 10px 10px; display:flex; overflow-x:auto; gap:.3rem; padding:.65rem; }
  .area-nav .eyebrow,.chapter-sidebar .eyebrow { display:none; }
  .area-nav a,.chapter-sidebar a { flex:0 0 auto; border:1px solid var(--line); border-radius:999px; padding:.45rem .75rem; font-size:.75rem; }
  .area-content,.knowledge-article { margin:0 10px 10px; padding:1.35rem; border-radius:10px; }
  .chapter-grid { grid-template-columns:1fr; }
  .chapter-card { grid-template-columns:42px 1fr; padding:1rem; }
  .knowledge-article section { margin:2.2rem 0; }
  .knowledge-article section p { font-size:.96rem; line-height:1.7; }
  .technical-figure { padding:1.2rem; }
  .learn-next { grid-template-columns:1fr; }
  .learn-next a:last-child { text-align:left; }
}
/* Kapitel-V7: reine Darstellungs-Schicht. Keine Inhalts-/DB-Logik. */
.hl-neu-kapitel {
  --hl-blue:#075fae;
  --hl-ink:#15324d;
  --hl-muted:#60778d;
  --hl-line:#dfe8ef;
  --hl-soft:#f5f8fa;
  color:var(--hl-ink);
}
.hl-neu-kapitel #breadcrumbs {
  margin:18px 0 8px;
  font-family:inherit;
  font-size:.82rem;
  letter-spacing:normal;
  text-transform:none;
  color:var(--hl-muted);
}
.hl-neu-kapitel #breadcrumbs a { color:var(--hl-blue); }

/* Breadcrumb-Icon und Trenner sauber auf eine optische Grundlinie bringen */
.real-area-overview .breadcrumb-home,
.hl-neu-kapitel #breadcrumbs .breadcrumb-home {
  display:inline-flex;
  align-items:center;
  line-height:1;
}

.real-area-overview .breadcrumb-home svg,
.hl-neu-kapitel #breadcrumbs .breadcrumb-home svg {
  display:block;
}

.real-area-overview .breadcrumbs > span {
  display:inline-flex;
  align-items:center;
  line-height:1;
  transform:translateY(-1px);
}

.hl-neu-kapitel #breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem;
  padding:0;
  list-style:none;
}

.hl-neu-kapitel #breadcrumbs li {
  display:flex;
  align-items:center;
  gap:.45rem;
  margin:0;
  padding:0;
  list-style:none;
}

.hl-neu-kapitel #tools { margin:0 0 22px; }
.hl-neu-kapitel #top-toca {
  margin:0 0 28px; padding:18px 22px; list-style:none;
  background:var(--hl-soft); border:1px solid var(--hl-line); border-radius:12px;
  columns:2; column-gap:32px;
}
.hl-neu-kapitel #top-toca li { break-inside:avoid; margin:.38rem 0; }
.hl-neu-kapitel #top-toca a { color:#496984; font-size:.88rem; line-height:1.45; }
.hl-neu-kapitel .entry {
  margin:0 0 22px; padding:28px 30px 30px;
  background:#fff; border:1px solid var(--hl-line); border-radius:14px;
  box-shadow:0 8px 28px rgba(23,55,82,.055);
}
.hl-neu-kapitel .entry-header { margin:0 0 18px; padding:0 0 14px; border-bottom:1px solid var(--hl-line); }
.hl-neu-kapitel .entry-title { margin:0; color:var(--hl-ink); font-size:clamp(1.35rem,2.3vw,1.8rem); line-height:1.22; }
.hl-neu-kapitel .entry-title a { color:inherit; text-decoration:none; }
.hl-neu-kapitel .entry-title span { color:#9ab3c8; font-weight:700; }
.hl-neu-kapitel .entry-content { font-size:1rem; line-height:1.75; color:#38536b; }
.hl-neu-kapitel .entry-content p { margin:0 0 1.1em; }
.hl-neu-kapitel .entry-content h3,
.hl-neu-kapitel .entry-content h4 { color:var(--hl-ink); margin:1.8em 0 .65em; }
.hl-neu-kapitel .entry-content img { max-width:100%; height:auto; }
.hl-neu-kapitel .entry-content .center { max-width:100%; overflow-x:auto; }
.hl-neu-kapitel .suche_markierung { margin:0 0 20px; padding:12px 16px; border-radius:10px; background:#fff8dc; }
.hl-neu-kapitel details.faq-item > summary { cursor:pointer; }
.hl-neu-kapitel #fussleiste { margin-top:26px; border-top:1px solid var(--hl-line); padding-top:18px; }
.hl-neu-kapitel #fussleiste .weiter a { color:var(--hl-blue); font-weight:700; }
.hl-neu-kapitel .widget_toc { margin-top:22px; padding:20px 24px; border:1px solid var(--hl-line); border-radius:12px; background:var(--hl-soft); }

@media (max-width: 760px) {
  .hl-neu-kapitel #breadcrumbs { margin:12px 10px 7px; }
  .hl-neu-kapitel #tools { margin-left:10px; margin-right:10px; }
  .hl-neu-kapitel #top-toca {
    margin:0 10px 14px; padding:10px; columns:auto; display:flex; gap:7px;
    overflow-x:auto; scrollbar-width:thin; background:#fff;
  }
  .hl-neu-kapitel #top-toca li { flex:0 0 auto; margin:0; }
  .hl-neu-kapitel #top-toca a {
    display:block; padding:7px 11px; border:1px solid var(--hl-line);
    border-radius:999px; white-space:nowrap; font-size:.76rem;
  }
  .hl-neu-kapitel .entry { margin:0 10px 12px; padding:20px 18px 22px; border-radius:11px; }
  .hl-neu-kapitel .entry-title { font-size:1.35rem; }
  .hl-neu-kapitel .entry-content { font-size:.97rem; line-height:1.7; }
  .hl-neu-kapitel #fussleiste,
  .hl-neu-kapitel .widget_toc,
  .hl-neu-kapitel .suche_markierung { margin-left:10px; margin-right:10px; }
}

/* ========================================================================== 
   V5 Clean – Phase 2: Bereichsübersicht + Kapitel
   ========================================================================== */

/* Bereichsaktionen -------------------------------------------------------- */
.real-area-overview .area-tools {
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:0 0 1.25rem;
}
.real-area-overview .area-tool {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.56rem .9rem;
  border:1px solid #cfddea;
  border-radius:999px;
  background:#fff;
  color:#34516f;
  font-size:.78rem;
  font-weight:700;
  line-height:1;
  box-shadow:0 4px 14px rgba(20,61,101,.04);
  transition:border-color .16s, color .16s, background .16s, transform .16s;
}
.real-area-overview .area-tool:hover,
.real-area-overview .area-tool:focus-visible {
  color:#0867d8;
  border-color:#9bc4ea;
  background:#f8fcff;
  transform:translateY(-1px);
}
.real-area-overview .area-tool__icon {
  width:17px;
  height:17px;
  margin-right:.48rem;
  flex:0 0 17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.82;
}
.real-area-overview .area-tool > span {
  display:inline-block;
}

/* Bereich: Einstieg ins erste Kapitel ------------------------------------ */
.real-area-overview .area-next {
  margin:1.35rem 0 .25rem;
}
.real-area-overview .area-next a {
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:.7rem;
  width:100%;
  padding:1rem 1.15rem;
  border:1px solid #d7e4ef;
  border-radius:11px;
  background:linear-gradient(135deg,#f8fcff,#eef7fd);
  color:#15324d;
  box-shadow:0 8px 22px rgba(23,55,82,.045);
}
.real-area-overview .area-next a:hover { border-color:#a7cae8; }
.real-area-overview .area-next span {
  color:#70849e;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.real-area-overview .area-next strong { font-size:.95rem; }
.real-area-overview .area-next b {
  color:#0867d8;
  font-size:1.25rem;
  font-weight:600;
}

/* Kapitel: klare Abstände und Trenner ------------------------------------ */
.hl-neu-kapitel {
  max-width:1180px;
  margin:0 auto;
}
.hl-neu-kapitel article.entry {
  margin-bottom:34px;
  overflow:visible;
}
.hl-neu-kapitel article.entry:not(:last-of-type)::after {
  content:"" !important;
  position:absolute;
  left:0;
  right:0;
  bottom:-18px;
  width:auto;
  height:1px;
  background:linear-gradient(90deg,#e8a33d 0 56px,#dfe8ef 56px 100%);
}
.hl-neu-kapitel article.entry:last-of-type::after { content:none!important; }

/* Kapitel-Fußnavigation --------------------------------------------------- */
.hl-neu-kapitel #fussleiste {
  display:flex;
  align-items:stretch;
  gap:.75rem;
  list-style:none;
  margin:1.8rem 0 1rem;
  padding:1.15rem 0 0;
  border-top:1px solid #dfe8ef;
}
.hl-neu-kapitel #fussleiste li { margin:0; padding:0; list-style:none; }
.hl-neu-kapitel #fussleiste li::before { content:none!important; }
.hl-neu-kapitel #fussleiste .weiter { margin-left:auto; }
.hl-neu-kapitel #fussleiste .weiter a {
  display:flex;
  align-items:center;
  gap:.45rem;
  min-height:44px;
  padding:.72rem 1rem;
  border:1px solid #0867d8;
  border-radius:9px;
  background:#0867d8;
  color:#fff!important;
  font-weight:700;
  line-height:1.25;
  box-shadow:0 7px 18px rgba(8,103,216,.16);
}
.hl-neu-kapitel #fussleiste .weiter a:hover { background:#005bbf; border-color:#005bbf; }
.hl-neu-kapitel #fussleiste .weiter a *,
.hl-neu-kapitel #fussleiste .weiter_text,
.hl-neu-kapitel #fussleiste .chapter-next-arrow { color:#fff!important; }
.hl-neu-kapitel .chapter-next-arrow { font-size:1.15rem; }

.hl-neu-kapitel .chapter-toc-toggle,
.hl-neu-kapitel .chapter-section-toggle {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:.58rem;
  padding:.7rem .9rem;
  border:1px solid #cfddea;
  border-radius:9px;
  background:#fff;
  color:#48637d;
  font:700 .82rem/1 Roboto,system-ui,sans-serif;
  cursor:pointer;
}
.hl-neu-kapitel .chapter-toc-toggle:hover,
.hl-neu-kapitel .chapter-toc-toggle:focus-visible,
.hl-neu-kapitel .chapter-section-toggle:hover,
.hl-neu-kapitel .chapter-section-toggle:focus-visible { color:#0867d8; border-color:#9fc7e9; }
.hl-neu-kapitel .chapter-toc-icon {
  width:18px;
  height:16px;
  display:grid;
  align-content:space-between;
  flex:0 0 18px;
}
.hl-neu-kapitel .chapter-toc-icon i {
  position:relative;
  display:block;
  height:2px;
  margin-left:6px;
  border-radius:2px;
  background:currentColor;
}
.hl-neu-kapitel .chapter-toc-icon i::before {
  content:"";
  position:absolute;
  left:-6px;
  top:-1px;
  width:4px;
  height:4px;
  border-radius:1px;
  background:currentColor;
}

/* Das alte Baum-TOC wird als moderne Kapitelliste dargestellt. */
.hl-neu-kapitel .chapter-footer-toc[hidden] { display:none!important; }
.hl-neu-kapitel .chapter-footer-toc {
  margin:0 0 1.6rem;
  padding:1.1rem;
  border:1px solid #dce7f0;
  border-radius:11px;
  background:#f7fafc;
}
.hl-neu-kapitel .chapter-footer-toc h2 {
  margin:0 0 .8rem;
  font-size:.9rem;
  color:#15324d;
}
.hl-neu-kapitel .chapter-footer-toc h2::before { content:none!important; }
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.45rem;
  margin:0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list li {
  margin:0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list li::before { content:none!important; }
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list a {
  display:block;
  height:100%;
  padding:.66rem .75rem;
  border:1px solid #e2ebf2;
  border-radius:7px;
  background:#fff;
  color:#48637d;
  font-size:.8rem;
  line-height:1.35;
}
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list a:hover { color:#0867d8; border-color:#b9d5ec; }
.hl-neu-kapitel #fuss_toc .chapter-footer-toc__list a.is-current {
  color:#0867d8;
  border-color:#9fc7e9;
  background:#edf7ff;
  font-weight:700;
}

@media (max-width:760px) {
  .real-area-overview .area-tools { margin:0 10px 1rem; }
  .real-area-overview .area-tool { min-height:36px; font-size:.74rem; }
  .real-area-overview .area-next { margin:1rem 0 0; }
  .real-area-overview .area-next a { grid-template-columns:1fr auto; gap:.25rem .65rem; }
  .real-area-overview .area-next span { grid-column:1/-1; }

  .hl-neu-kapitel article.entry { margin-bottom:26px; }
  .hl-neu-kapitel article.entry:not(:last-of-type)::after { bottom:-13px; }
  .hl-neu-kapitel #fussleiste { margin-left:10px; margin-right:10px; flex-direction:column; }
  .hl-neu-kapitel #fussleiste .weiter { margin-left:0; }
  .hl-neu-kapitel #fussleiste .weiter a,
  .hl-neu-kapitel .chapter-toc-toggle,
.hl-neu-kapitel .chapter-section-toggle { width:100%; justify-content:center; }
  .hl-neu-kapitel .chapter-footer-toc { margin-left:10px; margin-right:10px; padding:.8rem; }
  .hl-neu-kapitel #fuss_toc .chapter-footer-toc__list { grid-template-columns:1fr; }
}

/* ========================================================================== 
   V5 Clean – gleiche Sprach-/PDF-Icons in Bereich und Kapitel
   ========================================================================== */
.hl-neu-kapitel #tools li.chapter-tool--language > a::before,
.hl-neu-kapitel #tools li.chapter-tool--pdf > a::before {
  content:none !important;
  display:none !important;
}
.hl-neu-kapitel #tools .chapter-tool__icon {
  width:17px;
  height:17px;
  flex:0 0 17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.82;
}

/* ========================================================================== 
   V5 Clean – Phase 3: Aktuelles / News
   Nur Darstellung; Datenlogik und Filter bleiben in /inf/aktuelles.php.
   ========================================================================== */
.v5-news {
  width:min(1080px,calc(100% - 36px));
  margin:26px auto 44px;
  color:#18324c;
}
.v5-news > #breadcrumbs.info {
  display:block;
  margin:0 0 12px;
  padding:0;
  border:0;
  background:transparent;
  border-radius:0;
  list-style:none;
  color:#6f8498;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.v5-news > #breadcrumbs.info::before,
.v5-news > #breadcrumbs.info::after,
.v5-news > #breadcrumbs.info li::before { content:none!important; }
.v5-news .aktuelles-seitentitel {
  margin:0 0 .7rem;
  color:#0d2a4e;
  font-size:clamp(2.2rem,5vw,4.6rem);
  line-height:.98;
  letter-spacing:-.035em;
}
.v5-news .aktuelles-intro {
  max-width:760px;
  margin:0 0 1.7rem;
  color:#526a82;
  font-size:1rem;
  line-height:1.7;
}
.v5-news .aktuelles-rss {
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  margin-left:.7rem;
  color:#45647f;
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.v5-news .aktuelles-rss:hover { color:#0867d8; }
.v5-news .aktuelles-rss-icon {
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}

/* Filter --------------------------------------------------------------- */
.v5-news .aktuelles-filter {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
  margin:0 0 1rem;
  padding:1rem;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#f7fafc;
}
.v5-news .aktuelles-filter label {
  display:grid;
  gap:.38rem;
  margin:0;
}
.v5-news .aktuelles-filter label > span {
  color:#6e8295;
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.v5-news .aktuelles-filter select {
  width:100%;
  min-height:44px;
  margin:0;
  padding:.65rem 2.2rem .65rem .8rem;
  border:1px solid #cfdce7;
  border-radius:9px;
  background:#fff;
  color:#243f59;
  font:600 .84rem/1.25 Roboto,system-ui,sans-serif;
}
.v5-news .aktuelles-filter select:focus {
  outline:2px solid rgba(8,103,216,.15);
  outline-offset:1px;
  border-color:#8dbce5;
}
.v5-news .aktuelles-sortierung {
  margin:.2rem 0 1.5rem;
  color:#7a8ea1;
  font-size:.78rem;
}
.v5-news .aktuelles-sortierung a {
  color:#4d6880;
  text-decoration:none;
}
.v5-news .aktuelles-sortierung a:hover { color:#0867d8; }
.v5-news .aktuelles-sortierung a.aktiv {
  color:#12314d;
  font-weight:800;
}
.v5-news .aktuelles-hinweis {
  margin:0 0 1rem;
  padding:.8rem 1rem;
  border:1px solid #efd7ac;
  border-left:4px solid #e8a33d;
  border-radius:0 9px 9px 0;
  background:#fff9ed;
  color:#73511d;
  font-size:.85rem;
}

/* Übersicht ------------------------------------------------------------ */
.v5-news .aktuelles-liste {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  max-width:none;
}
.v5-news .aktuelles-eintrag {
  min-width:0;
  margin:0;
  padding:1.25rem 1.3rem 1.2rem;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 24px rgba(23,55,82,.045);
  transition:border-color .16s,transform .16s,box-shadow .16s;
}
.v5-news .aktuelles-eintrag:hover {
  border-color:#b9d3e9;
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(23,55,82,.07);
}
.v5-news .aktuelles-datum {
  margin:0 0 .55rem;
  color:#7a8da0;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.035em;
}
.v5-news .aktuelles-kategorie {
  display:inline-block;
  margin-left:.45rem;
}
.v5-news .aktuelles-kategorie a {
  display:inline-flex;
  padding:.18rem .48rem;
  border-radius:999px;
  background:#edf6fd;
  color:#21649d;
  font-size:.68rem;
  font-weight:800;
  text-decoration:none;
}
.v5-news .aktuelles-kategorie a:hover { background:#ddecf8; color:#0b5ea5; }
.v5-news .aktuelles-titel-mit-quelle {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  align-items:start;
  gap:.72rem;
  margin:0 0 .65rem;
  color:#15324d;
  font-size:1.12rem;
  line-height:1.28;
}
.v5-news .aktuelles-titel-mit-quelle a {
  color:inherit;
  text-decoration:none;
}
.v5-news .aktuelles-titel-mit-quelle a:hover { color:#0867d8; }
.v5-news .aktuelles-quellen-icon {
  width:28px;
  height:28px;
  margin:.02rem 0 0;
  padding:4px;
  border:1px solid #e1e9f0;
  border-radius:7px;
  background:#fff;
  object-fit:contain;
}
.v5-news .aktuelles-eintrag > p:not(.aktuelles-datum):not(.aktuelles-weiter) {
  margin:.2rem 0 .9rem 2.99rem;
  color:#526a82;
  font-size:.88rem;
  line-height:1.6;
}
.v5-news .aktuelles-weiter {
  margin:.75rem 0 0 2.99rem;
  font-size:.78rem;
}
.v5-news .aktuelles-weiter > a {
  color:#0867d8;
  font-weight:800;
  text-decoration:none;
}
.v5-news .aktuelles-bezug-inline {
  color:#8a9aa8;
}
.v5-news .aktuelles-bezug-inline a {
  color:#5c748a;
  text-decoration:none;
}
.v5-news .aktuelles-bezug-inline a:hover { color:#0867d8; }

/* Newsbild rechts oben in der jeweiligen Kachel.
   Nur die News-Uebersicht ist betroffen, nicht die Startseite oder Einzelansicht. */
.v5-news .aktuelles-eintrag {
    display: flow-root; /* Bild bleibt innerhalb der Kachel */
}
.v5-news .aktuelles-eintrag .aktuelles-kachelbild {
    display: block;
    float: right;
    width: clamp(112px, 32%, 170px);
    aspect-ratio: 16 / 9;
    margin: 0 0 .75rem .9rem;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid #e1e9f0;
    background: #edf1f2;
}
.v5-news .aktuelles-eintrag .aktuelles-kachelbild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}
.v5-news .aktuelles-eintrag .aktuelles-kachelbild:hover img {
    transform: scale(1.035);
}
@media (max-width: 420px) {
    .v5-news .aktuelles-eintrag .aktuelles-kachelbild {
        width: 36%;
        min-width: 98px;
        margin-left: .7rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .v5-news .aktuelles-eintrag .aktuelles-kachelbild img { transition: none; }
}

/* Pagination ----------------------------------------------------------- */
.v5-news .aktuelles-blaettern {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.42rem;
  margin:1.5rem 0 0;
  padding:1.2rem 0 0;
  border-top:1px solid #dfe8ef;
}
.v5-news .aktuelles-seite {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  padding:.45rem .7rem;
  border:1px solid #d1dee8;
  border-radius:8px;
  background:#fff;
  color:#4f687e;
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
}
.v5-news a.aktuelles-seite:hover { color:#0867d8; border-color:#9dc6e8; }
.v5-news .aktuelles-seite.aktiv {
  background:#0867d8;
  border-color:#0867d8;
  color:#fff;
}
.v5-news .aktuelles-seiteninfo {
  margin-left:auto;
  color:#7a8ea1;
  font-size:.74rem;
}

/* Einzelbeitrag -------------------------------------------------------- */
.v5-news .aktuelles-post {
  max-width:860px;
  margin:0 auto;
  padding:clamp(1.4rem,4vw,3rem);
  border:1px solid #dce7f0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 30px rgba(23,55,82,.055);
}
.v5-news .aktuelles-post > .entry-title {
  grid-template-columns:34px minmax(0,1fr);
  gap:.85rem;
  margin:0 0 .7rem;
  font-size:clamp(1.8rem,4.6vw,3.25rem);
  line-height:1.07;
  letter-spacing:-.025em;
}
.v5-news .aktuelles-post .aktuelles-quellen-icon {
  width:34px;
  height:34px;
  padding:5px;
  border-radius:8px;
}
.v5-news .aktuelles-post > .aktuelles-datum {
  margin:0 0 1.4rem 3.83rem;
}
.v5-news .aktuelles-post #tools {
  margin:0 0 1.5rem 3.83rem;
}
.v5-news .aktuelles-post .entry-content {
  color:#38536b;
  font-size:1rem;
  line-height:1.76;
}
.v5-news .aktuelles-post .entry-content > :first-child { margin-top:0; }
.v5-news .aktuelles-post .entry-content p { margin:0 0 1.08em; }
.v5-news .aktuelles-post .entry-content h2,
.v5-news .aktuelles-post .entry-content h3 {
  color:#15324d;
  line-height:1.2;
  margin:1.8em 0 .65em;
}
.v5-news .aktuelles-post .entry-content img { max-width:100%; height:auto; }
.v5-news .aktuelles-quelle {
  margin:1.7rem 0 0;
  padding-top:1rem;
  border-top:1px solid #e1e9ef;
  color:#75899c;
  font-size:.76rem;
}
.v5-news .aktuelles-quelle a {
  color:#4d6a83;
  text-decoration:none;
  border-bottom:1px solid #c8d7e3;
}
.v5-news .aktuelles-bezug {
  margin:1rem 0 0;
  padding:.9rem 1rem;
  border:1px solid #dbe8f2;
  border-left:4px solid #6eb6e7;
  border-radius:0 9px 9px 0;
  background:#f3f9fd;
}
.v5-news .aktuelles-bezug a {
  color:#234a6d;
  font-weight:800;
  text-decoration:none;
}
/* Einzelnews: vorherige und nächste Meldung. */
.v5-news .aktuelles-nachbarn {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:900px;
  margin:1rem auto 0;
}
.v5-news .aktuelles-nachbarn__link {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.45rem;
  min-width:0;
  padding:1rem 1.1rem;
  border:1px solid #dce7f0;
  border-radius:11px;
  background:#fff;
  color:#15324d;
  box-shadow:0 6px 20px rgba(23,55,82,.045);
  text-decoration:none;
  transition:border-color .16s,box-shadow .16s;
}
.v5-news .aktuelles-nachbarn__link:hover {
  border-color:#9fc7e9;
  box-shadow:0 8px 24px rgba(23,55,82,.085);
}
.v5-news .aktuelles-nachbarn__link:focus-visible {
  outline:2px solid #0867d8;
  outline-offset:3px;
}
.v5-news .aktuelles-nachbarn__link--weiter {
  grid-column:2;
  align-items:flex-end;
  text-align:right;
}
.v5-news .aktuelles-nachbarn__richtung {
  color:#0867d8;
  font-size:.78rem;
  font-weight:800;
}
.v5-news .aktuelles-nachbarn__titel {
  min-width:0;
  font-size:.9rem;
  font-weight:700;
  line-height:1.4;
  overflow-wrap:break-word;
}
@media (max-width:760px) {
  .v5-news .aktuelles-nachbarn {
    grid-template-columns:minmax(0,1fr);
    gap:9px;
  }
  .v5-news .aktuelles-nachbarn__link--weiter {
    grid-column:1;
  }
}

.v5-news .aktuelles-zurueck {
  max-width:860px;
  margin:1rem auto 0;
}
.v5-news .aktuelles-zurueck a {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.5rem .8rem;
  border:1px solid #d4e1eb;
  border-radius:8px;
  background:#fff;
  color:#4e687f;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.v5-news .aktuelles-zurueck a:hover { color:#0867d8; border-color:#9fc7e9; }

@media (max-width:760px) {
  .v5-news { width:calc(100% - 20px); margin-top:16px; }
  .v5-news .aktuelles-seitentitel { font-size:2.55rem; }
  .v5-news .aktuelles-intro { font-size:.94rem; }
  .v5-news .aktuelles-rss { margin-left:.4rem; }
  .v5-news .aktuelles-filter { grid-template-columns:1fr; padding:.8rem; }
  .v5-news .aktuelles-liste { grid-template-columns:1fr; gap:10px; }
  .v5-news .aktuelles-eintrag { padding:1.05rem; }
  .v5-news .aktuelles-titel-mit-quelle { grid-template-columns:25px minmax(0,1fr); gap:.62rem; }
  .v5-news .aktuelles-quellen-icon { width:25px; height:25px; padding:3px; }
  .v5-news .aktuelles-eintrag > p:not(.aktuelles-datum):not(.aktuelles-weiter),
  .v5-news .aktuelles-weiter { margin-left:2.32rem; }
  .v5-news .aktuelles-seiteninfo { width:100%; margin:.35rem 0 0; }
  .v5-news .aktuelles-post { padding:1.25rem 1.05rem; border-radius:11px; }
  /* Einzelnews: auf Smartphones kompakter wie bei klassischen Newsportalen. */
  .v5-news .aktuelles-post > .entry-title {
    grid-template-columns:26px minmax(0,1fr);
    gap:.6rem;
    font-size:1.55rem;
    line-height:1.18;
    letter-spacing:-.02em;
  }
  .v5-news .aktuelles-post .aktuelles-quellen-icon {
    width:26px;
    height:26px;
    padding:3px;
  }
  .v5-news .aktuelles-post .entry-content {
    font-size:.96rem;
    line-height:1.7;
  }
  .v5-news .aktuelles-post > .aktuelles-datum,
  .v5-news .aktuelles-post #tools { margin-left:0; }
}

/* ========================================================================== 
   V5 News – compact pagination
   --------------------------------------------------------------------------
   Explicit flex sizing prevents legacy/global link rules from stretching
   every page number across the full content width.
   ========================================================================== */
.v5-news nav.aktuelles-blaettern {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-start;
  gap:.45rem !important;
}
.v5-news nav.aktuelles-blaettern > .aktuelles-seite {
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:40px;
  min-height:40px;
  margin:0 !important;
  padding:.48rem .72rem !important;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.v5-news nav.aktuelles-blaettern > .aktuelles-seiteninfo {
  flex:0 0 auto;
  width:auto;
  margin-left:auto;
  white-space:nowrap;
}

@media (max-width:760px) {
  .v5-news nav.aktuelles-blaettern {
    justify-content:center;
  }
  .v5-news nav.aktuelles-blaettern > .aktuelles-seiteninfo {
    flex:0 0 100%;
    width:100%;
    margin:.45rem 0 0;
    text-align:center;
    white-space:normal;
  }
}

/* ========================================================================== 
   V5 Clean – Phase 4: Artikel
   ========================================================================== */

@font-face {
  font-family:"Pagella";
  src:url('/fonts/texgyrepagella/texgyrepagella-regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face {
  font-family:"Pagella";
  src:url('/fonts/texgyrepagella/texgyrepagella-italic.woff2') format('woff2');
  font-weight:400;
  font-style:italic;
  font-display:swap;
}
@font-face {
  font-family:"Pagella";
  src:url('/fonts/texgyrepagella/texgyrepagella-bold.woff2') format('woff2');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

.v5-articles {
  width:min(1180px,calc(100% - 36px));
  margin:2rem auto 3rem;
}
.articles-header {
  margin:0 0 1.4rem;
  padding:2rem 2.2rem;
  border:1px solid #dce8f2;
  border-radius:15px;
  background:linear-gradient(120deg,#eff8ff,#e0f0fb 58%,#c7e2f3);
  box-shadow:0 12px 34px rgba(19,61,105,.06);
}
.articles-eyebrow {
  margin:0 0 .45rem;
  color:#66839e;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.articles-header h1 {
  margin:0;
  color:#09234d;
  font-size:clamp(2.4rem,5vw,4.6rem);
  line-height:1;
  letter-spacing:-.04em;
}
.articles-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.article-overview-card {
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #dce7f0;
  border-radius:13px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,59,96,.06);
  transition:transform .16s,border-color .16s,box-shadow .16s;
}
.article-overview-card:hover {
  transform:translateY(-2px);
  border-color:#b6d4ea;
  box-shadow:0 15px 34px rgba(20,59,96,.09);
}
.article-overview-card__image {
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#edf5fa;
}
.article-overview-card__image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.article-overview-card__body {
  display:flex;
  flex:1;
  flex-direction:column;
  padding:1.2rem 1.25rem 1.3rem;
}
.article-overview-card__date {
  margin:0 0 .55rem;
  color:#7b8fa3;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
}
.article-overview-card h2 {
  margin:0 0 .65rem;
  font-size:1.18rem;
  line-height:1.25;
}
.article-overview-card h2 a { color:#15324d; text-decoration:none; }
.article-overview-card h2 a:hover { color:#0867d8; }
.article-overview-card__teaser {
  margin:0 0 1rem;
  color:#536d84;
  font-size:.88rem;
  line-height:1.55;
}
.article-overview-card__more {
  margin-top:auto;
  color:#0867d8;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.article-overview-card--text .article-overview-card__body { min-height:245px; }

.article-breadcrumb {
  display:flex;
  align-items:center;
  gap:.45rem;
  max-width:900px;
  margin:0 auto .75rem;
  color:#7c90a3;
  font-size:.72rem;
  overflow:hidden;
  white-space:nowrap;
}
.article-breadcrumb a { color:#4d6980; text-decoration:none; }
.article-breadcrumb a:hover { color:#0867d8; }
.article-breadcrumb span:last-child {
  overflow:hidden;
  text-overflow:ellipsis;
}
.article-reading-card {
  max-width:900px;
  margin:0 auto;
  padding:clamp(1.5rem,4vw,3.2rem);
  border:1px solid #dbe6ef;
  border-radius:15px;
  background:#fff;
  box-shadow:0 12px 34px rgba(20,59,96,.07);
  color:#122d47;
}
.article-reading-header {
  padding-bottom:1.35rem;
  margin-bottom:1.5rem;
  border-bottom:1px solid #e2eaf1;
}
.article-reading-card h1 {
  margin:.1rem 0 .55rem;
  color:#09234d;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(1.8rem,4.6vw,3.25rem);
  line-height:1.07;
  letter-spacing:-.025em;
}
.article-reading-card .artikel-datum {
  margin:0;
  color:#71879b;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.74rem;
  letter-spacing:.04em;
}
.artikel-text {
  font-family:"Pagella","Palatino Linotype","Times New Roman",Georgia,serif;
  font-size:1.16rem;
  line-height:1.78;
}
.artikel-lead {
  margin:0 0 2rem;
}
.artikel-lead__text {
  margin:0 0 1.2rem;
  color:#3f5b73;
  font-family:Roboto,Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:1.08rem;
  line-height:1.62;
}
.artikel-body > :first-child { margin-top:0; }
.artikel-body p { margin:0 0 1.25em; }
.artikel-body h2 {
  clear:both;
  margin:1.9em 0 .6em;
  color:#15324d;
  font-family:"Pagella",Georgia,serif;
  font-size:1.55rem;
  line-height:1.25;
}
.artikel-body h3 {
  margin:1.55em 0 .55em;
  color:#24455f;
  font-size:1.18rem;
}
.artikel-body img { max-width:100%; height:auto; }
.artikel-body a { color:#0867d8; text-decoration:underline; text-underline-offset:3px; }
.article-back-link {
  max-width:900px;
  margin:1rem auto 0;
}
.article-back-link a {
  display:inline-flex;
  min-height:38px;
  align-items:center;
  padding:.5rem .8rem;
  border:1px solid #d4e1eb;
  border-radius:8px;
  background:#fff;
  color:#4e687f;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}
.article-back-link a:hover { color:#0867d8; border-color:#9fc7e9; }

/* Pioniere: bestehende Bildklassen werden im neuen Artikel-Layout erhalten. */
.artikel-text h2 .pio-jahre {
  color:#71879b;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.65em;
  font-weight:400;
}
.artikel-text .pionier-portrait {
  margin:1rem auto 1.6rem;
  text-align:center;
}
.artikel-text .pionier-portrait img {
  display:block;
  width:auto;
  max-width:100%;
  max-height:420px;
  margin:0 auto;
  border-radius:8px;
}
@media (min-width:768px) {
  .artikel-text .pionier-portrait.rechts {
    float:right;
    width:240px;
    margin:.2rem 0 1.3rem 2rem;
  }
  .artikel-text .pionier-portrait.links {
    float:left;
    width:240px;
    margin:.2rem 2rem 1.3rem 0;
  }
  .artikel-text .pionier-portrait.rechts img,
  .artikel-text .pionier-portrait.links img { width:100%; max-height:none; }
  .artikel-text .pionier-portrait.gruppe {
    float:none;
    clear:both;
    width:100%;
    margin:1rem auto 1.6rem;
  }
  .artikel-text .pionier-portrait.gruppe img {
    width:auto;
    max-width:100%;
    max-height:480px;
  }
  .artikel-text h2 { clear:both; }
}

/* Artikelbanner und CSS-Lightbox. */
.artikel-teaserbild {
  display:block;
  clear:both;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:1.4rem 0 0;
  padding:0;
  overflow:hidden;
  border:1px solid #dce7ef;
  border-radius:11px;
  background:#f7fafc;
}
.artikel-teaserbild img {
  display:block;
  width:100%;
  height:auto;
  margin:0;
  border:0;
  cursor:zoom-in;
}
.artikel-lightbox {
  position:fixed;
  z-index:99999;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:2rem;
  background:rgba(5,18,32,.9);
}
.artikel-lightbox:target { display:flex; }
.artikel-lightbox-schliessen { position:absolute; inset:0; cursor:zoom-out; }
.artikel-lightbox-inhalt {
  position:relative;
  z-index:1;
  max-width:96vw;
  max-height:94vh;
}
.artikel-lightbox-inhalt img {
  display:block;
  width:auto;
  height:auto;
  max-width:96vw;
  max-height:94vh;
  object-fit:contain;
}
.artikel-lightbox-x {
  position:absolute;
  top:-1.1rem;
  right:-1.1rem;
  display:flex;
  width:2.5rem;
  height:2.5rem;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:#222;
  font:400 2rem/1 sans-serif;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,.4);
}

@media (max-width:980px) {
  .articles-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .v5-articles { width:calc(100% - 20px); margin-top:16px; }
  .articles-header { padding:1.45rem 1.25rem; border-radius:11px; }
  .articles-header h1 { font-size:2.7rem; }
  .articles-grid { grid-template-columns:1fr; gap:10px; }
  .article-overview-card { display:grid; grid-template-columns:110px minmax(0,1fr); }
  .article-overview-card--text { display:block; }
  .article-overview-card__image { aspect-ratio:auto; min-height:100%; }
  .article-overview-card__body { padding:1rem; }
  .article-overview-card h2 { font-size:1.04rem; }
  .article-overview-card__teaser { font-size:.84rem; }
  .article-overview-card--text .article-overview-card__body { min-height:0; }
  .article-reading-card { padding:1.35rem 1.1rem; border-radius:11px; }
  .article-reading-card h1 { font-size:1.55rem; line-height:1.18; letter-spacing:-.02em; }
  .artikel-text { font-size:1.08rem; line-height:1.72; }
  .artikel-lead__text { font-size:1rem; }
  .artikel-body h2 { font-size:1.4rem; }
  .artikel-text .pionier-portrait,
  .artikel-text .pionier-portrait.rechts,
  .artikel-text .pionier-portrait.links,
  .artikel-text .pionier-portrait.gruppe {
    float:none;
    clear:both;
    width:100%;
    margin:.8rem auto 1.4rem;
  }
  .artikel-text .pionier-portrait img {
    width:auto;
    max-width:100%;
    max-height:380px;
    margin:0 auto;
  }
  .artikel-teaserbild { max-width:100%; margin:1rem 0 0; }
  .artikel-lightbox { padding:.5rem; }
  .artikel-lightbox-inhalt { max-width:98vw; max-height:96vh; }
  .artikel-lightbox-inhalt img { max-width:98vw; max-height:96vh; }
  .artikel-lightbox-x { top:.5rem; right:.5rem; }
}


/* =========================================================
   V5 Clean – Technologie / Technology
   ========================================================= */
.v5-tech {
  width:min(1220px, calc(100% - 36px));
  margin:24px auto 72px;
}
.tech-header {
  padding:clamp(2rem,5vw,4.6rem) clamp(1.4rem,4vw,3.8rem);
  margin-bottom:18px;
  overflow:hidden;
  border:1px solid #dce9f3;
  border-radius:14px;
  background:
    radial-gradient(circle at 82% 20%, rgba(84,177,232,.24), transparent 28%),
    linear-gradient(135deg,#f8fcff 0%,#dff1fb 62%,#c7e6f7 100%);
  box-shadow:0 12px 35px rgba(19,61,105,.055);
}
.tech-header h1 {
  margin:.15rem 0 .75rem;
  color:#09234d;
  font-size:clamp(3rem,7vw,5.9rem);
  line-height:.95;
  letter-spacing:-.055em;
}
.tech-header > p:last-child {
  max-width:680px;
  margin:0;
  color:#58728b;
  font-size:1.05rem;
}

.tech-scale-card,
.tech-reading-card {
  border:1px solid #dce7ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 35px rgba(19,61,105,.055);
}
.tech-scale-card {
  padding:1.6rem 1.7rem 1.2rem;
  margin-bottom:18px;
}
.tech-scale-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1.5rem;
  margin-bottom:1.15rem;
}
.tech-scale-head h2 {
  margin:.1rem 0 0;
  color:#173b60;
  font-size:1.45rem;
  letter-spacing:-.02em;
}
.tech-scale-head h2 span { color:#70a1c4; font-weight:500; }
.tech-selected {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  min-height:36px;
  padding:.45rem .75rem;
  border:1px solid #cfe0ed;
  border-radius:999px;
  color:#647b90;
  background:#f7fbfe;
  font-size:.76rem;
  white-space:nowrap;
}
.tech-selected strong { color:#0867d8; }

.v5-tech .nodes-neu-scroll {
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding:.25rem 0 .45rem;
}
.v5-tech .nodes-neu-scale {
  display:flex;
  align-items:stretch;
  gap:3px;
  min-width:max(100%, 1080px);
  height:205px;
  padding:8px 4px 0;
  border-bottom:1px solid #d6e3ec;
}
.v5-tech .nn-tick {
  position:relative;
  display:grid;
  grid-template-rows:1fr auto;
  align-items:end;
  justify-items:center;
  flex:1 0 38px;
  min-width:38px;
  height:100%;
  padding:0 2px 7px;
  color:#657c91;
  text-decoration:none;
}
.v5-tech .nn-tick:hover { color:#0867d8; }
.v5-tech .nn-bar {
  display:block;
  align-self:end;
  width:min(22px,72%);
  min-height:8px;
  border-radius:4px 4px 1px 1px;
  background:linear-gradient(180deg,#85c7ee,#2d79b7);
  box-shadow:inset 0 0 0 1px rgba(9,64,111,.08);
  transition:transform .16s ease, background .16s ease;
}
.v5-tech .nn-tick:hover .nn-bar { transform:translateY(-2px); }
.v5-tech .nn-tick.aktiv .nn-bar {
  background:linear-gradient(180deg,#1d7fe5,#075cb9);
  box-shadow:0 0 0 4px rgba(8,103,216,.11);
}
.v5-tech .nn-num {
  display:block;
  max-width:54px;
  margin-top:7px;
  overflow:hidden;
  color:inherit;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.62rem;
  line-height:1.15;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v5-tech .nn-tick.aktiv .nn-num { color:#0867d8; font-weight:800; }

.tech-reading-card {
  max-width:900px;
  margin:0 auto;
  padding:clamp(1.35rem,4vw,3rem);
}
.tech-reading-head {
  margin-bottom:1.6rem;
  padding-bottom:1.3rem;
  border-bottom:1px solid #e1eaf1;
}
.tech-node-kicker {
  margin:0 0 .45rem;
  color:#6c8499;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tech-reading-card .entry-title {
  margin:0;
  color:#102f50;
  font-family:Roboto,Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.tech-body {
  color:#18364f;
  font-family:"Pagella","Palatino Linotype","Times New Roman",Georgia,serif;
  font-size:1.12rem;
  line-height:1.76;
}
.tech-body > :first-child { margin-top:0; }
.tech-body p { margin:0 0 1.2em; color:#29465d; }
.tech-body h2,
.tech-body h3 {
  color:#183b5a;
  font-family:"Pagella",Georgia,serif;
}
.tech-body h2 { margin:1.8em 0 .55em; font-size:1.5rem; }
.tech-body h3 { margin:1.5em 0 .5em; font-size:1.2rem; }
.tech-body ul,
.tech-body ol { padding-left:1.35rem; }
.tech-body img { max-width:100%; height:auto; }
.tech-body a { color:#0867d8; text-decoration:underline; text-underline-offset:3px; }

.tech-node-nav {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  max-width:900px;
  margin:14px auto 0;
}
.tech-node-nav__item {
  display:flex;
  align-items:center;
  gap:.8rem;
  min-height:66px;
  padding:.8rem 1rem;
  border:1px solid #d6e3ed;
  border-radius:10px;
  background:#fff;
  color:#49657d;
  text-decoration:none;
}
.tech-node-nav__item:hover {
  border-color:#9fc8e7;
  color:#0867d8;
}
.tech-node-nav__item small {
  display:block;
  margin-bottom:.12rem;
  color:#8495a5;
  font-size:.66rem;
}
.tech-node-nav__item strong {
  display:block;
  color:inherit;
  font-size:.92rem;
}
.tech-node-nav__arrow {
  color:#0867d8;
  font-size:1.35rem;
  line-height:1;
}
.tech-node-nav__item--top {
  justify-content:center;
  min-width:150px;
}
.tech-node-nav__item--next { justify-content:flex-end; text-align:right; }

@media (max-width:760px) {
  .v5-tech { width:calc(100% - 20px); margin-top:16px; }
  .tech-header { padding:2rem 1.25rem; border-radius:11px; }
  .tech-header h1 { font-size:3.15rem; }
  .tech-header > p:last-child { font-size:.94rem; }
  .tech-scale-card { padding:1.25rem .85rem .9rem; border-radius:11px; }
  .tech-scale-head { display:block; }
  .tech-selected { margin-top:.85rem; }
  .v5-tech .nodes-neu-scale {
    min-width:980px;
    height:185px;
  }
  .v5-tech .nn-tick { flex-basis:36px; min-width:36px; }
  .tech-reading-card { padding:1.4rem 1.1rem; border-radius:11px; }
  .tech-reading-card .entry-title { font-size:2rem; }
  .tech-body { font-size:1.05rem; line-height:1.72; }
  .tech-node-nav { grid-template-columns:1fr 1fr; }
  .tech-node-nav__item--top {
    grid-column:1/-1;
    grid-row:2;
    min-width:0;
  }
  .tech-node-nav__item { min-width:0; padding:.75rem .8rem; }
  .tech-node-nav__item strong { font-size:.84rem; }
}

/* =========================================================
   V5 Clean – Startseite/Technologie Feinschliff 2
   ========================================================= */

/* Startseite: V5-Panel bleibt fest, nur die Knotenleiste scrollt. */
.home-tech-panel {
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.home-tech-panel .section-head {
  min-width:0;
}
.home-tech-panel .section-head p {
  max-width:34rem;
}
.home-tech-scroll {
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  padding:.35rem 0 .55rem;
}
.home-tech-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:102px;
  gap:10px;
  width:max-content;
  min-width:max-content;
  padding:.1rem .15rem .2rem;
}
.home-tech-node {
  display:grid;
  grid-template-rows:62px auto;
  place-items:center;
  min-height:104px;
  padding:.7rem .55rem .62rem;
  border:1px solid var(--line);
  border-radius:10px;
  background:linear-gradient(180deg,#fbfdff,#f1f7fb);
  color:#526b83;
  text-decoration:none;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease;
}
.home-tech-node:hover {
  transform:translateY(-2px);
  border-color:#a5cbe5;
  box-shadow:0 7px 18px rgba(20,70,110,.08);
  color:var(--blue-2);
  text-decoration:none;
}
.home-tech-node strong {
  font-size:.77rem;
  line-height:1.15;
  white-space:nowrap;
}
.home-tech-chip {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
}
.home-tech-chip i {
  display:block;
  width:var(--home-chip);
  height:var(--home-chip);
  min-width:20px;
  min-height:20px;
  max-width:50px;
  max-height:50px;
  border:1px solid rgba(20,91,145,.2);
  border-radius:7px;
  background:
    linear-gradient(90deg,transparent 47%,rgba(255,255,255,.62) 48% 52%,transparent 53%),
    linear-gradient(0deg,transparent 47%,rgba(255,255,255,.62) 48% 52%,transparent 53%),
    linear-gradient(145deg,#a8dcf4,#3b8ac5);
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.18),0 4px 10px rgba(35,99,146,.12);
}

/* Technologieseite: kompaktere, aber weiterhin exakt gleichmäßige Spalten. */
.v5-tech .nodes-neu-scroll {
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.v5-tech .nodes-neu-scale {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:50px;
  column-gap:6px;
  align-items:stretch;
  width:max-content;
  min-width:max-content;
  height:205px;
  padding:8px 10px 0;
  border-bottom:1px solid #d6e3ec;
}
.v5-tech .nn-tick {
  display:grid;
  grid-template-rows:1fr auto;
  align-items:end;
  justify-items:center;
  width:50px;
  min-width:50px;
  height:100%;
  padding:0 0 7px;
}
.v5-tech .nn-bar {
  width:20px;
  max-width:20px;
}
.v5-tech .nn-num {
  max-width:50px;
  overflow:visible;
  text-overflow:clip;
}

/* Lesekarte: echter Innenabstand statt Text direkt am Rand. */
.v5-tech article.tech-reading-card {
  overflow:hidden;
  padding:0 !important;
  border-bottom:1px solid #dce7ef;
}
.v5-tech .tech-reading-head {
  margin:0;
  padding:2rem 2.4rem 1.45rem;
}
.v5-tech .tech-body {
  padding:2rem 2.4rem 2.4rem;
}
.v5-tech .tech-body > p,
.v5-tech .tech-body > ul,
.v5-tech .tech-body > ol,
.v5-tech .tech-body > blockquote {
  max-width:72ch;
}

@media (max-width:760px) {
  .home-tech-panel {
    overflow:hidden;
  }
  .home-tech-scroll {
    padding-right:0;
    scroll-padding-inline:0;
  }
  .home-tech-track {
    grid-auto-columns:100px;
    gap:9px;
    padding-right:.8rem;
  }
  .home-tech-node {
    min-height:108px;
  }

  .v5-tech .nodes-neu-scale {
    grid-auto-columns:44px;
    column-gap:4px;
    height:185px;
    padding-left:8px;
    padding-right:8px;
  }
  .v5-tech .nn-tick {
    width:44px;
    min-width:44px;
  }
  .v5-tech .nn-bar {
    width:18px;
    max-width:18px;
  }
  .v5-tech .nn-num {
    max-width:44px;
    font-size:.58rem;
  }

  .v5-tech .tech-reading-head {
    padding:1.35rem 1.45rem 1.15rem;
  }
  .v5-tech .tech-body {
    padding:1.4rem 1.45rem 1.8rem;
    font-size:1.02rem;
    line-height:1.72;
  }
}

/* =========================================================
   Technologieknoten – Touch-/Hover-Zustand bereinigt
   ========================================================= */

/* Android/Chrome zeichnet sonst beim Antippen die komplette Linkfläche
   als farbigen Block. Der Knoten soll optisch nur aus Balken + Label
   bestehen. */
.v5-tech a.nn-tick {
  -webkit-tap-highlight-color: transparent;
}

/* Balken unabhängig von älteren .nn-tick-Regeln exakt zentrieren. */
.v5-tech a.nn-tick .nn-bar {
  justify-self:center;
  margin-inline:auto;
}

/* Alte globale Hover-Regeln färben Balken amber und Text weiß.
   Für die neue V5-Technologieskala bleiben Hover und Fokus blau. */
@media (hover:hover) and (pointer:fine) {
  .v5-tech a.nn-tick:hover .nn-bar {
    background:linear-gradient(180deg,#85c7ee,#2d79b7);
    transform:translateY(-2px);
  }
  .v5-tech a.nn-tick:hover .nn-num {
    color:#0867d8;
  }
}

/* Auf Touch-Geräten darf ein nach dem Tippen hängenbleibender :hover-
   Zustand weder weißen Text noch einen amberfarbenen Balken erzeugen. */
@media (hover:none), (pointer:coarse) {
  .v5-tech a.nn-tick:hover .nn-bar,
  .v5-tech a.nn-tick:active .nn-bar {
    background:linear-gradient(180deg,#85c7ee,#2d79b7);
    transform:none;
  }
  .v5-tech a.nn-tick:hover .nn-num,
  .v5-tech a.nn-tick:active .nn-num {
    color:#657c91;
  }
}

/* Der aktuell ausgewählte Knoten bleibt in jedem Eingabemodus klar blau. */
.v5-tech a.nn-tick.aktiv .nn-bar,
.v5-tech a.nn-tick.aktiv:hover .nn-bar,
.v5-tech a.nn-tick.aktiv:active .nn-bar {
  background:linear-gradient(180deg,#1d7fe5,#075cb9);
  box-shadow:0 0 0 3px rgba(8,103,216,.09);
}
.v5-tech a.nn-tick.aktiv .nn-num,
.v5-tech a.nn-tick.aktiv:hover .nn-num,
.v5-tech a.nn-tick.aktiv:active .nn-num {
  color:#0867d8;
  font-weight:800;
}

/* Tastaturfokus bleibt sichtbar, ohne die ganze Spalte zu füllen. */
.v5-tech a.nn-tick:focus-visible {
  outline:2px solid rgba(8,103,216,.55);
  outline-offset:2px;
  border-radius:6px;
}

/* =========================================================
   Technologieknoten – garantiert gleichmäßige Abstände
   =========================================================
   Flex statt Grid: jeder Link belegt exakt dieselbe feste Spalte.
   Damit können weder unterschiedlich lange Labels noch alte
   Inhaltsbreiten die Abstände zwischen den Balken beeinflussen. */
.v5-tech .nodes-neu-scale {
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:4px !important;
  width:max-content !important;
  min-width:max-content !important;
}

.v5-tech a.nn-tick {
  flex:0 0 50px !important;
  width:50px !important;
  min-width:50px !important;
  max-width:50px !important;
  box-sizing:border-box !important;
}

.v5-tech a.nn-tick .nn-bar {
  display:block;
  align-self:center;
  margin-left:auto !important;
  margin-right:auto !important;
}

.v5-tech a.nn-tick .nn-num {
  display:block;
  width:50px !important;
  max-width:50px !important;
  text-align:center !important;
}

@media (max-width:760px) {
  .v5-tech .nodes-neu-scale {
    gap:3px !important;
  }

  .v5-tech a.nn-tick {
    flex-basis:44px !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
  }

  .v5-tech a.nn-tick .nn-num {
    width:44px !important;
    max-width:44px !important;
  }
}

/* =========================================================
   Technologieknoten – Balken wieder an der Grundlinie
   =========================================================
   Die feste Spaltenbreite bleibt erhalten. Nur die vertikale
   Ausrichtung des Balkens wird innerhalb der oberen Grid-Zeile
   wieder nach unten gesetzt. */
.v5-tech a.nn-tick .nn-bar {
  align-self:end !important;
  justify-self:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}


/* =========================================================
   V5 Clean – Statistiken / Charts
   =========================================================
   Rein optische Migration der bestehenden Charts-Seite.
   Die Chart.js-Initialisierung und #container bleiben unangetastet.
   :has(#chart_form) begrenzt alle Regeln auf die Statistikseite. */

#main:has(#chart_form) {
  float:none !important;
  width:min(1180px, calc(100% - 40px)) !important;
  max-width:1180px !important;
  margin:28px auto 64px !important;
}

#main:has(#chart_form) > #breadcrumbs.info {
  display:block !important;
  margin:0 0 20px !important;
  padding:clamp(28px,5vw,54px) !important;
  list-style:none !important;
  border:1px solid #d8e6ef !important;
  border-radius:16px !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(29,127,229,.12), transparent 30%),
    linear-gradient(135deg,#f9fcff 0%,#e7f5fd 100%) !important;
  box-shadow:0 12px 34px rgba(18,60,101,.05) !important;
}

#main:has(#chart_form) > #breadcrumbs.info li {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  color:#0d2f56 !important;
  font-family:Roboto,Inter,ui-sans-serif,system-ui,sans-serif !important;
  font-size:clamp(2.25rem,6vw,4.6rem) !important;
  font-weight:800 !important;
  line-height:1 !important;
  letter-spacing:-.045em !important;
}

#main:has(#chart_form) > #breadcrumbs.info li::before,
#main:has(#chart_form) > #breadcrumbs.info li::after {
  display:none !important;
  content:none !important;
}

#main:has(#chart_form) > #tools {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:0 0 20px !important;
  padding:0 !important;
  list-style:none !important;
}

#main:has(#chart_form) > #tools li {
  margin:0 !important;
  padding:0 !important;
}

#main:has(#chart_form) > #tools a {
  display:inline-flex !important;
  align-items:center !important;
  min-height:42px !important;
  padding:.62rem 1rem !important;
  border:1px solid #d2e0ea !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#49657d !important;
  font-size:.86rem !important;
  font-weight:500 !important;
  text-decoration:none !important;
  box-shadow:0 4px 15px rgba(18,60,101,.035) !important;
}

#main:has(#chart_form) > #tools a:hover {
  border-color:#9fc8e7 !important;
  color:#0867d8 !important;
}

article.entry:has(#chart_form) {
  margin:0 !important;
  padding:clamp(20px,3.2vw,38px) !important;
  border:1px solid #d8e5ee !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 14px 38px rgba(18,60,101,.055) !important;
}

article.entry:has(#chart_form) .entry-header {
  margin:0 0 26px !important;
  padding:0 0 22px !important;
  border-bottom:1px solid #e2ebf1 !important;
}

#chart_form {
  width:100%;
  max-width:560px;
  margin:0;
}

#chart_form::before {
  content:"Datensatz";
  display:block;
  margin:0 0 8px;
  color:#6e879c;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

html[lang="en"] #chart_form::before { content:"Dataset"; }

#chart_form select {
  width:100% !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 46px 0 16px !important;
  border:1px solid #cfdde7 !important;
  border-radius:10px !important;
  background-color:#f9fcfe !important;
  color:#173a5c !important;
  font:600 .98rem/1.3 Roboto,Inter,ui-sans-serif,system-ui,sans-serif !important;
  box-shadow:none !important;
}

#chart_form select:focus {
  outline:3px solid rgba(8,103,216,.13) !important;
  outline-offset:1px !important;
  border-color:#79b3df !important;
}

article.entry:has(#chart_form) .entry-content {
  color:#29465d !important;
  font-family:Roboto,Inter,ui-sans-serif,system-ui,sans-serif !important;
  font-size:1rem !important;
  line-height:1.68 !important;
}

article.entry:has(#chart_form) .entry-content > p {
  max-width:820px !important;
}

article.entry:has(#chart_form) .entry-content > p:first-child {
  margin:0 0 22px !important;
  color:#536f86 !important;
  font-size:1.04rem !important;
}

/* Die Chart.js-Fläche selbst. Die Höhe gehört an den vorhandenen
   Container, damit maintainAspectRatio:false weiterhin korrekt wirkt. */
#main:has(#chart_form) #container {
  position:relative !important;
  width:100% !important;
  height:500px !important;
  min-height:500px !important;
  margin:0 0 28px !important;
  padding:18px 16px 12px !important;
  overflow:hidden !important;
  border:1px solid #d8e4ed !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5), 0 8px 24px rgba(18,60,101,.035) !important;
}

#main:has(#chart_form) #container canvas {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
}

#main:has(#chart_form) #quelle {
  max-width:820px !important;
  margin:.35rem 0 1.7rem !important;
  padding:0 !important;
  list-style:none !important;
}

#main:has(#chart_form) #quelle li {
  position:relative !important;
  margin:.55rem 0 !important;
  padding-left:1.25rem !important;
  color:#60798d !important;
}

#main:has(#chart_form) #quelle li::before {
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:.72em !important;
  width:6px !important;
  height:6px !important;
  background:#18a7b7 !important;
}

#main:has(#chart_form) #quelle a {
  color:#42677f !important;
  text-decoration:underline !important;
  text-decoration-color:#a9c4d6 !important;
  text-underline-offset:3px !important;
}

article.entry:has(#chart_form) .entry-content > p:last-child {
  max-width:820px !important;
  margin:28px 0 0 !important;
  padding:18px 20px !important;
  border-left:3px solid #e6a33a !important;
  border-radius:0 10px 10px 0 !important;
  background:#fff9ee !important;
  color:#536a7b !important;
}

@media (max-width:760px) {
  #main:has(#chart_form) {
    width:calc(100% - 20px) !important;
    margin:16px auto 44px !important;
  }

  #main:has(#chart_form) > #breadcrumbs.info {
    margin-bottom:14px !important;
    padding:28px 20px !important;
    border-radius:12px !important;
  }

  #main:has(#chart_form) > #breadcrumbs.info li {
    font-size:2.55rem !important;
  }

  #main:has(#chart_form) > #tools {
    margin-bottom:14px !important;
  }

  article.entry:has(#chart_form) {
    padding:18px 14px 20px !important;
    border-radius:12px !important;
  }

  article.entry:has(#chart_form) .entry-header {
    margin-bottom:20px !important;
    padding-bottom:18px !important;
  }

  #chart_form select {
    min-height:50px !important;
    font-size:1rem !important;
  }

  article.entry:has(#chart_form) .entry-content > p:first-child {
    font-size:.96rem !important;
  }

  #main:has(#chart_form) #container {
    height:370px !important;
    min-height:370px !important;
    margin-bottom:22px !important;
    padding:12px 8px 8px !important;
    border-radius:11px !important;
  }

  article.entry:has(#chart_form) .entry-content > p:last-child {
    padding:14px 15px !important;
  }
}

/* Prozessreise: Motive in den quadratischen Quellbildern sitzen optisch
   etwas tief. Nur das Bild leicht anheben; Badge und Kartenlayout bleiben. */
@media (max-width: 760px) {
    .process-icon img {
        transform: translateY(-5%);
    }
}

/* ==========================================================================\n   Startseite: echtes Hero-Bild\n   /assets/images/home/hero/hero-wafer.webp\n   ========================================================================== */
.v7-home .hero {
    position: relative;
    display: block;
    min-height: 505px;
    overflow: hidden;
    isolation: isolate;
    background: #eef7fd;
}

.v7-home .hero-copy {
    position: relative;
    z-index: 3;
    width: min(48%, 680px);
    padding: 4.5rem 1.5rem 2.5rem 2.5rem;
}

.v7-home .hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    clip-path: none;
    background: #dbeef9;
}

.v7-home .hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Helle Verlaufszone fuer den Text – wie im urspruenglichen Entwurf. */
.v7-home .hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(246, 251, 255, .99) 0%,
        rgba(246, 251, 255, .97) 27%,
        rgba(237, 248, 255, .82) 40%,
        rgba(224, 242, 253, .38) 52%,
        rgba(224, 242, 253, 0) 66%
    );
}

.v7-home .hero-visual::after {
    content: none;
}

.v7-home .hero blockquote {
    z-index: 3;
    text-shadow: 2px 2px 2px rgb(0, 0, 0);
}

@media (max-width: 760px) {
    .v7-home .hero {
        min-height: 500px;
        background: #0b2946;
    }

    .v7-home .hero-copy {
        position: absolute;
        inset: 0;
        width: 100%;
        padding: 2.1rem 1.3rem 1rem;
        background: none;
    }

    .v7-home .hero-image {
        object-position: 64% center;
    }

    /* Auf dem Handy dunkler links, damit die weisse Hero-Schrift lesbar bleibt. */
    .v7-home .hero-visual::before {
        background:
            linear-gradient(
                90deg,
                rgba(4, 25, 47, .95) 0%,
                rgba(4, 25, 47, .82) 43%,
                rgba(4, 25, 47, .36) 69%,
                rgba(4, 25, 47, .06) 100%
            ),
            linear-gradient(
                0deg,
                rgba(4, 25, 47, .18) 0%,
                rgba(4, 25, 47, 0) 45%
            );
    }
}


/* =========================================================
   V8 – Startseitenbilder der Wissensbereiche
   Bilder: /assets/images/home/bereiche/NN-deutscher-slug.webp
   ========================================================= */
.topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.topic-card {
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.topic-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex: 0 0 auto;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(167,211,239,.7) 35%, rgba(30,105,171,.9) 72%, #0a315f 100%);
}

.topic-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.topic-card:hover .topic-image img {
    transform: scale(1.025);
}

.topic-copy {
    display: block;
    padding: .9rem 1rem 1rem;
}

.topic-card h3 {
    margin: 0 0 .35rem;
    font-size: .98rem;
    line-height: 1.2;
}

.topic-card p {
    margin: 0;
    font-size: .76rem;
    line-height: 1.42;
}

@media (max-width: 1100px) {
    .topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .topic-card {
        min-height: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Bilder und Titel in jeder Reihe oben ausrichten. */
        align-items: stretch;
        text-align: center;
        gap: 0;
        border: 0;
        background: #f4f9fd;
    }

    .topic-copy {
        padding: .5rem .28rem .6rem;
    }

    .topic-card h3 {
        margin: 0;
        font-size: .72rem;
        line-height: 1.15;
    }

    .topic-card p {
        display: none;
    }
}

@media (max-width: 420px) {
    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 3.5px);
        justify-self: center;
    }

    .topic-card h3 {
        font-size: .78rem;
    }
}

/* Prozessabfolge und Lieferkette – Seitenkopf wie Aktuelles */
#main:has(.special-page) {
  float:none !important;
  width:min(var(--site-max,1480px),calc(100% - 20px)) !important;
  max-width:var(--site-max,1480px) !important;
  min-width:0;
  margin:0 auto !important;
  padding:0 !important;
}
.special-page {
  width:min(1080px,calc(100% - 36px));
  max-width:1080px;
  min-width:0;
  margin:26px auto 64px;
  color:#18324c;
}
.special-page-header { margin:0 0 28px; }
.special-page .special-page-eyebrow {
  margin:0 0 12px;
  padding:0;
  color:#6f8498;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.special-page-header h1 {
  margin:0 0 .7rem !important;
  padding:0 !important;
  color:#0d2a4e !important;
  font-size:clamp(2.2rem,5vw,4.6rem) !important;
  font-weight:800 !important;
  line-height:1.02 !important;
  letter-spacing:-.035em !important;
  border:0 !important;
}
.special-page-header h1::before,
.special-page-header h1::after { content:none !important; }
.special-page .special-page-intro {
  max-width:760px;
  margin:0;
  color:#526a82;
  font-size:1rem;
  line-height:1.7;
}
#lk-app, #lfk-app { min-width:0; margin:0 0 2rem; }
#lk-app .lk-grid, #lfk-app .lfk-grid {
  display:grid;
  grid-template-columns:minmax(230px,280px) minmax(0,1fr);
  gap:16px;
  align-items:start;
}
#lk-app .lk-liste, #lfk-app .lfk-liste { min-width:0; }
#lk-app .lk-phase-gruppe { gap:5px; }
#lk-app .lk-phase-label { color:#6f8498; font-size:.7rem; font-weight:750; }
#lk-app .lk-eintrag, #lfk-app .lfk-eintrag {
  min-height:46px;
  border-radius:9px;
  background:#fff;
  border-top-color:#dce7f2;
  border-right-color:#dce7f2;
  border-bottom-color:#dce7f2;
  box-shadow:0 3px 12px rgba(19,61,105,.035);
}
#lk-app .lk-eintrag:hover, #lfk-app .lfk-eintrag:hover,
#lk-app .lk-eintrag:focus-visible, #lfk-app .lfk-eintrag:focus-visible {
  background:#eff8fe;
  color:#09234d;
}
#lk-app .lk-eintrag.aktiv, #lfk-app .lfk-eintrag.aktiv {
  background:#eaf5fd;
  border-top-color:#a8cde7;
  border-right-color:#a8cde7;
  border-bottom-color:#a8cde7;
}
#lk-app .lk-eintrag:focus-visible, #lfk-app .lfk-eintrag:focus-visible,
#lk-app .lk-mehr:focus-visible, #lfk-app .lfk-firma a:focus-visible {
  outline:2px solid #0867d8;
  outline-offset:2px;
}
#lk-app .lk-titel, #lfk-app .lfk-titel { color:#173b60; font-size:.91rem; line-height:1.3; }
#lk-app .lk-num, #lfk-app .lfk-num { color:#6b879f; }
#lk-app .lk-panel, #lfk-app .lfk-panel {
  position:sticky;
  top:96px;
  min-width:0;
  min-height:260px;
  padding:clamp(1.4rem,3vw,2.3rem);
  border:1px solid #dce7f2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 35px rgba(19,61,105,.07);
  scroll-margin-top:90px;
}
#lk-app .lk-panel h3, #lfk-app .lfk-panel h3 {
  color:#0d2a4e;
  font-size:clamp(1.3rem,2vw,1.7rem);
  line-height:1.2;
}
#lk-app .lk-panel p, #lfk-app .lfk-panel p {
  max-width:68ch;
  color:#405774;
  font-size:1rem;
  line-height:1.7;
}
#lk-app .lk-kurz { color:#61748f; }
#lk-app .lk-mehr { color:#0867d8; font-weight:750; }
#lfk-app .lfk-firmen { gap:9px; }
#lfk-app .lfk-firma a { background:#f3f9fd; border-color:#dce7f2; color:#315775; }
#lfk-app .lfk-firma a:focus-visible .lfk-tooltip { display:block; }
@media (max-width:768px) {
  .special-page { width:calc(100% - 20px); margin:16px auto 48px; }
  .special-page-header { margin-bottom:22px; }
  .special-page-header h1 { font-size:clamp(2.15rem,10vw,3.2rem) !important; }
  .special-page .special-page-intro { font-size:.94rem; }
  #lk-app .lk-grid, #lfk-app .lfk-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  #lk-app .lk-panel, #lfk-app .lfk-panel { position:static; min-height:0; margin-top:0; padding:1.4rem; }
  #lfk-app .lfk-liste::before { display:none; }
}
/* FET- und Bipolar-Evolution: vorhandene Zeitstrahl-Interaktion im V5-Layout */
.v5-transistor .fet-pfade,
.v5-transistor .bip-pfade { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 18px; }
.v5-transistor .fet-pfad-btn,
.v5-transistor .bip-pfad-btn {
  min-height:42px;
  padding:.62rem .95rem;
  border:1px solid #d2e0ea;
  border-radius:999px;
  background:#fff;
  color:#34516f;
  font:700 .83rem/1.2 Roboto,Inter,system-ui,sans-serif;
  box-shadow:0 4px 14px rgba(19,61,105,.04);
}
.v5-transistor .fet-pfad-btn:hover,
.v5-transistor .bip-pfad-btn:hover { border-color:#9fc7e9; background:#f8fcff; color:#0867d8; }
.v5-transistor .fet-pfad-btn.aktiv,
.v5-transistor .bip-pfad-btn.aktiv { background:#0867d8; border-color:#0867d8; color:#fff; }
.v5-transistor .fet-pfad-btn:focus-visible,
.v5-transistor .bip-pfad-btn:focus-visible,
.v5-transistor .fet-eintrag:focus-visible,
.v5-transistor .bip-eintrag:focus-visible { outline:2px solid #0867d8; outline-offset:2px; }
.v5-transistor .fet-grid,
.v5-transistor .bip-grid { display:grid; grid-template-columns:minmax(250px,320px) minmax(0,1fr); gap:16px; align-items:start; }
.v5-transistor .fet-liste,
.v5-transistor .bip-liste { min-width:0; gap:7px; }
.v5-transistor .fet-eintrag,
.v5-transistor .bip-eintrag {
  min-height:48px;
  padding:.72rem .85rem;
  border:1px solid #dce7f2;
  border-left:4px solid #dce7f2;
  border-radius:9px;
  background:#fff;
  color:#173b60;
  font:650 .9rem/1.35 Roboto,Inter,system-ui,sans-serif;
  box-shadow:0 3px 12px rgba(19,61,105,.035);
}
.v5-transistor .fet-eintrag:hover,
.v5-transistor .bip-eintrag:hover { background:#eff8fe; }
.v5-transistor .fet-eintrag.aktiv,
.v5-transistor .bip-eintrag.aktiv { background:#eaf5fd; border-top-color:#a8cde7; border-right-color:#a8cde7; border-bottom-color:#a8cde7; }
.v5-transistor .fet-panel,
.v5-transistor .bip-panel {
  position:sticky;
  top:96px;
  min-width:0;
  min-height:250px;
  padding:clamp(1.4rem,3vw,2.2rem);
  border:1px solid #dce7f2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 12px 35px rgba(19,61,105,.07);
  scroll-margin-top:90px;
}
.v5-transistor .fet-panel h3,
.v5-transistor .bip-panel h3 { color:#0d2a4e; font-size:clamp(1.25rem,2vw,1.65rem); font-weight:750; }
.v5-transistor .fet-panel p,
.v5-transistor .bip-panel p { color:#405774; font-size:1rem; line-height:1.7; }
@media (max-width:768px) {
  .v5-transistor .fet-grid,
  .v5-transistor .bip-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .v5-transistor .fet-panel,
  .v5-transistor .bip-panel { position:static; min-height:0; padding:1.4rem; }
  .v5-transistor .fet-pfad-btn,
  .v5-transistor .bip-pfad-btn { min-height:44px; }
}
/* PDF-Auswahl: eigenständiger Einstieg /download/ und /en/download/. */
.v5-download #dl-form {
  max-width:1080px;
  margin:0;
}
.v5-download .dl-actions {
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin:0 0 1.1rem;
}
.v5-download .dl-btn-sekundaer,
.v5-download .dl-btn-primaer {
  min-height:44px;
  padding:.72rem 1rem;
  border:1px solid #b9d3e8;
  border-radius:9px;
  background:#fff;
  color:#0d477b;
  font:inherit;
  font-weight:700;
  line-height:1.25;
  cursor:pointer;
}
.v5-download .dl-btn-sekundaer:hover,
.v5-download .dl-btn-sekundaer:focus-visible {
  border-color:#0867d8;
  background:#eaf4fc;
}
.v5-download .dl-btn-primaer {
  border-color:#0867d8;
  background:#0867d8;
  color:#fff;
}
.v5-download .dl-btn-primaer:hover:not(:disabled),
.v5-download .dl-btn-primaer:focus-visible {
  background:#0755b1;
}
.v5-download .dl-btn-primaer:disabled {
  opacity:.5;
  cursor:not-allowed;
}
.v5-download .dl-liste {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  align-items:start;
}
.v5-download .dl-bereich {
  min-width:0;
  margin:0;
  padding:1.15rem 1.2rem 1.2rem;
  border:1px solid #dce7ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 24px rgba(13,42,78,.045);
}
.v5-download .dl-bereich legend {
  max-width:100%;
  padding:0 .35rem;
  color:#0d2a4e;
  font-size:1.08rem;
  font-weight:750;
}
.v5-download .dl-bereich label {
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  min-width:0;
  cursor:pointer;
}
.v5-download .dl-bereich label span {
  min-width:0;
  overflow-wrap:anywhere;
}
.v5-download .dl-bereich input[type="checkbox"] {
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:.15em 0 0;
  accent-color:#0867d8;
}
.v5-download .dl-kapitel-liste {
  display:grid;
  gap:.55rem;
  margin:.7rem 0 0;
  padding:0;
  list-style:none;
}
.v5-download .dl-kapitel-liste li {
  margin:0;
  padding:0;
  color:#425b73;
  line-height:1.45;
}
.v5-download .dl-submit-zeile {
  position:static;
  margin:1.3rem 0 0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.v5-download #pdf-download-frame { display:none; }
.v5-download #pdf-loading {
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  align-items:center;
  justify-content:center;
  padding:1rem;
  background:rgba(244,249,253,.96);
}
.v5-download #pdf-loading.aktiv { display:flex; }
.v5-download .pdf-loading-box {
  width:min(100%,430px);
  padding:2rem;
  border:1px solid #dce7ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 60px rgba(13,42,78,.12);
  text-align:center;
}
.v5-download .pdf-progress {
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:#e2eaf1;
}
.v5-download .pdf-progress-bar {
  width:0;
  height:100%;
  border-radius:inherit;
  background:#0867d8;
  transition:width .25s ease;
}
.v5-download .pdf-progress-text {
  margin-top:.7rem;
  color:#0d2a4e;
  font-weight:800;
}
.v5-download .pdf-loading-title {
  margin:1rem 0 .4rem;
  color:#0d2a4e;
  font-size:1.1rem;
  font-weight:750;
}
.v5-download .pdf-loading-hinweis {
  margin:0;
  color:#526a82;
}
.v5-download .dl-fehler {
  max-width:720px;
  margin:1rem auto;
  padding:1rem 1.2rem;
  border:1px solid #dfb7b7;
  border-radius:9px;
  background:#fff5f5;
  color:#85312e;
  line-height:1.5;
}
@media (max-width:760px) {
  .v5-download #dl-form {
    padding-bottom:calc(84px + env(safe-area-inset-bottom));
  }
  .v5-download .dl-liste { grid-template-columns:1fr; gap:.75rem; }
  .v5-download .dl-bereich { padding:1rem; }
  .v5-download .dl-actions > button { flex:1 1 140px; }
  .v5-download .dl-submit-zeile {
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:30;
    box-sizing:border-box;
    width:100%;
    margin:0;
    padding:.7rem 10px max(.7rem,env(safe-area-inset-bottom));
    border-top:1px solid #dce7ef;
    background:rgba(255,255,255,.97);
    box-shadow:0 -6px 18px rgba(13,42,78,.1);
    backdrop-filter:blur(6px);
  }
  .v5-download .dl-submit-zeile > button {
    display:block;
    width:100%;
    max-width:480px;
    margin:0 auto;
  }
}

/* Verweise, KI-Hinweis und Impressum im gemeinsamen Infoseiten-Rahmen. */
.v5-info > #tools {
  display:flex;
  justify-content:flex-end;
  float:none;
  width:auto;
  margin:-.2rem 0 1rem;
  padding:0;
  list-style:none;
}
.v5-info > #tools li {
  float:none;
  margin:0;
  padding:0;
  list-style:none;
}
.v5-info > #tools a {
  color:#0867d8;
  font-size:.9rem;
  font-weight:700;
  text-decoration:none;
}
.v5-info > #tools a:hover { text-decoration:underline; }
.v5-info .v5-info-card {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0 0 1rem;
  padding:clamp(1.25rem,3vw,2.2rem);
  border:1px solid #dce7ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 24px rgba(13,42,78,.045);
  color:#243d55;
}
.v5-info .v5-info-card > .entry-header {
  margin:0 0 1rem;
  padding:0;
  border:0;
  background:transparent;
}
.v5-info .v5-info-card .entry-title {
  margin:0;
  color:#0d2a4e;
  font-size:clamp(1.3rem,2.5vw,1.8rem);
  line-height:1.2;
}
.v5-info .v5-info-card .entry-content {
  max-width:78ch;
  margin:0 auto;
  overflow-wrap:anywhere;
  font-size:1rem;
  line-height:1.7;
}
.v5-info .v5-info-card .entry-content > :first-child { margin-top:0; }
.v5-info .v5-info-card .entry-content p { line-height:1.7; }
.v5-info .v5-info-card .entry-content h2,
.v5-info .v5-info-card .entry-content h3,
.v5-info .v5-info-card .entry-content h4,
.v5-info .v5-info-card .entry-content h5 {
  color:#0d2a4e;
  line-height:1.28;
}
.v5-info .v5-info-card .entry-content a {
  color:#0867d8;
  overflow-wrap:anywhere;
}
.v5-info .v5-info-card .entry-content ul {
  padding-left:1.4rem;
}
.v5-info .v5-info-card .entry-content img {
  max-width:100%;
  height:auto;
}
.v5-references .v5-info-card .entry-content {
  max-width:none;
  margin:0;
}
.v5-references .v5-info-card ul.disc { margin:0; }
.v5-references .v5-info-card li + li { margin-top:.6rem; }
.v5-imprint .v5-info-card .entry-content > header {
  margin:1.5rem 0 .5rem;
  color:#0d2a4e;
  font-weight:750;
}
.v5-imprint .v5-info-card .entry-content h5 a {
  color:inherit;
  text-decoration:none;
}
.v5-imprint .v5-info-card .entry-content h5 a:hover {
  color:#0867d8;
}
@media (max-width:760px) {
  .v5-info .v5-info-card { padding:1.2rem 1.05rem; }
  .v5-imprint .v5-imprint-intro {
    flex-direction:column;
    gap:.7rem !important;
  }
  .v5-imprint .v5-imprint-intro img {
    align-self:flex-start;
  }
}

/* Startseiten-News: thematisches Bild und lokales Quellenlogo. */
#news .news-image {
  position:relative;
  display:block;
  isolation:isolate;
  padding:0;
  background-color:#dceaf5;
}
#news .news-image__photo {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
#news .news-image:hover .news-image__photo {
  transform:scale(1.04);
}
#news .news-image::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(0deg,rgba(4,29,55,.72),transparent 62%);
  pointer-events:none;
}
#news .news-image__source {
  position:absolute;
  z-index:2;
  left:.65rem;
  bottom:.65rem;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  max-width:calc(100% - 1.3rem);
  padding:.25rem .55rem .25rem .25rem;
  border-radius:7px;
  background:rgba(255,255,255,.94);
  box-shadow:0 2px 9px rgba(0,25,50,.2);
}
#news .news-image__source img {
  display:block;
  flex:0 0 24px;
  width:24px;
  height:24px;
  padding:3px;
  border-radius:4px;
  background:#fff;
  object-fit:contain;
}
#news .news-image__source span {
  min-width:0;
  overflow:hidden;
  color:#173b60;
  font-size:.69rem;
  font-weight:750;
  letter-spacing:0;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#news .news-image__note {
  position:absolute;
  z-index:2;
  top:.6rem;
  right:.6rem;
  padding:.17rem .38rem;
  border-radius:4px;
  background:rgba(255,255,255,.84);
  color:#526a82;
  font-size:.58rem;
  font-weight:650;
  letter-spacing:0;
}
@media (max-width:760px) {
  #news .news-image__source {
    left:.45rem;
    bottom:.45rem;
    max-width:calc(100% - .9rem);
    padding:.22rem;
  }
  #news .news-image__source span {
    display:none;
  }
  #news .news-image__note {
    top:.4rem;
    right:.35rem;
    font-size:.5rem;
  }
}

/* Sitemap: Bereichsuebersicht und vollstaendige Kapitelstruktur. */
.v5-sitemap .sitemap-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1.5rem;
  margin-bottom:1.5rem;
}
.v5-sitemap .sitemap-header .aktuelles-intro { margin-bottom:0; }
.v5-sitemap .sitemap-language {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  flex:0 0 auto;
  margin-top:.3rem;
  padding:.55rem .8rem;
  border:1px solid #d4e5f2;
  border-radius:8px;
  background:#fff;
  color:#0867d8;
  font-size:.84rem;
  font-weight:750;
}
.v5-sitemap .sitemap-language:hover,
.v5-sitemap .sitemap-language:focus-visible { background:#eef7fe; border-color:#8cbee9; }
.v5-sitemap .sitemap-overview {
  margin:0 0 1.25rem;
  padding:1.25rem 1.4rem;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#f7fafc;
}
.v5-sitemap .sitemap-overview h2 {
  margin:0 0 .85rem;
  color:#0d2a4e;
  font-size:1.15rem;
}
.v5-sitemap .sitemap-overview ul {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.45rem .8rem;
  margin:0;
  padding:0;
  list-style:none;
}
.v5-sitemap .sitemap-overview li { min-width:0; margin:0; padding:0; }
.v5-sitemap .sitemap-overview a {
  display:block;
  padding:.48rem .65rem;
  border-radius:7px;
  color:#245276;
  font-size:.86rem;
  font-weight:650;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.v5-sitemap .sitemap-overview a:hover,
.v5-sitemap .sitemap-overview a:focus-visible { background:#e6f2fc; color:#0867d8; }
.v5-sitemap .sitemap-areas {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:start;
}
.v5-sitemap .sitemap-area {
  min-width:0;
  padding:1.4rem;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 24px rgba(23,55,82,.045);
  scroll-margin-top:calc(var(--site-header-h, 76px) + 18px);
}
.v5-sitemap .sitemap-area__header { margin:0 0 .65rem; }
.v5-sitemap .sitemap-area__eyebrow {
  display:block;
  margin-bottom:.3rem;
  color:#748aa0;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.1em;
}
.v5-sitemap .sitemap-area h2 {
  margin:0;
  color:#0d2a4e;
  font-size:clamp(1.2rem,2vw,1.55rem);
  line-height:1.2;
}
.v5-sitemap .sitemap-area h2 a { color:inherit; }
.v5-sitemap .sitemap-area h2 a span { color:#0867d8; font-size:.85em; }
.v5-sitemap .sitemap-chapters,
.v5-sitemap .sitemap-sections { margin:0; padding:0; list-style:none; }
.v5-sitemap .sitemap-chapter {
  min-width:0;
  margin:0;
  padding:.85rem 0;
  border-top:1px solid #e7eef4;
}
.v5-sitemap .sitemap-chapter h3 {
  margin:0;
  font-size:.93rem;
  font-weight:750;
  line-height:1.35;
}
.v5-sitemap .sitemap-chapter h3 a { color:#173b60; overflow-wrap:anywhere; }
.v5-sitemap .sitemap-chapter h3 span { color:#4584bd; }
.v5-sitemap .sitemap-sections {
  display:grid;
  gap:.27rem;
  margin:.52rem 0 0 .15rem;
  padding-left:.82rem;
  border-left:2px solid #dcebf7;
}
.v5-sitemap .sitemap-sections li { min-width:0; margin:0; padding:0; }
.v5-sitemap .sitemap-sections a {
  display:block;
  padding:.2rem 0;
  color:#526d86;
  font-size:.82rem;
  line-height:1.42;
  overflow-wrap:anywhere;
}
.v5-sitemap .sitemap-area a:hover,
.v5-sitemap .sitemap-area a:focus-visible { color:#0867d8; text-decoration:underline; }
.v5-sitemap .sitemap-empty {
  padding:1.25rem;
  border:1px solid #dce7f0;
  border-radius:12px;
  background:#fff;
}
@media (max-width:760px) {
  .v5-sitemap .sitemap-header { flex-direction:column; gap:.8rem; }
  .v5-sitemap .sitemap-header .aktuelles-seitentitel { font-size:2.55rem; }
  .v5-sitemap .sitemap-header .aktuelles-intro { font-size:.94rem; }
  .v5-sitemap .sitemap-language { margin-top:0; }
  .v5-sitemap .sitemap-overview { padding:1rem; }
  .v5-sitemap .sitemap-overview ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem; }
  .v5-sitemap .sitemap-overview a { padding:.5rem .35rem; font-size:.8rem; }
  .v5-sitemap .sitemap-areas { grid-template-columns:minmax(0,1fr); gap:10px; }
  .v5-sitemap .sitemap-area { padding:1.15rem 1.05rem; }
}

/* ========================================================================== 
   Startseite – News: Desktop 15 sichtbar, mobil in 3er-Gruppen wischbar
   ========================================================================== */
.v7-home #news .news-swipe {
  display:block;
  min-width:0;
}

.v7-home #news .news-page {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  min-width:0;
  margin-bottom:18px;
}

.v7-home #news .news-page:last-child {
  margin-bottom:0;
}

@media (max-width:760px) {
  .v7-home #news {
    overflow:hidden;
  }

  .v7-home #news .news-swipe {
    display:flex;
    width:100%;
    max-width:100%;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 0 .45rem;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    touch-action:pan-x pan-y;
  }

  .v7-home #news .news-swipe::-webkit-scrollbar {
    display:none;
  }

  .v7-home #news .news-page {
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    margin:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .v7-home #news .news-card {
    width:100%;
    min-width:0;
  }
}

/* Startseite: Geschichte der Halbleiter – größere Thumbnails nur Desktop */
@media (min-width: 761px) {
    #artikel .article-row {
        grid-template-columns: 150px 1fr;
    }

    #artikel .article-thumb {
        width: 150px;
        height: 100px;
    }
}

/* Bereichsübersichten: lange Kapitel- und Absatznamen auf schmalen Displays. */
.real-area-overview .area-layout,
.real-area-overview .area-content,
.real-area-overview .area-group,
.real-area-overview .chapter-grid,
.real-area-overview .chapter-card,
.real-area-overview .chapter-card-main {
  min-width:0;
}
.real-area-overview .chapter-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.real-area-overview .chapter-card {
  grid-template-columns:52px minmax(0,1fr);
}
.real-area-overview .chapter-card-main,
.real-area-overview .chapter-subtopics a {
  overflow-wrap:anywhere;
}

@media (max-width:760px) {
  .real-area-overview,
  .real-area-overview .area-layout,
  .real-area-overview .area-nav,
  .real-area-overview .area-content {
    max-width:100%;
  }
  .real-area-overview .chapter-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .real-area-overview main.area-content {
    width:auto;
  }
  .real-area-overview .chapter-card {
    grid-template-columns:42px minmax(0,1fr);
    gap:.65rem;
  }
  .real-area-overview .chapter-subtopics {
    padding-inline-start:1.15rem;
    margin:.65rem 0 .9rem;
  }
}

/* Kapitel: Desktop-Test mit einheitlicher Breite fuer alle Inhalte. */
@media (min-width: 761px) {
  .hl-neu-kapitel .entry-header,
  .hl-neu-kapitel .entry-content {
    box-sizing:border-box;
    width:100%;
    max-width:44rem;
    margin-left:auto;
    margin-right:auto;
  }
  .hl-neu-kapitel .entry-content > p,
  .hl-neu-kapitel .entry-content > ul,
  .hl-neu-kapitel .entry-content > ol,
  .hl-neu-kapitel .entry-content > blockquote {
    box-sizing:border-box;
    max-width:100%;
    text-align:left;
  }
  .hl-neu-kapitel .entry-content > * {
    box-sizing:border-box;
    max-width:100%;
  }
  .hl-neu-kapitel .entry-content table {
    width:100%;
    max-width:100%;
  }
}



/* Neuer Footer: Der innere Rahmen uebernimmt die Spaltenaufteilung.
   Ein altes Grid am aeusseren Footer wuerde ihn in Spalte 1 einengen. */
@media (min-width: 1100px) {
  .site-footer:has(> .site-footer__inner) {
    display:block;
  }
}

/* ==========================================================================
   V5 News – Lesetext im Einzelbeitrag auf Desktop mittig in der Box
   ========================================================================== */
@media (min-width: 761px) {
  .v5-news .aktuelles-post .entry-content,
  .v5-news .aktuelles-post .aktuelles-quelle,
  .v5-news .aktuelles-post .aktuelles-banner,
  .v5-news .aktuelles-post .aktuelles-bildnachweis {
    box-sizing: border-box;
    width: calc(100% - 5.95rem);
    max-width: 41.7rem;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ========================================================================== 
   Detailseiten – gemeinsame Breite wie bei Artikel
   --------------------------------------------------------------------------
   Referenz ist die Artikel-Detailansicht mit 900 px Lesebreite.
   Aktuelles und Kapitel werden auf Desktop auf dieselbe Breite gebracht,
   damit Breadcrumb, Inhaltsbox und Navigation dieselbe linke/rechte Kante
   haben. Die mobilen Regeln bleiben unverändert.
   ========================================================================== */
@media (min-width: 761px) {
  /* Aktuelles: Breadcrumb und Einzelbeitrag auf Artikelbreite. */
  .v5-news > #breadcrumbs.info {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .v5-news .aktuelles-post,
  .v5-news .aktuelles-zurueck {
    max-width: 900px;
  }

  /* Kapitel: kompletter Lesebereich wie die Artikel-Detailansicht. */
  .hl-neu-kapitel {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   Kapitel – Google-AdSense-Werbeblöcke
   --------------------------------------------------------------------------
   An die AKTUELLE /assets/css/main.css anhängen.
   legacy.css enthält noch alte .anzeige-Regeln; diese V5-Regeln sind bewusst
   auf .hl-neu-kapitel begrenzt und überschreiben sie dort.
   ========================================================================== */

.hl-neu-kapitel .anzeige {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0 0 22px;
  padding:12px 16px 14px;
  overflow:hidden;
  border:1px solid var(--hl-line);
  border-radius:12px;
  background:#f8fbfd;
  box-shadow:0 5px 18px rgba(23,55,82,.035);
  text-align:center;
}

.hl-neu-kapitel .anzeige-label {
  display:block;
  margin:0 0 7px;
  color:#8b9fb1;
  font:700 .62rem/1.2 Roboto,Inter,system-ui,sans-serif;
  letter-spacing:.10em;
  text-align:center;
  text-transform:uppercase;
}

.hl-neu-kapitel .anzeige .adsbygoogle {
  display:block !important;
  width:100%;
  min-width:0;
  min-height:100px;
  margin:0 auto;
  background:transparent;
}

/* Der Abschlussblock darf etwas stärker vom Kapitel-Footer getrennt sein. */
.hl-neu-kapitel .anzeige-halbleiter-ende {
  margin-bottom:6px;
}

/* Während des Druckens keine Werbeflächen oder Leerraum ausgeben. */
@media print {
  .hl-neu-kapitel .anzeige {
    display:none !important;
  }
}

@media (max-width:760px) {
  .hl-neu-kapitel .anzeige {
    width:calc(100% - 20px);
    margin:0 10px 12px;
    padding:10px 8px 12px;
    border-radius:11px;
  }

  .hl-neu-kapitel .anzeige .adsbygoogle {
    min-height:100px;
  }

  .hl-neu-kapitel .anzeige-halbleiter-ende {
    margin-bottom:0;
  }
}

/* ==========================================================================
   Bereichsübersicht – Kapitelgruppen optisch an die folgende Kachel binden
   --------------------------------------------------------------------------
   Die globale .chapter-grid-Regel setzt margin-top:1.7rem. Bei gruppierten
   Bereichen entsteht dadurch mehr Abstand unter der Gruppenüberschrift als
   oberhalb. Hier wird das Verhältnis umgedreht: mehr Abstand zur vorherigen
   Gruppe, weniger Abstand zu den zugehörigen Kapiteln.
   ========================================================================== */
.real-area-overview .area-group + .area-group {
  margin-top:2.4rem;
}

.real-area-overview .area-group-title {
  margin:0;
  color:#0d2a4e;
  line-height:1.15;
}

.real-area-overview .area-group-title + .chapter-grid {
  margin-top:.9rem;
}

@media (max-width:760px) {
  .real-area-overview .area-group + .area-group {
    margin-top:2rem;
  }

  .real-area-overview .area-group-title + .chapter-grid {
    margin-top:.75rem;
  }
}

/* Startseite: Geschichte als 3 x 5 Raster links, News als Liste rechts. */
.v7-home .history-news-grid {
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  align-items:start;
}
.v7-home .history-news-grid > .panel { min-width:0; }
.v7-home #artikel .history-swipe { min-width:0; }
.v7-home #artikel .history-page {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:18px;
}
.v7-home #artikel .history-page:last-child { margin-bottom:0; }
/* Geschichte: Bildkacheln mit vollstaendigem Motiv und Titel als Overlay. */
.v7-home #artikel .history-card {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);
  aspect-ratio:4 / 3;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:#e8f0f5;
  transition:border-color .2s,box-shadow .2s;
}
.v7-home #artikel .history-card:hover {
  border-color:#aac9e8;
  box-shadow:0 8px 20px rgba(14,72,127,.08);
}
.v7-home #artikel .history-card:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:3px;
}
.v7-home #artikel .history-thumb {
  grid-area:1 / 1;
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:linear-gradient(145deg,#dbe7ef,#7790a2);
}
.v7-home #artikel .history-thumb img {
  width:100%;
  height:100%;
  object-fit:contain !important; /* Ueberschreibt das bisherige inline object-fit:cover. */
  object-position:center;
}
/* Nur der untere Bildbereich wird abgedunkelt; das Motiv bleibt voll sichtbar. */
.v7-home #artikel .history-card::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(to top,
    rgba(4,22,43,.93) 0%,
    rgba(4,22,43,.76) 27%,
    rgba(4,22,43,.35) 55%,
    transparent 83%);
  pointer-events:none;
}
.v7-home #artikel .history-copy {
  position:absolute;
  z-index:2;
  right:0;
  bottom:0;
  left:0;
  display:block;
  padding:.8rem .9rem .9rem;
}
.v7-home #artikel .history-copy strong {
  display:block;
  margin:0;
  color:#fff;
  font-size:.96rem;
  font-weight:750;
  line-height:1.28;
  overflow-wrap:break-word;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
}
.v7-home #artikel .history-copy small { display:none; }
.v7-home #artikel .history-swipe-hint { display:none; }
.v7-home #news .news-headlines {
  list-style:none;
  display:grid;
  gap:0;
  margin:0;
  padding:0;
  min-width:0;
}
.v7-home #news .news-headlines li {
  margin:0;
  padding:0;
  border-bottom:1px solid var(--line);
}
.v7-home #news .news-headlines li:last-child { border-bottom:0; }
.v7-home #news .news-headlines a {
  display:block;
  padding:.65rem 0;
  color:var(--blue);
  font-size:.95rem;
  font-weight:500;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.v7-home #news .news-headlines li:first-child a { padding-top:0; }
.v7-home #news .news-headlines a:hover { text-decoration:underline; }
.v7-home #news .news-headlines a:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px;
  border-radius:3px;
}
@media (max-width:1100px) {
  .v7-home .history-news-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
  .v7-home #artikel { overflow:hidden; }
  .v7-home #artikel .history-swipe-hint { display:flex; justify-content:space-between; }
  .v7-home #artikel .history-swipe {
    display:flex;
    width:100%;
    max-width:100%;
    gap:12px;
    overflow-x:auto;
    padding-bottom:.45rem;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .v7-home #artikel .history-swipe::-webkit-scrollbar { display:none; }
  .v7-home #artikel .history-page {
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  /* Mobil: keine schmale Bildspalte mehr – ganzflaechige Kacheln. */
  .v7-home #artikel .history-card {
    grid-template-columns:minmax(0,1fr);
    aspect-ratio:4 / 3;
  }
  .v7-home #artikel .history-copy { padding:1rem 1.05rem; }
  .v7-home #artikel .history-copy strong { font-size:1.05rem; }
}

/* News nur als Headlines; auch mit der bisherigen PHP-Ausgabe. */
.v7-home #news .news-image,
.v7-home #news .news-meta,
.v7-home #news .news-card p,
.v7-home #news .news-card .text-link,
.v7-home #news .swipe-hint { display:none !important; }
.v7-home #news .news-swipe,
.v7-home #news .news-list,
.v7-home #news .news-page {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
  margin:0 !important;
  padding:0 !important;
}
.v7-home #news .news-card {
  display:block !important;
  padding:.65rem 0 !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  border-radius:0 !important;
  background:transparent !important;
}
.v7-home #news .news-card h3 {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:var(--blue);
  font-size:.95rem !important;
  font-weight:500 !important;
  line-height:1.5 !important;
}
.v7-home #news .news-card h3 a { color:var(--blue); }
.v7-home #news .news-card h3 a:hover { text-decoration:underline; }

/* News nach Veröffentlichungstagen gruppieren. */
.v7-home #news .news-day { margin:0; padding:0; }
.v7-home #news .news-day + .news-day {
  margin-top:1.25rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
}
.v7-home #news .news-day-title {
  margin:0 0 .65rem;
  padding:0;
  color:var(--muted);
  font-size:.8rem;
  font-weight:750;
  line-height:1.4;
  letter-spacing:.025em;
  text-transform:uppercase;
}

/* =====================================================================
   News: Akronyme aus akronyme, mit mehreren Bedeutungen im Tooltip.
   ===================================================================== */
.v5-news .news-abbr {
  position:relative;
  display:inline;
  white-space:normal;
}
.v5-news .news-abbr__trigger {
  display:inline;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font:inherit;
  line-height:inherit;
  text-decoration-line:underline;
  text-decoration-style:dotted;
  text-decoration-thickness:1px;
  text-decoration-color:#759bb6;
  text-underline-offset:3px;
  cursor:help;
  -webkit-tap-highlight-color:transparent;
}
.v5-news .news-abbr__trigger:hover { color:#075fae; }
.v5-news .news-abbr__trigger:focus-visible {
  outline:2px solid #0867d8;
  outline-offset:3px;
  border-radius:2px;
}
.v5-news .news-abbr__popup {
  position:absolute;
  display:none;
  z-index:100;
  top:calc(100% + 10px);
  left:0;
  box-sizing:border-box;
  width:320px;
  max-width:calc(100vw - 20px);
  max-height:350px;
  overflow-y:auto;
  padding:15px 17px;
  border:1px solid #c9dce9;
  border-radius:10px;
  background:#fff;
  box-shadow:0 12px 36px rgba(8,36,66,.2);
  color:#233f58;
  font:400 .86rem/1.5 Roboto,Inter,system-ui,sans-serif;
  text-align:left;
  text-decoration:none;
  overflow-wrap:anywhere;
  white-space:normal;
}
.v5-news .news-abbr__kopf {
  display:block;
  margin-bottom:8px;
  color:#0d2a4e;
  font-size:.93rem;
  font-weight:800;
}
.v5-news .news-abbr__zeile { display:block; padding:8px 0; border-top:1px solid #e5edf3; }
.v5-news .news-abbr__zeile > strong,
.v5-news .news-abbr__zeile > span { display:block; }
.v5-news .news-abbr__zeile > strong { color:#153b5b; font-weight:750; }
.v5-news .news-abbr__zeile > span { color:#587187; margin-top:3px; }
@media (hover:hover) and (pointer:fine) {
  .v5-news .news-abbr:hover > .news-abbr__popup { display:block; }
}
.v5-news .news-abbr.is-open > .news-abbr__popup,
.v5-news .news-abbr:has(> .news-abbr__trigger:focus-visible) > .news-abbr__popup { display:block; }
@media (max-width:760px) {
  .v5-news .news-abbr__popup {
    position:fixed;
    top:auto;
    left:10px !important;
    right:10px;
    bottom:calc(18px + env(safe-area-inset-bottom));
    width:auto;
    max-width:none;
    max-height:min(65vh,430px);
    padding:17px 19px;
    box-shadow:0 12px 42px rgba(8,36,66,.3);
  }
}
@media print { .v5-news .news-abbr__popup { display:none !important; } }


/* ========================================================================== 
   Navigation mobil / Tablet: klare, kompakte Hierarchie wie im alten Design.
   Die Einrueckung liegt ausschliesslich auf Link bzw. Gruppenbeschriftung,
   NICHT auf der .site-navigation__row. So bleiben die Pfeile rechts buendig.
   Wichtig: Kapitel-Links sind direkte <a>-Kinder des <li> (ohne .row).
   ========================================================================== */
@media (max-width: 1099px) {
  /* Hauptmenue: Start, Aktuelles, Kapitel usw. */
  .site-navigation .site-navigation__list > .site-navigation__item > .site-navigation__row > .site-navigation__link,
  .site-navigation .site-navigation__list > .site-navigation__item > .site-navigation__link {
    padding-inline-start: 22px;
  }

  /* Ebene 1: Hauptgruppen oder direkte Untermenue-Eintraege. */
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__row > :is(.site-navigation__link, .site-navigation__group-label),
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__link {
    padding-inline-start: 34px;
  }

  /* Ebene 2: Bereiche innerhalb einer Gruppe oder deren direkte Kapitel. */
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__row > :is(.site-navigation__link, .site-navigation__group-label),
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__link {
    padding-inline-start: 40px;
  }

  /* Ebene 3: z. B. Kapitelgruppen innerhalb des Bereichs Digitaltechnik. */
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__row > :is(.site-navigation__link, .site-navigation__group-label),
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__link {
    padding-inline-start: 46px;
  }

  /* Ebene 4: Kapitel unter einer Kapitelgruppe, auch ohne .row-Wrapper. */
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__row > :is(.site-navigation__link, .site-navigation__group-label),
  .site-navigation .site-navigation__submenu--root > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__submenu > .site-navigation__item > .site-navigation__link {
    padding-inline-start: 52px;
  }

  /* Kapitel-Untergruppen neutral gestalten: klare Ebene, kein blauer Akzent.
     Die staerkere Hauptgruppen-Ebene bleibt davon unberuehrt. */
  .site-navigation .site-navigation__submenu--root .site-navigation__submenu .site-navigation__item.site-navigation__group > .site-navigation__row > .site-navigation__group-label {
    color: #5b7187 !important;
    font-weight: 700;
  }
}

/* Verschachtelte Kapitelgruppen in normaler Gross-/Kleinschreibung anzeigen.
   Die Hauptgruppen (z. B. "Bauelemente & Anwendungen") bleiben unveraendert.
   Gilt fuer Smartphone, Tablet und Desktop. */
.site-navigation .site-navigation__submenu--root .site-navigation__submenu .site-navigation__item.site-navigation__group > .site-navigation__row > .site-navigation__group-label {
  text-transform: none;
  letter-spacing: normal;
}

/* Kapitel-Untergruppen: gleiche Schriftgroesse wie die anderen
   Untermenue-Ebenen. Gross-/Kleinschreibung und Farben bleiben erhalten. */
.site-navigation .site-navigation__submenu--root .site-navigation__submenu .site-navigation__item.site-navigation__group > .site-navigation__row > .site-navigation__group-label {
  font-size: .84rem;
}

/* Aktuelles: auf Smartphones stehen Datum/Kategorie und Bild oben.
   Danach beginnen die komplette Ueberschrift und der Teaser ueber die
   volle Kachelbreite. Die Desktop-Darstellung bleibt unveraendert. */
@media (max-width: 760px) {
  /* Bis zum Bildende keine schmale Textspalte mehr. */
  .v5-news .aktuelles-eintrag h2.aktuelles-titel-mit-quelle {
    display: block;
    clear: both;
  }

  /* Quellenicon nur in der ersten Zeile, Folgezeilen volle Breite. */
  .v5-news .aktuelles-eintrag h2.aktuelles-titel-mit-quelle > .aktuelles-quellen-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 .45rem .15rem 0;
  }

  /* Alte mobile Einrueckungen stammen noch aus dem Layout ohne Bild. */
  .v5-news .aktuelles-eintrag > p:not(.aktuelles-datum):not(.aktuelles-weiter),
  .v5-news .aktuelles-eintrag > p.aktuelles-weiter {
    margin-left: 0;
  }
}


/* ========================================================================
   Kapitel: ruhiger Seitenkopf, Absatz-TOC aufklappbar, Teilen am Ende.
   ======================================================================== */
.hl-neu-kapitel #breadcrumbs {
  margin-bottom:.75rem;
}
.hl-neu-kapitel .chapter-page-title {
  margin:0 0 1.2rem;
  padding:0;
  border:0;
  color:#0d2a4e;
  font-family:Roboto,Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(1.8rem,4.6vw,3.25rem);
  font-weight:800;
  line-height:1.07;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
}
.hl-neu-kapitel .chapter-page-title::before,
.hl-neu-kapitel .chapter-page-title::after { content:none !important; }

/* Das native details-Element funktioniert auch ohne JavaScript. */
.hl-neu-kapitel .chapter-section-menu {
  margin:0 0 1.35rem;
}
.hl-neu-kapitel .chapter-section-menu > summary.chapter-section-toggle {
  display:inline-flex;
  width:auto;
  list-style:none;
  align-items:center;
  cursor:pointer;
}
.hl-neu-kapitel .chapter-section-menu > summary::-webkit-details-marker { display:none; }
.hl-neu-kapitel .chapter-section-menu__chevron {
  width:8px;
  height:8px;
  margin-left:.35rem;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .15s ease;
}
.hl-neu-kapitel .chapter-section-menu[open] .chapter-section-menu__chevron {
  transform:translateY(2px) rotate(225deg);
}
.hl-neu-kapitel .chapter-section-menu .chapter-sections-panel {
  margin:12px 0 0;
  padding:1rem;
  border:1px solid #dce7f0;
  border-radius:11px;
  background:#f7fafc;
}
.hl-neu-kapitel .chapter-section-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.45rem;
  margin:0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel .chapter-section-links li {
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel .chapter-section-links li::before { content:none !important; }
.hl-neu-kapitel .chapter-section-links a {
  display:block;
  height:100%;
  padding:.66rem .75rem;
  border:1px solid #e2ebf2;
  border-radius:7px;
  background:#fff;
  color:#48637d;
  font-size:.8rem;
  line-height:1.35;
  overflow-wrap:break-word;
}
.hl-neu-kapitel .chapter-section-links a:hover,
.hl-neu-kapitel .chapter-section-links a:focus-visible {
  color:#0867d8;
  border-color:#b9d5ec;
}
.hl-neu-kapitel .entry-title a[id] {
  scroll-margin-top:calc(var(--site-header-h, 68px) + 16px);
}

/* Am Ende: bestehende Social-Icons erhalten; PDF im gleichen Pillen-Design. */
.hl-neu-kapitel #tools.chapter-share-tools {
  display:flex;
  float:none;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  gap:10px;
  margin:1.7rem 0 0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel #tools.chapter-share-tools > li {
  float:none;
  margin:0;
  padding:0;
  list-style:none;
}
.hl-neu-kapitel #tools.chapter-share-tools > li::before { content:none !important; }
.hl-neu-kapitel #tools.chapter-share-tools .toolsteilen-label {
  flex:0 0 100%;
  margin:0 0 .1rem;
}
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf {
  position:static !important;
  float:none !important;
}
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf a {
  /* Gleiche Abmessungen, Typografie und Rundung wie die Social-Links. */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:0;
  height:auto;
  min-height:0;
  padding:6px 14px;
  border:1px solid var(--line, #dce7f2);
  border-radius:20px;
  background:var(--paper-2, #f8fafc);
  color:var(--steel, #49657d);
  font-family:var(--f-mono, ui-monospace, SFMono-Regular, Consolas, monospace);
  font-size:.76rem;
  font-weight:400;
  line-height:normal;
  letter-spacing:.04em;
  text-decoration:none;
  box-shadow:none;
  transition:border-color .16s,color .16s;
}
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf a:hover,
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf a:focus-visible {
  border-color:var(--amber, #9fc7e9);
  color:var(--ink, #15324d);
  text-decoration:none;
}
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf a::before,
.hl-neu-kapitel #tools.chapter-share-tools .chapter-tool--pdf a::after {
  display:none !important;
  content:none !important;
}
.hl-neu-kapitel #tools.chapter-share-tools .chapter-pdf-label {
  display:inline !important;
  font:inherit;
  color:inherit;
}
.hl-neu-kapitel #fussleiste { margin-top:1rem; }

@media (max-width:760px) {
  .hl-neu-kapitel .chapter-page-title {
    margin:0 10px 1rem;
    font-size:1.55rem;
    line-height:1.18;
    letter-spacing:-.02em;
  }
  .hl-neu-kapitel .chapter-section-menu { margin:0 10px 1rem; }
  .hl-neu-kapitel .chapter-section-menu > summary.chapter-section-toggle {
    display:inline-flex;
    width:auto;
    max-width:100%;
    justify-content:flex-start;
  }
  .hl-neu-kapitel .chapter-section-links { grid-template-columns:minmax(0,1fr); }
  .hl-neu-kapitel #tools.chapter-share-tools {
    width:calc(100% - 20px);
    margin:1.4rem 10px 0;
  }
}
@media print {
  .hl-neu-kapitel .chapter-section-menu,
  .hl-neu-kapitel #tools.chapter-share-tools { display:none !important; }
}


/* Bereichsgruppen: Sprungziele aus den Kapitel-Breadcrumbs unter dem
   fixierten Seitenkopf positionieren, statt die Ueberschrift zu verdecken. */
.real-area-overview .area-group-title[id^="gruppe-"] {
  scroll-margin-top: calc(var(--site-header-h, 118px) + 20px);
}

/* Newsbild in der Einzelansicht: mobile ohne Figure-Standardrand. */
.v5-news .aktuelles-post .aktuelles-banner {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Desktop: Banner genau so breit und zentriert wie der Lesetext. */
@media (min-width: 761px) {
    .v5-news .aktuelles-post .aktuelles-banner {
        width: calc(100% - 5.95rem);
        max-width: 41.7rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.v5-news .aktuelles-post .aktuelles-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bildnachweise unter den Detailbannern: gemeinsame Schrift und Ausrichtung. */
.v5-articles--detail .artikel-bildnachweis,
.v5-news .aktuelles-post .aktuelles-bildnachweis {
    display: block;
    position: static;
    float: none;
    clear: both;
    margin-top: 4px;
    margin-bottom: 1.25rem;
    text-align: right;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: normal;
    color: #666;
}

/* Einzelartikel: gleicher äußerer Kopfabstand wie .page-info bei News.
   site.css gibt nur News 1.4rem oberes Padding; ohne dieses Padding
   fällt zudem der obere Rand des inneren Containers nach außen zusammen. */
.page-article .site-main:has(> .v5-articles--detail) {
    padding-top: 1.4rem;
}

/* Bereichslabels ausdrücklich gleich setzen, auch gegenüber legacy.css. */
.v5-news > #breadcrumbs.info {
    font-family: var(--f-mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace);
    font-size: .74rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: .11em;
}
.v5-news > #breadcrumbs.info > li {
    font: inherit;
    letter-spacing: inherit;
}


/* ========================================================================
   Kapitel-Paywall, serverseitig freigegebene DB-Abschnitte (DE/EN).
   ======================================================================== */
.hl-neu-kapitel .hl-chapter-paywall {
    max-width: 850px;
    margin: 1.5rem auto 2rem;
    padding: clamp(1.4rem, 3vw, 2.5rem);
    text-align: center;
    border: 1px solid #c9def1;
    border-radius: 16px;
    background: linear-gradient(145deg, #f6fbff, #eaf4fd);
    box-shadow: 0 10px 30px rgba(15, 62, 104, .07);
}
.hl-neu-kapitel .hl-chapter-paywall__symbol { font-size: 1.7rem; }
.hl-neu-kapitel .hl-chapter-paywall h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: .65rem 0 .7rem; }
.hl-neu-kapitel .hl-chapter-paywall p { max-width: 570px; margin: .6rem auto; color: #4b657e; }
.hl-neu-kapitel .hl-chapter-paywall__price {
    font-size: 2rem;
    font-weight: 800;
    color: #103457;
    margin-top: 1rem;
}
.hl-neu-kapitel .hl-chapter-paywall__price span {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    color: #57708b;
}
.hl-neu-kapitel .hl-chapter-paywall__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 330px);
    min-height: 48px;
    margin-top: .65rem;
    padding: .8rem 1.1rem;
    border-radius: 9px;
    background: #0867d8;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}
.hl-neu-kapitel .hl-chapter-paywall__button:hover,
.hl-neu-kapitel .hl-chapter-paywall__button:focus-visible { background: #0059b8; color: #fff; }
.hl-neu-kapitel .hl-chapter-paywall__existing a { color: #215b94; text-decoration: underline; }
@media(max-width:760px) {
    .hl-neu-kapitel .hl-chapter-paywall { margin: 12px 10px 22px; padding: 1.4rem 1rem; }
}

.hl-neu-kapitel .hl-paywall-anchor { display: block; height: 0; position: relative; top: -100px; visibility: hidden; }
