/* =========================================================
   Dipl.-Ing. A. Dieren Computersysteme – Stylesheet
   Mobil zuerst. Farben/Abstände laut docs/02 Design-Vorgaben.md
   ========================================================= */

/* ---------- Schrift (selbst gehostet, SIL OFL) ---------- */
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/exo2-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/exo2-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variablen ---------- */
:root {
  --red: #E30613;
  --red-dark: #B8050F;
  --black: #121212;
  --grey-text: #6B6B6B;
  --grey-light: #8D8D91;
  --border: #E2E2E2;
  --tab-inactive: #EDEDED;
  --bg: #F5F5F5;
  --white: #FFFFFF;

  --radius-card: 14px;
  --radius-pill: 999px;
  --gutter: 16px;
  --section-space: 64px;
  --maxw: 1440px;
  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; --section-space: 80px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; --section-space: 96px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 8px; }
.small { font-size: .875rem; }
.muted { color: var(--grey-text); }

/* Sichtbare Platzhalter (vor Livegang ersetzen) */
.placeholder-text, .placeholder-note {
  color: #8a5a00; background: #FFF6DB; border: 1px dashed #E0B44A;
  border-radius: 8px; padding: .5em .75em; font-size: .95rem;
}
.placeholder-note { margin: 0 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .6em 1.4em;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 500; font-size: 1.0625rem; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
@media (min-width: 768px) { .btn { font-size: 1.125rem; min-height: 52px; padding-inline: 1.3em; } }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; gap: 12px;
  min-height: 72px; padding-block: 8px;
}
.logo { flex: 0 1 auto; margin-right: auto; margin-left: -6px; }
.logo img { width: 168px; }
.main-nav { display: none; }
.btn-call { min-height: 44px; padding: .5em .9em; font-size: 1rem; }
.btn-call span { display: none; }
.nav-toggle {
  order: 3; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%;
  background: var(--white); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; background: var(--black); border-radius: 2px;
  position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobiles Menü (aufgeklappt) */
.main-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0,0,0,.06);
}
.main-nav.is-open ul { padding: 8px var(--gutter) 16px; }
.main-nav.is-open a { display: block; padding: 14px 4px; font-size: 1.125rem; text-decoration: none; border-bottom: 1px solid var(--border); }
.main-nav.is-open li:last-child a { border-bottom: 0; }

@media (min-width: 420px) {
  .logo img { width: 200px; }
}
@media (min-width: 600px) {
  .btn-call span { display: inline; }
  .btn-call-icon { display: none; }
  .btn-call { padding-inline: 1.3em; }
}
@media (min-width: 1024px) {
  .header-inner { min-height: 116px; gap: 24px; }
  .logo img { width: 280px; }
  .nav-toggle { display: none; }
  .main-nav { display: block; margin-right: clamp(8px, 3vw, 56px); }
  .main-nav ul { display: flex; gap: clamp(20px, 3.4vw, 50px); }
  .main-nav a {
    font-size: 1.125rem; font-weight: 500; letter-spacing: .03em; text-decoration: none;
    padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
  }
  .main-nav a:hover { color: var(--red); border-bottom-color: var(--red); }
  .btn-call { min-height: 52px; padding-inline: 2.6em; font-size: 1.1875rem; }
}
@media (min-width: 1280px) { .logo img { width: 330px; } }

.notice-bar {
  background: var(--red); color: var(--white); text-align: center;
  padding: 10px var(--gutter); font-weight: 600;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; padding-bottom: 24px; }
