/* ── Reset & Base ─────────────────────────────────────────────────────── */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}


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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Buttons are links too, but must keep their high-contrast label. */
.btn,
.btn:visited,
.btn:hover,
.btn:focus-visible {
  color: #fff !important;
  text-decoration: none;
}

a:hover { text-decoration-thickness: 2px; }

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

/* ── Skip Link ────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus { top: 0; }

/* ── Layout ───────────────────────────────────────────────────────────── */

.container {
  width: min(90%, 68ch);
  margin-inline: auto;
  padding-block: 2rem;
}

.site-header .container {
  width: min(95%, 1100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

main { flex: 1; }

/* ── Header & Nav ─────────────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}


.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 0.4rem 0.75rem;
  color: var(--fg);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}


.site-nav a:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}


@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
    padding: 0.5rem;
  }



  .site-nav ul.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    min-height: 44px;
  }

  .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);
  }
}

/* ── Breadcrumb ───────────────────────────────────────────────────────── */

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb a {
  color: inherit;
  opacity: 0.7;
}

.breadcrumb a:hover { opacity: 1; }

/* ── Post / Page Content ──────────────────────────────────────────────── */

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.post-header time {
  font-size: 0.875rem;
  opacity: 0.6;
}

.post-hero-image {
  margin: 0 0 2.25rem;
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  box-shadow: 0 14px 38px color-mix(in srgb, var(--fg) 14%, transparent);
}

.post-hero-image img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.post-hero-image figcaption {
  padding: 0.65rem 1rem 0.8rem;
  color: color-mix(in srgb, var(--fg) 68%, transparent);
  font-size: 0.8rem;
  line-height: 1.4;
}

.post-content,
.page-content {
  max-width: 70ch;
}

.post-content h2,
.page-content h2 {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.post-content h3,
.page-content h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.post-content p,
.page-content p {
  margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-content li,
.page-content li {
  margin-bottom: 0.4rem;
}

.post-content a,
.page-content a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-content img,
.page-content img {
  border-radius: 6px;
  margin-block: 1.5rem;
}

.post-content strong,
.page-content strong {
  font-weight: 600;
}

.post-content table,
.page-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.post-content th,
.post-content td,
.page-content th,
.page-content td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--fg) 15%, transparent);
}

.post-content th,
.page-content th {
  font-weight: 600;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
}

/* ── Archive / Post List ──────────────────────────────────────────────── */

.archive-header {
  margin-bottom: 2.5rem;
}

.archive-header h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.post-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.post-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  border-radius: 8px;
  transition: border-color 0.15s;
}

.post-card:hover {
  border-color: var(--accent);
}

.post-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.post-card h2 a {
  color: var(--fg);
  text-decoration: none;
}


.post-card h2 a:hover { color: var(--accent); }


.post-card time {
  font-size: 0.8125rem;
  opacity: 0.55;
  display: block;
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

/* ── Related Posts ────────────────────────────────────────────────────── */

.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
}

.related-posts h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.related-posts ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.related-posts a {
  font-size: 0.9375rem;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  font-size: 0.875rem;
  opacity: 0.7;
}

.site-footer .container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  width: min(95%, 1100px);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  color: inherit;
}

/* ── Home ─────────────────────────────────────────────────────────────── */

.page-home .container {
  width: min(95%, 1100px);
}

/* Fließtext-Content auf der Homepage zentrieren (kein "halb links"-Effekt) */
.page-home .page-content {
  max-width: 70ch;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.hero {
  text-align: center;
  padding-block: 4rem 3rem;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  text-align: left;
}

.hero__copy { min-width: 0; }

.hero__image {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 40px color-mix(in srgb, var(--fg) 18%, transparent);
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 2.5rem;
  }
  .hero__image { order: -1; }
}

.hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  opacity: 0.75;
  max-width: 52ch;
  margin-inline: 0;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  min-height: 44px;
  transition: filter 0.15s;
}

.btn:hover { filter: brightness(1.1); }


.home-section-header {
  margin-bottom: 1.5rem;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

/* ── 404 ──────────────────────────────────────────────────────────────── */

.page-404 .container {
  text-align: center;
  padding-block: 6rem 4rem;
}

.page-404 h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  margin-bottom: 1rem;
}

