/* Public refinement of the existing teal/white design. Shared admin/customer styles stay unchanged. */
.customer-site { --accent: #0f766e; --accent-dark: #115e59; --muted: #526277; --focus: #974600; }
.customer-site .skip-link { z-index: 100; }
.customer-site :focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.customer-site :target { scroll-margin-top: 7rem; }
.customer-site .nav { flex-direction: row; flex-wrap: nowrap; position: relative; }
.customer-site .brand-with-logo img { width: 168px; max-width: 43vw; }
.customer-site .nav-links { font-size: .84rem; }
.customer-site .hero { padding: clamp(3rem,6vw,5rem) 0; }
.customer-site .hero h1 { font-size: clamp(2.2rem,4vw,3.5rem); line-height: 1.12; max-width: 18ch; letter-spacing: -.035em; }
.customer-site .hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(2rem,5vw,4.5rem); }
.customer-site .hero .lead { max-width: 38rem; font-size: 1.1rem; }
.customer-site .hero-note { max-width: 34rem; font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }
.customer-site .button { gap: .5rem; }
.customer-site .needs-panel { background: #fff; border: 1px solid #cfddd9; border-top: 4px solid var(--accent); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--shadow-lg); }
.customer-site .needs-panel h2 { font-size: 1.5rem; line-height: 1.3; margin: .5rem 0 1rem; }
.customer-site .needs-panel > a { display: grid; grid-template-columns: 2rem 1fr 1rem; align-items: center; gap: .7rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.customer-site .needs-panel > a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.customer-site .need-index { color: var(--accent-dark); font-size: .8rem; font-weight: 700; }
.customer-site .needs-panel strong { display: block; font-size: 1rem; }
.customer-site .needs-panel a span span, .customer-site .needs-panel > p:last-child { color: var(--muted); font-size: .85rem; }
.customer-site .needs-panel > p:last-child { margin-bottom: 0; }
.customer-site .section h2 { font-size: clamp(1.8rem,3.1vw,2.5rem); line-height: 1.2; letter-spacing: -.025em; }
.customer-site .compact h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.15; max-width: 26ch; letter-spacing: -.03em; }
.customer-site .section-heading { max-width: 46rem; }
.customer-site .offer-cards .card { display: flex; flex-direction: column; align-items: start; }
.customer-site .card h3 { margin: .3rem 0; }
.customer-site .card .eyebrow { font-size: .7rem; }
.customer-site .text-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .25em; font-weight: 650; line-height: 1.5; }
.customer-site .offer-cards .text-link { margin-top: auto; padding-top: .6rem; font-size: .88rem; }
.customer-site .section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.customer-site .section-title-row h2 { max-width: 33rem; }
.customer-site .section-title-row p:not(.eyebrow) { color: var(--muted); max-width: 40rem; }
.customer-site .section-title-row > .text-link { flex-shrink: 0; margin-bottom: 1rem; }
.customer-site .work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.customer-site #schulprojekte .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.customer-site .work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.customer-site .work-label { padding: .8rem 1.5rem; background: var(--accent-soft); color: var(--accent-dark); border-bottom: 1px solid #d3e8df; font-size: .8rem; font-weight: 650; }
.customer-site .work-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 1.5rem; }
.customer-site .work-copy h3 { width: 100%; font-size: 1.4rem; line-height: 1.35; margin: 0 0 .8rem; }
.customer-site .work-copy > .text-link { margin-top: auto; }
.customer-site .work-copy h3 a { display: block; text-decoration: none; }
.customer-site .work-copy h3 a:hover { text-decoration: underline; }
.customer-site .work-copy p { color: var(--muted); }
.customer-site .work-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.customer-site .work-tags li { font-size: .75rem; background: var(--surface-soft); padding: .3rem .6rem; border-radius: 5px; }
.customer-site .section-note { color: var(--muted); font-size: .85rem; margin-top: 1.5rem; }
.customer-site .service-grid { align-items: stretch; }
.customer-site .service-block { display: flex; flex-direction: column; align-items: start; }
.customer-site .service-block .text-link { margin-top: auto; padding-top: .7rem; }
.customer-site .service-block h2 { font-size: 1.65rem; }
.customer-site .faq-list { max-width: 48rem; }
.customer-site .faq-list details { padding: 1.2rem 0; border-bottom: 1px solid var(--line-strong); }
.customer-site .faq-list summary { cursor: pointer; font-weight: 700; }
.customer-site .faq-list p { color: var(--muted); }
.customer-site .project-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem 2rem; margin: 2rem 0 0; }
.customer-site .project-meta dt { font-weight: 700; font-size: .8rem; color: var(--muted); }
.customer-site .project-meta dd { margin: .3rem 0 0; }
.customer-site .project-reading { max-width: 48rem; margin: 0 auto; }
.customer-site .project-reading > section { margin: 0 0 2.5rem; }
.customer-site .project-reading h2 { font-size: 1.7rem; }
.customer-site .project-reading p, .customer-site .project-reading li { overflow-wrap: anywhere; }
.customer-site .project-timeline { padding-left: 1.4rem; }
.customer-site .project-timeline li { padding: .5rem 0 .5rem .5rem; }
.customer-site .project-status { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 1rem 1.25rem; }
.customer-site .project-intro-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); grid-template-areas: "intro result" "meta result"; gap: 1.5rem clamp(2rem,4vw,4rem); align-items: start; }
.customer-site .project-intro-copy { grid-area: intro; }
.customer-site .project-intro-grid > .project-meta { grid-area: meta; margin-top: 0; }
.customer-site .project-result { grid-area: result; }
.customer-site .project-result { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.5rem; }
.customer-site .project-result h2 { font-size: 1.55rem; margin: .4rem 0 .75rem; }
.customer-site .project-result .work-tags { margin-bottom: 1rem; }
.customer-site .work-copy .work-authorship { color: var(--accent-dark); font-size: .8rem; margin: 0 0 .65rem; font-weight: 650; }
.customer-site .project-other-links { display: grid; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 3rem; }
.customer-site .project-other-links a { color: var(--accent-dark); text-underline-offset: .2em; }
.customer-site .back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--accent-dark); }
.customer-site .contact-intro { border-top: 1px solid var(--line); }
.customer-site #kontakt .form-grid, .customer-site #projekt-anfragen .form-grid { align-items: start; }
.customer-site .preview-notice { background: #183b40; color: #fff; padding: .4rem 1rem; text-align: center; font-size: .8rem; }
.customer-site .preview-legal-note { border: 1px solid var(--line-strong); padding: 1rem; background: #fff; }
.customer-site .mobile-nav { display: none; }
.customer-site .footer-links { line-height: 1.8; }
@media (max-width: 1050px) {
 .customer-site #schulprojekte .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .customer-site .nav-links { display: none; }
 .customer-site .mobile-nav { display: block; }
 .customer-site .mobile-nav summary { cursor: pointer; padding: .8rem .5rem; list-style: none; font-weight: 650; }
 .customer-site .mobile-nav summary::-webkit-details-marker { display: none; }
 .customer-site .mobile-nav summary span { margin-left: .6rem; }
 .customer-site .mobile-nav-links { position: absolute; top: 100%; left: -1rem; right: -1rem; display: grid; gap: .3rem; padding: 1rem; max-height: 75vh; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
 .customer-site .mobile-nav-links a { text-decoration: none; padding: .55rem .75rem; border-radius: 6px; }
 .customer-site .mobile-nav-links a:hover { background: var(--accent-soft); }
}
@media (max-width: 760px) {
 .customer-site .hero-grid, .customer-site .work-grid, .customer-site .project-meta, .customer-site .project-intro-grid { grid-template-columns: 1fr; }
 .customer-site .project-intro-grid { grid-template-areas: "intro" "result" "meta"; }
 .customer-site #schulprojekte .work-grid { grid-template-columns: 1fr; }
 .customer-site .hero h1 { max-width: 22ch; }
 .customer-site .hero .lead { font-size: 1.05rem; }
 .customer-site .section-title-row { display: block; }
 .customer-site .section-title-row > .text-link { display: inline-block; margin-top: .5rem; }
 .customer-site .section { padding-top: 3rem; padding-bottom: 3rem; }
 .customer-site .actions { align-items: stretch; }
 .customer-site .work-copy { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .customer-site *, .customer-site *::before, .customer-site *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Maturaarbeit: scoped local reading edition; no change to the customer-facing foundation. */
.customer-site .thesis-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.customer-site .thesis-intro h1 { max-width: 23ch; }
.customer-site .thesis-intro .lead { max-width: 43rem; }
.customer-site .thesis-facts { background: #fff; padding: 1.75rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); }
.customer-site .thesis-edition-badge { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #c4ddd5; border-radius: 6px; padding: .3rem .65rem; font-size: .78rem; font-weight: 700; }
.customer-site .thesis-facts h2 { font-size: 1.45rem; margin: 1.1rem 0; }
.customer-site .thesis-facts dl { margin: 0; }
.customer-site .thesis-facts dl > div { padding: .7rem 0; border-top: 1px solid var(--line); }
.customer-site .thesis-facts dt { font-size: .75rem; color: var(--muted); font-weight: 650; }
.customer-site .thesis-facts dd { font-size: .9rem; margin: .3rem 0 0; }
.customer-site .thesis-process, .customer-site .thesis-findings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-top: 2.5rem; }
.customer-site .thesis-process span { font-size: .8rem; color: var(--accent-dark); font-weight: 750; }
.customer-site .thesis-process h3, .customer-site .thesis-findings h3 { font-size: 1.2rem; line-height: 1.4; }
.customer-site .thesis-process p, .customer-site .thesis-findings p, .customer-site .thesis-strategies p { color: var(--muted); }
.customer-site .thesis-subheading { margin-top: 3.5rem; }
.customer-site .thesis-strategies { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.customer-site .thesis-strategies article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.customer-site .thesis-strategies h3 { font-size: 1.15rem; margin-top: 0; }
.customer-site .thesis-feature-chart { margin: 2.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.25rem; }
.customer-site .thesis-feature-chart img { display: block; width: 100%; height: auto; }
.customer-site .thesis-feature-chart figcaption { font-size: .83rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.customer-site .thesis-boundaries { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 1.4rem 1.7rem; margin-top: 2.5rem; }
.customer-site .thesis-boundaries h3 { margin-top: 0; font-size: 1.1rem; }
.customer-site .thesis-boundaries p { margin-bottom: 0; }
.customer-site .thesis-reading-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.customer-site .thesis-reading-card { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.customer-site .thesis-reading-card h3 { font-size: 1.4rem; }
.customer-site .thesis-reading-card .button { white-space: normal; text-align: center; }
.customer-site .thesis-chapters, .customer-site .thesis-page-navigation { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; background: #fff; }
.customer-site .thesis-chapters summary, .customer-site .thesis-page-navigation summary, .customer-site .thesis-book-navigation summary { cursor: pointer; font-weight: 700; }
.customer-site .thesis-chapters li, .customer-site .thesis-page-navigation li { margin: .65rem 0; }
.customer-site .thesis-chapters a, .customer-site .thesis-reader-grid a { text-underline-offset: .2em; }
.customer-site .thesis-reader-header { padding-bottom: 2.5rem; }
.customer-site .thesis-reader-header h1 { max-width: 30ch; }
.customer-site .thesis-reader-note { max-width: 50rem; color: var(--muted); font-size: .85rem; }
.customer-site .thesis-reader-grid { display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: clamp(2rem,4vw,4rem); align-items: start; padding-bottom: 4rem; }
.customer-site .thesis-reader-sidebar { position: sticky; top: 7rem; max-height: calc(100vh - 8rem); overflow: auto; }
.customer-site .thesis-book-navigation { border-top: 3px solid var(--accent); background: #fff; padding: 1rem; border-radius: 6px; }
.customer-site .thesis-book-navigation ol { list-style: none; margin: 1rem 0; padding: 0; }
.customer-site .thesis-book-navigation li { margin: .25rem 0; }
.customer-site .thesis-book-navigation nav a { display: block; padding: .5rem .6rem; border-radius: 5px; font-size: .83rem; }
.customer-site .thesis-book-navigation [aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); font-weight: 750; text-decoration: none; }
.customer-site .thesis-prose { min-width: 0; max-width: 52rem; line-height: 1.8; }
.customer-site .thesis-prose > .thesis-page-navigation { margin-top: 0; }
.customer-site .thesis-page-navigation ul { list-style: none; padding-left: 0; font-size: .88rem; }
.customer-site .thesis-subsection-link { padding-left: 1.1rem; }
.customer-site .thesis-prose h2 { font-size: 1.7rem; line-height: 1.3; margin-top: 2.75rem; letter-spacing: -.02em; }
.customer-site .thesis-prose h3 { font-size: 1.25rem; line-height: 1.4; margin-top: 2rem; }
.customer-site .thesis-prose h4 { font-size: 1.05rem; line-height: 1.5; }
.customer-site .thesis-prose p, .customer-site .thesis-prose li, .customer-site .thesis-prose .references { overflow-wrap: anywhere; }
.customer-site .thesis-prose pre { overflow-x: auto; max-width: 100%; padding: 1rem; background: #edf2f3; border: 1px solid var(--line); border-radius: 6px; font-size: .78rem; line-height: 1.65; }
.customer-site .thesis-prose pre code { white-space: pre; overflow-wrap: normal; background: none; }
.customer-site .thesis-prose :not(pre) > code { font-size: .85em; overflow-wrap: anywhere; background: #edf2f3; padding: .1rem .25rem; }
.customer-site .thesis-prose img { display: block; max-width: 100%; width: 100%; height: auto; margin: 1.5rem auto .75rem; }
.customer-site .thesis-prose figure { margin: 2rem 0; }
.customer-site .thesis-prose figcaption { font-size: .83rem; color: var(--muted); line-height: 1.6; }
.customer-site .thesis-prose .thesis-image-original { display: inline-block; font-size: .82rem; margin: .5rem 0 1rem; color: var(--accent-dark); }
.customer-site .thesis-prose .thesis-table-scroll { overflow-x: auto; max-width: 100%; margin: 1.75rem 0; border: 1px solid var(--line); border-radius: 6px; }
.customer-site .thesis-table { width: 100%; border-collapse: collapse; font-size: .8rem; line-height: 1.55; }
.customer-site .thesis-table th, .customer-site .thesis-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 4rem; }
.customer-site .thesis-table th { background: #eaf3ef; font-weight: 700; }
.customer-site .thesis-table caption { text-align: left; padding: 1rem; font-weight: 650; }
.customer-site .thesis-prose .thesis-equation { display: block; max-width: 100%; overflow-x: auto; padding: .8rem 0; margin: 1rem 0; }
.customer-site .thesis-prose math { font-size: 1.05em; }
.customer-site .thesis-prose .footnotes { border-top: 1px solid var(--line); margin-top: 3rem; font-size: .85rem; }
.customer-site .thesis-prose .footnotes h2 { font-size: 1.2rem; }
.customer-site .thesis-reader-notice { border-left: 3px solid var(--accent); padding: .9rem 1.25rem; background: var(--accent-soft); font-size: .85rem; margin: 1.25rem 0; }
.customer-site .thesis-prose .withheld-reference { color: var(--muted); }
.customer-site .work-date { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.customer-site .project-meta.project-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
.customer-site .project-facts dd { line-height: 1.7; font-size: .9rem; }
@media (max-width:700px) { .customer-site .project-meta.project-facts { grid-template-columns:1fr; } }
.customer-site .project-development { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; padding: 0; list-style-position: inside; }
.customer-site .project-development li { border-top: 3px solid var(--accent); padding-top: 1rem; }
.customer-site .project-development a { font-weight: 700; }
.customer-site .project-development p { font-size: .82rem; color: var(--muted); }
.customer-site .school-prose { max-width: 56rem; line-height: 1.85; overflow-wrap: anywhere; }
.customer-site .school-prose section { margin: 2rem 0; }
.customer-site .school-prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.customer-site .school-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .7rem; }
.customer-site .school-prose pre { overflow: auto; max-width: 100%; background: #edf3f2; border: 1px solid var(--line); border-radius: 6px; padding: 1rem; font-size: .8rem; line-height: 1.6; overflow-wrap: normal; }
.customer-site .school-prose pre code { white-space: pre; }
.customer-site .school-table-scroll { overflow-x: auto; max-width: 100%; margin: 1rem 0; border: 1px solid var(--line); border-radius: 6px; }
.customer-site .school-prose table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.customer-site .school-prose td,.customer-site .school-prose th { padding: .75rem; border-bottom: 1px solid var(--line); min-width: 7rem; text-align: left; vertical-align: top; }
.customer-site .school-prose th { background: var(--accent-soft); }
.customer-site .school-prose sup { font-size: .7em; }
.customer-site .school-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.customer-site .school-gallery > h2,.customer-site .school-gallery > p { grid-column: 1 / -1; }
.customer-site .school-gallery figure { margin: 0; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.customer-site .school-gallery img { display: block; width: 100%; height: auto; object-fit: contain; }
.customer-site .school-gallery figcaption { font-size: .75rem; line-height: 1.65; margin-top: .75rem; }
.customer-site .school-workflow { margin: 2rem 0; border-left: 4px solid var(--accent); padding: 1.25rem; background: var(--accent-soft); }
.customer-site .school-workflow-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.customer-site .school-workflow-steps li { border-top: 1px solid var(--line); padding-top: .8rem; }
.customer-site .school-workflow-steps li > span { color: var(--accent-dark); font-weight: 750; }
.customer-site .school-reader-toc { margin-top: 2rem; padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: 6px; }
.customer-site .school-reader-toc summary { font-weight: 700; cursor: pointer; }
.customer-site .school-reader-toc li { margin: .5rem 0; }
@media (max-width: 700px) {
 .customer-site .project-development,.customer-site .school-gallery,.customer-site .school-workflow-steps { grid-template-columns: 1fr; }
 .customer-site .school-prose h2 { font-size: 1.35rem; }
}
.customer-site .thesis-page-turn { display: flex; justify-content: space-between; gap: 2rem; margin: 3rem 0 0; padding: 1.5rem 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
 .customer-site .thesis-hero-grid, .customer-site .thesis-reader-grid { grid-template-columns: 1fr; }
 .customer-site .thesis-reader-sidebar { position: static; max-height: none; }
 .customer-site .thesis-process, .customer-site .thesis-findings { grid-template-columns: 1fr; gap: 1rem; }
 .customer-site .thesis-reader-grid { gap: 1.25rem; }
 .customer-site .thesis-prose { max-width: none; }
}
@media (max-width: 600px) {
 .customer-site .thesis-strategies, .customer-site .thesis-reading-options { grid-template-columns: 1fr; }
 .customer-site .thesis-facts, .customer-site .thesis-reading-card { padding: 1.25rem; }
 .customer-site .thesis-page-turn { flex-direction: column; gap: 1rem; }
 .customer-site .thesis-prose h2 { font-size: 1.45rem; }
 .customer-site .thesis-feature-chart { padding: .5rem; }
}

/* Editorial hierarchy: one product action, optional background, three shared phases. */
.customer-site .project-category-nav { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; margin-top:1.5rem; }
.customer-site .project-category-nav a { padding:.6rem 0; font-weight:700; border-bottom:2px solid var(--accent); }
.customer-site .project-background { margin-top:1.5rem; padding:1.1rem 0; border-top:1px solid var(--line); }
.customer-site .project-background summary { cursor:pointer; font-weight:700; color:var(--text); padding:.5rem 0; }
.customer-site .project-background[open] summary { margin-bottom:1.25rem; }
.customer-site .project-background h2 { margin-top:1.8rem; font-size:1.35rem; }
.customer-site .collaboration-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
.customer-site .school-prose img { display:block; max-width:100%; height:auto; margin:1.5rem 0; }
@media(max-width:700px) { .customer-site .collaboration-steps { grid-template-columns:1fr; } }

.customer-site .portfolio-intro { min-height:0; padding:clamp(2.5rem,5vw,4.5rem) 0; }

/* GitHub Overview: original screenshots within the existing portfolio frame. */
.customer-site .github-work-preview { display:block; background:#101923; }
.customer-site .github-work-preview img { display:block; width:100%; height:auto; }
.customer-site .github-project .lead { max-width:49rem; }
.customer-site .github-project-facts { display:flex; flex-wrap:wrap; gap:1rem 3rem; margin:1.75rem 0 0; }
.customer-site .github-project-facts dt { font-size:.8rem; font-weight:700; color:var(--muted); }
.customer-site .github-project-facts dd { margin:.3rem 0 0; }
.customer-site .github-gallery-heading { margin:0 0 1.5rem; }
.customer-site .github-screen { margin:0; min-width:0; }
.customer-site .github-image-link { display:block; color:var(--accent-dark); text-decoration:none; border-radius:var(--radius); }
.customer-site .github-image-link img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:var(--radius); background:#101923; }
.customer-site .github-image-link:hover .github-image-action { text-decoration:underline; }
.customer-site .github-image-action { display:flex; justify-content:space-between; gap:1rem; padding:.75rem 0 .25rem; font-weight:650; font-size:.85rem; }
.customer-site .github-screen figcaption { color:var(--muted); font-size:.85rem; line-height:1.6; }
.customer-site .github-gallery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; margin-top:2rem; }
.customer-site .github-image-note { color:var(--muted); font-size:.8rem; margin:1.5rem 0 0; }
.customer-site .github-project-story { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; }
.customer-site .github-project-story article { border-top:2px solid var(--accent); padding-top:1rem; }
.customer-site .github-project-story h3 { font-size:1.2rem; line-height:1.4; }
.customer-site .github-project-story p { color:var(--muted); }
.customer-site .github-project-details { margin-top:2.5rem; max-width:50rem; }
.customer-site .github-project-details h3 { margin-top:1.75rem; }
.customer-site .github-project-contact { margin:2rem 0 0; }
.github-gallery-open { overflow:hidden; }
.customer-site .github-lightbox { inset:0; width:calc(100vw - 2rem); max-width:1500px; height:calc(100vh - 2rem); height:calc(100dvh - 2rem); max-height:none; margin:auto; padding:0; border:1px solid #526277; border-radius:12px; background:#f6f8fa; color:#182330; }
.customer-site .github-lightbox[open] { display:flex; flex-direction:column; }
.customer-site .github-lightbox::backdrop { background:rgba(6,15,22,.88); }
.customer-site .github-lightbox-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; padding:1rem; }
.customer-site .github-lightbox-header h2 { font-size:1.15rem; line-height:1.3; margin:0; }
.customer-site .github-lightbox-actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.customer-site .github-lightbox-actions .button { min-height:44px; padding:.6rem .9rem; font-size:.85rem; }
.customer-site .github-lightbox-frame { flex:1; min-height:0; overflow:auto; background:#101923; margin:0 1rem; }
.customer-site .github-lightbox-frame img { display:block; width:100%; height:100%; object-fit:contain; }
.customer-site .github-lightbox.is-zoomed .github-lightbox-frame img { width:auto; height:auto; max-width:none; max-height:none; }
.customer-site #github-gallery-help { margin:0; padding:.75rem 1rem; font-size:.8rem; color:#526277; }
@media(max-width:800px) { .customer-site .github-project-story { grid-template-columns:1fr; gap:1.5rem; } }
@media(max-width:600px) {
 .customer-site .github-gallery-grid { grid-template-columns:1fr; gap:1.5rem; }
 .customer-site .github-lightbox { width:calc(100vw - 1rem); height:calc(100vh - 1rem); height:calc(100dvh - 1rem); }
 .customer-site .github-lightbox-header { padding:.75rem; }
 .customer-site .github-lightbox-frame { margin:0 .75rem; }
}

/* Nexus: screenshot layout only. */
.customer-site .nexus-gallery-grid { grid-template-columns:minmax(0,18rem) minmax(0,1fr); align-items:start; }
.customer-site .nexus-portrait { width:100%; max-width:18rem; justify-self:center; }
.customer-site .nexus-portrait img { width:100%; height:auto; }
@media(max-width:760px) { .customer-site .nexus-gallery-grid { grid-template-columns:minmax(0,1fr); } }

/* Home Control: screenshot layout only. */
.customer-site .smart-home-gallery { display:grid; grid-template-columns:minmax(0,20rem) minmax(0,1fr); gap:2rem 3rem; align-items:start; }
.customer-site .smart-home-portrait { grid-row:span 2; width:100%; max-width:20rem; justify-self:center; }
.customer-site .smart-home-portrait img { width:100%; height:auto; }
.customer-site .smart-home-work-preview img { height:18rem; object-fit:contain; }
@media(max-width:760px) {
 .customer-site .smart-home-gallery { grid-template-columns:minmax(0,1fr); }
 .customer-site .smart-home-portrait { grid-row:auto; }
}

/* Public action groups: aligned lower edges, generous spacing and touch targets. */
.customer-site .actions { align-items: flex-end; gap: 1rem 1.5rem; }
.customer-site .actions > .text-link { display: inline-flex; align-items: flex-end; min-height: 44px; max-width: 100%; padding: .65rem 0; overflow-wrap: anywhere; }
.customer-site .school-project-gallery { align-items: start; margin-top: 2rem; }
.customer-site .school-project-gallery figure { min-width: 0; }
.customer-site .school-project-gallery img { max-width: 100%; max-height: 32rem; object-fit: contain; }
.customer-site #anwendung > .container > .github-screen + .github-screen { margin-top: 2rem; }

/* Existing school projects: original work visible before the project facts. */
.customer-site .school-cover{margin:1.8rem 0 2rem;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.customer-site .school-cover>a{display:block;background:#f4f6f7}.customer-site .school-cover img{display:block;width:100%;height:auto;max-height:26rem;object-fit:contain}.customer-site .school-cover figcaption{padding:.8rem 1rem;font-size:.86rem;line-height:1.5;color:var(--muted)}
.customer-site .bg-variant-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-site .bg-variant-gallery figure{padding:.5rem}.customer-site .bg-variant-gallery img{height:15rem;object-fit:contain}.customer-site .bg-variant-gallery figcaption{padding:.6rem .3rem;font-size:.86rem;line-height:1.5}
@media(max-width:650px){.customer-site .bg-variant-gallery{grid-template-columns:1fr}.customer-site .bg-variant-gallery img{height:auto;max-height:32rem}.customer-site .school-cover img{max-height:22rem}}
