/*
Theme Name: dercomputerladen
Theme URI: https://dercomputerladen.de
Author: dercomputerladen
Author URI: https://dercomputerladen.de
Description: Modernes WordPress-Theme für dercomputerladen Oschatz & Dresden. Schwarz-Orange Design mit Gutenberg-Unterstützung, Newsbereich und vollständiger Block-Editor-Kompatibilität.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dercomputerladen
Tags: dark, orange, technology, gutenberg, block-editor, responsive
*/

/* ════════════════════════════════════════════
   WEBFONTS
════════════════════════════════════════════ */

/* AGENCYR – Schriftdatei (AGENCYR.woff2 / .woff / .ttf) in
   /wp-content/themes/dercomputerladen/assets/fonts/ ablegen */
@font-face {
  font-family: 'AGENCYR';
  src: url('assets/fonts/AGENCYR.woff2') format('woff2'),
       url('assets/fonts/AGENCYR.woff')  format('woff'),
       url('assets/fonts/AGENCYR.ttf')   format('truetype');
  font-weight: normal;
  font-style:  normal;
  font-display: swap;
}

/* ════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
════════════════════════════════════════════ */
:root {
  --dcl-black:       #0f0f0f;
  --dcl-anthracite:  #2d2d2d;
  --dcl-anthracite2: #3a3a3a;
  --dcl-card:        #383838;
  --dcl-border:      #4a4a4a;
  --dcl-border-light:#e2e0dc;
  --dcl-accent:      #e85d00;
  --dcl-accent2:     #ff8533;
  --dcl-text:        #e8e9ed;
  --dcl-text-dark:   #2c2c2c;
  --dcl-muted:       #a0a0a0;
  --dcl-muted-dark:  #6b6b6b;
  --dcl-white:       #ffffff;
  --dcl-radius:      10px;
  --dcl-font-head:   'Agency FB', AGENCYR, sans-serif;
  --dcl-font-body:   'DM Sans', sans-serif;
}

/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* WordPress Admin-Bar Anpassung */
html { scroll-behavior: smooth; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
#wpadminbar { position: fixed !important; }
body {
  background: var(--dcl-anthracite, #2d2d2d);
  color: var(--dcl-text, #e8e9ed);
  font-family: var(--dcl-font-body, 'DM Sans', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dcl-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dcl-accent2); }
ul { list-style: none; }

/* ════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dcl-font-head);
  color: var(--dcl-white);
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: normal;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: 0.05em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--dcl-muted); line-height: 1.7; }
p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232,93,0,0.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.site-branding a {
  font-family: var(--dcl-font-head);
  font-weight: normal; font-size: 1.1rem;
  color: var(--dcl-white); letter-spacing: 0.04em;
  display: flex; align-items: center;
}
.site-branding a span { color: var(--dcl-accent); }
.site-branding img { height: 36px; width: auto; }

.main-navigation ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; margin-left: -12px; }
.main-navigation ul a { color: #888; font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.main-navigation ul a:hover { color: var(--dcl-white); }
.main-navigation ul .current-menu-item > a,
.main-navigation ul .current-menu-ancestor > a { color: var(--dcl-white); }

/* ── Dropdown ── */
.main-navigation ul li { position: relative; }
.main-navigation ul li:hover > .sub-menu,
.main-navigation ul li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }

.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 200px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.main-navigation .sub-menu li { width: 100%; }
.main-navigation .sub-menu a {
    display: block;
    padding: 9px 18px;
    font-size: 0.85rem;
    color: #a0a0a0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap;
}
.main-navigation .sub-menu li:last-child a { border-bottom: none; }
.main-navigation .sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Pfeil-Indikator bei Eltern-Links */
.main-navigation ul li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 4px;
    font-size: 10px;
    opacity: .6;
}

/* 2. Ebene Untermenü */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: calc(100% + 4px);
}

