/*
Theme Name: Tobias Pöschl
Theme URI: https://tobias-poeschl.de
Author: Antigravity
Description: A minimalist theme restored to 1:1 parity with the original HTML source.
Version: 1.1.0
*/

:root {
  --bg:          #FAFAF7;
  --text:        #1A1D21;
  --text-muted:  rgba(26, 29, 33, 0.62);
  --text-faint:  rgba(26, 29, 33, 0.38);
  --accent:      #0F4C5C;
  --accent-hover:#0a3a47;
  --sand:        #E8E3D8;
  --sand-line:   #D8D2C4;
  --line:        rgba(26, 29, 33, 0.12);
  --code-bg:     #1A1D21;

  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  "JetBrains Mono", "SF Mono", Menlo, monospace;

  --max-width:  1240px;
  --side-pad:   48px;
  --section-pad: 120px;
}

/* ─── BASE RESET ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ─── GUTENBERG RESET ─── */
.wp-site-blocks,
.wp-block-group,
.wp-block-group__inner-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: block;
}

/* ─── NAVIGATION ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.menu-active {
  z-index: 200;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent !important;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s ease;
}
.nav-links a.active::after, .nav-links a:hover::after { right: 0; }
.nav-links a.active, .nav-links a:hover { color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-text {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--text);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-text:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── MOBILE MENU ─── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  padding: 0;
  z-index: 250;
  transition: border-color 0.2s ease;
}
.nav-toggle:hover, .nav-toggle.open { border-color: var(--text); }
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.25s ease, bottom 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { bottom: 17px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { bottom: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 150;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner {
  min-height: 100%;
  padding: 96px 28px 40px;
  display: flex; flex-direction: column;
  max-width: 600px; margin: 0 auto;
}
.mobile-menu .section-label {
  margin-bottom: 40px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}
.mobile-menu.open .section-label { opacity: 1; transform: translateY(0); }
.mobile-menu-links { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu-links li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mobile-menu.open .mobile-menu-links li { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-links li:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) { transition-delay: 0.24s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu-links a {
  display: flex; align-items: baseline; gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-serif);
  font-size: 36px; line-height: 1; color: var(--text);
}
.mobile-menu-links a.active { color: var(--accent); }
.mm-num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-faint);
  letter-spacing: 0.08em; font-weight: 500;
}
.mobile-menu-footer {
  margin-top: auto; padding-top: 48px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease 0.42s, transform 0.5s ease 0.42s;
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; transform: translateY(0); }
.mobile-menu-cta {
  display: inline-flex; width: 100%; justify-content: center;
  padding: 16px; font-size: 15px; margin-bottom: 28px;
}
.mobile-menu-meta {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-muted);
}
.mobile-menu-meta a { color: var(--accent); }
body.menu-open { overflow: hidden; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   INTERNAL PAGES (DEFAULT)
   ═══════════════════════════════════════════ */
/* Hero Internal */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-intro p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 440px;
}
.response-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding: 8px 16px;
  background: rgba(15, 76, 92, 0.08);
  border-radius: 100px;
}
.response-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.05); }
}

/* ═══════════════════════════════════════════
   FRONT PAGE (.home)
   ═══════════════════════════════════════════ */
