/* ==========================================================================
   Studiomieten-NRW – Ergänzungen zum Basis-Stylesheet
   ========================================================================== */

:root { --topbar-h: 34px; }

/* ----- Header mit Topbar ----- */
.site-header { height: auto; }
.header-inner { height: var(--header-h); }
.topbar {
  position: relative; /* sonst liegt der dunkle Verlauf (.site-header::before) über der Schrift */
  height: var(--topbar-h); overflow: hidden; background: rgba(0, 0, 0, .55); border-bottom: 1px solid var(--line-dark);
  transition: height .35s var(--ease), opacity .35s var(--ease);
}
.site-header.is-scrolled .topbar { height: 0; opacity: 0; border: 0; }
.topbar__inner {
  height: 100%; max-width: calc(1400px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px; font-size: .82rem; letter-spacing: .02em;
}
.topbar a { display: inline-flex; align-items: center; gap: .45em; color: rgba(255, 255, 255, .8); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--red); }
.topbar__sel { margin-left: auto; }
.topbar__sel strong { color: #fff; font-weight: 600; }

.brand--studio img { height: 58px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand--studio img { height: 48px; }

.hero--page .hero__content { padding-top: calc(var(--header-h) + var(--topbar-h) + 60px); }
.mobile-nav { padding-top: calc(var(--header-h) + var(--topbar-h) + 20px); }
.nav-open .site-header .topbar { height: 0; opacity: 0; }

/* Mega-Menü mit Fotos */
.mega__grid--studios { grid-template-columns: repeat(2, 1fr); }
.mega__item--photo .mega__thumb { width: 92px; height: 66px; border-radius: 6px; background: #000; }
.mega__item--photo .mega__thumb img { object-fit: cover; }

/* ----- Hero Startseite ----- */
.hero--studio .hero__content { padding-top: calc(var(--header-h) + var(--topbar-h) + 30px); max-width: 980px; }
.studio-mark { margin: 0 0 clamp(14px, 2vw, 26px); line-height: 0; }
.studio-mark img { width: clamp(260px, 42vw, 620px); height: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .55)); }
.hero--studio .hero__claim { margin-bottom: 1rem; }
.hero__lead { max-width: 720px; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, .88); font-size: clamp(1rem, .4vw + .9rem, 1.15rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }

/* ----- Studio-Karten („Drei Studios – ein Anbieter“) ----- */
.studio-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.scard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); border: 1px solid var(--line-light);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.scard:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .65); }
.scard__head { padding: 26px 28px 20px; text-align: center; }
.scard__num { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.scard__name { display: block; font-size: 1.15rem; color: var(--mute-light); margin-top: 4px; }
.scard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__badge { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 20px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(6px); }
.scard__body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.scard__title { font-size: 1.35rem; line-height: 1.2; margin-bottom: .4em; }
.scard__lead { color: var(--mute-light); font-size: .95rem; margin-bottom: 1.2rem; }
.scard__block { margin-bottom: 1.1rem; }
.scard__block h4 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 .5em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.ticks li { position: relative; padding-left: 22px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.scard__price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-light); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.scard__price small { display: block; font-size: .78rem; color: var(--mute-light); letter-spacing: .04em; }
.scard__price strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--red); }
.scard__price em { font-style: normal; font-size: .8rem; color: var(--mute-light); }

.scard--featured { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-14px); }
.scard--featured:hover { transform: translateY(-20px); }
.scard--featured .scard__name, .scard--featured .scard__lead, .scard--featured .scard__price small, .scard--featured .scard__price em { color: rgba(255, 255, 255, .82); }
.scard--featured .scard__block h4 { color: #fff; opacity: .8; }
.scard--featured .ticks li::before { border-color: #fff; }
.scard--featured .scard__price { border-color: rgba(255, 255, 255, .25); }
.scard--featured .scard__price strong { color: #fff; }
.scard--featured .btn--red { --bg: var(--ink); --bd: var(--ink); box-shadow: none; }
.scard--featured .btn--red:hover { --bg: #000; --bd: #000; }

/* ----- USP-Leiste ----- */
.usp-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 60px); }
.usp { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-lg); background: rgba(18, 18, 18, .55); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); }
.usp .icon { width: 30px; height: 30px; color: var(--red); flex: none; }
.usp strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: #fff; }
.usp span { font-size: .88rem; color: var(--mute-dark); line-height: 1.45; }

