/* =====================================================================
   tobias.social: persoenliche Profilseite von Tobias Nase
   Farben, Schriften und Radien aus closinghub-website (heller Grund, Violett).
   Radien: Knoepfe 8 px, Karten 14 px, grosse Flaechen 20 px, Social-Knoepfe rund.
   Z-Index: .kopf (5), .skip (10).
   ===================================================================== */

:root {
  color-scheme: light;

  --accent:       #6C2BF2;
  --accent-hover: #5A20D8;
  --accent-deep:  #4B18B8;
  --accent-soft:  #C0A5FB;
  --tint:         #F1EBFE;
  --tint-weak:    #F7F3FE;

  --ink:   #17102B;
  --ink-2: #4B4459;
  --ink-3: #6B6379;

  --paper:      #FFFFFF;
  --paper-2:    #FBFAFE;
  --line:       #EDE7F9;
  --line-mid:   #D9CDE6;

  --dark:     #17102B;
  --dark-2:   #211838;
  --on-dark-2: #CFC8DD;

  --r-btn:  8px;
  --r-card: 14px;
  --r-big:  20px;

  --maxw:    1360px;
  --gutter:  clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 112px);

  --shadow-card: 0 1px 2px rgba(23, 16, 43, .05), 0 12px 28px -22px rgba(23, 16, 43, .40);
  --shadow-shot: 0 40px 80px -40px rgba(23, 16, 43, .35);
  --btn-face:    inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(23, 16, 43, .18);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: Outfit, Manrope, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
a, button, input, textarea, select, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(108, 43, 242, .12); }
body {
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
svg.ic { width: 20px; height: 20px; flex: none; }

section[id] { scroll-margin-top: 72px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Knoepfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 Manrope, system-ui, sans-serif;
  border: 0; cursor: pointer;
  border-radius: var(--r-btn);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ic-pfeil { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--btn-face); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-mid); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--tint-weak); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); }
.btn-outline-dark { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-dark:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Hero (nach Michaels Vorbild: schlicht, zentriert, weiss) ---------- */
.hero { padding: clamp(32px, 4.5vw, 56px) 0 clamp(36px, 5vw, 56px); text-align: center; background: var(--paper);; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, #d1d5db 1px, transparent 1px), linear-gradient(to bottom, #d1d5db 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%);
}
.portrait { position: relative; display: block; width: clamp(120px, 15vw, 164px); aspect-ratio: 1; margin: 0 auto clamp(24px, 3.4vw, 40px); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* Handschriftliche Notizen mit Pfeilen ums Foto (Idee von mavgpt.ai) */
.notiz { position: absolute; z-index: 1; font: 600 clamp(19px, 2vw, 25px)/1.05 Caveat, "Comic Sans MS", cursive; color: var(--accent); white-space: nowrap; pointer-events: none; }
.notiz svg { position: absolute; width: 64px; height: 48px; overflow: visible; }
.notiz path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: kritzeln .9s var(--ease) forwards; }
.notiz .spitze { animation-duration: .35s; }
.notiz--1 { right: calc(100% + 52px); top: -6px; transform: rotate(-6deg); }
.notiz--1 svg { right: -60px; top: 14px; }
.notiz--1 path { animation-delay: .6s; } .notiz--1 .spitze { animation-delay: 1.3s; }
.notiz--2 { left: calc(100% + 56px); top: -14px; transform: rotate(5deg); }
.notiz--2 svg { left: -64px; top: 10px; }
.notiz--2 path { animation-delay: .9s; } .notiz--2 .spitze { animation-delay: 1.6s; }
.notiz--3 { left: calc(100% + 50px); bottom: -10px; transform: rotate(-4deg); }
.notiz--3 svg { left: -62px; top: -40px; }
.notiz--3 path { animation-delay: 1.2s; } .notiz--3 .spitze { animation-delay: 1.9s; }
@keyframes kritzeln { to { stroke-dashoffset: 0; } }
/* Handy: Notizen kleiner und zweizeilig, damit nichts seitlich herausragt */
@media (max-width: 600px) {
  .notiz { font-size: 17px; white-space: normal; width: 5.2em; text-align: center; }
  .notiz svg { width: 40px; height: 30px; }
  .notiz--1 { right: calc(100% + 18px); top: 0; }
  .notiz--1 svg { right: -34px; top: 30px; }
  .notiz--2 { left: calc(100% + 18px); top: -8px; }
  .notiz--2 svg { left: -38px; top: 30px; }
  .notiz--3 { left: calc(100% + 16px); bottom: -14px; }
  .notiz--3 svg { left: -36px; top: -22px; }
}
/* Strom-Impulse um das Profilbild, wie die Leiterbahn am Knopf auf tobiasnase.de */
.strom { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); overflow: visible; transform: rotate(-90deg); pointer-events: none; }
.strom circle { fill: none; stroke-width: 1.4; stroke-linecap: round; }
.strom-bahn { stroke: rgba(108, 43, 242, .14); stroke-width: .6; stroke-dasharray: .5 1.5; }
.strom-1 { stroke: #4DE8FF; stroke-dasharray: 12 88; filter: drop-shadow(0 0 2px rgba(77, 232, 255, .9)); animation: stromlauf 3.2s linear infinite; }
.strom-2 { stroke: #B98BFF; stroke-dasharray: 8 92; filter: drop-shadow(0 0 2px rgba(199, 125, 255, .9)); animation: stromlauf 3.2s linear infinite; animation-delay: -1.6s; }
@keyframes stromlauf { to { stroke-dashoffset: -100; } }
.hello { font: 700 clamp(13px, 1.3vw, 14px)/1.4 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kontakt .hello { font: 600 15px/1.4 Manrope, sans-serif; letter-spacing: 0; text-transform: none; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); margin-bottom: 20px; }
.winken { display: inline-block; transform-origin: 70% 80%; animation: winken 1.8s var(--ease) .9s 1 both; }
@keyframes winken { 0%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(16deg); } 30%, 60% { transform: rotate(-8deg); } 75% { transform: rotate(6deg); } }
.hero .lead { max-width: 36em; margin: 0 auto; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; color: var(--ink-2); }

/* ---------- Was ich baue ---------- */
.projekte { padding: 0 0 var(--section); background: var(--paper); }
.projekte h2, .opensource h2, .kontakt h2 { font-size: clamp(30px, 4.4vw, 46px); }

.bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

.karte {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-big);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: clamp(24px, 3.4vw, 36px);
  color: #fff;
}
.karte > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.karte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 16, 43, 0) 20%, rgba(23, 16, 43, .7) 55%, rgba(23, 16, 43, .94) 100%); }
.karte:hover > img { transform: scale(1.03); }
.karte .art { font: 600 13px/1.3 Manrope, sans-serif; color: var(--accent-soft); margin-bottom: 8px; }
.karte h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.karte p { color: var(--on-dark-2); max-width: 30em; margin-bottom: 22px; }
.karte .btn { align-self: flex-start; }