.home .hero { padding: 96px 0 var(--section-pad); border-bottom: none; }
.home .hero-grid { grid-template-columns: 60fr 40fr; gap: 64px; align-items: center; }
.home .hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  margin: 24px 0 32px;
  letter-spacing: -0.02em;
}
.home .hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}
.home .hero-ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-portrait {
  aspect-ratio: 4 / 5;
  background: var(--sand);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-portrait span { position: relative; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.hero-portrait img {
	max-width: 100%;
}

/* Trust Bar (Home) */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.trust-label { color: var(--text-faint); }
.trust-stack { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-stack span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-muted); }
.trust-stack .sep { color: var(--text-faint); font-weight: 400; }

/* Services (Home) */
.services { padding: var(--section-pad) 0; }
.services h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 80px; max-width: 600px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; border-top: 1px solid var(--line); padding-top: 56px; }
.service-item { display: flex; flex-direction: column; }
.service-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 24px; letter-spacing: 0.05em; }
.service-item h3 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.service-item p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; font-size: 15px; }
.service-link { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.service-link:hover { gap: 12px; }

/* Code Proof (Home) */
.proof { padding: var(--section-pad) 0; background: var(--bg); }
.proof-grid { display: grid; grid-template-columns: 40fr 60fr; gap: 64px; align-items: center; }
.proof-text h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.15; margin-bottom: 24px; }
.proof-text p { color: var(--text-muted); font-size: 16px; line-height: 1.7; max-width: 420px; }
.editor { background: var(--code-bg); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(15, 76, 92, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08); }
.editor-bar { background: #24272c; padding: 12px 16px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.editor-dots { display: flex; gap: 7px; }
.editor-dots span { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
.editor-tab { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.6); background: var(--code-bg); padding: 6px 14px; border-radius: 4px; }
.editor-body { padding: 24px 28px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: #cdd6f4; overflow-x: auto; }
.ln { color: rgba(205, 214, 244, 0.3); display: inline-block; width: 28px; user-select: none; }
.kw { color: #cba6f7; } .fn { color: #89b4fa; } .str { color: #a6e3a1; } .cm { color: #6c7086; font-style: italic; } .var { color: #f38ba8; } .type { color: #f9e2af; }

/* About (Home) */
.about { padding: var(--section-pad) 0; }
.about-grid { display: grid; grid-template-columns: 40fr 60fr; gap: 80px; align-items: center; }
.about-portrait { aspect-ratio: 4 / 5; background: var(--sand); border-radius: 4px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-portrait img {
	max-width: 100%;
}
.about-portrait span { position: relative; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.about-text h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.15; margin: 24px 0 28px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.75; max-width: 560px; }
.about-text a.btn-text { margin-top: 16px; display: inline-block; }

/* Blog (Home) */
.blog h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 64px; }
.blog-list { border-top: 1px solid var(--line); }
.blog-item { display: grid; grid-template-columns: 140px 1fr 100px; gap: 40px; align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--line); transition: background 0.2s ease, padding 0.2s ease; cursor: pointer; }
.blog-item:hover { background: linear-gradient(to right, rgba(232, 227, 216, 0.4), transparent 80%); padding-left: 16px; }
.blog-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; }
.blog-title { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; color: var(--text); transition: color 0.2s ease; }
.blog-item:hover .blog-title { color: var(--accent); }
.blog-tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; text-align: right; }
.blog-all { margin-top: 48px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* ═══════════════════════════════════════════
   KONTAKT PAGE
   ═══════════════════════════════════════════ */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: start; }

/* Form */
.form-wrap { max-width: 600px; }
.form-wrap h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.form-wrap h2 em { font-style: italic; color: var(--accent); }
.form-wrap > p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 40px; }
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.field label .req { color: var(--accent); margin-left: 2px; }
.field input, .field textarea { font-family: var(--font-sans); font-size: 16px; color: var(--text); background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 12px 0; line-height: 1.6; transition: border-color 0.2s ease; width: 100%; resize: none; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field textarea { min-height: 140px; line-height: 1.7; }

/* Honeypot field - hidden */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.form-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; flex-shrink: 0; margin-top: 3px; position: relative; transition: all 0.2s ease; }
.form-consent input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.form-consent input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.form-consent label { font-size: 13px; color: var(--text-muted); line-height: 1.55; cursor: pointer; }
.form-consent a { color: var(--accent); border-bottom: 1px solid var(--accent); }

.form-submit { display: flex; align-items: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.form-submit button { appearance: none; -webkit-appearance: none; border: none; font-family: var(--font-sans); }
.form-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.05em; }