.page-404 p { opacity: 0.7; margin-bottom: 2rem; }

/* ── YouTube DSGVO-Consent ────────────────────────────────────────────── */

.yt-consent {
  position: relative;
  background: #0f0f0f;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 1.5rem;
  overflow: hidden;
}

.yt-consent__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9375rem;
  font-family: inherit;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
  max-width: 36ch;
}

.yt-consent__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.yt-consent__icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
}


.yt-consent__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-top: 0.75rem;
  text-align: center;
  max-width: 40ch;
}

.yt-consent__note a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,0.3);
}

/* ── Content Note (aus [su_note] Shortcode) ───────────────────────────── */

.content-note {
  padding: 1rem 1.25rem;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}


/* ── Post CTA (config.cta) ────────────────────────────────────────────── */

.post-cta {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
}


.post-cta__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}


.post-cta h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  color: var(--fg);
}


.post-cta p {
  margin-bottom: 1rem;
  opacity: 0.85;
  font-size: 0.9375rem;
}

.post-cta .btn {
  font-size: 0.9375rem;
  color: #fff !important;
}


/* Indoor Hobbys */

/* Indoor Hobbys – kreative, warme Gestaltung */
.hero { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; } }
.hero__copy h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; }
.hero__copy p { max-width: 58ch; font-size: 1.1rem; }
.hero__image { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 50px rgb(31 26 20 / 0.16); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 28px 0 42px; }
.category-card { position: relative; display: flex; flex-direction: column; background: #fffaf1; border: 1px solid #dcc3a1; border-radius: 18px; padding: 16px 18px; color: inherit; text-decoration: none; }
.category-card:hover, .category-card:focus-visible { border-color: var(--accent, #a65e2a); transform: translateY(-2px); box-shadow: 0 12px 26px rgb(31 26 20 / 0.10); }
.category-card strong { display: block; margin-bottom: 6px; }
.category-card span { color: #5f4f3d; }
.category-card::after { content: '›'; position: absolute; right: 18px; bottom: 14px; color: var(--accent, #a65e2a); font-size: 1.25rem; }

.hobby-filter-bar { margin: 28px 0; display: grid; gap: 16px; }
.hobby-filter-bar form { display: grid; gap: 14px; }
@media (min-width: 700px) { .hobby-filter-bar form { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) auto; align-items: end; } }
.hobby-filter-bar label { display: grid; gap: 7px; font-weight: 650; }
.hobby-filter-bar input, .hobby-filter-bar select { width: 100%; min-height: 44px; padding: 12px 13px; border: 1px solid #c8b292; border-radius: 12px; background: #fffaf1; font: inherit; }
.hobby-filter-bar button { min-height: 44px; white-space: nowrap; padding: 12px 18px; border: 0; border-radius: 12px; background: var(--accent, #a65e2a); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

.hobby-card { background: #fffaf1; border: 1px solid #d8c19d; border-radius: 20px; padding: 22px; margin: 14px 0; }
.hobby-card h2 { margin-top: 0; }
.hobby-card h2 a { color: inherit; text-decoration: none; }
.hobby-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.hobby-meta span { background: #eadbc3; color: #4f3c25; border-radius: 999px; padding: 4px 10px; font-size: 0.92rem; }
.hobby-card p { max-width: 72ch; }
.hobby-card h3 { margin: 18px 0 8px; }
.hobby-card ol { margin: 0 0 18px 20px; }

.affiliate-disclosure { margin: 18px 0; padding: 14px 16px; border-left: 4px solid var(--accent, #a65e2a); background: #fff4e4; }
.no-results { margin: 24px 0; padding: 18px; border-radius: 16px; background: #fff4e4; }

/* Post typography */
.post-header time { display: block; margin-bottom: 16px; }
.post-content .affiliate-disclosure { font-family: inherit; font-size: 1rem; line-height: 1.6; }
.post-content h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 28px 0 12px; }
.post-content h3 { font-size: 1.22rem; margin: 22px 0 10px; }
.post-content p, .post-content li { line-height: 1.75; }