@media(max-width:768px) {
    .main-navigation { display: none; }
    .main-navigation.is-open {
        display: block;
        position: fixed;
        top: 58px;
        left: 0; right: 0;
        background: #111;
        border-top: 1px solid rgba(255,255,255,0.08);
        z-index: 199;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
    }
    .main-navigation.is-open ul {
        flex-direction: column;
        gap: 0;
        background: transparent;
        border-top: none;
        padding: 8px 0;
    }
    .main-navigation.is-open ul a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: #ddd;
        font-size: 1rem;
        font-weight: 500;
    }
    .main-navigation.is-open ul a:hover { color: #fff; background: rgba(255,255,255,0.04); }
    .main-navigation.is-open .current-menu-item > a { color: var(--dcl-accent); }

    /* Untermenü auf Mobile */
    .main-navigation.is-open .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(232,93,0,0.06);
        padding: 0;
        display: none;
        min-width: unset;
    }
    .main-navigation.is-open .sub-menu.is-open { display: flex; }
    .main-navigation.is-open .sub-menu a {
        padding: 12px 24px 12px 42px;
        font-size: 0.9rem;
        color: #bbb;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .main-navigation.is-open .sub-menu a:hover { color: var(--dcl-accent); }

    /* Pfeil-Icon auf Mobile */
    .main-navigation.is-open li.menu-item-has-children > a::after {
        content: '▾';
        font-size: 12px;
        margin-left: auto;
        padding-left: 8px;
        opacity: .7;
        transition: transform .2s;
    }
    .main-navigation.is-open li.menu-item-has-children > a.sub-open::after {
        transform: rotate(180deg);
    }
}

.header-cta { padding-right: 16px; }
.header-cta a {
  background: var(--dcl-accent); color: #fff !important;
  padding: 8px 18px; border-radius: 5px;
  font-weight: 700; font-size: 0.85rem;
  transition: background .2s, transform .2s;
}
.header-cta a:hover { background: var(--dcl-accent2); transform: translateY(-1px); }

.menu-toggle { display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:4px; }
.menu-toggle span { display:block; width:24px; height:2px; background:var(--dcl-white); border-radius:2px; transition:all .3s; }

/* ════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */
.hero-section {
  min-height: 40vh;
  display: flex; align-items: center;
  padding: 84px 96px 48px;
  position: relative; overflow: hidden;
  background: var(--dcl-black);
}
.hero-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 50%, rgba(232,93,0,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(232,93,0,0.07) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,93,0,0.12); border: 1px solid rgba(232,93,0,0.3);
  color: var(--dcl-accent); padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero-section h1 {
  animation: fadeUp 0.6s 0.1s ease both;
  color: var(--dcl-white);
}
.hero-section h1 em { font-style: normal; color: var(--dcl-accent); }
.hero-sub {
  margin-top: 10px; font-size: 0.92rem; color: #aaa;
  max-width: 480px; line-height: 1.7;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn-primary {
  background: var(--dcl-accent); color: #ffffff !important;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(232,93,0,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,93,0,0.35);
  color: #ffffff !important;
}
.btn-ghost {
  border: 1.5px solid var(--dcl-border); color: var(--dcl-text) !important;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  transition: border-color .2s, color .2s, background .2s;
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--dcl-accent);
  color: var(--dcl-accent) !important;
}
.btn-outline {
  border: 1.5px solid rgba(232,93,0,0.4); color: var(--dcl-accent) !important;
  padding: 10px 22px; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem;
  display: inline-block; transition: all .2s;
  background: transparent;
}
.btn-outline:hover { background: rgba(232,93,0,0.06); border-color: var(--dcl-accent); }

/* ════════════════════════════════════════════
   STATS BAND
════════════════════════════════════════════ */
.stats-band {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px 96px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: var(--dcl-anthracite);
}
.stat { text-align: center; }
.stat-num { font-family: var(--dcl-font-head); font-weight: normal; font-size: 1.8rem; color: var(--dcl-white); letter-spacing: 0.04em; }
.stat-num sup { color: var(--dcl-accent); font-size: 1rem; }
.stat-label { font-size: 0.8rem; color: var(--dcl-muted); margin-top: 3px; }

