:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #5c5c5c;
  --border: #e8e4df;
  --accent: #c41e3a;
  --accent-strong: #a01830;
  --accent-soft: #fde8ec;
  --accent-warm: #fbbf24;
  --accent-warm-soft: #fef3c7;
  --shadow-sm: 0 1px 3px rgba(28, 28, 28, 0.06);
  --shadow-md: 0 8px 30px rgba(28, 28, 28, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1100px;
  --font-serif: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled {
  border-bottom-color: var(--border);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

.topnav {
  display: flex;
  gap: 28px;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.topnav a:hover {
  color: var(--text);
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 64px;
}

.hero-greeting {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero .lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 32px;
}

/* Kontakt */

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 420px;
}

.contact-box h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.contact-box .contact-desc {
  font-size: 0.925rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: var(--text);
  color: var(--surface);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.btn-contact:hover {
  background: #333;
  box-shadow: var(--shadow-md);
}

.btn-contact:active {
  transform: scale(0.98);
}

.contact-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--text);
  background: var(--surface);
}

/* Hero image */

.hero-image {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--surface);
}

/* ── Section headings ── */

.section-header {
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

/* ── Help cards (Ali-style „How Can I Help You?") ── */

.help-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.help-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.help-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.help-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.help-card-icon.blue { background: var(--accent-soft); }
.help-card-icon.yellow { background: var(--accent-warm-soft); }
.help-card-icon.green { background: #ecfdf5; }
.help-card-icon.purple { background: #f3e8ff; }

.help-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.help-card p {
  font-size: 0.925rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.help-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.help-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.help-card a:hover {
  text-decoration: underline;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── YouTube ── */

.youtube-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.youtube-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.youtube-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.youtube-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.youtube-card-badge.nx {
  color: #92400e;
  background: var(--accent-warm-soft);
}

.youtube-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.youtube-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ff0000;
  color: #ffffff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-youtube svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-youtube:hover {
  background: #cc0000;
  color: #ffffff;
}

.btn-youtube:active {
  transform: scale(0.98);
}

.inline-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.section-header .inline-link {
  color: var(--accent-strong);
}

/* ── About ── */

.about-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.about-content p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.75;
}

.about-content p:last-of-type {
  margin-bottom: 24px;
}

/* ── Blog sections ── */

.blog-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-showcase-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card--compact .article-card-body {
  padding: 16px 18px 18px;
}

.article-card--compact .article-card-thumb {
  height: 132px;
}

.article-card--compact h3 {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.article-card--compact .article-card-link {
  margin-top: auto;
}

.blog-archive {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-archive-summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
  transition: background 0.15s ease;
}

.blog-archive-teasers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.blog-archive-teaser {
  display: block;
  width: 72px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-archive-teaser:hover {
  border-color: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.blog-archive-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-archive-label {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-archive-label-open {
  display: none;
}

.blog-archive[open] .blog-archive-label-closed {
  display: none;
}

.blog-archive[open] .blog-archive-label-open {
  display: inline;
  color: var(--text);
}

.blog-archive-teasers-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.blog-archive-teasers-row .article-card--mini {
  flex: 0 0 168px;
}

.blog-archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 10px;
  max-height: min(420px, 60vh);
  overflow-y: auto;
  padding: 10px 14px 14px;
  scrollbar-width: thin;
  align-content: start;
}

.article-card--list {
  flex-direction: row;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
}

.article-card--list:last-child {
  border-bottom: 1px solid var(--border);
}

.article-card--list:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  background: var(--accent-soft);
}

.article-card--list .article-card-thumb {
  width: 200px;
  height: 112px;
  flex-shrink: 0;
}

.article-card--list .article-card-body {
  padding: 10px 14px 12px;
  justify-content: flex-start;
  min-width: 0;
}

.article-card--list .article-card-meta {
  font-size: 0.65rem;
  margin-bottom: 3px;
}

.blog-archive-list .article-card--list .youtube-play-btn svg {
  width: 48px;
  height: 34px;
}

.blog-archive-list .article-card--list .youtube-duration {
  font-size: 0.7rem;
  right: 6px;
  bottom: 6px;
}

.blog-archive-summary::-webkit-details-marker {
  display: none;
}

.blog-archive-summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.blog-archive[open] .blog-archive-summary {
  border-bottom: 1px solid var(--border);
}

.blog-archive[open] .blog-archive-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.blog-archive-summary:hover {
  background: var(--accent-soft);
}

.blog-archive-summary:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-strong);
}

.article-card--mini {
  flex: 0 0 168px;
  scroll-snap-align: start;
}

.article-card--mini .article-card-thumb {
  height: 94px;
}

.article-card--mini .article-card-body {
  padding: 10px 12px 12px;
}

.article-card--mini .article-card-meta {
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.article-card--mini h3 {
  font-size: 0.8rem;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card--mini .youtube-play-btn svg {
  width: 40px;
  height: 28px;
}

.article-card--mini .youtube-duration {
  font-size: 0.65rem;
  padding: 1px 5px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-warm-soft) 100%);
}

.article-card-thumb--video {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #000;
}

.article-card-thumb--video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.article-card:hover .article-card-thumb--video img {
  transform: scale(1.03);
  opacity: 0.92;
}

.article-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
  flex: 1;
}

/* Archiv-Liste: Titel lesbar, Beschreibung klein (nach .article-card h3/p) */
.article-card--list h3 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.article-card--list .article-card-desc {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.empty-state {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* ── Blog article page ── */

.blog-article {
  max-width: 680px;
  padding: 48px 0 64px;
}

.blog-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.blog-article .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 32px;
}

.blog-article h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.blog-article p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 16px;
}

.blog-article ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.4rem;
  margin: 0 0 16px;
}

.blog-article ol {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 1.4rem;
  margin: 0 0 16px;
}

.blog-article ol li,
.blog-article ul li {
  margin-bottom: 8px;
}

.chapter-list {
  font-size: 0.925rem;
}

.video-link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 0 0 28px;
  box-shadow: var(--shadow-sm);
}