/* Info Card */
.info-card { background: var(--sand); border-radius: 4px; padding: 40px; position: sticky; top: 100px; }
.info-card h3 { font-size: 24px; line-height: 1.25; margin-bottom: 24px; }
.info-block { padding: 24px 0; border-top: 1px solid var(--sand-line); }
.info-block:last-child { padding-bottom: 0; }
.info-block:first-of-type { border-top: none; padding-top: 0; }
.info-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.info-label svg { width: 14px; height: 14px; }
.info-value { font-family: var(--font-sans); font-size: 16px; color: var(--text); display: block; margin-bottom: 4px; }
.info-value.is-link { border-bottom: 1px solid var(--text); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.info-value.is-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.info-note { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-top: 4px; }

.response-info { background: var(--sand); border: 1px solid var(--sand-line); border-radius: 4px; padding: 24px; margin-top: 24px; }
.response-info .info-label { color: var(--accent); margin-bottom: 10px; }
.response-info strong { font-family: var(--font-serif); font-weight: 400; font-size: 22px; display: block; margin-bottom: 8px; color: var(--text); }
.response-info p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* Calendly */
.calendly-section { padding: var(--section-pad) 0; background: var(--bg); border-top: 1px solid var(--line); }
.calendly-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; align-items: end; }
.calendly-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; }
.calendly-header h2 em { font-style: italic; color: var(--accent); }
.calendly-header-text p { color: var(--text-muted); max-width: 460px; font-size: 16px; margin-bottom: 18px; }
.calendly-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.calendly-list li { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; letter-spacing: 0.02em; }
.calendly-list li::before { content: "→"; color: var(--accent); font-weight: 600; }
.calendly-frame { background: var(--sand); border-radius: 4px; padding: 8px; min-height: 720px; position: relative; overflow: hidden; }
.calendly-frame iframe { width: 100%; height: 720px; border: none; border-radius: 2px; display: block; }

/* Pre-FAQ */
.pre-faq { padding: 100px 0; background: var(--sand); border-top: 1px solid var(--sand-line); }
.pre-faq-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pre-faq h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.15; color: var(--text); }
.pre-faq h2 em { font-style: italic; color: var(--accent); }
.pre-faq-text p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.pre-faq-text a { color: var(--accent); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: opacity 0.2s ease; }
.pre-faq-text a:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════
   ÜBER MICH PAGE
   ═══════════════════════════════════════════ */
.hero-lead { font-size: 20px; line-height: 1.55; color: var(--text); margin-bottom: 24px; font-family: var(--font-serif); letter-spacing: -0.005em; }
.hero-paragraph { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin-bottom: 18px; }
.hero-portrait-caption { position: relative; text-align: center; }
.hero-portrait-caption span { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.hero-portrait-caption strong { font-family: var(--font-serif); font-weight: 400; font-size: 22px; color: var(--text); display: block; margin-top: 12px; }

.timeline { padding: var(--section-pad) 0; background: var(--bg); }
.timeline-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; align-items: end; }
.timeline-intro h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; }
.timeline-intro p { color: var(--text-muted); font-size: 16px; max-width: 460px; }
.timeline-list { border-top: 1px solid var(--line); position: relative; }
.timeline-item { display: grid; grid-template-columns: 180px 80px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); position: relative; align-items: baseline; }
.timeline-year { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; }
.timeline-marker { position: relative; height: 100%; }
.timeline-marker::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.timeline-marker::after { content: ""; position: absolute; top: 22px; bottom: -64px; left: 50%; transform: translateX(-50%); width: 1px; background: var(--line); }
.timeline-item:last-child .timeline-marker::after { display: none; }
.timeline-content { max-width: 620px; }
.timeline-content h3 { font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
.timeline-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.principles { padding: var(--section-pad) 0; background: var(--sand); }
.principles-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; align-items: end; }
.principles-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; }
.principles-header p { color: var(--text-muted); max-width: 460px; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.principle { border-top: 1px solid var(--sand-line); padding-top: 32px; }
.principle-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 20px; display: block; }
.principle h3 { font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
.principle p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.aventux { padding: var(--section-pad) 0; }
.aventux-grid { display: grid; grid-template-columns: 40fr 60fr; gap: 80px; align-items: center; }
.aventux-visual { aspect-ratio: 1 / 1; background: var(--text); color: var(--bg); border-radius: 4px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-mono); position: relative; overflow: hidden; }
.aventux-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(250, 250, 247, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 250, 247, 0.04) 1px, transparent 1px); background-size: 32px 32px; }
.aventux-visual-inner { position: relative; z-index: 1; }
.aventux-monogram { font-family: var(--font-serif); font-size: 80px; line-height: 1; margin-bottom: 24px; }
.aventux-meta { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 250, 247, 0.6); line-height: 2; }
.aventux-meta strong { color: var(--bg); font-weight: 500; }
.aventux-text h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.15; margin: 24px 0 28px; }
.aventux-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.75; max-width: 560px; }
.aventux-text a.btn-text { margin-top: 16px; display: inline-block; }