/* ════════════════════════════════════════════
   INFO NOTICE
════════════════════════════════════════════ */
.info-notice {
  margin: 32px 48px 0;
  background: rgba(232,93,0,0.08); border: 1px solid rgba(232,93,0,0.2);
  border-left: 3px solid var(--dcl-accent);
  border-radius: 10px; padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
}
.info-notice-icon { font-size: 1.2rem; min-width: 26px; margin-top: 2px; }
.info-notice h4 { font-size: 0.9rem; margin-bottom: 5px; color: var(--dcl-white); }
.info-notice p { font-size: 0.85rem; margin: 0; color: var(--dcl-muted); }

/* ════════════════════════════════════════════
   SECTION BASE
════════════════════════════════════════════ */
.section { padding: 80px 96px; background: var(--dcl-anthracite); content-visibility: auto; contain-intrinsic-size: 0 600px; }
.section--dark { background: #252525; }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dcl-accent); margin-bottom: 8px; display: block; }
#products .section-header { max-width: 100%; }
.section-header { max-width: 560px; margin-bottom: 48px; }
.section-header p { margin-top: 10px; }

/* ════════════════════════════════════════════
   SERVICES GRID
════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden;
}
.service-card {
  background: #303030; padding: 32px 28px;
  transition: background .2s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--dcl-accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { background: #383838; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(232,93,0,0.12); border: 1px solid rgba(232,93,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--dcl-white); }
.service-card p { font-size: 0.85rem; color: var(--dcl-muted); }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--dcl-accent); font-size: 0.82rem; font-weight: 600;
  margin-top: 12px; transition: gap .2s;
}
.service-card .service-link:hover { gap: 9px; color: var(--dcl-accent2); }

/* ════════════════════════════════════════════
   NEWS SECTION
════════════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: #303030; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.news-card:hover { border-color: rgba(232,93,0,0.3); transform: translateY(-3px); }
.news-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
  height: auto;
}
.news-card-image-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, rgba(232,93,0,0.1) 0%, #2a2a2a 100%);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-category {
  background: rgba(232,93,0,0.12); color: var(--dcl-accent);
  font-size: 0.7rem; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em;
}
.news-date { font-size: 0.75rem; color: var(--dcl-muted); }
.news-card h3 { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; font-weight: 700; }
.news-card h3 a { color: var(--dcl-white); }
.news-card h3 a:hover { color: var(--dcl-accent); }
.news-card p { font-size: 0.83rem; flex: 1; color: var(--dcl-muted); }
.news-card .read-more {
  color: var(--dcl-accent); font-size: 0.82rem; font-weight: 600;
  margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s;
}
.news-card .read-more:hover { gap: 9px; }
.news-section-footer { text-align: center; margin-top: 40px; }

/* ════════════════════════════════════════════
   OPENING HOURS
════════════════════════════════════════════ */
.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 48px;
}
.hours-card {
  background: #ffffff; border: 1px solid var(--dcl-border);
  border-radius: 14px; padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hours-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--dcl-black);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.hours-badge {
  background: rgba(232,93,0,0.08); color: var(--dcl-accent);
  font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
  font-family: var(--dcl-font-body);
  font-weight: 600; letter-spacing: 0.04em;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--dcl-border);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-day { color: var(--dcl-muted); }
.hours-time { color: var(--dcl-black); font-weight: 500; }
.hours-row.closed .hours-time { color: #bbb; }
.hours-contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--dcl-border); display: flex; flex-direction: column; gap: 8px; }
.hours-contact-item { display: flex; align-items: center; gap: 8px; color: var(--dcl-text); font-size: 0.85rem; text-decoration: none; transition: color .15s; }
.hours-contact-item:hover { color: var(--dcl-accent); }
.hours-contact-icon { width:16px; height:16px; min-width:16px; flex-shrink:0; display:block; }

