/* White Energy Atelier — public homepage only. Shared/portal styles stay intact. */
.home-page {
  --atelier-ink: #153744;
  --atelier-line: #d7e8ec;
  --atelier-ice: #f2fafb;
  --atelier-energy: #00b9ce;
  background: #fff;
  color: var(--atelier-ink);
}
.home-page .shell { width: min(1240px, calc(100% - 5rem)); }
.home-page :is(.hero-copy, .hero-visual, .story-copy, .about-copy, .contact-copy, .contact-panel) { min-width: 0; }
.home-page :is(h1, h2, h3, h4) { text-wrap: balance; }
.home-page h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
.home-page p { text-wrap: pretty; }
.home-page .section { padding-block: clamp(4.5rem, 7.5vw, 7rem); }
.home-page :is(.energy-backplane, .header-system-tag, .section-energy-divider, .service-number, .service-badge,
  .floating-spec, .hero-system-panel, .frame-topline, .frame-bottomline, .hero-foot,
  .chrome-arc, .interface-orbits, .hero-rails, .story-tag, .portrait-tag, .frame-markers,
  .module-code, .module-connector, .footer-system-badge) { display: none; }
.home-page :is(.hero, .hero-copy, .beauty-portal, .editorial-frame, .service-card, .service-symbol,
  .image-placeholder, .gallery, .contact, .contact-row, .value)::before,
.home-page :is(.hero, .beauty-portal, .editorial-frame, .service-card, .service-symbol,
  .image-placeholder, .story-media, .contact-row, .value)::after { content: none; }
