/* jonathanwallner.de – klassische Website. Keine externen Schriften, keine Cookies. */
:root {
  --mint: #d5fddf; --sky: #c0e7ed; --blue-soft: #a4c7ff;   /* Hintergrund der YouTube-Thumbnails */
  --green: #46cba3; --ink: #12161f;                          /* grüne Schrift auf schwarzem Balken */
  --page: linear-gradient(105deg, #d5fddf 0%, #c0e7ed 48%, #a4c7ff 100%);
  --bg: #e4f6ee;
  --bg-alt: rgba(255,255,255,.42);
  --surface: #ffffff;
  --text: #0e1320;
  --muted: #3f4b5e;
  --line: rgba(18,22,31,.12);
  --accent: #1a63c9;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255,255,255,.6);
  --ok: #1e9e74;
  --err: #c62828;
  --shadow: 0 1px 2px rgba(18,22,31,.06), 0 10px 28px rgba(30,60,110,.12);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: radial-gradient(900px 500px at 0% 0%, rgba(70,203,163,.16), transparent 60%), radial-gradient(900px 600px at 100% 10%, rgba(120,160,255,.18), transparent 60%), #0c1220;
    --bg: #0c1220; --bg-alt: rgba(255,255,255,.03); --surface: #141c2e; --text: #e9eef6; --muted: #a2afc2;
    --line: rgba(255,255,255,.1); --accent: #7fb2ff; --accent-ink: #0c1220; --accent-soft: rgba(255,255,255,.06);
    --ok: #46cba3; --err: #ff7a7a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: radial-gradient(900px 500px at 0% 0%, rgba(70,203,163,.16), transparent 60%), radial-gradient(900px 600px at 100% 10%, rgba(120,160,255,.18), transparent 60%), #0c1220;
  --bg: #0c1220; --bg-alt: rgba(255,255,255,.03); --surface: #141c2e; --text: #e9eef6; --muted: #a2afc2;
  --line: rgba(255,255,255,.1); --accent: #7fb2ff; --accent-ink: #0c1220; --accent-soft: rgba(255,255,255,.06);
  --ok: #46cba3; --err: #ff7a7a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page) fixed, var(--bg); color: var(--text);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .85rem; font-weight: 800; letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 550; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav-tools { display: flex; gap: 6px; }
.tool { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 .78rem/1 inherit; cursor: pointer; display: grid; place-items: center; }
.tool:hover { border-color: var(--accent); color: var(--accent); }
.tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
@media (max-width: 760px) { .nav-links { display: none; } .nav-tools { margin-left: auto; } .brand-name { font-size: .95rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: .98rem; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.light { background: #fff; color: #0b1220; }
.btn.big { padding: 15px 26px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: .95rem; margin-bottom: .75rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 38em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .9rem; }
.hero-photo { position: relative; justify-self: center; width: min(360px, 100%); }
.photo-ring { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--accent) 25%, var(--accent-soft))); overflow: hidden; box-shadow: var(--shadow); }
.photo-ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateY(4%); }
.badge-float { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; max-width: calc(100vw - 48px); overflow: hidden; text-overflow: ellipsis; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; width: min(220px, 60vw); }
  .badge-float { font-size: .76rem; }
}

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
@media (max-width: 760px) { .section { padding: 60px 0; } }
.section-head { margin-bottom: 36px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.kicker.light { color: #bcd8ff; }
#ueber-mich p:not(.kicker) { font-size: 1.08rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card p { color: var(--muted); font-size: .97rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 0 0 28px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.timeline li.current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline .when { color: var(--muted); font-weight: 650; font-size: .92rem; padding-top: 1px; font-variant-numeric: tabular-nums; }
.timeline h3 { margin-bottom: .2em; }
.timeline p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Fiori-Teaser */
.teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0a3a8c 0%, #0064d9 55%, #3a8dff 100%); box-shadow: 0 20px 50px rgba(0,70,170,.25); overflow: hidden; }
.teaser h2 { color: #fff; }
.teaser p { color: #dce9ff; }
.teaser-tiles { display: grid; gap: 12px; }
.mini-tile { background: rgba(255,255,255,.96); color: #1d2d3e; border-radius: 14px; padding: 14px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.15); display: flex; flex-direction: column; gap: 2px; transform: rotate(-1.2deg); }
.mini-tile:nth-child(2) { transform: rotate(.8deg) translateX(18px); }
.mini-tile b { font-size: .95rem; }
.mini-tile small { color: #556b82; font-size: .8rem; }
.mini-tile.err { border-left: 4px solid #e00; transform: rotate(-.4deg) translateX(6px); }
.mini-tile.err b { color: #aa0808; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; padding: 32px 24px; } .mini-tile, .mini-tile:nth-child(2), .mini-tile.err { transform: none; } }

/* Kanäle */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: transform .2s, border-color .2s; }
.channel:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ch-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.ch-icon svg { width: 26px; height: 26px; fill: currentColor; }
.yt .ch-icon { background: #e62117; }
.ig .ch-icon { background: linear-gradient(45deg, #f9a12e, #e1306c 50%, #833ab4); }
.ch-text { display: flex; flex-direction: column; min-width: 0; }
.ch-text small { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-arrow { margin-left: auto; color: var(--muted); font-size: 1.2rem; }

/* Kontakt */
#kontakt p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.6em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--accent); }
.trademark { font-size: .76rem; margin-top: 14px; opacity: .85; }

/* Rechtliches */
.legal { padding: 56px 0 72px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .8em; }
.legal h2 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.legal p { color: var(--muted); }
.back { display: inline-flex; gap: 6px; margin-bottom: 24px; font-weight: 600; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Videos – Zwei-Klick-Lösung */
.section-head .sub { color: var(--muted); max-width: 40em; margin-top: .4em; }
.video h3 { font-size: 1rem; margin: 12px 0 0; }
.yt-player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-load { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt-load img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s; }
.yt-load:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-load:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 14px; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 14px; background: rgba(230, 33, 23, .92); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.yt-play svg { width: 26px; height: 26px; fill: #fff; }
.yt-load:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: #e62117; }
.video.featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; margin-bottom: 32px; }
.video.featured .yt-play { width: 84px; height: 58px; }
.video.featured h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 10px 0 8px; }
.video.featured p { color: var(--muted); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 20px; }
.yt-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .85rem; margin: 24px 0 32px; }
.yt-note svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 860px) { .video.featured { grid-template-columns: 1fr; gap: 8px; } }
.about-video { margin: 28px 0 0; }
.about-video figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Thumbnail-Look: Mint-Blau-Verlauf, schwarze Balken, grüne Schrift ---------- */
h1, h2 { font-weight: 850; letter-spacing: -.025em; }
.kicker, .pill, .eyebrow {
  display: inline-block; background: var(--ink); color: var(--green);
  font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 12px 4px; border-radius: 4px; line-height: 1.3;
}
.eyebrow { font-size: .85rem; margin-bottom: 1rem; }
.kicker.light { background: var(--green); color: var(--ink); }
.hero { background: none; }
.nav { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.nav.scrolled { border-bottom-color: var(--line); }
.brand-mark { background: var(--ink); color: var(--green); font-style: italic; font-weight: 900; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(18,22,31,.22); }
.btn.primary:hover { color: var(--green); }
.btn.ghost { background: rgba(255,255,255,.75); border-color: rgba(18,22,31,.14); }
.photo-ring { background: linear-gradient(135deg, var(--mint), var(--blue-soft)); border: 6px solid #fff; }
.card-icon { background: linear-gradient(135deg, var(--mint), var(--blue-soft)); color: var(--ink); }
.tags li { background: rgba(255,255,255,.7); }
.facts strong { font-style: italic; font-weight: 900; }
.timeline li.current::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 5px rgba(70,203,163,.25); }
.timeline::before { background: rgba(18,22,31,.15); }
.teaser { background: var(--ink); box-shadow: 0 20px 50px rgba(18,22,31,.28); }
.teaser h2 { color: #fff; }
.teaser p { color: #c9d3e2; }
.btn.light { background: var(--green); color: var(--ink); }
.yt-player { border: 4px solid #fff; }
.footer { border-top-color: var(--line); }

/* Dunkles Design: gleiche Akzente, dunkler Grund */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kicker, :root:not([data-theme="light"]) .pill, :root:not([data-theme="light"]) .eyebrow { background: #000; }
  :root:not([data-theme="light"]) .btn.primary { background: var(--green); color: var(--ink); }
  :root:not([data-theme="light"]) .btn.primary:hover { color: var(--ink); filter: brightness(1.08); }
  :root:not([data-theme="light"]) .btn.ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
  :root:not([data-theme="light"]) .tags li { background: rgba(255,255,255,.05); }
  :root:not([data-theme="light"]) .photo-ring, :root:not([data-theme="light"]) .yt-player { border-color: var(--surface); }
  :root:not([data-theme="light"]) .teaser { background: #05080f; border: 1px solid var(--line); }
}
:root[data-theme="dark"] .kicker, :root[data-theme="dark"] .pill, :root[data-theme="dark"] .eyebrow { background: #000; }
:root[data-theme="dark"] .btn.primary { background: var(--green); color: var(--ink); }
:root[data-theme="dark"] .btn.primary:hover { color: var(--ink); filter: brightness(1.08); }
:root[data-theme="dark"] .btn.ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
:root[data-theme="dark"] .tags li { background: rgba(255,255,255,.05); }
:root[data-theme="dark"] .photo-ring, :root[data-theme="dark"] .yt-player { border-color: var(--surface); }
:root[data-theme="dark"] .teaser { background: #05080f; border: 1px solid var(--line); }
@media (max-width: 560px) { .eyebrow { font-size: .72rem; letter-spacing: .02em; } }

/* Kanäle in der Menüleiste */
.nav-social { display: flex; gap: 6px; padding-left: 4px; }
.brand + .nav-social { margin-left: auto; }
.tool.social svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.tool.social svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.tool.social svg .dot-fill { fill: currentColor; stroke: none; }
.tool.social:hover { color: #fff; border-color: transparent; }
.tool.social[aria-label="YouTube"]:hover { background: #e62117; }
.tool.social[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.tool.social[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f9a12e, #e1306c 50%, #833ab4); }
.nav-social + .nav-tools { padding-left: 10px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .nav-social { margin-left: auto; }
  .nav-inner { gap: 10px; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .tool { width: 34px; height: 34px; }
  .nav-social { gap: 4px; }
  .nav-tools { gap: 4px; }
  .nav-social + .nav-tools { padding-left: 6px; }
}
@media (max-width: 760px) { .nav-social + .nav-tools { margin-left: 0; } }

/* Kanal-Zahlen (vom eigenen Server, täglich aktualisiert) */
.ch-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.ch-stats b { color: var(--text); font-weight: 800; font-style: italic; font-size: 1rem; margin-right: 3px; }
.ch-stats .asof { flex-basis: 100%; font-size: .74rem; opacity: .8; }

/* ---------- Projekte: hervorgehobener Menüpunkt und Bereich ---------- */
.nav-links a.nav-hot {
  position: relative; color: var(--ink); background: var(--green); font-weight: 800; font-style: italic;
  padding: 8px 14px 8px 26px; box-shadow: 0 4px 14px rgba(70,203,163,.45);
}
.nav-links a.nav-hot::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--ink); animation: hotPulse 1.8s ease-out infinite;
}
.nav-links a.nav-hot:hover { background: var(--ink); color: var(--green); }
.nav-links a.nav-hot:hover::before { background: var(--green); }
@keyframes hotPulse { 0% { box-shadow: 0 0 0 0 rgba(18,22,31,.55); } 70% { box-shadow: 0 0 0 7px rgba(18,22,31,0); } 100% { box-shadow: 0 0 0 0 rgba(18,22,31,0); } }

#projekte { scroll-margin-top: 72px; }
.teaser-glow { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(120deg, var(--green), #7fb2ff, var(--green), #a4c7ff); background-size: 300% 300%; animation: glowShift 6s ease infinite; box-shadow: 0 0 0 0 rgba(70,203,163,.0), 0 24px 60px rgba(70,203,163,.28); }
.teaser-glow > .teaser { position: relative; border-radius: 25px; }
@keyframes glowShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.badge-new { position: absolute; top: -14px; right: 28px; z-index: 2; background: #ff4b3a; color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(255,75,58,.45); transform: rotate(4deg); }
.teaser { overflow: visible; }
.teaser .btn.light { box-shadow: 0 0 0 0 rgba(70,203,163,.6); animation: btnPulse 2.4s ease-out infinite; }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(70,203,163,.55); } 70% { box-shadow: 0 0 0 14px rgba(70,203,163,0); } 100% { box-shadow: 0 0 0 0 rgba(70,203,163,0); } }

/* Handy: Menüpunkt "Projekte" bleibt sichtbar */
@media (max-width: 760px) {
  .nav-links { display: flex; margin-left: auto; }
  .nav-links a:not(.nav-hot) { display: none; }
  .nav-social { margin-left: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav-inner { gap: 8px; }
  .nav-links a.nav-hot { padding: 7px 10px; font-size: .8rem; }
  .nav-links a.nav-hot::before { display: none; }
  .badge-new { right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a.nav-hot::before, .teaser-glow, .teaser .btn.light { animation: none; }
}