/* ════════════════════════════════════════════
   JOBS
════════════════════════════════════════════ */
.jobs-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.job-item {
  background: #ffffff; border: 1px solid var(--dcl-border);
  border-radius: 10px; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .2s, box-shadow .2s; text-decoration: none; color: inherit;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.job-item:hover { border-color: rgba(232,93,0,0.3); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.job-title { font-weight: 600; color: var(--dcl-black); font-size: 0.95rem; }
.job-type { font-size: 0.78rem; color: var(--dcl-muted); margin-top: 3px; }
.job-arrow { color: var(--dcl-accent); font-size: 1.1rem; }

/* ════════════════════════════════════════════
   CTA STRIP
════════════════════════════════════════════ */
.cta-section {
  margin: 0 48px 96px;
  background: linear-gradient(135deg, #fff4ee 0%, #fff8f4 100%);
  border: 1px solid rgba(232,93,0,0.15);
  border-radius: 20px; padding: 80px 96px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { position: relative; margin-bottom: 16px; }
.cta-section p { position: relative; margin: 0 auto 32px; max-width: 440px; }
.cta-section .btn-primary { position: relative; }

/* ════════════════════════════════════════════
   SINGLE POST / PAGE
════════════════════════════════════════════ */
.site-main { margin-top: 68px; min-height: 40vh; }
.entry-header {
  background: #f4f4f2;
  padding: 80px 96px 60px;
  border-bottom: 1px solid var(--dcl-border);
}
.entry-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.entry-content { max-width: 760px; margin: 0 auto; padding: 64px 96px; }
.entry-content p { color: var(--dcl-text); font-size: 1.02rem; line-height: 1.8; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--dcl-text); }
.entry-content li { margin-bottom: 0.5rem; }
.entry-thumbnail { width: 100%; max-height: 480px; object-fit: cover; border-radius: 14px; margin-bottom: 40px; }

/* ════════════════════════════════════════════
   ARCHIVE / BLOG
════════════════════════════════════════════ */
.archive-header {
  padding: 100px 96px 60px;
  background: #f4f4f2;
  border-bottom: 1px solid var(--dcl-border);
}
.archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 64px 96px;
}

/* ════════════════════════════════════════════
   PAGINATION
════════════════════════════════════════════ */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 0 96px 64px;
}
.page-numbers {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--dcl-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--dcl-muted); font-size: 0.9rem; font-weight: 500;
  transition: all .2s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--dcl-accent); border-color: var(--dcl-accent);
  color: var(--dcl-black);
}

/* ════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════ */
.content-sidebar-wrap {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 40px; padding: 64px 96px;
}
.widget {
  background: #ffffff; border: 1px solid var(--dcl-border);
  border-radius: 12px; padding: 28px; margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.widget-title {
  font-family: var(--dcl-font-head); font-size: 0.9rem; font-weight: 700;
  color: var(--dcl-black); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--dcl-border);
}
.widget ul li {
  padding: 8px 0; border-bottom: 1px solid var(--dcl-border);
  font-size: 0.88rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul a { color: var(--dcl-muted); }
.widget ul a:hover { color: var(--dcl-accent); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--dcl-border);
  background: #f4f4f2;
}
.footer-widgets {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px 96px;
  border-bottom: 1px solid var(--dcl-border);
}
.footer-brand p { margin-top: 12px; font-size: 0.88rem; max-width: 260px; }
.footer-logo {
  font-family: var(--dcl-font-head); font-weight: normal; font-size: 1.2rem;
  color: var(--dcl-black);
}
.footer-logo span { color: var(--dcl-accent); }
.footer-widget-title {
  font-family: var(--dcl-font-head); font-weight: 700;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--dcl-black); margin-bottom: 16px;
}
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget ul a { color: var(--dcl-muted); font-size: 0.88rem; }
.footer-widget ul a:hover { color: var(--dcl-accent); }
/* WordPress Widgets im Footer – gleicher Hintergrund */
.footer-widget .widget,
.footer-widget aside { background: transparent !important; box-shadow: none !important; }
.footer-bottom {
  padding: 20px 48px;
  display: flex; justify-content: center; align-items: center;
  font-size: 0.82rem; color: var(--dcl-muted);
  background: #ebebea;
  position: relative;
}
.footer-bottom .footer-legal {
  position: absolute; right: 48px;
}
.footer-bottom a { color: var(--dcl-muted); }
.footer-bottom a:hover { color: var(--dcl-black); }
.footer-legal { display: flex; gap: 24px; }