/* ClosingHub: breite Karte, Screenshot auf Markenverlauf */
.karte--ch {
  min-height: 0; justify-content: flex-start; color: var(--ink);
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, #8a55f7 0, transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, #2b1356 55%, #4B18B8 100%);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 0;
}
.karte--ch::after { display: none; }
.karte--ch .text h3 { color: #fff; }
.karte--ch .text p { color: var(--on-dark-2); }
.karte--ch .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.karte--ch .logo svg { width: 42px; height: 30px; color: #fff; }
.karte--ch .shot {
  border-radius: 12px 12px 0 0; overflow: hidden;
  box-shadow: var(--shadow-shot); border: 1px solid rgba(255, 255, 255, .18); border-bottom: 0;
  align-self: end;
}
.karte--ch .shot img { width: 100%; transition: transform .8s var(--ease); transform-origin: top left; }
.karte--ch:hover .shot img { transform: scale(1.02); }
.karte--ch .ringe { position: absolute; right: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(217, 183, 255, .2); box-shadow: 0 0 0 60px rgba(255, 255, 255, .015), 0 0 0 120px rgba(255, 255, 255, .015); z-index: -1; pointer-events: none; }

/* ---------- Lichtschein auf den Karten (folgt der Maus) ---------- */
.licht::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(192, 165, 251, .22), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.licht:hover::before { opacity: 1; }
.karte > *:not(img):not(.ringe) { position: relative; z-index: 2; }

/* ---------- Instagram: Handy mit laufenden Stories ---------- */
.insta { position: relative; overflow: hidden; isolation: isolate; padding: var(--section) 0; background: var(--tint-weak); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insta::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -120px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(108, 43, 242, .22) 0, rgba(238, 42, 123, .10) 40%, transparent 68%); pointer-events: none; }
.insta-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.insta-handle { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 Manrope, sans-serif; color: var(--accent); margin-bottom: 14px; }
.insta-handle .ic { width: 18px; height: 18px; }
.insta h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 12em; margin-bottom: 18px; }
.insta-kopf > p:not(.insta-handle) { max-width: 30em; font-size: 18px; margin-bottom: 28px; }