.stack { padding: var(--section-pad) 0; background: var(--bg); }
.stack-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 72px; align-items: end; }
.stack-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; }
.stack-header p { color: var(--text-muted); max-width: 460px; }
.stack-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 72px; }
.stack-cat { border-top: 1px solid var(--line); padding-top: 28px; }
.stack-cat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.stack-cat h3 { font-size: 22px; margin-bottom: 24px; }
.stack-items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-items li { font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: var(--text); transition: border-color 0.2s ease, color 0.2s ease; }
.stack-items li:hover { border-color: var(--accent); color: var(--accent); }
.stack-cat p { color: var(--text-muted); font-size: 14px; margin-top: 16px; line-height: 1.65; }

.personal { padding: var(--section-pad) 0; background: var(--bg); }
.personal-header { margin-bottom: 64px; max-width: 720px; }
.personal-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.personal-header p { color: var(--text-muted); font-size: 16px; }
.personal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.personal-card { border-top: 1px solid var(--line); padding-top: 28px; }
.personal-card-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 18px; font-weight: 600; display: block; }
.personal-card h3 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.personal-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ═══════════════════════════════════════════
   LEISTUNGEN PAGE
   ═══════════════════════════════════════════ */
.modules { padding: var(--section-pad) 0; }
.modules-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; align-items: end; }
.modules-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; }
.modules-header h2 em { font-style: italic; color: var(--accent); }
.modules-header-text p { color: var(--text-muted); max-width: 460px; font-size: 16px; margin-bottom: 12px; }
.modules-header-note { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; margin-top: 8px; }
.modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.module { background: var(--bg); padding: 48px 40px; display: flex; flex-direction: column; position: relative; transition: background 0.3s ease; }
.module:hover { background: var(--sand); }
.module-num { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.module-num::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 4px; }
.module h3 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.module-desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.module-list { list-style: none; margin-top: auto; }
.module-list li { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--text); padding: 8px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.module:hover .module-list li { border-top-color: var(--sand-line); }
.module-list li::before { content: "+"; color: var(--accent); font-weight: 600; font-size: 14px; }

.process { padding: var(--section-pad) 0; background: var(--text); color: var(--bg); }
.process-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 88px; align-items: end; }
.process-header .section-label { color: rgba(250, 250, 247, 0.5); }
.process-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; color: var(--bg); }
.process-header h2 em { font-style: italic; color: var(--sand); }
.process-header p { color: rgba(250, 250, 247, 0.7); max-width: 460px; }
.phases { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 24px; position: relative; }
.phases::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: rgba(250, 250, 247, 0.15); z-index: 0; }
.phase { position: relative; z-index: 1; }
.phase-marker { width: 44px; height: 44px; border-radius: 50%; background: var(--text); border: 1px solid rgba(250, 250, 247, 0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--bg); margin-bottom: 28px; transition: all 0.3s ease; }
.phase:hover .phase-marker { background: var(--sand); color: var(--text); border-color: var(--sand); }
.phase-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; font-weight: 500; }
.phase h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; color: var(--bg); }
.phase p { color: rgba(250, 250, 247, 0.65); font-size: 14px; line-height: 1.65; }
.phase-duration { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: rgba(250, 250, 247, 0.45); letter-spacing: 0.05em; }