.hero-media { display: block; position: relative; }
.hero-media img { width: 100%; height: 220px; object-fit: cover; object-position: 70% 50%; }
/* Auf dem Handy: Bild oben, unten weich in den grauen Hintergrund auslaufen lassen */
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(to bottom, rgba(245,245,245,0), var(--bg));
}
.hero-content { position: relative; padding-top: 4px; padding-bottom: 32px; }
.hero-title { font-weight: 700; font-size: clamp(2.375rem, 10.5vw, 5.25rem); line-height: 1.22; letter-spacing: .005em; }
.hero-title span { display: block; }
.hero-title-red { color: var(--red); }
.hero-lead { font-size: 1.125rem; line-height: 1.4; margin: 20px 0 28px; max-width: 34em; }
.hero-lead u { text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (min-width: 768px) {
  .hero-media { position: absolute; top: 0; right: 0; width: 60%; height: 560px; }
  .hero-media::after { display: none; }
  .hero-media img { height: 100%; object-position: 0 50%; }
  .hero-content { min-height: 560px; display: flex; flex-direction: column; justify-content: center; padding-block: 64px 40px; }
  .hero-title { max-width: 9.6em; }
  .hero-title-red { max-width: 7.8em; }
  .hero-lead { max-width: 25em; font-size: 1.25rem; margin-top: 48px; }
}
@media (min-width: 1024px) {
  .hero-media { height: 700px; width: 70%; }
  .hero-content { min-height: 700px; padding-block: 120px 40px; }
  .hero-lead { font-size: 1.375rem; margin: 64px 0 40px; }
}

/* ---------- Leistungs-Buttons ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-inline: 14px; } }
.service {
  display: flex; flex-direction: column; height: 100%;
  padding: 18px 16px 16px; border-radius: var(--radius-card);
  background: var(--white); border: 1px solid var(--border);
  text-decoration: none; color: var(--black);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.service svg { color: var(--red); margin-bottom: 18px; width: 30px; height: 30px; transition: color .2s; }
.service-title { font-weight: 700; font-size: 1rem; letter-spacing: .02em; line-height: 1.2; }
.service-sub { color: var(--grey-text); font-weight: 600; font-size: .875rem; letter-spacing: .02em; line-height: 1.3; margin-top: 2px; transition: color .2s; }
@media (min-width: 1024px) {
  .service { padding: 24px 18px 20px; }
}
.service:hover, .service:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); }
.service:hover svg, .service:hover .service-sub,
.service:focus-visible svg, .service:focus-visible .service-sub { color: var(--white); }
.service:focus-visible { outline-color: var(--black); }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section-space); }
.section-grey { background: var(--bg); }
.section-title { font-weight: 700; font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: .01em; margin-bottom: 16px; }
.section-lead { color: var(--grey-text); font-size: 1.0625rem; letter-spacing: .03em; line-height: 1.4; max-width: 31em; }
@media (min-width: 768px) { .section-lead { font-size: 1.1875rem; } }
.eyebrow { color: var(--red); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .875rem; margin-bottom: 8px; }
.h3 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; }

/* ---------- Angebote ---------- */
.offers-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.offers-head .section-lead { margin: 0; padding-left: 0; }
@media (min-width: 1024px) {
  .offers-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
  .offers-head .section-lead { padding-left: 12px; }
}

.tabs {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs { margin: 0; padding: 4px; gap: 18px; } }
.tab {
  flex: 0 0 auto; border: 0; cursor: pointer;
  min-height: 44px; padding: .5em 1.3em; border-radius: var(--radius-pill);
  background: var(--tab-inactive); color: var(--black);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: .04em;
  transition: background-color .2s, color .2s;
}
@media (min-width: 768px) { .tab { font-size: 1.1875rem; min-height: 50px; padding-inline: 1.35em; } }
.tab:hover { background: #E0E0E0; }
.tab[aria-selected="true"] { background: var(--black); color: var(--white); }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 46px; } }

.product { position: relative; }
.product-link { display: block; color: inherit; text-decoration: none; }
.product-media {
  position: relative; overflow: hidden; aspect-ratio: 11 / 12;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-card);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .35s ease; }
.product-link:hover .product-media img, .product-link:focus-visible .product-media img { transform: scale(1.05); }
.badges {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none;
}
.badge {
  display: inline-block;
  padding: .35em 1em; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--white); background: var(--black);
}
.badge-sale { background: var(--red); }
.badge-sold { background: var(--grey-light); }
.btn-view {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  padding: .45em 1.3em; border-radius: var(--radius-pill);
  background: var(--black); color: var(--white); font-weight: 700; letter-spacing: .05em;
  transition: opacity .2s, transform .2s;
}
/* Auf Geräten mit Maus erscheint „Ansehen“ erst beim Darüberfahren */
@media (hover: hover) {
  .btn-view { opacity: 0; transform: translateY(6px); }
  .product-link:hover .btn-view, .product-link:focus-visible .btn-view { opacity: 1; transform: none; }
}
.product-body p { margin: 0; }
.product-body { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 2px 0; }
.product-name { font-size: 1.375rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.product-specs { grid-column: 1; color: var(--grey-text); font-size: 1.0625rem; letter-spacing: .03em; margin: 0; }
.product-price { grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; font-size: 1.375rem; font-weight: 700; }
.product-price .old { color: var(--grey-light); font-weight: 400; text-decoration: line-through; font-size: 1.125rem; margin-right: .4em; }
.product-price .new-sale { color: var(--red); }
.product-tax { grid-column: 2; grid-row: 2; text-align: right; color: var(--grey-text); font-size: .875rem; margin: 0; align-self: end; }
@media (min-width: 1024px) { .product-name, .product-price { font-size: 1.5rem; } }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 48px 16px;
  border: 1.5px dashed var(--border); border-radius: var(--radius-card); color: var(--grey-text);
}

