/* =========================================================
   Workflows4JTL – Portfolio (Robert Abele)
   Design: dark / technisch · Akzent: Logo-Rot · systemeigene Fonts (DSGVO-freundlich)
   Keine externen Requests, kein Tracking.
   ========================================================= */

:root {
  /* Farben */
  --bg:           #0b0f17;
  --bg-2:         #0d121c;
  --surface:      #111826;
  --surface-2:    #131b2b;
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:         #e7edf6;
  --text-muted:   #9aa7bd;
  --text-dim:     #6b7890;

  --accent:       #ED3237;
  --accent-2:     #F26A6E;
  --accent-strong:#C21A1F;
  --accent-glow:  rgba(237,50,55, 0.16);

  --ok:           #34d399;
  --amber:        #fbbf24;
  --red:          #f87171;

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;

  /* Maße */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --gap: clamp(1rem, 2.5vw, 1.6rem);

  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 18px 50px -22px rgba(0,0,0,0.7);
  --shadow-accent: 0 0 0 1px rgba(237,50,55,0.25), 0 22px 60px -26px rgba(237,50,55,0.45);

  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

/* Subtiler technischer Hintergrund (Grid + Glows) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(237,50,55,0.10), transparent 60%),
    radial-gradient(800px 500px at 5% 10%, rgba(242,106,110,0.08), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}

/* ---------- Helfer ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #ffffff; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.grad {
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(120deg, #C81820 0%, #9E1015 100%);
  box-shadow: 0 10px 26px -14px rgba(158,16,21,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(200,24,32,0.6); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.02);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Brand mark ---------- */
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px -8px var(--accent-glow);
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 15, 23, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-text { display: flex; flex-direction: column; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-mono); font-weight: 400; font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: 0.4rem; }
.main-nav a {
  padding: 0.5rem 0.85rem; border-radius: 8px;
  color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.main-nav .nav-cta {
  margin-left: 0.4rem;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}
.main-nav .nav-cta:hover { border-color: var(--accent); color: #fff; background: var(--accent-glow); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.75rem, 5.5vw, 4.75rem); scroll-margin-top: calc(var(--header-h) + 12px); }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); border-block: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem); margin-bottom: 0.7rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 4.5vw, 3.5rem); padding-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.6rem); margin-bottom: 1.2rem; }
.lead { color: var(--text-muted); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.8rem;
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-dim);
}
.hero-points li { position: relative; padding-left: 1.1rem; }
.hero-points li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }

/* Terminal-Karte */
.hero-visual { perspective: 1200px; }
.terminal {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .terminal { transform: rotateY(0deg) rotateX(0deg); }
.terminal-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--ok); }
.terminal-title { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-dim); }
.terminal-body {
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 0.68rem + 0.25vw, 0.86rem);
  line-height: 1.85;
  padding: 1.1rem 1.2rem 1.3rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.t-prompt { color: var(--accent-2); }
.t-cmd { color: var(--text); }
.t-ok { color: var(--ok); font-weight: 700; }
.t-dim { color: var(--text-dim); }
.t-done { color: var(--accent); }
.t-cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Tech-Strip ---------- */
.tech-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,0.012); padding-block: 1.1rem; }
.tech-list {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.8rem; justify-content: center; align-items: center;
  font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-dim);
}
.tech-list li { position: relative; }
.tech-list li:not(:last-child)::after { content: "·"; position: absolute; right: -1rem; color: var(--border-strong); }