.usecases { padding: var(--section-pad) 0; }
.usecases-header { margin-bottom: 80px; max-width: 720px; }
.usecases-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.usecases-header h2 em { font-style: italic; color: var(--accent); }
.usecases-header p { color: var(--text-muted); font-size: 16px; }
.usecase-list { border-top: 1px solid var(--line); }
.usecase { display: grid; grid-template-columns: 80px 1fr 320px; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; }
.usecase-num { font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--accent); font-style: italic; }
.usecase-content h3 { font-size: 28px; line-height: 1.25; margin-bottom: 16px; }
.usecase-quote { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: var(--text); font-style: italic; margin-bottom: 20px; padding-left: 20px; border-left: 2px solid var(--accent); }
.usecase-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 560px; }
.usecase-modules { background: var(--sand); padding: 28px; border-radius: 4px; }
.usecase-modules-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.usecase-modules ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.usecase-modules li { font-family: var(--font-mono); font-size: 12px; color: var(--text); display: flex; align-items: baseline; gap: 10px; }
.usecase-modules li .num { color: var(--accent); font-weight: 600; flex-shrink: 0; }

.faq { padding: var(--section-pad) 0; background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 96px; align-items: start; }
.faq-header h2 { font-size: clamp(40px, 4.5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.faq-header h2 em { font-style: italic; color: var(--accent); }
.faq-header p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--sand-line); }
.faq-item { border-bottom: 1px solid var(--sand-line); }
.faq-question { width: 100%; background: transparent; border: none; padding: 28px 0; text-align: left; cursor: pointer; font-family: var(--font-serif); font-size: 22px; line-height: 1.3; color: var(--text); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; transition: color 0.2s ease; }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; margin-top: 4px; transition: transform 0.3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform 0.3s ease, background 0.3s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 32px 0; color: var(--text-muted); font-size: 16px; line-height: 1.75; max-width: 640px; }
.faq-answer-inner p { margin-bottom: 14px; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ═══════════════════════════════════════════
   BLOG PAGE UNIQUE
   ═══════════════════════════════════════════ */
.blog-header { padding: 96px 0 80px; border-bottom: 1px solid var(--line); }
.blog-header-grid { display: grid; grid-template-columns: 55fr 45fr; gap: 80px; align-items: end; }
.blog-header h1 { font-size: clamp(56px, 8vw, 112px); line-height: 1; margin-top: 20px; }
.blog-list-section { padding: 80px 0 var(--section-pad); }
.year-group { margin-bottom: 72px; }
.year-group:last-child { margin-bottom: 0; }
.year-heading { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: baseline; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.year-heading h2 { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; }
.year-heading-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; }
.blog-item.featured { padding: 56px 0 56px 24px; margin-bottom: 8px; border-left: 2px solid var(--accent); background: linear-gradient(to right, rgba(15, 76, 92, 0.04), transparent 60%); }
.blog-item.featured:hover { padding-left: 32px; background: linear-gradient(to right, rgba(15, 76, 92, 0.08), transparent 60%); }
.blog-content { max-width: 720px; }
.blog-item.featured .blog-title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.blog-excerpt { color: var(--text-muted); font-size: 15px; line-height: 1.65; display: none; }
.blog-item.featured .blog-excerpt { display: block; }
.featured-badge { display: inline-block; font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 100px; }

/* ═══════════════════════════════════════════
   BLOG ARTICLE UNIQUE
   ═══════════════════════════════════════════ */
.article-header {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 10px; color: var(--text-faint); }

.article-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 5px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
}

.article-header h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 32px;
}
.article-header h1 em {
  font-style: italic;
  color: var(--accent);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-meta-sep { color: var(--text-faint); }
.article-meta .author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
  font-weight: 600;
}

.article-section {
  padding: 80px 0 var(--section-pad);
}
.article-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

/* Sticky TOC */
.toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.toc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
  display: block;
}
.toc ul {
  list-style: none;
  border-left: 1px solid var(--line);
}
.toc li { position: relative; }
.toc a {
  display: block;
  padding: 8px 0 8px 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.toc a:hover { color: var(--text); }
.toc a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 500;
}