/* ════════════════════════════════════════════
   GUTENBERG BLOCK STYLES
════════════════════════════════════════════ */
.wp-block-group { padding: 2rem 0; }
.wp-block-separator { border: none; border-top: 1px solid var(--dcl-border); margin: 2rem 0; }
.wp-block-quote {
  border-left: 3px solid var(--dcl-accent);
  padding: 16px 24px; margin: 2rem 0;
  background: #fff8f4; border-radius: 0 8px 8px 0;
}
.wp-block-quote p { color: var(--dcl-text); font-size: 1.05rem; font-style: italic; }
.wp-block-quote cite { color: var(--dcl-muted); font-size: 0.85rem; margin-top: 8px; display: block; }
.wp-block-code {
  background: #f4f4f2; border: 1px solid var(--dcl-border);
  border-radius: 8px; padding: 20px 24px;
  font-size: 0.9rem; color: var(--dcl-accent); overflow-x: auto;
}
.wp-block-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.wp-block-table td, .wp-block-table th { padding: 12px 16px; border: 1px solid var(--dcl-border); font-size: 0.9rem; }
.wp-block-table th { background: #f4f4f2; color: var(--dcl-black); font-weight: 600; }
.wp-block-table tr:hover td { background: rgba(232,93,0,0.03); }
.wp-block-button .wp-block-button__link {
  background: var(--dcl-accent); color: #ffffff !important;
  padding: 12px 24px; border-radius: 8px; font-weight: 700; border: none;
  transition: transform .2s, box-shadow .2s;
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,93,0,0.3); }
.is-style-outline .wp-block-button__link { background: transparent !important; border: 1.5px solid var(--dcl-accent) !important; color: var(--dcl-accent) !important; }
.wp-block-image img { border-radius: 12px; }
.wp-block-cover { min-height: 400px; border-radius: 14px; overflow: hidden; }
.wp-block-pullquote {
  border-top: 3px solid var(--dcl-accent); border-bottom: 3px solid var(--dcl-accent);
  padding: 32px; text-align: center; margin: 2rem 0;
  background: #fff8f4;
}
.wp-block-pullquote blockquote p { font-family: var(--dcl-font-head); font-size: 1.4rem; color: var(--dcl-black); font-style: italic; }

/* ════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  /* Produkte: 2 Spalten auf Tablet */
  #products > div[style*="grid-template-columns"],
  #products-embed > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .site-header { padding: 0 24px; height: 58px; }
  .site-branding img { height: 28px !important; }
  /* Navigation mobile – siehe oben im Nav-Block */
  .menu-toggle { display: flex; }
  .header-cta { display: none; } /* Shop-Button auf Mobile ausblenden */

  /* Hero */
  .hero-section { padding: 80px 32px 48px; }
  .hero-section h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .hero-sub { font-size: 0.9rem; margin-top: 10px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; text-align: center; padding: 14px 20px; }
  .hero-badge { font-size: 0.7rem; }

  /* Sections */
  .section { padding: 48px 32px; content-visibility: auto; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }

  /* Stats – 2x2 Grid */
  .stats-band { padding: 20px; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 1.5rem; }

  /* Services – 1 Spalte */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }

  /* News – 1 Spalte */
  .news-grid { grid-template-columns: 1fr; }

  /* Öffnungszeiten */
  .hours-grid { grid-template-columns: 1fr; }

  /* Jobs */
  .jobs-list { gap: 8px; }
  .job-item { padding: 14px 16px; }

  /* Produkte – 1 Spalte auf Mobile */
  #products { padding: 48px 32px !important; }
  #products > div[style*="grid-template-columns"],
  #products-embed > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* CTA */
  .cta-section { margin: 0; padding: 48px 20px; border-radius: 0; }
  .cta-section h2 { font-size: 1.6rem; }

  /* Footer */
  .info-notice { margin: 24px 20px 0; }
  .footer-widgets { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
  .entry-header { padding: 80px 20px 40px; }
  .entry-content { padding: 40px 20px; }
  .pagination { padding: 0 20px 48px; }
  .archive-grid { grid-template-columns: 1fr; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Stats – 2x2 aber noch kompakter */
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.72rem; }

  /* Hero noch kompakter */
  .hero-section { padding: 72px 16px 40px; }

  /* Sections */
  .section { padding: 40px 16px; }

  /* Produkte sicher 1 Spalte */
  #products { padding: 40px 32px !important; }
  #products > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Service-Karten volle Breite */
  .services-grid { gap: 12px; }
}
