/* Abschnitte nach dem Atelierhaus: aus der bisherigen Seite (KB-LC-012) übernommen und auf die Haus-Tokens gesetzt.
   Jeder Abschnitt liegt deckend über der festen Bühne. */
.section {
  position: relative; z-index: 2; background: var(--canvas);
  padding: 115px var(--edge); border-top: 1px solid var(--line);
  scroll-margin-top: var(--header); /* Sprungziele nicht unter der festen Kopfzeile */
}
.section h2 { font-size: clamp(38px, 4.5vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; margin: 0; }
.section h3 { font-family: Archivo, Geist, sans-serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; color: var(--green); margin: 0; text-wrap: balance; }
.section p { margin: 0; }
.section ul, .section ol { list-style: none; margin: 0; padding: 0; }
.section button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 0; padding: 0; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 55px; }
.section-rule { width: 22%; height: 1px; background: var(--line); margin-bottom: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--peach); padding-bottom: 8px; }
.text-link svg, .primary-button svg, .contact-email svg, .work-option svg, .back-top svg { width: 18px; height: 18px; flex: none; }
.terms { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 20px; font-size: 12px; color: var(--muted); }
.terms li { border-bottom: 1px solid var(--line); padding-bottom: 3px; }

/* Projekte */
.works { padding-top: 125px; }
.work-roster-note { font-size: 13px; color: var(--muted); margin: -27px 0 34px !important; }
.work-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 7%; align-items: start; }
.work-canvas { min-width: 0; position: sticky; top: calc(var(--header) + 22px); }
.work-image { aspect-ratio: 1.43; background: #eeeee7; border-radius: 3px; overflow: hidden; display: grid; place-items: center; }
.work-image img { width: 100%; height: 100%; object-fit: contain; }
.frame-art { text-align: center; color: var(--green); }
.frames-logotype { font: 600 clamp(44px, 5vw, 72px)/1 Archivo, sans-serif; letter-spacing: -0.03em; }
.work-caption { padding: 27px 0 0; }
.work-caption h3 { font-size: 26px; margin-bottom: 13px; }
.work-caption p { font-size: 16px; color: var(--muted); }
.work-caption a { margin-top: 22px; }
.work-option { display: grid; grid-template-columns: 1fr 20px; width: 100%; text-align: left; gap: 6px 10px; padding: 25px 0 !important; border-top: 1px solid var(--line) !important; }
.work-option:last-child { border-bottom: 1px solid var(--line) !important; }
.work-name { font: 450 28px/1.2 Archivo, sans-serif; letter-spacing: -0.025em; color: var(--ink); }
.work-category { grid-column: 1; color: var(--muted); font-size: 13px; }
.work-option svg { grid-column: 2; grid-row: 1 / span 2; margin-top: 4px; color: var(--muted); }
.work-option.is-active .work-name { color: var(--green); text-decoration: underline; text-decoration-color: var(--peach); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Vorgehen */
.method { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12%; }
.method-title { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
.method-title p { font-size: 16px; color: var(--muted); margin-top: 28px; max-width: 42ch; }
.method-step { position: relative; padding: 0 0 65px 32px; border-left: 1px solid var(--line); }
.method-step:last-child { padding-bottom: 0; }
.method-marker { display: flex; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.method-marker i { position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--peach); border-radius: 50%; }
.method-step h3 { font-size: 31px; max-width: 25ch; }
.method-step > p { font-size: 16px; color: var(--muted); margin-top: 22px; }

/* Profil */
.profile-intro figure { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; align-items: center; margin: 0; }
.profile-intro img { width: 100%; height: 500px; object-fit: cover; object-position: 50% 35%; border-radius: 3px; }
.profile-intro figcaption { font: 400 28px/1.45 Archivo, sans-serif; color: var(--green); }
.profile-intro figcaption p + p { font: 400 17px/1.65 Geist, sans-serif; color: var(--muted); margin-top: 28px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 10%; margin-top: 70px; }
.profile-fields article h3 { font-size: 25px; margin-bottom: 20px; }
.profile-fields article p { font-size: 16px; color: var(--muted); }
.profile-fields blockquote { font: 450 clamp(31px, 3.7vw, 52px)/1.3 Archivo, sans-serif; letter-spacing: -0.03em; color: var(--green); margin: 0; grid-column: 1 / -1; max-width: 31ch; }
.profile-fields dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; grid-column: 1 / -1; margin: 0; }
.profile-fields dt { font-size: 13px; color: var(--muted); }
.profile-fields dd { font-size: 18px; margin: 8px 0 0; color: var(--ink); }

/* Fragen */
.faq { border-top: 0; padding-top: 40px; }
.sw-faq { border-top: 1px solid var(--line); }
.sw-faq:last-child { border-bottom: 1px solid var(--line); }
.sw-faq summary { position: relative; list-style: none; cursor: pointer; padding: 26px 45px 26px 0; font: 450 22px/1.3 Archivo, sans-serif; color: var(--green); }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after { content: "+"; position: absolute; right: 0; top: 25px; font-weight: 300; }
.sw-faq[open] summary::after { content: "−"; }
.sw-faq p { padding-bottom: 25px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 75ch; }

/* Kontakt */
.contact { --muted: #bad8c6; --line: #658079; --field: #1b4540; color: var(--canvas); background: var(--green); display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; border-top: 0; }
.contact h2 { color: var(--canvas); font-size: clamp(37px, 3.5vw, 53px); max-width: 17ch; }
.contact a { color: var(--canvas); }
.contact-intro > p { margin-top: 24px; font-size: 16px; color: var(--muted); max-width: 52ch; }
.contact-email { display: inline-flex; gap: 20px; align-items: center; font-size: clamp(17px, 1.7vw, 25px); margin-top: 30px; text-decoration: none; border-bottom: 1px solid var(--peach); padding-bottom: 6px; }
.contact .contact-note { font-size: 13px; max-width: 50ch; }
.contact :focus-visible { outline-color: var(--peach); }
.contact-form { padding-top: 5px; }
.contact label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 25px; }
.contact label span { font-weight: 400; color: var(--muted); }
.contact input, .contact textarea { display: block; width: 100%; margin-top: 9px; border: 0; border-bottom: 1px solid var(--muted); background: var(--field); color: var(--canvas); border-radius: 0; padding: 12px; font: 400 16px/1.5 Geist, sans-serif; caret-color: var(--peach); }
.contact input:focus, .contact textarea:focus { outline: none; border-bottom-color: var(--peach); }
.contact textarea { resize: vertical; min-height: 130px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.preview-note { font-size: 12px; color: var(--muted); margin: 0 0 20px !important; }
.contact .primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 25px; background: var(--peach); color: var(--ink); padding: 18px 22px; font-size: 16px; font-weight: 500; transition: transform 160ms ease-out; }
.contact .primary-button:active { transform: scale(.98); }
#inquiry-preview { padding: 25px; background: var(--field); }
#preview-content { overflow-wrap: anywhere; margin: 26px 0; }
#preview-content dt { font-size: 12px; color: var(--muted); margin-top: 20px; }
#preview-content dd { margin: 5px 0 0; font-size: 16px; white-space: pre-wrap; }
#inquiry-preview > p { font-size: 13px; margin-bottom: 25px; }
.contact .text-link { color: var(--canvas); }

/* Footer */
.site-footer { position: relative; z-index: 2; background: var(--canvas); display: flex; align-items: center; gap: 28px; padding: 55px var(--edge) 85px; font-size: 13px; border-top: 1px solid var(--line); }
.site-footer .logo { width: 155px; margin-right: auto; }
.site-footer .logo img { width: 100%; filter: url(#brand-green); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--peach); }
.footer-facts { font-size: 12px; max-width: 42ch; color: var(--muted); }
.footer-facts p + p { margin-top: 10px; }
.back-top { margin-left: 25px; display: inline-flex; }

@media (hover: hover) and (pointer: fine) {
  .work-option:hover .work-name { color: var(--green); }
}
@media (max-width: 1050px) {
  .section { padding-top: 96px; padding-bottom: 96px; }
  .work-name { font-size: 22px; }
  .profile-intro figure { gap: 7%; }
}
@media (max-width: 767px) {
  .section { padding: 72px var(--gutter); }
  .section-heading { gap: 20px; margin-bottom: 33px; align-items: start; }
  .section-rule, .section-heading .text-link { display: none; }
  .work-layout { display: flex; flex-direction: column; gap: 30px; }
  .work-canvas { position: static; width: 100%; }
  .work-selector { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0 20px; }
  .work-option { padding: 17px 0 !important; min-width: 0; }
  .work-name { font-size: 17px; }
  .work-category { font-size: 12px; line-height: 1.5; }
  .work-caption h3 { font-size: 24px; }
  .work-caption p { font-size: 15px; }
  .work-image { aspect-ratio: 1.3; }
  .method { grid-template-columns: 1fr; gap: 42px; }
  .method-title { position: static; }
  .method-step { padding-left: 28px; padding-bottom: 48px; }
  .method-step h3 { font-size: 26px; }
  .method-step > p { font-size: 15px; }
  .profile-intro figure { grid-template-columns: 1fr; gap: 30px; }
  .profile-intro img { width: 85%; height: 420px; object-position: 50% 30%; }
  .profile-intro figcaption { font-size: 21px; }
  .profile-intro figcaption p + p { font-size: 15px; margin-top: 20px; }
  .profile-fields { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .profile-fields article h3 { font-size: 22px; }
  .profile-fields article p { font-size: 15px; }
  .profile-fields blockquote { font-size: 31px; margin-top: 10px; }
  .profile-fields dl { grid-template-columns: 1fr; gap: 20px; }
  .sw-faq summary { font-size: 17px; padding: 22px 28px 22px 0; }
  .sw-faq p { font-size: 15px; }
  .contact { grid-template-columns: 1fr; gap: 42px; }
  .contact h2 { font-size: 37px; max-width: 18ch; }
  .contact-email { font-size: 19px; gap: 12px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 35px; padding-bottom: 70px; }
  .site-footer .logo, .footer-facts { grid-column: 1 / -1; }
  .back-top { display: none; }
}
/* Ohne JavaScript: alle Projekte sichtbar, Formular ausgeblendet (Kontakt per E-Mail) */
html:not(.js) .work-panel[hidden] { display: block !important; margin-top: 35px; }
html:not(.js) .work-selector, html:not(.js) #inquiry-form { display: none; }
.work-note { margin-top: 10px !important; font-size: 13px !important; color: var(--muted); }
.frame-art .frames-logotype { font-size: clamp(40px, 4.4vw, 64px); }
/* Linkarten: intern →, extern zwei Rechtecke, E-Mail Umschlag, Auswahl › */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-external { width: 14px; height: 14px; }
.site-footer .is-external { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .icon-external { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) {
  .text-link .icon-next, .primary-button .icon-next, .room-links .icon-next { transition: transform 200ms ease-out; }
  .text-link:hover .icon-next, .primary-button:hover .icon-next, .room-links a:hover .icon-next { transform: translateX(4px); }
}
.work-image.is-shot img { object-fit: cover; } /* Komposition hat bereits das Rahmenverhältnis 1,43 */

/* Produktion (KB-LC-030): Lockfeld für Bots unsichtbar, Statuszeile des Formulars */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }

/* Projektaufbau (Kevin 17.10.): Fakten unter dem Projekttext, ruhige Zeilen mit Haarlinie wie Vorgehen und Profil */
.work-facts { margin: 26px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); max-width: 68ch; }
.work-facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.work-facts dt { font-size: 13px; letter-spacing: .02em; color: var(--muted); padding-top: 2px; }
.work-facts dd { margin: 0; font-size: 15px; color: var(--ink); }
.work-features ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.work-features li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.work-features li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--peach); }
.work-caption .work-facts + .work-note { margin-top: 14px !important; }
@media (max-width: 720px) { .work-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
/* Projekt-Bildzeichen links vom Namen (Kevin 17.10.); nur wo es ein echtes Zeichen gibt */
.work-title { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.work-title h3 { margin: 0 !important; }
.work-logo { width: 44px; height: 44px; object-fit: contain; flex: none; }
@media (max-width: 720px) { .work-logo { width: 36px; height: 36px; } .work-title { gap: 12px; } }
/* Bildnachweis Profilfoto (Kevin 17.10.: Jean Noir) */
.profile-photo { display: grid; gap: 10px; }
.photo-credit { font-size: 12px; color: var(--muted); }
.photo-credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.photo-credit a:hover { color: var(--green); text-decoration-color: var(--peach); }
.photo-credit svg { width: 12px; height: 12px; }