/* Article content */
.article-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.article-body .lead {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.005em;
}
.article-body p {
  margin-bottom: 1.5em;
  color: rgba(26, 29, 33, 0.85);
}
.article-body h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  margin: 64px 0 24px;
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 40px 0 16px;
  scroll-margin-top: 100px;
}
.article-body strong { font-weight: 600; color: var(--text); }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(15, 76, 92, 0.3);
  transition: border-color 0.2s ease;
}
.article-body a:hover { border-color: var(--accent); }
.article-body ul, .article-body ol { margin: 0 0 1.5em 24px; }
.article-body li { margin-bottom: 10px; color: rgba(26, 29, 33, 0.85); }
.article-body li::marker { color: var(--accent); }

.article-body .callout,
.callout {
  background: var(--sand);
  border-left: 3px solid var(--accent);
  padding: 24px 28px !important;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}
.callout p:last-child { margin-bottom: 0; }

/* Code block */
.code-block {
  background: var(--code-bg);
  border-radius: 8px;
  margin: 32px 0;
  overflow: hidden;
  font-family: var(--font-mono);
}
.code-bar {
  background: #24272c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }
.code-block pre {
  padding: 20px 24px;
  color: #cdd6f4;
  font-size: 13px;
  line-height: 1.75;
  overflow-x: auto;
  margin: 0;
}

.article-body .pull-quote,
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 32px !important;
  margin: 48px 0;
  font-style: italic;
}

/* Article footer */
.article-footer {
  max-width: 720px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.author-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 64px;
}
.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sand);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--sand-line) 1px, transparent 1px), linear-gradient(90deg, var(--sand-line) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
}
.author-photo span { position: relative; font-family: var(--font-mono); font-size: 12px; color: var(--text); font-weight: 600; }
.author-info-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; display: block; }
.author-info h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.author-info p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 12px; }
.author-info a { color: var(--accent); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

.next-article {
  background: var(--sand);
  border-radius: 4px;
  padding: 40px;
  display: block;
  transition: transform 0.25s ease;
}
.next-article:hover { transform: translateY(-2px); }
.next-article-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; font-weight: 600; }
.next-article h3 { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
.next-article p { color: var(--text-muted); font-size: 15px; }

/* ─── RSS Section ─── */
.rss-section { background: var(--sand); padding: 80px 0; }
.rss-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 960px; margin: 0 auto; }
.rss-section h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.rss-section p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.rss-links { display: flex; flex-direction: column; gap: 12px; }
.rss-link { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--bg); border-radius: 4px; transition: transform 0.2s ease; }
.rss-link:hover { transform: translateX(4px); }
.rss-link-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.rss-link-content strong { font-family: var(--font-serif); font-size: 18px; font-weight: 400; display: block; color: var(--text); }
.rss-link-content span { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }

/* ─── LEGAL PAGES (Impressum / Datenschutz) ─── */
.hero--simple {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-simple-inner {
  max-width: 800px;
}
.hero--simple h1 {
  font-size: clamp(48px, 6vw, 80px);
  margin-top: 16px;
}

.legal-section {
  padding: 80px 0 var(--section-pad);
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
}
.legal-block {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.legal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
}
.legal-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.legal-content p { margin-bottom: 12px; }
.legal-content strong { font-weight: 600; }
.legal-content a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* Datenschutz specific */
.legal-prose-section {
  padding: 64px 0 var(--section-pad);
}
.legal-prose-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
}
.legal-toc ul {
  list-style: none;
  margin-top: 20px;
}
.legal-toc li {
  margin-bottom: 12px;
}
/* ─── CONTACT CTA ─── */
.cta {
  background: var(--sand);
  padding: 140px 0;
  margin-top: 40px;
}
.cta-inner {
  text-align: center;
}
.cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.cta h2 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: -24px auto 48px;
}
.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cta-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.cta-meta a {
  color: var(--accent);
  border-bottom: 1px solid rgba(15, 76, 92, 0.2);
}
.cta-meta a:hover {
  border-color: var(--accent);
}
.legal-toc a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.legal-toc a:hover {
  color: var(--accent);
}
.legal-prose-body {
  max-width: 720px;
}
.legal-prose-block {
  margin-bottom: 80px;
}
.legal-prose-block:last-child { margin-bottom: 0; }
.legal-prose-block h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.legal-prose-block h3 {
  font-size: 20px;
  margin: 32px 0 16px;
  color: var(--text);
}
.legal-prose-block p {
  margin-bottom: 16px;
  color: var(--text-muted);
}
.legal-prose-block ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--text-muted);
}
.legal-prose-block li {
  margin-bottom: 8px;
}
.legal-prose-block a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