/* ---------- Cards (Leistungen / Cases) ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap);
}
.card, .case-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.card:hover, .case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--accent);
  background: rgba(237,50,55,0.08);
  border: 1px solid rgba(237,50,55,0.18);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3, .case-card h3 { font-size: 1.18rem; margin-bottom: 0.55rem; }
.card p, .case-card p { color: var(--text-muted); font-size: 0.97rem; }

.case-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em;
  color: var(--accent); background: rgba(237,50,55,0.08);
  border: 1px solid rgba(237,50,55,0.18);
  padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.case-result { margin-top: 0.9rem; font-size: 0.92rem; color: var(--text); }
.case-result span { color: var(--accent); font-weight: 600; }

/* ---------- Expertise / Stack ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.stack-col {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.stack-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 1rem; font-family: var(--font-mono); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li {
  font-size: 0.86rem; color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.75rem; border-radius: 8px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.tag-list li:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Ablauf / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); counter-reset: step; }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.step-no {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--border-strong);
  display: block; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.96rem; }
.step::after {
  content: ""; position: absolute; top: 1.7rem; right: 1.5rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(237,50,55,0.14);
}

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.about-media { display: flex; flex-direction: column; gap: 1.2rem; }
.avatar {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(237,50,55,0.22), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700;
  color: rgba(231,237,246,0.18);
  position: relative; overflow: hidden;
}
.avatar::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5;
}
.about-facts {
  display: grid; gap: 0.1rem;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.about-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; background: rgba(255,255,255,0.015); }
.about-facts li:not(:last-child) { border-bottom: 1px solid var(--border); }
.fact-k { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.82rem; }
.fact-v { color: var(--text); font-weight: 500; text-align: right; font-size: 0.92rem; }
.about-copy p { color: var(--text-muted); margin-bottom: 1rem; }
.about-copy .btn { margin-top: 0.6rem; }

/* ---------- Kontakt ---------- */
.section-contact { background: linear-gradient(180deg, rgba(237,50,55,0.05), transparent 40%); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.contact-intro h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.4rem); margin-bottom: 0.8rem; }
.contact-intro > p { color: var(--text-muted); }
.contact-direct { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.contact-direct li { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-k { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-dim); letter-spacing: 0.04em; }
.contact-direct a { color: var(--accent); font-weight: 500; width: fit-content; }
.contact-direct a:hover { text-decoration: underline; }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 0.97rem; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field-check { grid-auto-flow: column; grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; }
.field-check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--accent); }
.field-check label { font-size: 0.84rem; color: var(--text-dim); }
.field-check a { color: var(--accent); }
.form-note { font-size: 0.9rem; min-height: 1.2em; margin: 0; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 2.6rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.6rem 2.5rem; align-items: center; justify-content: space-between; padding-bottom: 1.8rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-name { font-weight: 700; }
.footer-tag { color: var(--text-dim); font-size: 0.88rem; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-nav a, .footer-legal a { color: var(--text-muted); font-size: 0.92rem; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between;
  border-top: 1px solid var(--border); padding-block: 1.2rem; margin-top: 0.4rem;
  color: var(--text-dim); font-size: 0.84rem;
}
.footer-made { font-family: var(--font-mono); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem); margin-bottom: 0.4rem; }
.legal .updated { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.84rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal h3 { font-size: 1.02rem; margin: 1.3rem 0 0.4rem; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 0.7rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal a:not(.btn) { color: var(--accent); }
.legal a:not(.btn):hover { text-decoration: underline; }
.legal .placeholder { color: var(--amber); background: rgba(251,191,36,0.08); border: 1px dashed rgba(251,191,36,0.35); padding: 0.05rem 0.4rem; border-radius: 5px; font-family: var(--font-mono); font-size: 0.85em; }
.legal .note {
  background: rgba(237,50,55,0.06); border: 1px solid rgba(237,50,55,0.2);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.5rem 0; color: var(--text-muted); font-size: 0.92rem;
}
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2.5rem; color: var(--accent); font-weight: 500; }
.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .terminal { transform: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: rgba(11,15,23,0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.85rem 0.6rem; border-radius: 8px; font-size: 1rem; }
  .main-nav .nav-cta { margin-left: 0; margin-top: 0.4rem; text-align: center; }
}

@media (max-width: 520px) {
  .hero-points { gap: 0.4rem 1rem; }
  .footer-bottom { flex-direction: column; }
  .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal, .js .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .t-cursor { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== Blog ===== */
.blog-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.blog-head h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem); margin-bottom: 0.7rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.blog-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.blog-card h2 { font-size: 1.2rem; margin: 0.3rem 0 0.55rem; }
.blog-card h2 a { color: var(--text); }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-muted); font-size: 0.96rem; }
.blog-card .read-more { margin-top: auto; padding-top: 1rem; color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-dim); }
.post-cat { color: var(--accent); background: rgba(237,50,55,0.08); border: 1px solid rgba(237,50,55,0.18); padding: 0.2rem 0.6rem; border-radius: 999px; }
.post-header { max-width: 760px; margin-bottom: 2.2rem; }
.post-header h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); margin: 0.9rem 0 0.8rem; }
.post-lead { color: var(--text-muted); font-size: 1.12rem; }
.legal .post-figure { margin: 1.6rem 0; padding: 1.1rem 1.3rem; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: 0.96rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 2.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.post-tags li { font-size: 0.84rem; color: var(--text); background: rgba(255,255,255,0.03); border: 1px solid var(--border-strong); padding: 0.35rem 0.75rem; border-radius: 8px; margin: 0; }
.post-cta { margin-top: 2.4rem; padding: 1.6rem 1.8rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: linear-gradient(135deg, rgba(237,50,55,0.07), rgba(242,106,110,0.05)); }
.post-cta h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.post-cta p { color: var(--text-muted); margin-bottom: 1.1rem; }
.back-link.top { margin-top: 0; margin-bottom: 1.6rem; }


/* ===== Marken-Logo (Header/Footer/Ueber-mich) ===== */
.brand-logo{width:38px;height:38px;object-fit:contain;flex:none;}
.footer-brand .brand-logo{width:42px;height:42px;}
.avatar-logo{width:60%;max-width:240px;height:auto;opacity:.96;filter:drop-shadow(0 12px 34px rgba(237,50,55,.30));position:relative;z-index:1;}

.blog-card a.read-more{display:inline-block;width:fit-content;}
.blog-card a.read-more:hover{text-decoration:underline;}
