/* Schlüsseldienst Uwe Witt – Gestaltung (mobil zuerst, ohne Fremd-Schriften) */
:root {
  --navy: #0e1a2b;
  --navy-2: #16263c;
  --anthrazit: #1f2833;
  --text: #1c2430;
  --muted: #4a5565;
  --soft: #f2f5f8;
  --line: #d9e0e8;
  --teal: #19a5af;        /* Logofarbe – auf dunklem Grund */
  --teal-dark: #00707a;   /* Logofarbe abgedunkelt – auf hellem Grund (Kontrast ≥ 4.5) */
  --signal: #ffb400;      /* Signalfarbe Anruf */
  --signal-hover: #ffc533;
  --ok: #0f7b3e;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 26, 43, .10);
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
  color: var(--text); background: #fff; padding-bottom: 76px;
}
img, video, svg { max-width: 100%; height: auto; }
img, video { display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: inherit; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.small { font-size: .95rem; color: var(--muted); }
.ic { width: 1.4em; height: 1.4em; flex: none; }
.req { color: var(--err); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--signal); color: #000; padding: 12px 18px; font-weight: 700; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; width: 48px; height: 42px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; }
.brand-text small { font-size: .8rem; color: #b8c4d3; }
.mainnav { display: none; }
.top-call { display: none; }

@media (min-width: 1000px) {
  .mainnav { display: flex; gap: 4px; }
  .mainnav a { color: #e6ecf3; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 10px; border-radius: 8px; }
  .mainnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .top-call { display: flex; align-items: center; gap: 10px; background: var(--signal); color: #111; text-decoration: none; padding: 8px 16px; border-radius: 10px; margin-left: 8px; }
  .top-call:hover { background: var(--signal-hover); }
  .top-call span { display: flex; flex-direction: column; line-height: 1.1; }
  .top-call small { font-size: .78rem; font-weight: 600; }
  .top-call strong { font-size: 1.15rem; white-space: nowrap; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: left;
}
.btn-big { min-height: 64px; padding: 12px 24px; font-size: 1.1rem; }
.btn-big small { font-weight: 500; font-size: .9rem; }
.btn-call { background: var(--signal); color: #111; }
.btn-call:hover { background: var(--signal-hover); }
.btn-wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-wa:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: #005a62; }
.btn-ghost { background: #fff; color: var(--teal-dark); border-color: var(--teal-dark); min-height: 46px; }
.btn-ghost:hover { background: #e9f6f7; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,26,43,.96) 0%, rgba(14,26,43,.88) 55%, rgba(14,26,43,.55) 100%); }
.hero-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 48px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--teal); font-size: .9rem; margin-bottom: .6em; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); margin-bottom: .35em; }
.hero h1 span { display: block; color: var(--teal); }
.lead { font-size: 1.2rem; color: #dbe3ec; max-width: 36em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.hero-buttons .btn { flex: 1 1 240px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust li { display: flex; align-items: center; gap: 12px; color: #dbe3ec; }
.trust .ic { color: var(--teal); width: 28px; height: 28px; }
.trust strong { color: #fff; }
.hero-portrait { display: none; margin: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.25fr .9fr; padding-top: 72px; padding-bottom: 80px; }
  .trust { grid-template-columns: repeat(3, auto); }
  .hero-portrait { display: block; justify-self: end; max-width: 420px; }
  .hero-portrait img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.12); }
  .hero-portrait figcaption { margin-top: 10px; text-align: center; color: #b8c4d3; font-size: .95rem; }
}

/* ---------- Abschnitte ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-2); color: #fff; }
.section-dark .small { color: #c3cdd9; }
.section-dark a { color: #7fd8de; }
.section-head { max-width: 720px; margin: 0 0 32px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-dark .section-head p { color: #c3cdd9; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-ic { width: 56px; height: 56px; border-radius: 14px; background: #e6f5f6; color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card-ic .ic { width: 30px; height: 30px; }
.card p { margin: 0; color: var(--muted); }
.cta-strip { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 22px; }
.cta-strip p { margin: 0; font-size: 1.15rem; }

.reasons { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.reasons > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.reasons .ic { color: var(--teal); width: 34px; height: 34px; margin-bottom: 10px; }
.reasons p { color: #c3cdd9; margin: 0; }

.about { display: grid; gap: 32px; align-items: center; }
.about-img img { border-radius: 20px; box-shadow: var(--shadow); }
.lead-dark { font-size: 1.2rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .ic { color: var(--teal-dark); margin-top: 2px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 56px; } }

.video-box { max-width: 900px; }
.video-box video { width: 100%; height: auto; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.video-box p { margin-top: 10px; }

/* ---------- Bewertungen ---------- */
.stars { color: #e39b00; letter-spacing: 2px; font-size: 1.2rem; }
.stars-off { color: #c9d0d8; }
.rating-sum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 28px; }
.review { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 22px; border-left: 5px solid var(--teal); }
.review blockquote { margin: 10px 0; font-size: 1.1rem; }
.review blockquote p { margin: 0; }
.review figcaption { color: var(--muted); }
.review-write summary { list-style: none; display: inline-flex; }
.review-write summary::-webkit-details-marker { display: none; }
.review-write[open] summary { margin-bottom: 18px; background: var(--anthrazit); }
.review-write .form { max-width: 720px; }

/* ---------- Formulare ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.form-dark { background: var(--navy); border-color: rgba(255,255,255,.15); color: #fff; }
.form h3 small { font-weight: 400; color: #c3cdd9; font-size: .9rem; }
.form-row { margin-bottom: 14px; }
.form-row label, .form-row > label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-row label input, .form-row label select { margin-top: 6px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; min-height: 50px;
  border: 2px solid #b5c0cc; border-radius: 10px; background: #fff; color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); outline: 3px solid rgba(25,165,175,.35); outline-offset: 0; }
.form-2 { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .form-2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.star-pick label { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 6px 0; }
.star-pick span { color: #e39b00; letter-spacing: 2px; }
input[type=radio] { width: 22px; height: 22px; accent-color: var(--teal-dark); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.notice-ok { background: #e3f6ea; color: var(--ok); border: 2px solid #9ad3ad; }
.notice-err { background: #fdecea; color: var(--err); border: 2px solid #f3b3ad; }

/* Schließplan */
.planner { display: grid; gap: 26px; }
.step legend { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.step-nr { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-size: 1.1rem; flex: none; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--teal-dark); background: #e9f6f7; }
.rows { display: grid; gap: 12px; margin-bottom: 12px; }
.row-item { display: grid; gap: 0 12px; background: var(--soft); border-radius: 10px; padding: 12px 12px 0; position: relative; }
.row-item .form-row label { font-size: .95rem; }
.row-del { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #fff; color: var(--err); cursor: pointer; display: grid; place-items: center; }
.tuer-zeile, .gruppe-zeile { padding-right: 52px; }
.tuer-zeile:first-child, .gruppe-zeile:first-child { padding-right: 12px; }
@media (min-width: 800px) {
  .tuer-zeile { grid-template-columns: 1.2fr 1fr 1.2fr 40px; padding-right: 12px; }
  .gruppe-zeile { grid-template-columns: 1.5fr 1fr 40px; padding-right: 12px; }
  .row-del { position: static; align-self: center; margin-bottom: 14px; }
}

/* ---------- Zertifikate ---------- */
.certs { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .certs { grid-template-columns: repeat(4, 1fr); } }
.cert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cert-link { display: block; background: #e9edf2; padding: 12px; }
.cert-link img { margin: 0 auto; max-height: 260px; width: auto; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.cert figcaption { padding: 14px 16px 18px; font-size: .98rem; color: var(--muted); }
.cert figcaption strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 4px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); margin-bottom: 4px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 8px; }
.lightbox-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 1.4rem; background: #fff; cursor: pointer; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; align-items: start; }
.contact-list .ic { color: var(--teal); width: 28px; height: 28px; grid-row: span 2; }
.contact-list a { color: #fff; font-size: 1.15rem; }
.contact-list small { color: #c3cdd9; grid-column: 2; }

/* ---------- Partner ---------- */
.partner { padding: 40px 0; background: var(--soft); }
.partner-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.partner-label span { font-weight: 400; }
.partner-link { display: block; max-width: 900px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Fuß ---------- */
.footer { background: var(--navy); color: #c3cdd9; padding: 36px 0; font-size: 1rem; }
.footer a { color: #fff; }
.footer-in { display: grid; gap: 18px; }
.footer nav { display: flex; gap: 20px; }
@media (min-width: 800px) { .footer-in { grid-template-columns: 1fr auto auto; align-items: center; } }

/* ---------- Anruf-Leiste unten (Handy) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(14,26,43,.97);
  box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.callbar-call { flex: 1; background: var(--signal); color: #111; font-size: 1.05rem; }
.callbar-call span { display: flex; flex-direction: column; line-height: 1.15; }
.callbar-call strong { font-size: 1.15rem; }
.callbar-wa { flex: none; width: 96px; background: #157a3c; color: #fff; flex-direction: column; gap: 0 !important; font-size: .85rem; }
.callbar .ic { width: 24px; height: 24px; }
@media (min-width: 1000px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Rechtstexte ---------- */
.page-head { background: var(--navy); color: #fff; padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0; }
.page-head p { color: #c3cdd9; margin: 8px 0 0; }
.legal { padding: 40px 0 64px; }
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.3em; }
.legal ul { padding-left: 1.3em; }
.legal-box { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.stand { color: var(--muted); font-size: .95rem; margin-top: 2em; }

/* ---------- Ergänzungen: Unterseiten, Ratgeber, Galerie ---------- */
.hinweis { background: var(--signal); color: #111; font-weight: 700; padding: 8px 0; }
.hinweis .wrap { display: flex; align-items: center; gap: 10px; }
.section-tight { padding: 40px 0; }
.feature { display: grid; gap: 18px; background: #fff; border: 2px solid var(--signal); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.feature-ic { width: 72px; height: 72px; border-radius: 18px; background: #fff4d6; color: #7a4d00; display: grid; place-items: center; }
.feature-ic .ic { width: 40px; height: 40px; }
.feature h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 800px) { .feature { grid-template-columns: 90px 1fr; padding: 32px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link:focus-visible::after { outline: 3px solid var(--signal); outline-offset: 2px; }
.card:hover { border-color: var(--teal-dark); }
.card-more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--teal-dark); }
.band { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--teal-dark); border-radius: var(--radius); padding: 22px; }
.band > div { flex: 1 1 420px; }
.band h3 { margin-bottom: .3em; }
.band p:last-child { margin: 0; color: var(--muted); }
.area { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--muted); }
.area .ic { color: var(--teal-dark); }
.review-reply { margin-top: 12px; padding: 10px 14px; background: #fff; border-radius: 10px; font-size: .98rem; }
.crumbs { font-size: .95rem; color: #c3cdd9; margin-bottom: 12px; }
.crumbs a { color: #fff; }
.page-lead { font-size: 1.2rem; color: #dbe3ec; max-width: 46em; margin-top: 10px; }
.page-head .hero-buttons { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.ratgeber .cta-strip { margin: 32px 0; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-dark); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; }
.mini-cards { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mini-cards a { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); height: 100%; }
.mini-cards a:hover { border-color: var(--teal-dark); }
.mini-cards .ic { color: var(--teal-dark); }
.mini-cards span { display: flex; flex-direction: column; font-size: .95rem; color: var(--muted); }
.mini-cards strong { color: var(--text); font-size: 1.05rem; }
.wrap-wide { max-width: var(--wrap) !important; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 20px; }
.gal-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gal-link { padding: 0 !important; }
.gal-link img { width: 100%; height: 220px; object-fit: cover; box-shadow: none !important; max-height: none !important; }
.gal-item figcaption { padding: 10px 14px; font-size: .98rem; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--teal-dark); flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (min-width: 800px) { .footer-in { grid-template-columns: 1.1fr 1.4fr 1fr; } .footer-copy { grid-column: 1 / -1; } }
@media (min-width: 1000px) and (max-width: 1239px) { .mainnav { display: none; } }
.cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mainnav a { white-space: nowrap; }
@media (min-width: 1000px) { .mainnav a { padding: 8px 8px; font-size: .95rem; } }
@media (max-width: 599px) { .cards, .mini-cards { grid-template-columns: 1fr; } }
.cert figcaption, .card h3 { hyphens: auto; overflow-wrap: break-word; }
/* Preiskasten Türöffnung */
.price { display: grid; gap: 12px; margin: 18px 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price-item { background: var(--navy); color: #fff; border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; }
.price-item span { font-weight: 600; color: #dbe3ec; }
.price-item strong { font-size: 2.4rem; line-height: 1.1; color: var(--signal); }
.price-item small { color: #c3cdd9; font-size: .92rem; }
.price-main { border: 3px solid var(--signal); }
.price-notes { grid-column: 1 / -1; margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 1rem; }
.price-notes li { margin-bottom: 4px; }
/* Stiften (echte Werkstattfotos) */
.stiften { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .stiften { grid-template-columns: 1fr 1.05fr; gap: 44px; } }
.stiften-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stiften-fotos figure, .strecke figure { margin: 0; background: var(--soft); border-radius: 12px; overflow: hidden; }
.stiften-fotos img, .strecke img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.stiften-fotos figcaption, .strecke figcaption { padding: 8px 10px 10px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.strecke { list-style: none; padding: 0 !important; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); counter-reset: s; }
@media (max-width: 599px) { .strecke { grid-template-columns: 1fr 1fr; } }
.strecke li { margin: 0 !important; }
.card-foto { padding-top: 0; overflow: hidden; }
.card-img { display: block; margin: 0 -24px 14px; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1000px) { .mainnav a { font-size: .92rem; padding: 8px 7px; } }

/* 28.11.2026 Micha: Fotos kleiner und nebeneinander */
.stiften { grid-template-columns: 1fr !important; gap: 22px !important; }
.stiften-fotos { grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 900px; }
.stiften-fotos img, .strecke img { aspect-ratio: 1 / 1; }
.stiften-fotos figcaption, .strecke figcaption { font-size: .8rem; padding: 6px 8px 8px; }
.strecke { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 10px; }
@media (max-width: 599px) {
  .stiften-fotos { grid-template-columns: repeat(2, 1fr); }
  .strecke { grid-template-columns: repeat(3, 1fr) !important; }
  .strecke figcaption { display: none; }
}
.gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; gap: 10px !important; }
@media (max-width: 599px) { .gallery { grid-template-columns: repeat(2, 1fr) !important; } }