.video-link-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 16px 0 8px;
  line-height: 1.35;
}

.video-link-card > p:not(.video-link-label):not(.video-link-note) {
  margin: 0 0 0;
}

.video-link-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 12px !important;
}

.video-link-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 14px 0 0 !important;
  line-height: 1.5;
}

/* YouTube-style thumbnail link (static, no embed) */

.youtube-thumbnail-link {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.youtube-thumbnail-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease;
  pointer-events: none;
}

.youtube-thumbnail-link:hover::after {
  background: rgba(0, 0, 0, 0.28);
}

.youtube-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.youtube-thumbnail-link:hover img {
  transform: scale(1.02);
}

.youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.youtube-thumbnail-link:hover .youtube-play-btn,
.article-card:hover .youtube-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.youtube-play-btn svg {
  width: 68px;
  height: 48px;
  display: block;
}

.youtube-play-btn--sm svg {
  width: 48px;
  height: 34px;
}

.youtube-play-bg {
  fill: #ff0000;
  opacity: 0.92;
}

.youtube-play-icon {
  fill: #ffffff;
}

.youtube-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  pointer-events: none;
}

.article-card-thumb--video .youtube-play-btn {
  top: 50%;
  left: 50%;
}

.article-card-thumb--video .youtube-duration {
  right: 6px;
  bottom: 6px;
  font-size: 0.7rem;
}

/* YouTube Zwei-Klick-Lösung (DSGVO) */

.youtube-2click {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: var(--shadow-md);
}

.youtube-2click-consent {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.youtube-2click-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.72);
}

.youtube-2click-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
}

.youtube-2click-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.youtube-2click-play {
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
}

.youtube-2click-play svg {
  width: 68px;
  height: 48px;
  display: block;
}

.youtube-2click-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.youtube-2click-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
  max-width: 28rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.youtube-2click-hint {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 26rem;
}

.youtube-2click-hint a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.youtube-2click-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 13px 24px;
  border: none;
  border-radius: var(--radius);
  background: #ff0000;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.youtube-2click-load:hover {
  background: #cc0000;
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.42);
}

.youtube-2click-load:active {
  transform: scale(0.98);
}

.youtube-2click-load:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.youtube-2click-external {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.youtube-2click-external:hover {
  color: #ffffff;
}

.youtube-2click-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.youtube-2click-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-2click-fallback {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 24px;
  background: #111;
  text-align: center;
}

.youtube-2click-fallback p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 28rem;
}

.youtube-2click-fallback .youtube-2click-load {
  text-decoration: none;
}

@media (max-width: 600px) {
  .youtube-2click-panel {
    padding: 16px 14px;
  }

  .youtube-2click-play svg {
    width: 52px;
    height: 36px;
  }

  .youtube-2click-load {
    width: 100%;
    max-width: 260px;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--text);
}

.legal-page .legal-note {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 32px;
}

.legal-page a {
  color: var(--accent-strong);
}

.legal-page--itrk {
  max-width: 900px;
}

.legal-page--itrk .itrk-legaltext {
  margin-top: 8px;
  min-height: 120px;
}

.legal-page--itrk .itrk-legaltext iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-page--itrk-static {
  max-width: 900px;
}

.itrk-legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.itrk-legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.35;
}

.itrk-legal-content p,
.itrk-legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.itrk-legal-content ul {
  padding-left: 1.4rem;
  margin: 0 0 16px;
}

.itrk-legal-content li {
  margin-bottom: 6px;
}

.itrk-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.itrk-copyright img {
  max-width: 180px;
  height: auto;
  border: 0;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 48px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 48px;
  }

  .hero-image {
    order: -1;
    padding-top: 0;
  }

  .profile-photo {
    width: 200px;
    height: 200px;
  }

  .contact-box {
    max-width: 100%;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .blog-showcase-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .blog-showcase-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .blog-showcase-row .article-card--compact {
    flex: 0 0 min(260px, 78vw);
    scroll-snap-align: start;
  }

  .blog-archive-summary {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }

  .blog-archive-teaser {
    width: 64px;
    height: 42px;
  }

  .blog-archive-label {
    flex: 1 1 120px;
  }

  .blog-archive-list {
    grid-template-columns: 1fr;
    max-height: min(360px, 55vh);
    padding: 6px 10px 10px;
    row-gap: 8px;
  }

  .article-card--list .article-card-thumb {
    width: 176px;
    height: 99px;
  }

  .article-card--list .article-card-body {
    padding: 10px 12px;
  }

  .article-card--list h3 {
    font-size: 0.82rem;
  }

  .article-card--list .article-card-desc {
    font-size: 0.72rem;
    -webkit-line-clamp: 5;
  }

  .topbar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .topnav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