/* Service-Karten im Reiter „Service“ */
.service-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 24px; min-height: 180px;
  border: 1.5px solid var(--border); border-radius: var(--radius-card); background: var(--white);
  text-decoration: none; color: inherit; transition: border-color .2s;
}
.service-card:hover { border-color: var(--black); }
.service-card h3 { font-size: 1.375rem; font-weight: 700; }
.service-card .price { font-size: 1.5rem; font-weight: 700; }
.service-card .price small { font-size: 1rem; font-weight: 500; color: var(--grey-text); }
.more-link { grid-column: 1 / -1; justify-self: start; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.about-photo { margin: 0; max-width: 440px; }
.photo-placeholder {
  aspect-ratio: 4 / 5; max-height: 560px; width: 100%;
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #ececec 0 12px, #e6e6e6 12px 24px);
  border-radius: var(--radius-card); color: var(--grey-text); font-weight: 700;
}
.about-text .placeholder-text { max-width: 36em; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.facts li { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px 14px; }
.facts strong { display: block; color: var(--red); font-size: 1.125rem; line-height: 1.2; }
.facts span { color: var(--grey-text); font-size: .9375rem; }
@media (min-width: 768px) { .facts strong { font-size: 1.5rem; } }

/* ---------- Bewertungen ---------- */
.review-grid { display: grid; gap: 20px; margin: 32px 0; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.review-card { border: 1.5px solid var(--border); border-radius: var(--radius-card); padding: 24px; background: var(--white); }
.review-card .stars { display: inline-block; margin-bottom: 12px; }

/* ---------- Kontaktformular ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); }
.form { padding: 20px; display: grid; gap: 16px; }
@media (min-width: 768px) { .form { padding: 32px; gap: 20px; } }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; letter-spacing: .02em; }
.optional { color: var(--grey-text); font-weight: 400; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--white);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(18,18,18,.12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-check { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--red); }
.field-check label { font-weight: 400; font-size: .9375rem; }
.form-note { margin: 0; color: var(--grey-text); font-size: .875rem; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Anfahrt ---------- */
.location-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .location-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.address { font-style: normal; font-size: 1.125rem; margin-bottom: 12px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--border); }
.contact-lines a:hover { border-color: var(--red); color: var(--red); }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--border); font-weight: 400; white-space: nowrap; }
.hours th { font-weight: 600; padding-right: 16px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 700; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
}
@media (min-width: 1024px) { .map { aspect-ratio: 16 / 11; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; color: var(--grey-text); }
.map-consent svg { color: var(--red); }
.map-consent p { max-width: 30em; margin: 0; font-size: .9375rem; }
.map-links { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #D6D6D6; padding-top: 56px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; margin-bottom: 8px; }
.footer-brand span { color: var(--red); filter: brightness(1.25); }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-links li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 48px; padding-block: 20px; color: #A8A8A8; }

/* =========================================================
   Unterseiten
   ========================================================= */
.main-nav a[aria-current="page"] { color: var(--red); }
@media (min-width: 1024px) { .main-nav a[aria-current="page"] { border-bottom-color: var(--red); } }

.page-hero { background: var(--bg); padding: 20px 0 40px; }
@media (min-width: 768px) { .page-hero { padding: 28px 0 64px; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .9375rem; color: var(--grey-text); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--grey-light); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.page-hero-inner { display: flex; align-items: flex-start; gap: 20px; }
.page-hero-icon {
  flex: 0 0 auto; display: none; place-items: center; width: 72px; height: 72px;
  border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--border); color: var(--red);
}
@media (min-width: 640px) { .page-hero-icon { display: grid; } }
.page-title { font-weight: 700; font-size: clamp(2.125rem, 8vw, 4.25rem); line-height: 1.15; hyphens: auto; overflow-wrap: break-word; }
.page-title span { display: inline; }
.page-title .hero-title-red { display: block; }
.page-lead { font-size: 1.125rem; line-height: 1.45; max-width: 36em; margin: 16px 0 0; }
@media (min-width: 768px) { .page-lead { font-size: 1.25rem; } }
.page-hero .btn-row { margin-top: 28px; }
.page-lead a { color: var(--red); font-weight: 600; }
.section-tight { padding-top: 40px; }
@media (min-width: 768px) { .section-tight { padding-top: 56px; } }

/* Infokarten (Leistungen) */
.info-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.info-card {
  display: flex; flex-direction: column; padding: 24px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-card);
}
.info-card p { color: var(--grey-text); margin-bottom: .75em; }
.info-icon { color: var(--red); margin-bottom: 18px; }
.info-title { font-size: 1.375rem; font-weight: 700; letter-spacing: .01em; margin-bottom: 10px; }
.info-card .info-warn { background: #FDEBEC; color: #8F0710; border-radius: 10px; padding: 10px 12px; font-size: .9375rem; }
.info-card .info-price { margin-top: auto; padding-top: 8px; margin-bottom: 0; }
.info-price a { color: var(--black); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); }
.info-price a:hover { color: var(--red); }

/* Preisliste (Dienstleistungen) */
.price-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .price-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.price-item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 140px;
  padding: 22px; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-card);
}
.price-name { font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.price-value { font-weight: 700; font-size: 1.75rem; color: var(--red); }
.price-foot { margin-top: 20px; }

/* Aufruf-Band am Seitenende */
.cta-section { padding-top: 0; }
.cta-band {
  display: grid; gap: 20px; padding: 28px 24px;
  background: var(--bg); border-radius: var(--radius-card);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; } }