.buehne { position: relative; display: grid; place-items: center; min-height: 560px; }
.seitenkarte { position: absolute; width: clamp(150px, 17vw, 210px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(23, 16, 43, .5); opacity: .92; transition: transform .7s var(--ease); }
.seitenkarte--links { transform: translateX(-72%) rotate(-9deg) scale(.9); }
.seitenkarte--rechts { transform: translateX(72%) rotate(9deg) scale(.9); }

.handy {
  position: relative; z-index: 1; display: block;
  width: clamp(240px, 24vw, 292px); aspect-ratio: 71.5 / 147;
  padding: 11px; border-radius: 50px;
  background: linear-gradient(135deg, #5c5470 0%, #2b2538 18%, #1b1726 50%, #2b2538 82%, #5c5470 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 3px #0c0913,
    0 60px 100px -45px rgba(75, 24, 184, .7),
    0 25px 50px -25px rgba(23, 16, 43, .6);
  transition: transform .6s var(--ease);
}
.handy-taste { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #1b1726, #4a4360); }
.handy-taste--stumm { left: -3px; top: 17%; height: 5%; }
.handy-taste--laut { left: -3px; top: 25%; height: 9%; }
.handy-taste--leise { left: -3px; top: 36%; height: 9%; }
.handy-taste--an { right: -3px; top: 28%; height: 14%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #1b1726, #4a4360); }

.handy-bildschirm { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 40px; background: #000; }
/* Glas: feiner Glanz ueber dem Bildschirm */
.handy-bildschirm::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 28%); }
.handy-bildschirm::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 18%, transparent 55%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.reel-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 4.5s linear; }
.reel-bild.aktiv { opacity: 1; transform: scale(1); }

.reel-ui { position: absolute; inset: 0; z-index: 2; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Manrope, sans-serif; }
.reel-ui svg { fill: currentColor; }
.statusleiste { position: absolute; top: 12px; left: 22px; right: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.statusleiste b { font-weight: 600; width: 52px; }
.insel { position: absolute; left: 50%; top: -3px; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: #000; }
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { height: 9px; width: auto; }
.status-icons svg:last-child { height: 10px; }
.reel-kopf { position: absolute; top: 44px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; }
.reel-kopf b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.reel-kopf svg { width: 22px; height: 22px; fill: none; }
.reel-aktionen { position: absolute; right: 11px; bottom: 74px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.reel-aktionen svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.reel-aktionen svg:not(:nth-child(4)) { fill: none; }
.reel-aktionen img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; border: 2px solid #fff; }
.reel-fuss { position: absolute; left: 13px; right: 50px; bottom: 26px; display: grid; gap: 7px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.reel-profil { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.reel-profil img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.reel-profil b { font-weight: 600; }
.reel-folgen { border: 1px solid rgba(255, 255, 255, .8); border-radius: 7px; padding: 3px 8px; font-size: 12px; font-weight: 600; }
.reel-text { font-size: 12.5px; line-height: 1.35; }
.reel-ton { display: flex; align-items: center; gap: 5px; font-size: 11.5px; opacity: .92; }
.reel-ton svg { width: 12px; height: 12px; }
.reel-fortschritt { position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: rgba(255, 255, 255, .25); }
.reel-fortschritt i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.reel-fortschritt i.laeuft { animation: balken var(--dauer, 4s) linear forwards; }
.home-balken { position: absolute; left: 50%; bottom: 5px; width: 36%; height: 4px; margin-left: -18%; border-radius: 999px; background: rgba(255, 255, 255, .9); }
@keyframes balken { to { transform: scaleX(1); } }

/* ---------- Tools, die ich jeden Tag nutze ---------- */
.tools { padding: var(--section) 0; background: var(--paper); }
.tools h2, .ressourcen h2 { font-size: clamp(30px, 4.4vw, 46px); }
.tools-lead, .res-lead { max-width: 32em; margin: 14px 0 clamp(28px, 4vw, 44px); font-size: 17px; }
.tool-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* Tool-Karten wie die Preiskarten auf closinghub.de: innere Flaeche mit Verlauf in der Farbe des Tools */
.tool {
  --farbe: var(--accent);
  display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line-mid); border-radius: 22px; background: var(--paper);
}
.tool-kopf {
  position: relative; display: flex; flex-direction: column; gap: 6px; flex: 1;
  padding: 22px 22px 24px; border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 26%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 10%, #fff) 0%, #fff 75%);
}
.tool-logo { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--farbe) 70%, transparent); }
.tool-logo img { width: 100%; height: 100%; object-fit: cover; }
.tool-logo--weiss { background: var(--farbe); }
.tool-logo--weiss img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) invert(1); }
.tool b { color: var(--ink); font: 600 19px/1.25 var(--head); letter-spacing: -.01em; }
.tool-text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tool-link { display: inline-flex; align-items: center; gap: 6px; padding: 14px 14px 10px; font: 600 14px/1 Manrope, sans-serif; color: color-mix(in srgb, var(--farbe) 75%, var(--ink)); }
.tool-link .ic { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.tool--eigen { border: 2px solid var(--accent); }
.tool-logo--ch img { width: 30px; height: 30px; object-fit: contain; }
.tool-marke { position: absolute; top: 20px; right: 20px; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px/1 Manrope, sans-serif; }
.tools-hinweis { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ---------- Ressourcen ---------- */
.ressourcen { padding: var(--section) 0; background: var(--paper); }
.tippen { color: var(--accent); }
.cursor { display: inline-block; width: 3px; height: .9em; margin-left: 3px; vertical-align: -.08em; background: var(--accent); animation: blinken 1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }
.res-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.res-karte { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line-mid); border-radius: var(--r-big); }
.res-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.res-bild img { width: 100%; height: 100%; object-fit: cover; }
.res-text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.res-text .art { font: 600 14px/1.3 Manrope, sans-serif; color: var(--accent); margin-bottom: 8px; }
.res-text h3 { font-size: 22px; margin-bottom: 8px; }
.res-text p:not(.art) { font-size: 15px; margin-bottom: 18px; }
.res-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 Manrope, sans-serif; color: var(--accent); }
.res-link .ic { width: 16px; height: 16px; }

.code {
  background: var(--dark); color: #E9E3F5; border-radius: var(--r-big);
  padding: 22px 24px 26px; box-shadow: var(--shadow-shot); overflow: hidden;
}
.code .kopf-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font: 600 13px/1.3 Manrope, sans-serif; color: var(--on-dark-2); }
.code .kopf-code .ic { width: 18px; height: 18px; color: #fff; }
.code .kopf-code span { display: flex; align-items: center; gap: 8px; }
.code pre { font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; color: #E9E3F5; }
.code pre b { color: var(--accent-soft); font-weight: 400; }
.kopieren { font: 600 12px/1 Manrope, sans-serif; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.kopieren:hover { background: rgba(255, 255, 255, .16); }
.skills { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; font-size: 14px; }
.skills code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent-soft); }

/* ---------- Kontakt ---------- */
.kontakt { padding: var(--section) 0; background: var(--paper); }
.kontakt-karte {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-big);
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, #8a55f7 0, transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, #2b1356 55%, #4B18B8 100%);
  color: var(--on-dark-2);
}
.kontakt-ringe { position: absolute; z-index: -1; left: -180px; top: -180px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(217, 183, 255, .2); box-shadow: 0 0 0 70px rgba(255, 255, 255, .02), 0 0 0 140px rgba(255, 255, 255, .015); pointer-events: none; }
.kontakt-person { position: relative; display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.kontakt-foto { position: relative; flex: none; width: 76px; height: 76px; }
.kontakt-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.kontakt-foto .strom-bahn { stroke: rgba(255, 255, 255, .22); }
.kontakt-notiz { position: relative; font: 600 clamp(22px, 2.4vw, 28px)/1 Caveat, cursive; color: var(--accent-soft); transform: rotate(-4deg); }
.kontakt h2 { color: #fff; font-size: clamp(40px, 6vw, 68px); margin-bottom: 16px; }
.kontakt .intro > p { max-width: 28em; font-size: 17px; margin-bottom: 28px; }
.kontakt-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; margin-bottom: 28px; }
.kontakt-wege .btn-whatsapp { grid-column: 1 / -1; min-height: 54px; }
.kontakt-wege .glas { justify-content: center; }
.btn-whatsapp { background: #15803D; color: #fff; box-shadow: var(--btn-face); }
.btn-whatsapp:hover { background: #166534; }
.glas { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-btn); color: #fff; font: 600 15px/1 Manrope, sans-serif; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s var(--ease); }
.glas:hover { background: rgba(255, 255, 255, .16); }
.glas .ic { width: 17px; height: 17px; }
.kontakt-social { list-style: none; display: flex; gap: 10px; }
.kontakt-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; border: 1px solid rgba(255, 255, 255, .22); transition: background .2s var(--ease); }
.kontakt-social a:hover { background: rgba(255, 255, 255, .12); }
.kontakt-social .ic { width: 18px; height: 18px; }
.kontakt .formular { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kontakt .feld label { color: #fff; }
.kontakt .feld input, .kontakt .feld textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.kontakt .feld input:focus, .kontakt .feld textarea:focus { background: rgba(255, 255, 255, .12); border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(192, 165, 251, .25); }
.auswahl { position: relative; }
.auswahl-knopf { position: relative; width: 100%; text-align: left; font: 16px/1.5 Manrope, sans-serif; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-btn); padding: 12px 44px 12px 14px; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.auswahl-knopf::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s var(--ease); }
.auswahl-knopf[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.auswahl-knopf:hover { background: rgba(255, 255, 255, .12); }
.auswahl-knopf:focus-visible, .auswahl-knopf[aria-expanded="true"] { outline: none; border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(192, 165, 251, .25); }
.auswahl-liste { position: absolute; z-index: 4; left: 0; right: 0; top: calc(100% + 6px); list-style: none; padding: 6px; border-radius: 12px; background: #2a1650; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); outline: none; transform-origin: top; animation: aufklappen .18s var(--ease); }
.auswahl-liste[hidden] { display: none; }
.auswahl-liste li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 8px; color: #fff; font-size: 15px; cursor: pointer; }
.auswahl-liste li.aktiv { background: rgba(255, 255, 255, .1); }
.auswahl-liste .haken { width: 18px; height: 18px; fill: none; stroke: var(--accent-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.auswahl-liste li[aria-selected="true"] .haken { opacity: 1; }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-4px) scaleY(.96); } }
.kontakt .einwilligung { color: var(--on-dark-2); }
.kontakt .einwilligung a { color: #fff; }
.kontakt .fehler { color: #FDA29B; }
.kontakt .status { color: var(--on-dark-2); }
.kontakt .status.ok { color: #6CE9A6; }
.kontakt .status.nein { color: #FDA29B; }
.kontakt .senden { background: #fff; color: var(--ink); box-shadow: none; }
.kontakt .senden:hover { background: var(--tint); }
/* ---------- Fuss ---------- */
.fuss { padding: 28px 0 36px; font-size: 13px; color: var(--ink-3); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fuss nav { display: flex; gap: 18px; }
.fuss a:hover { color: var(--accent); }


/* ---------- Kopfzeile: erscheint, sobald der Hero aus dem Bild ist ---------- */
.kopf-marke { position: absolute; top: 560px; height: 1px; width: 1px; }
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 5;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
}
.kopf.ist-da { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.kopf .name { display: flex; align-items: center; gap: 10px; font: 500 17px/1 var(--head); color: var(--ink); letter-spacing: -.01em; }
.kopf .name img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.btn-klein { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Formular ---------- */
.formular { background: var(--paper); border: 1px solid var(--line-mid); border-radius: var(--r-big); padding: clamp(22px, 3.4vw, 34px); box-shadow: var(--shadow-card); display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label { font: 600 14px/1.4 Manrope, sans-serif; color: var(--ink); }
.feld input, .feld textarea {
  width: 100%; font: 16px/1.5 Manrope, sans-serif; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-mid); border-radius: var(--r-btn); padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.feld textarea { resize: vertical; min-height: 116px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); background: var(--paper); }
.feld.hat-fehler input, .feld.hat-fehler textarea { border-color: #B42318; }
.fehler { font-size: 13px; color: #B42318; }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--ink-3); cursor: pointer; }
.einwilligung input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.einwilligung a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.senden { width: 100%; }
.senden[aria-busy="true"] { opacity: .7; pointer-events: none; }
.status { font-size: 14px; min-height: 1.4em; color: var(--ink-3); }
.status.ok { color: #15803D; font-weight: 600; }
.status.nein { color: #B42318; }


/* ---------- Ab Tablet ---------- */
@media (min-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .karte--ch { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding: 44px 0 0 44px; }
  .karte--ch .text { padding-bottom: 44px; }
  .karte--ch .shot { border-radius: 12px 0 0 0; border-right: 0; }
  .tool-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .res-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-karte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .insta-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; }
}

@media (min-width: 1100px) { .res-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Tools: vier Spalten */
@media (min-width: 1100px) {
  .tool-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Letzte Reihe ohne Luecke: bei elf Tools wird die letzte Karte doppelt breit */
  .tool:last-child:nth-child(odd) { grid-column: auto; }
  .tool:last-child:nth-child(4n+3) { grid-column: span 2; }
  .tool:last-child:nth-child(4n+2), .tool:nth-last-child(2):nth-child(4n+1) { grid-column: span 2; }
}

/* Handy: Telefon gross in der Mitte, die Seitenkarten laufen links und rechts aus dem Bild */
@media (max-width: 759px) {
  .buehne { min-height: 0; margin: 0 calc(var(--gutter) * -1); padding: 8px 0 16px; }
  .handy { width: min(78vw, 330px); }
  .seitenkarte { width: min(56vw, 250px); }
  .seitenkarte--links { transform: translateX(-88%) rotate(-8deg) scale(.92); }
  .seitenkarte--rechts { transform: translateX(88%) rotate(8deg) scale(.92); }
}

/* Handy: Kontakt-Karte fast randlos, Formular ohne eigenen Kasten, damit nichts eingequetscht wirkt */
@media (max-width: 759px) {
  .kontakt { padding-top: 48px; }
  .kontakt > .wrap { padding: 0 10px; }
  .kontakt-karte { padding: 32px 20px 26px; gap: 28px; border-radius: 24px; }
  .kontakt-person { gap: 16px; margin-bottom: 18px; }
  .kontakt-foto { width: 64px; height: 64px; }
  .kontakt-notiz { font-size: 22px; }
  .kontakt h2 { font-size: 42px; margin-bottom: 12px; }
  .kontakt .intro > p { font-size: 16px; margin-bottom: 22px; }
  .kontakt-wege { max-width: none; margin-bottom: 22px; }
  .kontakt .formular { background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0; padding: 26px 0 0; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 16px; }
  .kontakt .feld textarea { min-height: 120px; }
}

/* ---------- Unterseiten (Guides) ----------
   Gleicher Container wie die Startseite (.wrap, 1360 px). Abstaende nur aus diesen Stufen:
   --u-abschnitt zwischen Abschnitten, --u-block zwischen Bausteinen, --u-satz zwischen Zeilen. */
.unterseite { --u-abschnitt: clamp(48px, 6vw, 72px); --u-block: 24px; --u-satz: 14px; }
.seite-kopf { border-bottom: 1px solid var(--line); background: var(--paper); }
.seite-kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.seite-kopf .name { display: flex; align-items: center; gap: 10px; font: 500 17px/1 var(--head); color: var(--ink); letter-spacing: -.01em; }
.seite-kopf .name img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.artikel { padding: var(--u-abschnitt) 0 var(--section); }
.zurueck { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 Manrope, sans-serif; color: var(--ink-3); margin-bottom: var(--u-block); }
.zurueck .ic { width: 16px; height: 16px; transform: rotate(180deg); }
.artikel .art { font: 600 15px/1.3 Manrope, sans-serif; color: var(--accent); margin-bottom: var(--u-satz); }
.artikel h1 { font-size: clamp(38px, 5.6vw, 64px); max-width: 16em; margin-bottom: var(--u-block); }
.artikel-lead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.artikel-lead a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.artikel-stand { margin-top: var(--u-satz); font-size: 13px; color: var(--ink-3); }

.artikel-raster { margin-top: var(--u-abschnitt); padding-top: var(--u-abschnitt); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--u-block); }
.inhalt-titel { display: none; }
.inhalt-liste { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
.inhalt-liste::-webkit-scrollbar { display: none; }
.inhalt-liste a { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--tint-weak); border: 1px solid var(--line); font: 600 14px/1 Manrope, sans-serif; color: var(--accent-deep); }
.artikel-inhalt { min-width: 0; max-width: 760px; }

.block + .block { margin-top: var(--u-abschnitt); }
.block[id] { scroll-margin-top: 24px; }
.block h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: var(--u-satz); }
.block h3 { font-size: 18px; font-weight: 600; margin: var(--u-block) 0 var(--u-satz); }
.block > p, .block > ul { font-size: 17px; line-height: 1.65; }
.block > * + * { margin-top: var(--u-satz); }
.block > h2 + * { margin-top: 0; }
.block > .code, .block > .tipp, .block > .raster-2, .block > .befehle, .block > .tabelle, .block > .quelle, .block > .gut-fuer { margin-top: var(--u-block); }
.block > h3 + .befehle { margin-top: 0; }
.block ul { padding-left: 20px; display: grid; gap: 8px; }
.block li::marker { color: var(--accent); }
.block a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.block code, .befehle code { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent-deep); background: var(--tint); padding: 2px 6px; border-radius: 6px; }
.tipp { padding: 16px 18px; border-radius: var(--r-card); background: var(--tint-weak); border: 1px solid var(--line); font-size: 16px !important; }
.raster-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kasten { padding: 18px 20px; border: 1px solid var(--line-mid); border-radius: var(--r-card); }
.kasten b { display: block; color: var(--ink); font: 600 17px/1.3 var(--head); margin-bottom: 6px; }
.kasten p { font-size: 15px; margin: 0; }
.tabelle, .befehle { border: 1px solid var(--line-mid); border-radius: var(--r-card); overflow: hidden; }
.tabelle > div, .befehle > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 18px; border-top: 1px solid var(--line); }
.tabelle > div:first-child, .befehle > div:first-child { border-top: 0; }
.tabelle b { color: var(--accent); font-weight: 600; }
.befehle span { font-size: 15px; color: var(--ink-2); }
.befehle code { justify-self: start; }

/* Skills */
.skill + .skill, .block + .skill, .skill + .block { padding-top: var(--u-abschnitt); border-top: 1px solid var(--line); }
.skill-nr { font: 600 15px/1 var(--head); color: var(--accent); }
.skill > h2 { margin-top: 8px; margin-bottom: 4px; }
.skill-zeile { font-weight: 600; color: var(--ink) !important; margin-top: 0 !important; }
.gut-fuer { padding: 12px 16px; border-radius: var(--r-btn); background: var(--tint-weak); border-left: 3px solid var(--accent); font-size: 16px !important; }
.quelle { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 Manrope, sans-serif; color: var(--ink) !important; text-decoration: none !important; }
.quelle .ic { width: 18px; height: 18px; }

.artikel-cta { margin-top: var(--section); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-big); color: var(--on-dark-2); background: radial-gradient(ellipse 60% 80% at 100% 100%, #8a55f7 0, transparent 60%), linear-gradient(135deg, var(--dark) 0%, #2b1356 55%, #4B18B8 100%); }
.artikel-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: var(--u-satz); }
.artikel-cta p { margin-bottom: var(--u-block); max-width: 34em; }

/* Ressourcen-Uebersicht */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--u-abschnitt) 0 var(--u-block); }
.filter button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-mid); background: var(--paper); color: var(--ink-2); font: 600 14px/1 Manrope, sans-serif; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.res-karte[hidden] { display: none; }
.res-alle { margin-top: 28px; }

@media (min-width: 760px) {
  .raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .befehle > div { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; gap: 18px; }
  .tabelle > div { grid-template-columns: minmax(0, 1fr) 10rem; align-items: center; gap: 18px; }
}
/* Ab Desktop: Inhaltsverzeichnis links mitlaufend, Text rechts in Lesebreite */
@media (min-width: 1000px) {
  .artikel-raster { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
  .artikel-seite { position: relative; }
  .inhalt-liste { position: sticky; top: 24px; flex-direction: column; gap: 2px; overflow: visible; margin: 0; padding: 0; }
  .inhalt-titel { display: block; font: 600 13px/1.3 Manrope, sans-serif; color: var(--ink-3); margin-bottom: 10px; }
  .inhalt-liste a { padding: 8px 12px; border-radius: 8px; background: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; color: var(--ink-3); font-weight: 500; }
  .inhalt-liste a[aria-current="true"] { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 600; }
}
/* Uebersicht: sechs Spalten, damit fuenf Karten ohne Luecke aufgehen (drei oben, zwei breite unten) */
@media (min-width: 1100px) {
  .res-raster--seite { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .res-raster--seite .res-karte { grid-column: span 2; }
  .res-raster--seite .res-karte:nth-child(4):nth-last-child(2), .res-raster--seite .res-karte:nth-child(5):last-child { grid-column: span 3; }
  .res-raster--seite .res-karte:nth-child(4):nth-last-child(2) .res-bild, .res-raster--seite .res-karte:nth-child(5):last-child .res-bild { aspect-ratio: 16 / 7; }
}

/* ---------- Newsletter, demnaechst: POWER mit Strom-Rahmen und Blitzen ----------
   Rahmen nutzt dieselben Strom-Impulse wie das Profilbild (.strom-bahn, .strom-1, .strom-2).
   Animiert werden nur opacity und stroke-dashoffset; ohne Bewegung bleibt alles sichtbar stehen. */
.newsletter { background: var(--paper); }
.nl-karte {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px) clamp(36px, 5vw, 64px);
  border-radius: var(--r-big); color: var(--on-dark-2);
  background:
    radial-gradient(ellipse 46% 50% at 50% 34%, rgba(138, 85, 247, .42) 0, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(138, 85, 247, .55) 0, transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, #2b1356 55%, var(--accent-deep) 100%);
}
.nl-karte::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 38%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 38%, #000 20%, transparent 75%);
}
.nl-marke {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 999px; margin-bottom: clamp(28px, 4vw, 44px);
  font: 600 13px/1 Manrope, sans-serif; letter-spacing: .02em; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.nl-punkt { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4DE8FF; box-shadow: 0 0 8px rgba(77, 232, 255, .9); }
.nl-punkt::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #4DE8FF; opacity: 0; animation: nl-puls 2.4s var(--ease) infinite; }
@keyframes nl-puls { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.6); } }

/* Mitte: Blitz | Feld mit POWER | Blitz */
.power { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 900px; margin-bottom: clamp(30px, 4vw, 44px); }
.power-feld {
  position: relative; flex: 0 1 460px; min-width: 0; aspect-ratio: 3 / 1;
  display: grid; place-items: center; container-type: inline-size;
  border-radius: 7%/21%;
  background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(108, 43, 242, .35) 0, rgba(23, 16, 43, .25) 100%);
}
.power-rahmen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.power-rahmen path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.power-rahmen .strom-bahn { stroke: rgba(255, 255, 255, .28); stroke-width: .9; }
.power-rahmen .strom-1, .power-rahmen .strom-2 { stroke-width: 2.2; animation-duration: 4.8s; }
.power-rahmen .strom-2 { animation-delay: -2.4s; }
.power-wort {
  position: relative;
  font: 600 25cqw/1 var(--head); letter-spacing: .02em; text-transform: uppercase;
  color: #fff; padding-left: .02em;
  background: linear-gradient(180deg, #fff 30%, var(--accent-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(192, 165, 251, .55));
}
/* Aufleuchten, wenn ein Blitz einschlaegt */
.power-wort::after {
  content: "Power"; position: absolute; inset: 0; padding-left: inherit;
  background: none; -webkit-text-fill-color: #fff; color: #fff;
  text-shadow: 0 0 22px rgba(77, 232, 255, .9), 0 0 48px rgba(185, 139, 255, .8);
  opacity: 0; animation: power-schlag 5.6s linear infinite;
}
@keyframes power-schlag {
  0%, 11%, 100% { opacity: 0; }
  12% { opacity: .75; } 14% { opacity: .2; } 16% { opacity: .6; } 22% { opacity: 0; }
  55%, 61% { opacity: 0; }
  62% { opacity: .75; } 64% { opacity: .2; } 66% { opacity: .6; } 72% { opacity: 0; }
}

.blitz { flex: 1 1 0; min-width: 0; max-width: 200px; height: auto; aspect-ratio: 2 / 1; overflow: visible; }
.blitz--rechts { transform: scaleX(-1); }
.blitz path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.blitz-schein { stroke-width: 5; }
.blitz-ast { stroke-width: 1.6; }
.blitz-kern { stroke: #fff; stroke-width: 1.6; }
.blitz--links .blitz-schein, .blitz--links .blitz-ast { stroke: #4DE8FF; filter: drop-shadow(0 0 5px rgba(77, 232, 255, .95)); }
.blitz--rechts .blitz-schein, .blitz--rechts .blitz-ast { stroke: #B98BFF; filter: drop-shadow(0 0 5px rgba(199, 125, 255, .95)); }
.blitz--links path { animation: blitz-zucken 5.6s linear infinite; }
.blitz--rechts path { animation: blitz-zucken 5.6s linear infinite; animation-delay: 2.8s; }
.blitz .blitz-ast { animation-name: blitz-ast; }
/* Einschlag: Linie schiesst zum Feld, flackert zweimal, verglimmt. Danach lange Pause. */
@keyframes blitz-zucken {
  0% { opacity: 0; stroke-dashoffset: 1; }
  8% { opacity: 1; stroke-dashoffset: 1; }
  11% { opacity: 1; stroke-dashoffset: 0; }
  13% { opacity: .25; stroke-dashoffset: 0; }
  15% { opacity: 1; stroke-dashoffset: 0; }
  22% { opacity: 0; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes blitz-ast {
  0%, 10% { opacity: 0; stroke-dashoffset: 1; }
  13% { opacity: 1; stroke-dashoffset: 0; }
  15% { opacity: .3; stroke-dashoffset: 0; }
  18% { opacity: 0; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

.newsletter h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); max-width: 16em; margin-bottom: 14px; }
.nl-text { max-width: 30em; font-size: 17px; margin-bottom: 28px; }
.nl-form { display: flex; gap: 8px; width: 100%; max-width: 480px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.nl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nl-form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
  font: 16px/1.5 Manrope, sans-serif; color: #fff;
  background: transparent; border: 0; border-radius: var(--r-btn);
}
.nl-form input::placeholder { color: rgba(255, 255, 255, .5); }
.nl-form input:disabled { cursor: not-allowed; }
.nl-knopf { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .16); }
.nl-knopf:disabled { cursor: not-allowed; }
.nl-hinweis { margin-top: 14px; font-size: 14px; color: var(--on-dark-2); }
.nl-hinweis a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 759px) {
  .newsletter > .wrap { padding: 0 10px; }
  .nl-karte { padding: 36px 16px 30px; border-radius: 24px; }
  .power { margin-left: -6px; margin-right: -6px; width: calc(100% + 12px); }
  .power-feld { flex-basis: 64%; }
  .newsletter h2 { font-size: 32px; }
  .nl-text { font-size: 16px; }
  .nl-knopf { padding: 0 16px; }
}

/* ---------- Notizbuch-Look: Karo-Raster und Randnotizen in Handschrift ---------- */
.kariert { position: relative; isolation: isolate; }
.kariert::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, #e3e5ea 1px, transparent 1px), linear-gradient(to bottom, #e3e5ea 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000 35%, transparent 80%);
}
.kariert--rechts::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 35%, transparent 80%);
}
.mit-notiz { position: relative; }
.randnotiz { display: inline-block; position: relative; margin-left: 10px; vertical-align: 0.35em; font: 600 clamp(20px, 2.2vw, 26px)/1 Caveat, cursive; letter-spacing: 0; color: var(--accent); transform: rotate(-5deg); white-space: nowrap; }
.randnotiz svg { position: absolute; width: 58px; height: 34px; overflow: visible; }
.randnotiz--unten svg { left: 20%; top: 100%; transform: rotate(80deg); transform-origin: left top; }
.randnotiz--rechts svg { left: 100%; top: 40%; margin-left: 6px; }
.randnotiz path, .unterstrichen path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.zeigen.ist-da .randnotiz path, .zeigen.ist-da .unterstrichen path, .ressourcen .ist-da .unterstrichen path { animation: kritzeln .9s var(--ease) .5s forwards; }
.zeigen.ist-da .randnotiz .spitze { animation-delay: 1.3s; animation-duration: .35s; }
.unterstrichen { position: relative; display: inline-block; }
.unterstrichen svg { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; color: var(--accent); overflow: visible; }
.unterstrichen path { stroke-width: 3; vector-effect: non-scaling-stroke; }
@media (max-width: 759px) {
  .randnotiz { display: block; margin: 8px 0 0; width: max-content; transform: rotate(-3deg); }
  .randnotiz svg { display: none; }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .zeigen { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .zeigen.ist-da { opacity: 1; transform: none; }
.js .hero .zeigen { animation: rein .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); opacity: 1; transform: none; transition: none; }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .randnotiz path, .unterstrichen path { stroke-dashoffset: 0; }
  .kontakt-notiz path { stroke-dashoffset: 0; }
  .cursor { display: none; }
  .notiz path { stroke-dashoffset: 0; }
  .power-rahmen .strom-2 { stroke-dashoffset: -50; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .zeigen { opacity: 1; transform: none; }
}

/* Danke-Seite nach dem Kontaktformular */
.danke-seite main { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); display: flex; align-items: center; }
.danke-seite main > .hero { width: 100%; }
.danke { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); }
.danke-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.danke-zurueck { margin: 28px 0 0; }
@media (max-width: 600px) {
  .danke .notiz--2 { left: 50%; top: auto; bottom: -34px; transform: translateX(-50%) rotate(-3deg); }
  .danke .notiz--2 svg { display: none; }
  .danke .portrait { margin-bottom: 64px; }
}