@media (max-width: 900px) {
  .legal-grid, .legal-prose-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .legal-toc {
    position: static;
    margin-bottom: 40px;
  }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.footer-logo span { opacity: 0.5; margin-left: 8px; }
.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.7);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--bg); }
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250, 250, 247, 0.2);
  border-radius: 50%;
  color: rgba(250, 250, 247, 0.7);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--bg);
  color: var(--bg);
}
.footer-bottom {
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250, 250, 247, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 88px; --side-pad: 28px; }
  .nav-inner { padding: 16px var(--side-pad); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .hero, .home .hero { padding: 56px 0 var(--section-pad); }
  .hero-grid, .home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1, .home .hero h1 { font-size: clamp(40px, 9vw, 56px); line-height: 1.06; margin: 18px 0 24px; }
  .hero p, .home .hero p { font-size: 16px; margin-bottom: 32px; }
  .hero-portrait, .home .hero-portrait { max-width: 100%; aspect-ratio: 5 / 6; order: -1; }
  .hero-ctas, .home .hero-ctas { gap: 16px; width: 100%; }
  .hero-ctas .btn-primary { flex: 1; justify-content: center; padding: 14px 22px; }

  .trust { padding: 24px 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; }
  .proof-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .editor-body { padding: 20px; font-size: 12px; }

  .blog-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .blog-tag { text-align: left; margin-bottom: 12px; order: -1; }

  .timeline-intro, .principles-header, .aventux-grid, .stack-header, .modules-header, .process-header, .faq-grid, .calendly-header { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
  .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 28px 0; }
  .timeline-marker { display: none; }
  .principles-grid, .stack-categories, .personal-grid, .modules-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .aventux-visual { max-width: 360px; padding: 32px; }
  .module { padding: 36px 28px; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 32px; position: relative; }
  .phases::before { display: block; top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .phase { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
  .usecase { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 36px 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .info-card { position: static; padding: 32px 28px; }
  .calendly-frame iframe { height: 620px; }
  .pre-faq-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .blog-header-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .year-heading { grid-template-columns: minmax(0, 1fr); gap: 8px; }

  .article-header { padding: 48px 0; }
  .article-header h1 { font-size: clamp(34px, 8vw, 56px); }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
  .article-body { font-size: 16px; min-width: 0; }
  .article-body .lead { font-size: 20px; margin-bottom: 32px; }
  .article-body h2 { font-size: clamp(24px, 5vw, 32px); margin: 48px 0 20px; word-wrap: break-word; }
  
  /* Ensure code blocks don't force width */
  .code-block { width: 100%; max-width: 100%; overflow: hidden; }
  .code-block pre { width: 100%; overflow-x: auto; }
  .author-block { grid-template-columns: 60px 1fr; gap: 16px; }
  .author-photo { width: 60px; height: 60px; }
  
  .next-article { padding: 32px 24px; }
  .next-article h3 { font-size: 22px; }

  .rss-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rss-section { padding: 64px 0; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 28px; }
  .footer-links, .footer-social { justify-content: center; }

  .cta { padding: 96px 0; }
  .cta-buttons { flex-direction: column; gap: 12px; }
  .cta-buttons .btn { width: 100%; justify-content: center; padding: 16px 22px; }
}

@media (max-width: 480px) {
  :root { --side-pad: 22px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .mobile-menu-links a { font-size: 30px; padding: 20px 4px; }
  .form-submit { flex-direction: column; align-items: stretch; gap: 16px; }
  .form-submit button { width: 100%; justify-content: center; }
}

.wp-site-blocks, .wp-block-group, .wp-block-group__inner-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
}