/* ----- Bild + Text ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 5px; background: var(--red); }
.split__body h2 { font-size: clamp(2rem, 2.6vw + .7rem, 3.2rem); }
.split__body .statement__sub { margin-bottom: 1.2rem; }
.split__body p { color: #444; }
.tone-dark .split__body p, .bg-section .split__body p { color: var(--mute-dark); }
.split__body h3 { font-size: 1.4rem; margin-top: 1.4em; }

/* ----- Referenzen ----- */
.ref-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 1100px; margin: 36px auto 0; }
.ref-cloud span { padding: 6px 14px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .78); font-size: .86rem; white-space: nowrap; }
.ref-cloud span:nth-child(5n+1) { color: #fff; border-color: rgba(192, 12, 13, .5); }
.logo-tile--kunde { width: 180px; height: 110px; }

/* ----- Kundenstimmen ----- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-grid .t-card { height: 100%; }

/* ----- SEL-Band ----- */
.sel-band { padding: clamp(50px, 6vw, 80px) 0; border-top: 1px solid var(--line-light); }
.sel-band__row { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 70px); flex-wrap: wrap; }
.sel-band__studio { width: min(320px, 70vw); height: auto; }
.sel-band__text { font-family: var(--font-display); font-size: clamp(1.4rem, 1.5vw + 1rem, 2.2rem); color: var(--red); margin: 0; text-align: center; line-height: 1.1; }
.sel-band__sel { --h: 96px; display: inline-flex; align-items: flex-start; gap: .1em; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.sel-band__sel:hover { transform: translateY(-3px); }
.sel-band__sel img { height: var(--h); width: auto; }
.sel-band__sel span { font-family: var(--font-display); font-size: calc(var(--h) * .5); line-height: 1; margin-top: calc(var(--h) * .025); }

/* ----- Studio-Detailseite ----- */
.studio-nav { position: sticky; top: calc(var(--header-offset, var(--header-h)) - 1px); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-light); }
.studio-nav__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.studio-nav__inner::-webkit-scrollbar { display: none; }
.studio-nav a { flex: none; padding: 9px 18px; border-radius: 22px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); border: 1.5px solid var(--line-light); transition: background-color .2s, color .2s, border-color .2s; }
.studio-nav a:hover, .studio-nav a.is-current { background: var(--red); border-color: var(--red); color: #fff; }

.studio-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.studio-intro__num { display: inline-block; font-family: var(--font-display); font-size: 1.1rem; color: #fff; background: var(--red); padding: 6px 16px; border-radius: 22px; margin-bottom: 18px; }
.studio-intro h2 { font-size: clamp(2.3rem, 3.4vw + .6rem, 4rem); margin-bottom: .3em; }
.studio-intro__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 26px; }
.studio-intro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { padding: 6px 13px; border-radius: 18px; background: var(--paper); font-size: .84rem; font-weight: 500; color: #333; border: 1px solid var(--line-light); }
.facts li strong { color: var(--red); font-weight: 600; }
.studio-text h3 { font-size: 1.45rem; margin: 1.5em 0 .4em; }
.studio-text h3:first-child { margin-top: 0; }
.studio-text p { color: #3a3a3a; }
.studio-text .cta-line { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }

.feature-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: #111; color: #fff; isolation: isolate; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .9)); }
.fcard:hover img { transform: scale(1.06); }
.fcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.fcard h3 { font-size: 1.45rem; margin-bottom: .3em; }
.fcard p { font-size: .9rem; color: rgba(255, 255, 255, .85); margin: 0; line-height: 1.5; }
.fcard__tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 3px; margin-bottom: 10px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.equip { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.equip__list { columns: 2; column-gap: 34px; }
.equip__list li { break-inside: avoid; }
.equip__box { padding: 28px 30px; border-radius: var(--radius-lg); background: rgba(18, 18, 18, .6); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); }
.equip__box h3 { font-size: 1.5rem; }
.equip__box .ticks { color: rgba(255, 255, 255, .88); }
.equip__box .ticks li::before { border-color: var(--red); }
.equip__note { font-size: .88rem; color: var(--mute-dark); margin-top: 1rem; }
.equip__price { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.equip__price table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.equip__price td { padding: 7px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, .85); }
.equip__price td:last-child { text-align: right; font-weight: 600; color: #fff; white-space: nowrap; }
.bg-section .ticks { color: rgba(255, 255, 255, .88); }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech { padding: 26px 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); box-shadow: 0 20px 50px -34px rgba(0, 0, 0, .4); }
.tech h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.tech h3 .icon { color: var(--red); width: 26px; height: 26px; }
.tech ul { list-style: none; margin: 0; padding: 0; }
.tech li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-light); font-size: .92rem; }
.tech li span { color: var(--mute-light); font-size: .8rem; white-space: nowrap; }
.tech p { font-size: .85rem; color: var(--mute-light); margin: 12px 0 0; }

/* ----- Preise ----- */
.price-block { margin-bottom: clamp(40px, 5vw, 64px); }
.price-block__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.price-block__head h2 { font-size: clamp(2rem, 2vw + 1rem, 2.8rem); margin: 0; }
.price-block__head span { font-family: var(--font-display); font-size: 1.3rem; color: var(--red); }
.price-block__head a { margin-left: auto; }
.ptable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .5); }
.ptable { table-layout: fixed; }
.ptable th:nth-child(1) { width: 120px; }
.ptable th:nth-child(3) { width: 160px; }
.ptable th:nth-child(4) { width: 170px; }
.ptable th { background: var(--ink); color: #fff; text-align: left; font-weight: 500; font-size: .85rem; letter-spacing: .04em; padding: 14px 20px; }
.ptable th:nth-child(n+3), .ptable td:nth-child(n+3) { text-align: right; white-space: nowrap; }
.ptable td { padding: 16px 20px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.ptable tr:nth-child(even) td { background: #faf9f7; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td strong { display: block; font-weight: 600; }
.ptable td small { display: block; color: var(--mute-light); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.ptable .art { color: var(--mute-light); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ptable .brutto { font-family: var(--font-display); font-size: 1.35rem; color: var(--red); }
.ptable .netto { color: var(--mute-light); font-variant-numeric: tabular-nums; }
.price-note { font-size: .9rem; color: var(--mute-light); }

/* ----- Workshops ----- */
.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 2px; }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.audience div { padding: 22px; border-radius: var(--radius-lg); background: rgba(18, 18, 18, .6); border: 1px solid var(--line-dark); text-align: center; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.audience .icon { display: block; margin: 0 auto 10px; width: 34px; height: 34px; color: var(--red); }

/* ----- Kontaktseite ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); }
.contact-list .fact__icon { width: 46px; height: 46px; }
.contact-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.contact-list small { color: var(--mute-light); }
.map-embed { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: #ddd; box-shadow: var(--shadow-lg); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed .consent-placeholder { background: linear-gradient(160deg, rgba(20, 20, 20, .88), rgba(20, 20, 20, .95)), url('../media/bg-cyclorama.webp') center / cover; }
.map-embed.is-loaded .consent-placeholder { display: none; }
.team-grid--small .person { aspect-ratio: 4 / 4.6; }

/* ----- Formular: Auswahlfelder ----- */
.field--select select {
  width: 100%; padding: 26px 40px 10px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c00c0d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  border: 1.5px solid transparent; border-radius: var(--radius); outline: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.field--select select:focus { background-color: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(192, 12, 13, .1); }
.field--select label, .field input[type=date] + label { transform: translateY(-10px) scale(.76); color: var(--red); }
.field input[type=date] { min-height: 58px; }
.contact-modal__logo--studio { width: 190px; }

/* ----- Footer ----- */
.footer-logo img { width: 230px; height: auto; margin-bottom: 18px; }
.footer-brand__claim a { color: #fff; }

/* ----- Responsive ----- */
@media (max-width: 1180px) {
  .topbar__sel { display: none; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .usp-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  .studio-trio { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .scard--featured, .scard--featured:hover { transform: none; }
  .tech-grid, .quote-grid { grid-template-columns: 1fr; }
  .audience { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split, .studio-intro, .equip, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .equip__list { columns: 1; }
  .ptable th:first-child, .ptable td:first-child { display: none; }
}
@media (max-width: 640px) {
  :root { --topbar-h: 0px; }
  .topbar { display: none; }
  .brand--studio img { height: 46px; }
  .site-header.is-scrolled .brand--studio img { height: 40px; }
  .usp-row, .feature-cards { grid-template-columns: 1fr; }
  .fcard { aspect-ratio: 4 / 3; }
  .ptable th, .ptable td { padding: 12px 12px; }
  .ptable .netto { display: none; }
  .ptable th:nth-child(3) { display: none; }
  .ptable th:nth-child(4) { width: 110px; }
  .audience { grid-template-columns: 1fr 1fr; }
  .price-block__head a { margin-left: 0; }
}

/* Sprungmarken auf der Studioseite: Platz für Header + Studio-Leiste */
html:has(.studio-nav) { scroll-padding-top: calc(var(--header-offset, var(--header-h)) + 72px); }
