/* assets/css/styles.css */
/* V 0.6 */
:root {
  --red: #d41414;
  --red-dark: #8f0f0f;
  --yellow: #ffd21f;
  --yellow-soft: #fff3a8;
  --ink: #151515;
  --graphite: #252525;
  --muted: #666666;
  --line: #e8e2d5;
  --paper: #fffaf0;
  --product-bg: linear-gradient(145deg, #3a3128, #f4dfbd);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 18, 18, .18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 99;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--yellow);
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 24px rgba(212,20,20,.25);
}
.brand-text { font-size: 1.25rem; }
.brand-text span { color: var(--red); }
.main-nav { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav a:hover, .main-nav a:focus { color: var(--red); }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 10px 16px; border-radius: 999px; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255,210,31,.55), transparent 30%),
    linear-gradient(135deg, #fff7db 0%, #fffaf0 52%, #ffe9e9 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 50%;
  height: 430px;
  background: linear-gradient(145deg, rgba(212,20,20,.18), rgba(255,210,31,.35));
  transform: rotate(-10deg);
  border-radius: 80px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 18px; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.4rem; }

.narrow > h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-text { max-width: 640px; font-size: 1.18rem; color: #383838; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: var(--white); box-shadow: 0 14px 28px rgba(212,20,20,.25); }
.btn-secondary { background: var(--yellow); color: var(--ink); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-list li { background: var(--white); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; font-weight: 700; }
.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2b2b2b, #0f0f0f);
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.deal-badge { display: inline-block; background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 900; }
.device-visual {
  height: 220px;
  margin: 26px 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(circle at 50% 35%, rgba(255,210,31,.35), transparent 42%),
    #1b1b1b;
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: inset 0 -18px 40px rgba(0,0,0,.42);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 18px 0 8px;
}

.old-price { color: #cfcfcf; text-decoration: line-through; }
.new-price { font-size: 3rem; font-weight: 900; color: var(--yellow); letter-spacing: -.06em; }

.section { padding: 82px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .panel, .legal-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(0,0,0,.10); }
.card-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--yellow); color: var(--red-dark); font-weight: 900; margin-bottom: 18px; }
.card a, .text-link { color: var(--red); font-weight: 900; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--yellow); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.feature-list { display: grid; gap: 16px; }
.feature-list div { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; padding: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
.feature-list strong { color: var(--yellow); font-size: 1.8rem; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.highlight-panel { background: linear-gradient(145deg, var(--red), var(--red-dark)); color: var(--white); }
.check-list { padding-left: 20px; }
.check-list li { margin-bottom: 10px; }
.contact-section { background: linear-gradient(135deg, #fffaf0, #fff0bd); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
label { display: block; margin: 14px 0 6px; font-weight: 900; }

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d7d0c2;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fffdf8;
}

input:focus, textarea:focus, button:focus, a:focus { outline: 3px solid rgba(255,210,31,.9); outline-offset: 3px; }
.form-note { font-size: .92rem; color: var(--muted); }
.site-footer { background: #101010; color: var(--white); padding: 34px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--white); }
.legal-page { padding: 60px 0; max-width: 900px; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-box { margin: 18px 0; }
.warning-box { border-color: rgba(212,20,20,.28); background: #fff7d0; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--ink); color: var(--white); font-weight: 900; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .hero-grid, .split, .two-cols, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .section { padding: 58px 0; }
}


/* Angebots- und Admin-Erweiterungen */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 34px rgba(0,0,0,.07); }
.offer-media { position: relative; padding: 18px; background: linear-gradient(145deg, #252525, #101010); }
.offer-media .deal-badge { position: relative; z-index: 2; }

.offer-media img,
.offer-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 18px;
  margin-top: 18px;
  padding: 10px;
  background: var(--product-bg);
}

.device-visual.small { height: 170px; margin: 18px 0 0; }
.offer-content { padding: 24px; }
.offer-category { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin: 0 0 8px; }
.new-price.compact { font-size: 2.25rem; }
.old-price.dark { color: var(--muted); }
code { background: #fff2b8; padding: .1em .35em; border-radius: .35em; }
.admin-body { min-height: 100vh; background: radial-gradient(circle at 80% 20%, rgba(255,210,31,.35), transparent 28%), linear-gradient(135deg, #fffaf0, #ffe5e5); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.admin-card { width: min(460px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.admin-card h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 28px; }
.full { width: 100%; margin-top: 18px; }
.alert { padding: 12px 14px; border-radius: 14px; margin: 16px 0; font-weight: 700; }
.alert.error { background: #ffe5e5; color: #8f0f0f; border: 1px solid rgba(212,20,20,.25); }
.alert.warning { background: #fff3cd; color: #7a5600; border: 1px solid rgba(122,86,0,.25); }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: none;
  flex: 1;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, .08);
  font-size: .92rem;
  line-height: 1.15;
  white-space: nowrap;
}

.admin-nav a:hover,
.admin-nav a:focus {
  background: var(--yellow);
  color: var(--ink);
}

.admin-nav a.is-active {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(212, 20, 20, .22);
}

.admin-nav a.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
  padding-inline: 12px;
}

.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 34px rgba(0,0,0,.06); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.admin-table th, .admin-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: #fff3bf; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.status { display: inline-flex; border-radius: 999px; padding: 6px 10px; font-weight: 900; font-size: .82rem; }
.status.published { background: #e7f7e7; color: #216b21; }
.status.draft { background: #f2f2f2; color: #555; }
.actions { display: flex; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.compact-actions {
  flex-direction: column;
  align-items: stretch;
  min-width: 130px;
}
.compact-actions .btn,
.compact-actions button {
  width: 100%;
}
.small-btn { min-height: 38px; padding: 8px 12px; font-size: .9rem; }
.danger { background: #ffe5e5; color: #8f0f0f; }
.admin-form-page { max-width: 920px; }
.admin-product-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.checkbox-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.checkbox-line input { width: auto; }
@media (max-width: 820px) {
  .offer-grid, .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .admin-head { align-items: flex-start; flex-direction: column; }
  .admin-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: none;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .admin-nav a {
    flex: 1 1 140px;
    min-width: 0;
    font-size: .88rem;
    padding-inline: 10px;
    white-space: normal;
    text-align: center;
  }
}

/* Anfrage-Erweiterung */
.inquiry-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.inquiry-offer-card { position: sticky; top: 100px; }
.alert.success { background: #e7f7e7; color: #216b21; border: 1px solid rgba(33,107,33,.24); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status.new { background: #fff3bf; color: #7a5600; }
.status.progress { background: #e5f0ff; color: #164b88; }
.admin-note { margin: 12px 0 0; color: var(--muted); }
.vertical-actions { flex-direction: column; align-items: stretch; min-width: 260px; }
.vertical-actions form { display: grid; gap: 8px; }
.vertical-actions label { margin: 0; font-size: .86rem; }
.inquiry-table { min-width: 1120px; }
.admin-actions { margin: 0; }

.admin-filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 220px 240px;
  gap: 16px;
  align-items: end;
  margin: 0 0 20px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}

.admin-filter-bar label {
  margin-top: 0;
}

.admin-empty-filter-row td {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .inquiry-layout { grid-template-columns: 1fr; }
  .inquiry-offer-card { position: static; }
  .admin-actions { flex-direction: column; align-items: stretch; }
  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .offer-admin-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 16px;
  }

  .offer-admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .offer-admin-table,
  .offer-admin-table tbody,
  .offer-admin-table tr,
  .offer-admin-table td {
    display: block;
    width: 100%;
  }

  .offer-admin-table tr {
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }

  .offer-admin-table td {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-admin-table td:last-child {
    border-bottom: 0;
  }

  .offer-admin-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 900;
  }

  .offer-admin-table .compact-actions {
    min-width: 0;
  }

  .offer-admin-table .compact-actions .btn,
  .offer-admin-table .compact-actions button {
    width: 100%;
  }
}

.image-preview { margin-top: 14px; display: grid; gap: 10px; }

.image-preview img {
  width: min(260px, 100%);
  height: 150px;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--product-bg);
}

.admin-thumb { width: 74px; height: 54px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f5f5f5; display: block; }
.admin-thumb-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 54px; border-radius: 10px; border: 1px dashed #cfcfcf; color: var(--muted); font-size: .75rem; text-align: center; }
input[type="file"] { width: 100%; padding: 13px 14px; border: 1px solid #d7d7d7; border-radius: 14px; font: inherit; background: #fff; }

/* Kategorie-Filter */
.offer-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff7d6;
  color: #4a2600;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255, 210, 31, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-pill:hover,
.filter-pill:focus {
  transform: translateY(-2px);
  background: var(--yellow);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.filter-pill.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.status.expired {
  background: #ffe5e5;
  color: #8f0f0f;
}

/* SEO-Angebotsdetailseite */
.offer-detail-section {
  background: linear-gradient(135deg, #fffaf0, #fff0bd);
}

.offer-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.offer-detail-media {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2b2b2b, #0f0f0f);
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}

.offer-detail-media img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 20px;
  margin-top: 20px;
  padding: 14px;
  background: var(--product-bg);
}

.offer-detail-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 16px 34px rgba(0,0,0,.07);
}

.detail-price-row {
  justify-content: flex-start;
  align-items: baseline;
}

.offer-seo-box {
  margin-top: 28px;
}

.offer-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.plain-link {
  color: inherit;
  text-decoration: none;
}

.plain-link:hover,
.plain-link:focus {
  color: var(--red);
}

.hero-title-link {
  color: var(--white);
}

.hero-title-link:hover,
.hero-title-link:focus {
  color: var(--yellow);
}

/* Energiekennzeichnung */
.energy-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
}

.energy-summary.dark .energy-link {
  color: var(--yellow);
}

.energy-label-text {
  color: var(--muted);
  font-weight: 900;
  font-size: .85rem;
}

.hero-card .energy-label-text,
.energy-summary.dark .energy-label-text {
  color: rgba(255, 255, 255, .78);
}

.energy-svg-link,
.energy-svg-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.energy-svg-link {
  text-decoration: none;
}

.energy-svg-link:hover,
.energy-svg-link:focus {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.energy-efficiency-svg {
  display: block;
  width: auto;
  height: 32px;
}

.energy-efficiency-svg.large {
  height: 44px;
}

.energy-efficiency-svg.small {
  height: 26px;
}

.energy-link {
  color: var(--red);
  font-weight: 900;
  font-size: .92rem;
}

.energy-detail-box {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf4;
}

.energy-label-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 900;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.energy-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.energy-admin-box {
  margin-top: 24px;
  background: #fffdf4;
}

.energy-admin-links {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.energy-missing {
  color: var(--red-dark);
  font-weight: 900;
}

/* Anfrageverwaltung */
.inquiry-filter-bar {
  grid-template-columns: 1.5fr 220px auto;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.filter-actions .btn {
  width: auto;
}

/* Öffnungszeiten */
.opening-hours-admin-grid {
  display: grid;
  gap: 1rem;
}

.opening-hours-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 160px) minmax(120px, 160px);
  gap: 1rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.opening-hours-day {
  margin-bottom: 0;
  align-self: center;
}

.scroll-top-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;

  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  transform: translateY(-2px);
  background: #1f2937;
}

@media (max-width: 700px) {
  .scroll-top-button {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 820px) {
  .offer-detail-grid {
    grid-template-columns: 1fr;
  }

  .offer-detail-media {
    position: static;
  }

  .offer-detail-media img {
    height: 280px;
	padding: 10px;
  }

  .inquiry-filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    align-items: stretch;
  }

  .filter-actions .btn {
    width: 100%;
  }
 
   .opening-hours-row {
    grid-template-columns: 1fr;
  }
}

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

.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-nav li {
  color: var(--muted, #6b7280);
}

.breadcrumb-nav li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--muted, #6b7280);
}

.breadcrumb-nav a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus {
  text-decoration: underline;
}

.breadcrumb-nav [aria-current="page"] {
  color: var(--text, #111827);
  font-weight: 600;
}

/* SEO-Check */
.seo-check-panel {
  margin-top: 1.5rem;
}

.seo-check-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.seo-check-list-wide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.seo-check-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.35;
  background: rgba(17, 24, 39, 0.05);
}

.seo-check-item.ok {
  background: rgba(22, 163, 74, 0.12);
}

.seo-check-item.warning {
  background: rgba(245, 158, 11, 0.14);
}

.seo-check-item.error {
  background: rgba(220, 38, 38, 0.12);
}

.seo-check-item strong {
  color: var(--text, #111827);
}

.seo-check-item span {
  color: var(--muted, #6b7280);
}

.seo-check-cell {
  min-width: 0;
  width: max-content;
}

.seo-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  min-width: 3.2rem;
  padding: 0.25rem 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.seo-score-badge.published {
  background: rgba(22, 163, 74, 0.14);
  color: #166534;
}

.seo-score-badge.progress {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
}

.seo-score-badge.expired {
  background: rgba(220, 38, 38, 0.14);
  color: #991b1b;
}

/* SEO-Livecheck im Dashboard */
.live-check-panel {
  margin-bottom: 1.5rem;
}

.live-check-details {
  margin-top: 1rem;
}

.live-check-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text, #111827);
}

.live-check-details summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  font-size: 0.85rem;
}

.live-check-details[open] summary::after {
  content: "–";
}

.live-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.live-check-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  font-size: 0.84rem;
  line-height: 1.35;
  background: rgba(17, 24, 39, 0.05);
}

.live-check-item.ok {
  background: rgba(22, 163, 74, 0.12);
}

.live-check-item.warning {
  background: rgba(245, 158, 11, 0.14);
}

.live-check-item.error {
  background: rgba(220, 38, 38, 0.12);
}

.live-check-item strong {
  color: var(--text, #111827);
}

.live-check-item span {
  color: var(--muted, #6b7280);
}

/* Ratgeberseiten */
.guide-card-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  margin: 0.35rem 0 0.75rem;
}

.guide-card-title a {
  color: inherit;
}

.guide-card .offer-content {
  gap: 0.65rem;
}