/*
Theme Name: Ausmal Kinder
Theme URI: https://example.com/
Author: Company
Author URI: https://example.com/
Description: Schnelles, responsives WordPress-Theme mit linker Sidebar, mobilem Menü und deutscher Ausrichtung für Ausmalbilder, Malvorlagen und Kategorieseiten.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ausmal-kinder
*/

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #334155;
  --text-dark: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --accent: #f59e0b;
  --success: #10b981;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 35px -5px rgba(8, 145, 178, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --radius: 20px;
  --radius-sm: 14px;
  --sidebar-width: 300px;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 24px;
}

.sidebar-toggle {
  display: none;
}

.sidebar-close-wrap {
  display: none;
}

.mobile-bar {
  display: none;
}

.mobile-brand-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  position: sticky;
  top: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.branding {
  margin-bottom: 22px;
}

.site-logo,
.mobile-logo {
  line-height: 0;
}

.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  max-width: 100%;
  height: auto;
}

.site-logo .custom-logo {
  max-height: 120px;
  width: auto;
}

.mobile-logo .custom-logo {
  max-height: 50px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-title-small {
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.site-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.site-tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sidebar-block + .sidebar-block {
  margin-top: 24px;
}

.sidebar-heading {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu,
.category-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li,
.category-list li,
.footer-links li {
  margin: 0 0 10px;
}

.menu a,
.category-list a,
.footer-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a,
.category-list a:hover,
.category-list .current-cat > a,
.footer-links a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
  text-decoration: none;
  transform: translateX(2px);
}

/* Sidebar Category Block */
.sidebar-cat-block .sidebar-heading a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.sidebar-cat-block .sidebar-heading a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Sidebar Post List */
.sidebar-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-post-list li {
  border-bottom: 1px solid var(--border);
}

.sidebar-post-list li a {
  display: block;
  padding: 8px 4px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 0;
  background: transparent;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-post-list li a:hover,
.sidebar-post-list .current-menu-item > a,
.sidebar-post-list .current_page_item > a,
.sidebar-post-list .current-cat > a {
  color: var(--primary-dark);
  padding-left: 6px;
  background: transparent;
  text-decoration: none;
  transform: none;
  font-weight: 600;
}

/* Sidebar "More" link */
.sidebar-more-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-more-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.site-main {
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(var(--content-width) - var(--sidebar-width));
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.hero {
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  margin-bottom: 32px;
}

.hero-kicker {
  display: inline-block;
  background: rgba(91, 124, 255, 0.1);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.4);
}

.button.button-secondary {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.button.button-secondary:hover {
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.section {
  margin-top: 30px;
}

.section:first-child {
  margin-top: 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.category-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.category-card:hover,
.post-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: #a5f3fc;
}

.category-card a,
.post-card a {
  text-decoration: none;
}

.category-card h3,
.post-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.category-card p,
.post-card p,
.entry-summary,
.entry-meta,
.archive-description,
.lead-text {
  color: var(--muted);
}

.card-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7e8;
  color: #9a6400;
  font-size: 0.85rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-box {
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.archive-header h1,
.page-header h1,
.single-header h1 {
  line-height: 1.2;
  margin-top: 0;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
  max-width: 100%;
}

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.site-footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 8px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pagination {
  margin-top: 24px;
}

.pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-field,
input[type="text"],
input[type="search"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

@media (max-width: 1200px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 45; /* Below sidebar (50) but above content */
    backdrop-filter: blur(2px);
  }

  .site-shell {
    display: block;
    padding: 0;
  }

  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .mobile-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
  }

  .mobile-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
  }

  .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
  }

  .sidebar-close-wrap {
    display: block;
    margin-top: 20px;
    text-align: center;
  }

  .site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    width: min(86vw, 340px);
    max-height: none;
    border-radius: 0 20px 20px 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }

  body.menu-open .site-sidebar {
    transform: translateX(0);
  }

  .site-main {
    max-width: none;
    width: 100%;
    padding: 16px;
  }

  .content-panel,
  .hero {
    padding: 22px;
  }

  .category-grid,
  .post-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-grid,
  .post-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }
}

/* ========== FOOTER (DirectColoring Style) ========== */

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer {
  margin-top: 40px;
}

/* Top Social Bar */
.footer-social-bar {
  background: #1a7a8a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-icon:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Main Footer */
.footer-main {
  background: #fff;
  padding: 30px 0 20px;
  border-top: 1px solid #e5e7eb;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Widget Title */
.footer-widget-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

/* Widget Link Lists */
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  border-bottom: 1px solid #e5e7eb;
}

.footer-widget ul li a {
  display: block;
  padding: 6px 0;
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-widget ul li a:hover {
  color: #1a7a8a;
  padding-left: 4px;
}

/* Widget Text / Paragraph */
.footer-widget p {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* Bottom Bar */
.footer-bottom {
  background: #1a7a8a;
  padding: 18px 0;
}

.footer-copyright {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-social-bar {
    gap: 12px;
  }
}

/* PJAX Loading Bar */
#ausmal-pjax-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  width: 0;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* ========== HILFE-BEREICH ========== */

.hilfe-bereich {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-top: 24px;
  box-sizing: border-box;
}

.hilfe-bereich__titel {
  margin: 0 0 18px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hilfe-bereich__raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Karte */
.hilfe-karte {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
}

.hilfe-karte:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #a5f3fc;
  text-decoration: none;
}

/* Symbol */
.hilfe-karte__symbol {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  border-radius: 10px;
  color: var(--primary-dark);
}

.hilfe-karte__symbol svg {
  width: 20px;
  height: 20px;
}

/* Text-Block */
.hilfe-karte__text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.hilfe-karte__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: normal;
  word-break: break-word;
}

.hilfe-karte__beschreibung {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: normal;
  word-break: break-word;
}

/* Pfeil */
.hilfe-karte__pfeil {
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.hilfe-karte__pfeil svg {
  width: 16px;
  height: 16px;
}

.hilfe-karte:hover .hilfe-karte__pfeil {
  transform: translateX(3px);
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 980px) {
  .hilfe-bereich__raster {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hilfe-karte__beschreibung {
    display: none;
  }
}

/* ========== FAQ-BEREICH ========== */

.faq-bereich {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-top: 24px;
  box-sizing: border-box;
}

.faq-bereich__titel {
  margin: 0 0 20px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* List */
.faq-liste {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Each entry */
.faq-eintrag {
  border-bottom: 1px solid var(--border);
}

.faq-eintrag:last-child {
  border-bottom: none;
}

/* Question button */
.faq-frage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.18s ease, color 0.18s ease;
}

.faq-frage:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

.faq-frage[aria-expanded="true"] {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

/* Arrow icon */
.faq-pfeil {
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s ease;
}

.faq-pfeil svg {
  width: 18px;
  height: 18px;
}

.faq-frage[aria-expanded="true"] .faq-pfeil {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

/* Answer panel */
.faq-antwort {
  padding: 0 20px 18px 20px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
  background: var(--surface-soft);
}

.faq-antwort__inhalt p {
  margin: 0;
}

@media (max-width: 640px) {
  .faq-bereich {
    padding: 20px 18px;
  }

  .faq-frage {
    padding: 15px 16px;
    font-size: 0.93rem;
  }

  .faq-antwort {
    padding: 0 16px 14px;
  }
}

/* =====================================================================
   FAQ PAGE TEMPLATE
   SketchJoy-style layout with sidebar navigation and topic sections
   ===================================================================== */

.faq-page-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ── FAQ Sidebar Navigation ────────────────────────────────────────── */

.faq-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.faq-sidebar__titel {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.faq-sidebar__link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.faq-sidebar__link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark);
  font-weight: 600;
}

.faq-sidebar__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.faq-sidebar__label {
  flex: 1;
}

/* ── FAQ Content Main Area ─────────────────────────────────────────── */

.faq-content {
  min-width: 0;
}

.faq-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 48px 40px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.faq-header__titel {
  margin: 0 0 16px 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.faq-header__beschreibung {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 700px;
}

/* ── FAQ Topic Sections ────────────────────────────────────────────── */

.faq-topics {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq-topic-section {
  scroll-margin-top: 120px;
}

.faq-topic-section__titel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary);
}

.faq-topic-section__icon {
  font-size: 32px;
}

.faq-topic-section__liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── FAQ Items (Accordion) ─────────────────────────────────────────── */

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.faq-item__frage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item__frage:hover {
  background: var(--surface-soft);
  color: var(--primary);
}

.faq-item__frage[aria-expanded="true"] {
  background: var(--surface-soft);
  color: var(--primary);
  border-bottom: 2px solid var(--border);
}

.faq-item__text {
  flex: 1;
  line-height: 1.5;
}

.faq-item__pfeil {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item__frage[aria-expanded="true"] .faq-item__pfeil {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item__antwort {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__antwort[hidden] {
  display: block;
}

.faq-item__antwort-inhalt {
  padding: 20px 24px 24px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.faq-item__antwort-inhalt p {
  margin: 0 0 12px 0;
}

.faq-item__antwort-inhalt p:last-child {
  margin-bottom: 0;
}

/* ── Contact CTA ───────────────────────────────────────────────────── */

.faq-kontakt {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 56px;
}

.faq-kontakt__titel {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-kontakt__text {
  margin: 0 0 24px 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-kontakt__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.faq-kontakt__button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ── Empty State ───────────────────────────────────────────────────── */

.faq-empty {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  padding: 60px 20px;
}

/* ── Responsive Design ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .faq-page-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-sidebar {
    position: relative;
    top: 0;
    order: -1;
  }

  .faq-sidebar__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }

  .faq-sidebar__link:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) {
  .faq-page-wrapper {
    margin: 24px auto;
    padding: 0 16px;
  }

  .faq-sidebar {
    padding: 20px;
  }

  .faq-sidebar__nav {
    grid-template-columns: 1fr;
  }

  .faq-header {
    padding: 32px 24px;
  }

  .faq-header__titel {
    font-size: 28px;
  }

  .faq-header__beschreibung {
    font-size: 15px;
  }

  .faq-topic-section__titel {
    font-size: 22px;
  }

  .faq-item__frage {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-item__antwort-inhalt {
    padding: 16px 18px 20px 18px;
    font-size: 15px;
  }

  .faq-kontakt {
    padding: 28px 20px;
  }

  .faq-kontakt__titel {
    font-size: 20px;
  }
}

/* =====================================================================
   PAPIER-RATGEBER TEMPLATE
   Comprehensive guide page styling
   ===================================================================== */

.papier-ratgeber-seite {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ── Header Section ────────────────────────────────────────────────── */

.papier-header {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 60px 50px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.papier-header__titel {
  margin: 0 0 16px 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.papier-header__untertitel {
  margin: 0 0 24px 0;
  font-size: 19px;
  line-height: 1.6;
  opacity: 0.95;
}

.papier-header__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  opacity: 0.9;
}

.papier-meta__lesezeit,
.papier-meta__datum {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Table of Contents ─────────────────────────────────────────────── */

.papier-inhaltsverzeichnis {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 40px;
  margin-bottom: 48px;
}

.papier-inhaltsverzeichnis__titel {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.papier-inhaltsverzeichnis__liste {
  margin: 0;
  padding-left: 24px;
  list-style: decimal;
}

.papier-inhaltsverzeichnis__liste li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.papier-inhaltsverzeichnis__liste a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.papier-inhaltsverzeichnis__liste a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ── Main Content ──────────────────────────────────────────────────── */

.papier-inhalt {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}

.papier-abschnitt {
  margin-bottom: 60px;
  scroll-margin-top: 100px;
}

.papier-abschnitt:last-child {
  margin-bottom: 0;
}

.papier-abschnitt h2 {
  margin: 0 0 24px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
}

.papier-abschnitt h3 {
  margin: 32px 0 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.papier-abschnitt p {
  margin: 0 0 20px 0;
  line-height: 1.8;
  color: var(--text);
  font-size: 17px;
}

.papier-abschnitt ul {
  margin: 20px 0;
  padding-left: 24px;
}

.papier-abschnitt ul li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text);
}

.papier-abschnitt ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ── Info Boxes ────────────────────────────────────────────────────── */

.papier-box {
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  margin: 28px 0;
  border-left: 4px solid;
}

.papier-box h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
}

.papier-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.papier-box--tipp {
  background: linear-gradient(to right, #dbeafe 0%, #eff6ff 100%);
  border-left-color: #3b82f6;
}

.papier-box--tipp h3 {
  color: #1e40af;
}

.papier-box--warnung {
  background: linear-gradient(to right, #fef3c7 0%, #fef9e7 100%);
  border-left-color: #f59e0b;
}

.papier-box--warnung h3 {
  color: #92400e;
}

/* ── Papier Gewicht Tabelle ────────────────────────────────────────── */

.papier-gewicht-tabelle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.gewicht-karte {
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.gewicht-karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gewicht-karte--empfohlen {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-color: #059669;
  transform: scale(1.05);
}

.gewicht-karte--empfohlen:hover {
  transform: scale(1.08) translateY(-4px);
}

.gewicht-karte__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gewicht-karte__zahl {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}

.gewicht-karte--empfohlen .gewicht-karte__zahl {
  color: white;
}

.gewicht-karte__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.gewicht-karte--empfohlen .gewicht-karte__name {
  color: white;
}

.gewicht-karte__beschreibung {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--muted);
}

.gewicht-karte--empfohlen .gewicht-karte__beschreibung {
  color: rgba(255, 255, 255, 0.95);
}

.gewicht-karte__bewertung {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.gewicht-karte--empfohlen .gewicht-karte__bewertung {
  color: #fef3c7;
}

/* ── Papierart Liste ───────────────────────────────────────────────── */

.papierart-liste {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.papierart-eintrag {
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.papierart-eintrag:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.papierart-eintrag--highlight {
  background: linear-gradient(to bottom right, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #10b981;
  border-width: 3px;
}

.papierart-badge {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.papierart-eintrag h3 {
  margin: 0 0 20px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

.papierart-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.papierart-info p {
  margin: 0 0 14px 0;
  line-height: 1.7;
  font-size: 16px;
}

.papierart-info p:last-child {
  margin-bottom: 0;
}

.papierart-bewertung {
  background: white;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.bewertung-punkt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.bewertung-punkt:last-child {
  margin-bottom: 0;
}

.bewertung-label {
  font-weight: 600;
  color: var(--text);
}

.bewertung-sterne {
  color: #f59e0b;
  font-size: 16px;
}

/* ── Malmittel Tabelle ─────────────────────────────────────────────── */

.malmittel-tabelle {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.malmittel-zeile {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--surface-soft);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  transition: all 0.2s ease;
}

.malmittel-zeile:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.malmittel-zeile__icon {
  font-size: 32px;
  text-align: center;
}

.malmittel-zeile__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
}

.malmittel-zeile__papier strong {
  color: var(--primary);
  font-weight: 700;
}

.malmittel-hinweis {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Empfehlungen Grid ─────────────────────────────────────────────── */

.empfehlungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.empfehlung-karte {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.empfehlung-karte:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.empfehlung-karte--highlight {
  background: linear-gradient(to bottom, #fef9c3 0%, #fef3c7 100%);
  border-color: #f59e0b;
  border-width: 3px;
  transform: scale(1.05);
}

.empfehlung-karte--highlight:hover {
  transform: scale(1.08) translateY(-6px);
}

.empfehlung-karte__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.empfehlung-karte__badge--guenstig {
  background: #10b981;
}

.empfehlung-karte__badge--top {
  background: #f59e0b;
}

.empfehlung-karte__badge--premium {
  background: #6366f1;
}

.empfehlung-karte h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.empfehlung-karte__produkt {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}

.empfehlung-karte p {
  margin: 0 0 16px 0;
  line-height: 1.7;
  font-size: 15px;
}

.empfehlung-karte__usage {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 12px;
  border-top: 2px solid var(--border);
  line-height: 1.8;
}

/* ── Tipps Liste ───────────────────────────────────────────────────── */

.tipps-liste {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.tipp-eintrag {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  background: var(--surface-soft);
  padding: 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  transition: all 0.2s ease;
}

.tipp-eintrag:hover {
  background: white;
  box-shadow: var(--shadow-sm);
}

.tipp-eintrag__nummer {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.tipp-eintrag__inhalt h3 {
  margin: 0 0 10px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.tipp-eintrag__inhalt p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

/* ── Papier FAQ ────────────────────────────────────────────────────── */

.papier-faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.papier-faq__eintrag {
  background: var(--surface-soft);
  padding: 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid #8b5cf6;
}

.papier-faq__eintrag h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.papier-faq__eintrag p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
  color: var(--text);
}

/* ── Bottom CTA ────────────────────────────────────────────────────── */

.papier-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 48px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 60px;
}

.papier-cta__inhalt h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 800;
  color: white;
  border: none;
}

.papier-cta__inhalt p {
  margin: 0 0 28px 0;
  font-size: 18px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.papier-cta__button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.papier-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

/* ── Responsive Design ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .papier-ratgeber-seite {
    margin: 24px auto;
    padding: 0 16px;
  }

  .papier-header {
    padding: 40px 28px;
  }

  .papier-header__titel {
    font-size: 32px;
  }

  .papier-header__untertitel {
    font-size: 16px;
  }

  .papier-inhaltsverzeichnis {
    padding: 24px;
  }

  .papier-inhalt {
    padding: 28px 24px;
  }

  .papier-abschnitt h2 {
    font-size: 26px;
  }

  .papier-gewicht-tabelle {
    grid-template-columns: 1fr;
  }

  .papierart-grid {
    grid-template-columns: 1fr;
  }

  .papierart-bewertung {
    order: -1;
  }

  .malmittel-zeile {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .empfehlungen-grid {
    grid-template-columns: 1fr;
  }

  .empfehlung-karte--highlight {
    transform: scale(1);
  }

  .tipp-eintrag {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tipp-eintrag__nummer {
    margin: 0 auto;
  }

  .papier-cta {
    padding: 32px 24px;
  }

  .papier-cta__inhalt h2 {
    font-size: 26px;
  }
}

/* =====================================================================
   DRUCK-ANLEITUNG TEMPLATE
   Printing guide for all devices and operating systems
   ===================================================================== */

.druck-anleitung-seite {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ── Header Section ────────────────────────────────────────────────── */

.druck-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 60px 50px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.druck-header__titel {
  margin: 0 0 16px 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.druck-header__untertitel {
  margin: 0 0 24px 0;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
}

.druck-header__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  opacity: 0.9;
}

/* ── Quick Start Guide ─────────────────────────────────────────────── */

.druck-schnellstart {
  background: linear-gradient(to bottom right, #f0fdf4 0%, #dcfce7 100%);
  border: 3px solid #10b981;
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 48px;
}

.druck-schnellstart h2 {
  margin: 0 0 32px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.schnellstart-schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.schnellstart-schritt {
  background: white;
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.schnellstart-schritt__nummer {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 16px auto;
}

.schnellstart-schritt__inhalt h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.schnellstart-schritt__inhalt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Device Selection Grid ─────────────────────────────────────────── */

.druck-geraete-auswahl {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.druck-geraete-auswahl h2 {
  margin: 0 0 16px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.druck-geraete-auswahl > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.geraete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.geraet-karte {
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.geraet-karte:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.geraet-karte__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.geraet-karte__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.geraet-karte:hover .geraet-karte__name {
  color: white;
}

/* ── Device-Specific Sections ──────────────────────────────────────── */

.druck-anleitung-abschnitt {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}

.abschnitt-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary);
}

.abschnitt-icon {
  font-size: 48px;
}

.abschnitt-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ── Instruction Steps ─────────────────────────────────────────────── */

.anleitung-schritte {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.anleitung-schritt h3 {
  margin: 0 0 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.schritt-nr {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
}

.anleitung-schritt ul,
.anleitung-schritt ol {
  margin: 0;
  padding-left: 24px;
}

.anleitung-schritt li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text);
}

.anleitung-schritt kbd {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: 0 2px 0 #cbd5e1;
}

.anleitung-schritt code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #dc2626;
}

/* ── Settings Table ────────────────────────────────────────────────── */

.einstellungen-tabelle {
  background: var(--surface-soft);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 16px 0;
}

.einstellung-zeile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.einstellung-zeile:last-child {
  border-bottom: none;
}

.einstellung-name {
  font-weight: 700;
  color: var(--text-dark);
}

.einstellung-wert {
  color: var(--text);
}

/* ── Methods/Options Cards ─────────────────────────────────────────── */

.methoden-liste {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.methode-karte {
  background: var(--surface-soft);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
}

.methode-karte h4 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

.methode-karte p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

/* ── Info Boxes ────────────────────────────────────────────────────── */

.druck-box {
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  margin-top: 32px;
  border-left: 4px solid;
}

.druck-box h4 {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 700;
}

.druck-box p {
  margin: 0;
  line-height: 1.7;
}

.druck-box--tipp {
  background: linear-gradient(to right, #dbeafe 0%, #eff6ff 100%);
  border-left-color: #3b82f6;
}

.druck-box--tipp h4 {
  color: #1e40af;
}

.druck-box--warnung {
  background: linear-gradient(to right, #fed7aa 0%, #ffedd5 100%);
  border-left-color: #ea580c;
}

.druck-box--warnung h4 {
  color: #9a3412;
}

/* ── Troubleshooting Section ───────────────────────────────────────── */

.druck-probleme {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.druck-probleme h2 {
  margin: 0 0 32px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.problem-liste {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem-eintrag {
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 28px;
  border-left: 5px solid #ef4444;
}

.problem-eintrag h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: #dc2626;
}

.problem-loesung p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: var(--text-dark);
}

.problem-loesung ul,
.problem-loesung ol {
  margin: 8px 0;
  padding-left: 24px;
}

.problem-loesung li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text);
}

/* ── Tips Grid ─────────────────────────────────────────────────────── */

.druck-tipps {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.druck-tipps h2 {
  margin: 0 0 32px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.tipps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tipp-karte {
  background: linear-gradient(to bottom, #f9fafb 0%, #f3f4f6 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.tipp-karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.tipp-karte__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.tipp-karte h3 {
  margin: 0 0 12px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.tipp-karte p {
  margin: 0;
  line-height: 1.7;
  font-size: 15px;
  color: var(--text);
}

/* ── Bottom CTA ────────────────────────────────────────────────────── */

.druck-cta {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 48px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 60px;
}

.druck-cta__inhalt h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.druck-cta__inhalt p {
  margin: 0 0 28px 0;
  font-size: 18px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.druck-cta__button {
  display: inline-block;
  background: white;
  color: #059669;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.druck-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ── Responsive Design ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .druck-anleitung-seite {
    margin: 24px auto;
    padding: 0 16px;
  }

  .druck-header {
    padding: 40px 28px;
  }

  .druck-header__titel {
    font-size: 32px;
  }

  .druck-header__untertitel {
    font-size: 16px;
  }

  .druck-schnellstart {
    padding: 28px 20px;
  }

  .schnellstart-schritte {
    grid-template-columns: 1fr;
  }

  .druck-geraete-auswahl {
    padding: 32px 24px;
  }

  .geraete-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .druck-anleitung-abschnitt {
    padding: 32px 24px;
  }

  .abschnitt-header {
    flex-direction: column;
    text-align: center;
  }

  .abschnitt-header h2 {
    font-size: 26px;
  }

  .einstellungen-tabelle {
    padding: 16px;
  }

  .einstellung-zeile {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .anleitung-schritt h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .druck-probleme,
  .druck-tipps {
    padding: 32px 24px;
  }

  .tipps-grid {
    grid-template-columns: 1fr;
  }

  .druck-cta {
    padding: 32px 24px;
  }

  .druck-cta__inhalt h2 {
    font-size: 26px;
  }
}


/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-item--active {
  color: var(--text-dark);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--border);
  user-select: none;
  margin: 0 0.25rem;
}
