/* Prototyp-spezifische Ergänzungen zum Design-System (werden später Astro-Komponenten) */

/* Platzhalter */
.ph { position: relative; display: grid; place-items: center; text-align: center; border: 2px dashed rgba(17,31,61,.35); background: repeating-linear-gradient(135deg, rgba(17,31,61,.04) 0 12px, transparent 12px 24px); color: var(--text); border-radius: var(--r-card); min-height: 240px; padding: var(--s-5); }
.theme-kabe .ph, .theme-kabe .card .ph { border-color: rgba(255,255,255,.4); background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px); color: #fff; }
.ph b { display: block; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s-2); opacity: .8; }
.ph span { font-size: var(--fs-sm); max-width: 32ch; opacity: .85; }
.ph.ph-sq { aspect-ratio: 1; min-height: 0; border-radius: 50%; width: 72px; padding: 0; font-size: 10px; }
.ph.ph-sq b { margin: 0; font-size: 9px; letter-spacing: .05em; }

/* Hero */
.hero h1 { max-width: 16ch; color: #fff; }
.hero .lead { max-width: 52ch; }
.hero .ph { color: #fff; border-color: rgba(255,255,255,.35); background: var(--kabe-deep) repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero .btn-kabe { background: var(--cd-light-beige); color: var(--cd-deep-navy); }
.hero .btn-etrusco { background: var(--etrusco); color: var(--cd-deep-navy); }

.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); font-size: var(--fs-xs); color: rgba(255,255,255,.85); }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 16px; height: 16px; }

/* Zwei Markenwelten */
.brands { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) { .brands { grid-template-columns: 1fr; } }
.brand { padding: clamp(var(--s-6), 6vw, var(--s-9)) var(--gutter); background: var(--bg); color: var(--text); }
.brand-inner { max-width: 560px; }
.brands .brand:first-child .brand-inner { margin-left: auto; }
.brand .media { border-radius: var(--r-card); overflow: hidden; margin-bottom: var(--s-5); border: 1px solid var(--line); }
.brand .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.brand .facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 var(--s-5); }
.brand .facts span { font-size: var(--fs-xs); padding: .3rem .7rem; border: 1px solid var(--line); border-radius: var(--r-pill); }
.brand .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Video-Consent */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--kabe-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .consent-layer { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--s-5); color: #fff; background: linear-gradient(180deg, rgba(11,21,41,.6), rgba(11,21,41,.85)); }
.video .consent-layer p { color: rgba(255,255,255,.85); font-size: var(--fs-sm); max-width: 40ch; }
.play { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cd-light-beige); color: var(--cd-deep-navy); margin-bottom: var(--s-3); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }

/* Werkstatt */
.split { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }
.split .media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); }
.split .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.services { list-style: none; margin: var(--s-5) 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s-3); }
.services li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); background: rgba(255,255,255,.55); border: 1px solid rgba(17,31,61,.2); border-radius: var(--r-md); font-weight: var(--w-semibold); font-size: var(--fs-sm); }
.services svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-6); }
.gallery-3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); }
@media (max-width: 599px) { .gallery-3 { grid-template-columns: 1fr 1fr; } .gallery-3 img:last-child { display: none; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s-4); }
.team .card-body { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-4); align-items: center; }
.team img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.team .name { font-weight: var(--w-bold); }
.team .role { font-size: var(--fs-xs); color: var(--text-muted); }

/* Öffnungszeiten-Karte */
.info-card dl { margin: 0; }

/* Karriere-Band */
.karriere { border: 1px solid var(--line); border-left: 6px solid var(--werkstatt); border-radius: var(--r-card); padding: var(--s-6); display: grid; gap: var(--s-5); grid-template-columns: 1fr auto; align-items: center; background: #fff; }
@media (max-width: 699px) { .karriere { grid-template-columns: 1fr; } }

/* Section-Head */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* Consent-Banner Demo */
.consent[hidden] { display: none; }

/* Prototyp-Hinweis */
.proto-note { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: var(--cd-deep-navy); border: 1px solid var(--line-ui); border-radius: var(--r-pill); padding: 4px 10px; font-size: 11px; font-weight: 600; opacity: .85; }

/* ---------- Werkstatt: Leistungen ---------- */
.leistungen { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 959px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .leistungen { grid-template-columns: 1fr; } }
.leistung { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) var(--s-5) var(--s-5); background: #fff; color: var(--cd-deep-navy); border: 1px solid rgba(17,31,61,.25); border-top: 6px solid var(--cd-deep-navy); border-radius: var(--r-lg); box-shadow: 0 2px 0 rgba(17,31,61,.12); transition: transform .2s ease, box-shadow .2s ease; }
.leistung:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(17,31,61,.18); }
.leistung .ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--cd-deep-navy); color: #fff; }
.leistung .ico svg { width: 28px; height: 28px; }
.leistung h3 { margin: var(--s-2) 0 0; font-size: var(--fs-xl, 1.4rem); font-weight: var(--w-extra); line-height: 1.2; }
.leistung p { margin: 0 0 var(--s-3); font-size: var(--fs-md); }
.leistung .chip { margin-top: auto; align-self: flex-start; font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .02em; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: var(--werkstatt); color: var(--cd-deep-navy); }
.leistungen-cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--cd-deep-navy); color: #fff; }
.leistungen-cta p { margin: 0; font-size: var(--fs-lg); font-weight: var(--w-bold); }
.leistungen-cta .btn { background: #fff; color: var(--cd-deep-navy); }
@media (prefers-reduced-motion: reduce) { .leistung { transition: none; } .leistung:hover { transform: none; } }