.cta-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 8px; }
.cta-band p { color: var(--grey-text); margin: 0; max-width: 34em; }

/* Filter (Komponenten) */
.filter-bar {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 32px; padding: 4px var(--gutter);
}
.filter-bar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filter-bar { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.filter-bar .tab { font-size: 1rem; min-height: 44px; padding-inline: 1.1em; }
.filter-bar .tab[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* Produkt-Zusatzinfos */
.badge-reserved { background: #5A5A5E; }
.product.is-sold .product-media img { opacity: .55; filter: grayscale(.6); }
.product-media .no-img { position: absolute; inset: 0; display: grid; place-items: center; color: var(--grey-light); font-weight: 600; }

/* Detailansicht */
.product-dialog {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--black);
}
.product-dialog::backdrop { background: rgba(18,18,18,.6); }
@media (min-width: 900px) {
  .product-dialog { width: min(1100px, calc(100% - 48px)); height: fit-content; max-height: calc(100% - 48px); margin: auto; border-radius: 18px; }
}
.dialog-inner { position: relative; display: grid; gap: 24px; padding: 64px var(--gutter) 32px; }
@media (min-width: 900px) { .dialog-inner { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 48px; } }
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--black); color: var(--white); }
.gallery-main {
  position: relative; aspect-ratio: 11 / 12; border: 1.5px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; background: var(--white);
}
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; }
.gallery-main img { padding: 4%; }
.gallery-main video { background: #000; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 3px; }
.gallery-thumbs button {
  flex: 0 0 auto; width: 72px; height: 72px; padding: 4px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--white); cursor: pointer; display: grid; place-items: center; font-weight: 700; font-size: .8125rem;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--black); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.dialog-info h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 700; margin: 8px 0 8px; }
.dialog-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.dialog-badges .badges { position: static; }
.dialog-short { color: var(--grey-text); font-size: 1.125rem; }
.dialog-price { font-size: 2rem; font-weight: 700; margin: 12px 0 2px; }
.dialog-price .old { color: var(--grey-light); font-weight: 400; text-decoration: line-through; font-size: 1.25rem; margin-right: .4em; }
.dialog-price .new-sale { color: var(--red); }
.dialog-tax { color: var(--grey-text); font-size: .875rem; margin-bottom: 20px; }
.dialog-info h3 { font-size: 1.125rem; font-weight: 700; margin: 24px 0 8px; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.spec-list li { padding: 8px 0 8px 20px; border-bottom: 1px solid var(--border); position: relative; }
.spec-list li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.dialog-desc { white-space: pre-line; }
.dialog-info .btn-row { margin-top: 28px; }
body.dialog-open { overflow: hidden; }

/* Rechtstexte */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.375rem; margin: 32px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { line-height: 1.65; }
.legal-sub { font-weight: 700; font-size: 1.125rem; }
.legal a { color: var(--red); }

/* Telefonnummern nie umbrechen */
a[href^="tel:"] { white-space: nowrap; }

/* Über uns: Inhalte aus dem Admin */
.about-img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-card); }
.about-copy { max-width: 36em; }
.about-grid--ohne-foto { grid-template-columns: 1fr !important; }

/* Kontaktformular: Hinweis, solange der Online-Versand noch nicht eingerichtet ist */
.form-hinweis { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bg); border-left: 4px solid var(--red); font-weight: 600; line-height: 1.45; }
.form-hinweis a { color: var(--red); white-space: nowrap; }
.form .btn:disabled { opacity: .45; cursor: not-allowed; }
.form .btn:disabled:hover { background: var(--red); }