.home-page .service-card .tech-corners { display: none; }
.home-page .eyebrow { font-family: inherit; color: #426571; font-size: .75rem; font-weight: 500; letter-spacing: .035em; text-transform: none; }
.home-page .eyebrow > span { width: 1.5rem; height: 1px; background: var(--atelier-energy); box-shadow: none; }
.home-page :is(.services, .gallery, .about) { background: #fff; }

/* Quiet navigation: keep the original brand artwork and mobile menu behavior. */
.home-page .site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--atelier-line); box-shadow: none; backdrop-filter: blur(16px); }
.home-page .header-inner { min-height: 5.5rem; }
.home-page .brand-logo-compact { width: 3.3rem; }
.home-page .brand-wordmark { transform: scale(1.1); transform-origin: left center; }
.home-page .header-inner::after {
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #54cfda55 15%, #12bfd18c 50%, #54cfda55 85%, transparent);
  box-shadow: 0 2px 10px #00c4d51f;
  pointer-events: none;
}
.home-page .site-header::after { content: none; }
.home-page .site-nav { gap: 1.4rem; }
.home-page .site-nav a { font-size: .8rem; letter-spacing: 0; }
.home-page :is(.button, .nav-cta) { border-radius: .4rem; transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.home-page :is(.button-primary, .nav-cta) { color: var(--atelier-ink); background: #d8f8fb; border: 1px solid #69d4de; box-shadow: inset 0 1px 0 #fff, 0 4px 16px #00b9ce12; }
.home-page :is(.button-primary, .nav-cta):hover { background: #bff1f5; box-shadow: 0 6px 22px #00b9ce26; transform: translateY(-2px); }
.home-page .button-ghost { padding-inline: .3rem; border: 0; border-bottom: 1px solid #93bec7; border-radius: 0; background: none; box-shadow: none; }
.home-page .button-ghost:hover { background: none; box-shadow: none; border-color: var(--atelier-energy); }
.home-page :is(a, button):focus-visible { outline: 3px solid #087b91; outline-offset: 5px; }
.home-page :is(.button, .nav-cta):active { transform: translateY(1px); }

/* A single restrained energy frame; no perpetual decorative animation. */
.home-page .hero { min-height: 0; padding: 5.5rem 0 6rem; background: linear-gradient(0deg, #f5fcfd, transparent 18%), radial-gradient(ellipse at 80% 54%, #a9eef4a8, transparent 49%), linear-gradient(115deg,#fff 36%,#effafd); }
.home-page .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 7% 1.5rem 7%;
  width: auto;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent 5%, #64d3dd24 24%, #1ebed06b 63%, #64d3dd24 85%, transparent);
  box-shadow: 0 0 14px #28c4d126;
  transform: none;
  pointer-events: none;
}
.home-page .services { background: linear-gradient(#f5fcfd, #fff 8rem); }
.home-page .hero-ambient { display: none; }
.home-page .hero-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2rem,4vw,4rem); align-items: center; }
.home-page .hero-copy { padding: 0; }
.home-page .hero-copy .eyebrow { max-width: 34rem; line-height: 1.65; margin-bottom: 1.6rem; }
.home-page .hero h1 { max-width: 100%; font-size: clamp(3.4rem,5.5vw,5.5rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; color: var(--atelier-ink); text-shadow: none; }
.home-page .hero h1::after { content: none; }
.home-page .hero h1 em { margin-top: .7em; font-size: .38em; line-height: 1.3; letter-spacing: -.025em; color: #426773; }
.home-page .hero-intro { max-width: 36rem; margin-top: 1.6rem; font-size: 1rem; line-height: 1.8; color: #486773; }
.home-page .hero-actions { gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.home-page .hero-actions .button { padding-block: .9rem; font-size: .83rem; }
.home-page .availability { margin-top: 1.5rem; font-size: .72rem; color: #486773; }
.home-page .status-dot { animation: none; background: #158695; box-shadow: none; }
.home-page .hero-visual { min-height: 0; padding: 0; }
.home-page .beauty-portal { width: 100%; min-height: 0; }
.home-page .portal-aura { inset: -22% -5%; background: radial-gradient(ellipse,#57dde84d,transparent 71%); filter: blur(22px); }
.home-page .editorial-frame { width: 100%; min-height: 0; display: block; padding: .65rem; border: 1px solid #30cadb; border-radius: 1.6rem 1.6rem .5rem 1.6rem; background: #ffffffb8; box-shadow: inset 0 1px 0 #fff, 0 0 0 5px #ffffffb0, 0 0 0 6px #83dce699, 0 0 26px #40d6e024, 0 24px 60px #2e80932b; }
.home-page .hero-image-frame { aspect-ratio: 1916 / 1080; min-height: 0; border: 0; border-radius: 1rem 1rem .25rem 1rem; box-shadow: none; }
.home-page :is(.hero-poster, .hero-image) { width: 100%; height: 100%; min-height: 0; }
.home-page .hero-video { object-fit: contain; min-height: 0; }
.home-page .editorial-frame .tech-corners { opacity: .65; }

/* Primary nail service: an editorial price list rather than nested cards. */
.home-page .section-heading { align-items: end; gap: 3rem; margin-bottom: 3rem; }
.home-page .section-heading > p { border: 0; padding: 0; max-width: 31rem; line-height: 1.75; }
.home-page .service-grid { grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; gap: clamp(2rem,5vw,5rem); }
.home-page .service-card { min-height: 0; margin: 0; padding: 1.5rem; border: 0; border-radius: 1rem; background: var(--atelier-ice); box-shadow: none; }
.home-page .service-card-featured { padding: 0; background: none; }
.home-page .service-card:hover { transform: none; box-shadow: none; }
.home-page .service-visual { height: 13rem; border: 0; border-radius: .7rem; box-shadow: none; }
.home-page .service-card-featured .service-visual { height: clamp(14rem,22vw,19rem); }
.home-page .service-card h3 { margin-top: 1.5rem; font-size: 2rem; letter-spacing: -.035em; }
.home-page .service-card-featured h3 { font-size: 2.6rem; }
.home-page .service-card > p { max-width: none; font-size: .96rem; line-height: 1.7; }
.home-page .service-detail-grid { grid-template-columns: 1fr; gap: 0; margin-top: 1.6rem; }
.home-page .service-detail-grid > div { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 1.3rem; padding: 1rem 0; border: 0; border-top: 1px solid var(--atelier-line); border-radius: 0; background: none; box-shadow: none; }
.home-page .service-detail-grid h4 { grid-column: 1; margin: 0; font-size: 1rem; font-weight: 500; }
.home-page .service-detail-grid p { grid-column: 1; margin: .35rem 0 0; font-size: .84rem; line-height: 1.6; }
.home-page .detail-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 1.1rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-page .service-detail-grid .service-detail-highlight { margin-top: .5rem; padding-top: 1.5rem; border-top-color: var(--atelier-energy); }
.home-page .service-detail-highlight p { grid-column: 1 / -1; }
.home-page :is(.addon-prices, .tooth-price-list) { padding: .5rem 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.home-page .addon-prices > span { font-family: inherit; text-transform: none; font-size: .83rem; font-weight: 500; letter-spacing: 0; }
.home-page :is(.addon-prices, .tooth-price-list) dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.home-page .airbrush-focus { padding-top: 1rem; background: linear-gradient(#fff,#f2fafb); }
.home-page .airbrush-focus .story-grid { padding-block: 3rem; border-top: 1px solid var(--atelier-line); }

/* Alternating proportions create rhythm without rearranging content order. */
.home-page .gallery-grid { grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: auto auto; gap: 2.5rem 2rem; align-items: start; }
.home-page .gallery-grid > figure { grid-column: span 5; grid-row: auto; margin: 0; }
.home-page .gallery-grid > figure:first-child,
.home-page .gallery-grid > figure:last-child { grid-column: span 7; }
.home-page .gallery-grid > figure:nth-child(2) { padding-top: 4rem; }
.home-page .gallery-grid > figure:nth-child(3) { padding-top: 1rem; }
.home-page .gallery-grid .image-placeholder { height: auto; min-height: 0; aspect-ratio: 4 / 3; border: 0; border-radius: 1rem; box-shadow: none; }
.home-page .gallery-grid > figure:nth-child(2) .image-placeholder { aspect-ratio: 1; }
.home-page .gallery-grid > figure:nth-child(3) .image-placeholder { aspect-ratio: 1; }
.home-page .gallery-grid figcaption { padding: 1rem 0 0; font-size: .88rem; color: #426571; }
.home-page :is(.image-placeholder, .story-media, .service-visual) img { transition: transform 240ms ease; }
@media (hover: hover) {
  .home-page :is(.image-placeholder, .story-media, .service-visual):hover img { transform: scale(1.025); }
}

/* One continuous studio chapter, followed by Andrea and a quiet trust list. */
.home-page :is(.home-studio, .wellbeing) { background: var(--atelier-ice); }
.home-page .home-studio { padding-bottom: 3rem; }
.home-page .wellbeing { padding-top: 3rem; }
.home-page .story-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,6vw,6rem); }
.home-page .story-copy h2 { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.home-page .story-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; }
.home-page .story-media { border: 0; border-radius: 1rem; box-shadow: 0 16px 42px #2e809312; }
.home-page .story-media-portrait { width: 86%; aspect-ratio: 4 / 4.3; }
.home-page .about-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem,7vw,7rem); }
.home-page .portrait-frame { min-height: 0; border: 0; border-radius: 1rem; box-shadow: none; }
.home-page .signature-line small { font-family: inherit; letter-spacing: .02em; }
.home-page .values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 4rem; margin-top: 4rem; border-top: 1px solid var(--atelier-line); }
.home-page .value { display: block; min-height: 0; padding: 1.5rem 0; border: 0; border-bottom: 1px solid var(--atelier-line); border-radius: 0; background: none; box-shadow: none; }
.home-page .value h3 { font-weight: 500; font-size: 1.1rem; letter-spacing: -.015em; }
.home-page .value p { margin-top: .5rem; font-size: .9rem; }
.home-page .trust-action { padding-top: 2rem; }

/* Contact remains useful, with brand-colored icons and readable addresses. */
.home-page .contact { padding-block: 5rem; background: var(--atelier-ice); }
.home-page .contact-glow { display: none; }
.home-page .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,6vw,6rem); }
.home-page .contact-panel { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--atelier-line); }
.home-page .contact-row { min-height: 5.4rem; display: grid; grid-template-columns: 2.5rem minmax(0,1fr) auto; align-items: center; gap: 1rem; padding: 1rem .3rem; border: 0; border-bottom: 1px solid var(--atelier-line); border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.home-page .contact-row:hover { transform: translateX(3px); background: #ffffff88; box-shadow: none; }
.home-page .contact-row .contact-icon { position: static; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: .6rem; background: #fff; box-shadow: none; }
.home-page .contact-row :is(strong, small) { overflow-wrap: anywhere; }
.home-page .contact-row strong { font-size: 1rem; }
.home-page .contact-row small { font-size: .83rem; }
.home-page .contact-row > i { align-self: center; }
.home-page .site-footer { padding-top: 0; background: #fff; border-top: 1px solid var(--atelier-line); }
.home-page .footer-top { gap: 2rem; }
.home-page .footer-bottom { flex-wrap: wrap; gap: .75rem 2rem; border-color: var(--atelier-line); color: #526e78; }
.home-page .footer-social a { padding-block: .6rem; }
.home-page .reveal { transition-duration: 240ms; }
.home-page .reveal-delay { transition-delay: 60ms; }

@media (max-width: 1100px) and (min-width: 961px) {
  .home-page .shell { width: calc(100% - 3rem); }
  .home-page .site-nav { gap: .8rem; }
  .home-page .site-nav a { font-size: .73rem; }
}
@media (max-width: 960px) {
  .home-page .brand-logo-compact { width: 3.2rem; }
  .home-page .brand-wordmark { transform: scale(1.067); }
  .home-page .shell { width: min(760px,calc(100% - 3rem)); }
  .home-page .hero { padding: 3.5rem 0 4rem; }
  .home-page .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .home-page .hero-copy { max-width: 38rem; }
  .home-page .hero h1 { max-width: 12ch; font-size: 4.4rem; }
  .home-page .hero-visual { width: 100%; }
  .home-page .site-nav { gap: 1.3rem; }
  .home-page .site-nav a { font-size: 1.1rem; }
  .home-page .service-grid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 2rem; }
  .home-page .story-grid, .home-page .about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; }
  .home-page .story-grid-reverse .story-media { grid-column: 2; grid-row: 1; }
  .home-page .story-grid-reverse .story-copy { grid-column: 1; grid-row: 1; }
}
@media (max-width: 640px) {
  .home-page .shell { width: calc(100% - 2.5rem); }
  .home-page .header-inner { min-height: 4.7rem; }
  .home-page .site-nav {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: 6rem 2rem 2rem;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #f7fdfe;
    background-image:
      radial-gradient(circle at 86% 10%, #def9fc 0, #f2fcfd 30%, transparent 54%),
      linear-gradient(145deg, #ffffff 0%, #f7fdfe 58%, #edfafd 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .home-page .hero { padding: 5.75rem 0 1.5rem; }
  .home-page .hero-grid { gap: 0.9rem; }
  .home-page .hero h1 { max-width: 100%; font-size: clamp(2.6rem,11.8vw,3.6rem); letter-spacing: -.055em; }
  .home-page .hero h1 em { font-size: .49em; margin-top: .6em; }
  .home-page .hero-copy .eyebrow { margin-bottom: 1.2rem; font-size: .7rem; }
  .home-page .hero-intro { margin-top: 1.2rem; font-size: .94rem; }
  .home-page .hero-actions { gap: .7rem 1rem; margin-top: 1.4rem; }
  .home-page .hero-actions .button { padding: .85rem .8rem; font-size: .78rem; }
  .home-page .hero-actions .button-ghost { padding-inline: 0; }
  .home-page .availability { margin-top: 1rem; }
  .home-page .editorial-frame { padding: .4rem; border-radius: 1rem; }
  .home-page .hero-image-frame { aspect-ratio: 4 / 3; border-radius: .7rem; }
  .home-page .section { padding-block: 3.7rem; }
  .home-page h2 { font-size: 2.4rem; }
  .home-page .section-heading { display: block; margin-bottom: 2rem; }
  .home-page .section-heading > p { margin-top: 1.2rem; font-size: .95rem; }
  .home-page .service-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-page .service-card { padding: 1.2rem; }
  .home-page .service-card-featured { padding: 0; }
  .home-page .service-card-featured .service-visual { height: 14rem; }
  .home-page .service-detail-grid > div { column-gap: .7rem; }
  .home-page .service-detail-grid h4 { font-size: .95rem; }
  .home-page .detail-price { font-size: 1rem; }
  .home-page .airbrush-focus { padding-top: 0; }
  .home-page .airbrush-focus .story-grid { padding-block: 2.5rem 0; }
  .home-page .story-grid, .home-page .about-grid, .home-page .contact-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .home-page .story-grid-reverse .story-media, .home-page .story-grid-reverse .story-copy { grid-column: 1; grid-row: auto; }
  .home-page .story-media-portrait { width: 100%; max-width: none; aspect-ratio: 4 / 4.3; }
  .home-page .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.6rem 1rem; }
  .home-page .gallery-grid > figure { grid-column: span 1; padding-top: 0; }
  .home-page .gallery-grid > figure:first-child, .home-page .gallery-grid > figure:last-child { grid-column: span 2; }
  .home-page .gallery-grid > figure:nth-child(2), .home-page .gallery-grid > figure:nth-child(3) { padding-top: 0; }
  .home-page .gallery-grid > figure:nth-child(2) .image-placeholder, .home-page .gallery-grid > figure:nth-child(3) .image-placeholder { aspect-ratio: 3 / 4; }
  .home-page .gallery-grid figcaption { font-size: .8rem; padding-top: .65rem; }
  .home-page .home-studio { padding-bottom: 1.5rem; }
  .home-page .wellbeing { padding-top: 1.5rem; }
  .home-page .about-portrait { width: min(100%,24rem); margin-inline: auto; }
  .home-page .values { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .home-page .value { padding-block: 1.25rem; }
  .home-page .trust-action .button { width: 100%; justify-content: space-between; }
  .home-page .contact { padding-block: 3.7rem; }
  .home-page .contact-row { gap: .8rem; }
  .home-page .footer-top { gap: 1.5rem; }
  .home-page .footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .home-page .hero-video { display: none; }
}
/* Handgemachte French-Technik. Die Bilddateien behalten die wesentlichen Motive. */
.home-page .french-focus { padding-top: 1.5rem; scroll-margin-top: 6rem; }
.home-page .french-layout {
  display: grid;
  grid-template-columns: minmax(0,1.22fr) minmax(0,1fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: center;
  padding-top: clamp(2rem,4vw,4rem);
  border-top: 1px solid var(--atelier-line);
}
.home-page .french-figure { min-width: 0; margin: 0; }
.home-page .french-image {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #b9e9ef;
  box-shadow: 0 18px 48px #237b8d14;
}
.home-page .french-image :is(picture,img) { display: block; width: 100%; }
.home-page .french-image img { height: auto; }
.home-page .french-figure figcaption { margin-top: .75rem; color: var(--muted); font-size: .75rem; }
.home-page .french-copy { min-width: 0; }
.home-page .french-copy h2 { max-width: 15ch; text-wrap: balance; }
.home-page .french-copy > p:not(.eyebrow) { max-width: 40rem; line-height: 1.8; margin-block: 1.5rem; }
.home-page .french-copy .button { white-space: normal; }
@media (max-width: 640px) {
  .home-page .french-layout { grid-template-columns: minmax(0,1fr); gap: 1.75rem; }
  .home-page .french-copy h2 { max-width: 100%; }
}
