/* Homepage compositions. Foundations and tokens live in design-system.css. */
.gx-home { overflow: clip; }
.gx-home [hidden] { display: none !important; }
.gx-home :is(section, #kontakt) { scroll-margin-top: 2rem; }
.gx-home h2 { margin-bottom: 1.5rem; font-size: var(--gx-text-heading); }
.gx-home h3 { font-family: var(--gx-font-body); font-size: var(--gx-text-lead); line-height: 1.2; letter-spacing: -0.02em; }
.gx-home p { max-width: 62ch; }
.gx-home-section { padding-block: var(--gx-space-section); }
.gx-home-hero { position: relative; }
.gx-home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  position: relative;
  min-height: 620px;
  padding-block: 3rem 2rem;
  column-gap: 2rem;
}
.gx-home-hero__copy { position: relative; z-index: 1; padding-block: 2rem; }
.gx-home-hero h1 {
  max-width: 12ch;
  font-size: var(--gx-text-display);
  line-height: 0.98;
  font-weight: 600;
  margin: 0 0 1.75rem;
  letter-spacing: -0.05em;
}
.gx-home-hero__description { max-width: 39ch !important; font-size: var(--gx-text-lead); line-height: 1.45; }
.gx-home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.gx-home-hero__media { width: 112%; max-width: 650px; align-self: center; }
.gx-home-hero__wheel { width: 100%; animation: gx-wheel-spin 48s linear infinite; }
.gx-home-hero__media--photo { width: 100%; }
.gx-home-hero__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.gx-home-hero__visit {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  font-size: var(--gx-text-small);
}
.gx-home-hero__visit p { margin: 0; }
.gx-home-hero__visit p:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.gx-home-hero__visit span { display: block; color: var(--color-muted); }
.gx-home-services__layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--gx-space-gap); align-items: start; }
.gx-home-services__intro { position: sticky; top: 2rem; }
.gx-home-services__intro p { max-width: 31ch; }
.gx-home-services__intro .gx-text-link { margin-top: 1rem; }
.gx-service-filter { margin-bottom: 2rem; }
.gx-service-filter label { display: block; margin-bottom: 0.65rem; font-weight: 500; }
.gx-service-filter select {
  width: 100%;
  min-height: 56px;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  background: var(--color-card);
  font-size: var(--gx-text-body);
  cursor: pointer;
  text-overflow: ellipsis;
  color-scheme: dark;
}
.gx-service-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.5rem; padding: 1.8rem 1.5rem; }
.gx-service-row:nth-child(odd) { background: var(--color-card); }
.gx-service-row h3 { font-size: var(--gx-text-body); font-weight: 600; margin: 0; }
.gx-service-row p { font-size: var(--gx-text-body); margin: 0; line-height: 1.5; }
.gx-home-about__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 8vw, 8rem); }
.gx-home-about__copy > p { margin-bottom: 1.4rem; }
.gx-home-about__image { margin-top: 2.5rem; max-width: 28rem; }
.gx-home-about__image img { width: 100%; height: auto; }
.gx-home-about__details { padding-top: 0.4rem; }
.gx-home-about__details ul { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 3rem; }
.gx-home-about__details li { display: grid; grid-template-columns: 0.5rem 1fr; gap: 1rem; align-items: baseline; }
.gx-home-about__details li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-primary); }
.gx-home-about__hours { padding: clamp(1.5rem, 3vw, 3rem); background: var(--color-bg-soft); }
.gx-home-about__hours p:first-child { color: var(--color-muted); font-size: var(--gx-text-small); }
.gx-home-about__address { font-size: var(--gx-text-lead); line-height: 1.35; }
.gx-home-journal { padding-top: 2rem; }
.gx-home-section__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: 2rem; }
.gx-home-section__heading h2 { margin-bottom: 0; }
.gx-home-section__heading .gx-text-link { flex-shrink: 0; }
.gx-home-journal__list { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem 3.5rem; }
.gx-journal-story { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 1.5rem; align-content: start; }
.gx-journal-story:first-child { grid-row: span 2; display: block; }
.gx-journal-story__image { display: block; overflow: hidden; align-self: start; }
.gx-journal-story__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform 600ms var(--gx-ease); }
.gx-journal-story:first-child .gx-journal-story__image img { aspect-ratio: 16 / 9; }
.gx-journal-story:first-child .gx-journal-story__copy { margin-top: 1.5rem; }
.gx-journal-story__image:hover img { transform: scale(1.04); }
.gx-journal-story time { display: block; font-size: var(--gx-text-small); color: var(--color-muted); margin-bottom: 0.7rem; }
.gx-journal-story h3 { font-size: var(--gx-text-lead); margin-bottom: 1rem; text-wrap: pretty; }
.gx-journal-story h3 a { text-decoration: none; }
.gx-journal-story p { margin: 0; }
.gx-journal-story:not(:has(.gx-journal-story__image)) { display: block; }
.gx-home-contact { color: var(--color-text); }
.gx-home-contact__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.gx-home-contact h2 { max-width: 11ch; }
.gx-home-contact__intro p { max-width: 40ch; }
.gx-home-contact .gx-btn { margin-top: 1rem; }

.gx-home-contact a:not(.gx-btn) { color: var(--color-text); }

.gx-home-contact__direct { display: flex; flex-direction: column; align-items: flex-start; }
.gx-home-contact__direct h3 { font-size: var(--gx-text-body); font-weight: 500; margin-bottom: 1.5rem; }
.gx-home-contact__phone { font-size: var(--gx-text-lead); font-family: var(--gx-font-display); letter-spacing: -0.03em; font-weight: 600; text-decoration: none; min-height: 44px; }
.gx-home-contact__direct p { margin-top: 1.5rem; font-variant-numeric: tabular-nums; }
/* Never reset visible content to opacity: 0 during scrolling. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gx-reveal-in { animation: gx-home-enter 360ms var(--gx-ease); }
}
@keyframes gx-home-enter { from { transform: translateY(8px); } to { transform: translateY(0); } }
@keyframes gx-wheel-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .gx-home-hero__layout { min-height: 760px; } }
@media (max-width: 1199px) {
  .gx-home-hero__layout { min-height: 580px; }
  .gx-home-hero h1 { font-size: clamp(3.25rem, 6.9vw, 5.5rem); }
  .gx-home-services__layout { grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); }
  .gx-service-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .gx-home-journal__list { gap: 2rem; }
  .gx-journal-story { grid-template-columns: 1fr; }
  .gx-journal-story__image img { aspect-ratio: 16 / 9; }
}
@media (max-width: 991px) {
  .gx-home-hero__layout { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; row-gap: 0; }
  .gx-home-hero__copy { padding: 0; }
  .gx-home-hero h1 { font-size: clamp(3.25rem, 8.5vw, 5.5rem); max-width: 12ch; }
  .gx-home-hero__media { width: 80%; justify-self: end; margin: 1.5rem -12% -22%; }
  .gx-home-hero__visit { position: relative; z-index: 1; align-items: flex-start; flex-direction: column; width: 42%; gap: 1rem; padding-bottom: 3rem; }
  .gx-home-hero__visit p:last-child { text-align: left; }
  .gx-home-services__layout { grid-template-columns: 1fr; }
  .gx-home-services__intro { position: static; max-width: 42rem; }
  .gx-home-services__intro p { max-width: 48ch; }
  .gx-service-row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem; }
  .gx-home-about__layout { grid-template-columns: 1fr; }
  .gx-home-about__details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; align-items: start; }
  .gx-home-about__details ul { grid-column: 1; }
  .gx-home-about__hours { grid-column: 2; grid-row: 1 / 3; }
  .gx-home-section__heading { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
  .gx-home-contact__layout { gap: 3rem; }
}
@media (max-width: 599px) {
  .gx-home-hero__layout { padding-top: 2rem; padding-bottom: 1.75rem; }
  .gx-home-hero h1 { font-size: clamp(2.6rem, 11.9vw, 4.5rem); margin-bottom: 1.25rem; }
  .gx-home-hero__description { font-size: 1.25rem; max-width: 30ch !important; }
  .gx-home-hero__actions { gap: 0.75rem 1.25rem; margin-top: 1.5rem; }
  .gx-home-hero__actions .gx-btn { padding-inline: 1.25rem; }
  .gx-home-hero__media { width: 100%; margin: 2rem -25% -29%; }
  .gx-home-hero__visit { width: 48%; padding-block: 0 1rem; font-size: 0.875rem; }
  .gx-home-hero__visit p { max-width: 18ch; }
  .gx-home h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .gx-service-row { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; gap: 0.6rem; }
  .gx-home-about__details { display: block; }
  .gx-home-about__details ul { margin-bottom: 2rem; }
  .gx-home-journal__list { grid-template-columns: 1fr; gap: 2.5rem; }
  .gx-journal-story:first-child { grid-row: auto; }
  .gx-journal-story { gap: 1rem; }
  .gx-home-contact__layout { grid-template-columns: 1fr; }
  .gx-home-contact__phone { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-reveal-in, .gx-home-hero__wheel { animation: none; }
  .gx-journal-story__image img { transition: none; }
}
.gx-home-hero__layout { padding-top: 0; }
.gx-service-row h3 { display: flex; align-items: flex-start; gap: 0.75rem; }
.gx-service-row h3 .gx-icon { color: var(--color-primary); }
.gx-home-hero__visit p:first-child { display: flex; align-items: flex-start; gap: 0.6rem; }
.gx-home-hero__visit span .gx-icon { margin-right: 0.4rem; }
.gx-home-contact__direct h3 { display: flex; align-items: center; gap: 0.6rem; }
@media (max-width: 991px) { .gx-home-hero__layout { padding-top: 1.5rem; } }

/* Customer journey: service choice, clear prices and the real request process. */
.gx-home-hero__hours { font-weight: 600; margin: 1.5rem 0 0; }
.gx-home-hero__visit p:last-child { display: none; }
.gx-home-services .gx-text-link { gap: .5rem; }
.gx-home-process__list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; list-style-position: inside; padding: 0; margin: 2.5rem 0; }
.gx-home-process__list li { padding-left: .5rem; }
.gx-home-process__list h3 { display: inline; font-size: 1.5rem; }
.gx-home-process__list p { margin-top: 1rem; }
.gx-home-faq__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 3rem; }
.gx-home-faq details { background: var(--color-card); padding: 1.5rem; }
.gx-home-faq summary { cursor: pointer; font-weight: 600; padding-block: .4rem; }
.gx-home-faq details p { margin-top: 1rem; }
.gx-home-shop .woocommerce { margin-top: 2rem; }
/* Two related charcoal grounds. Border colours never become full-width surfaces.
   Brighter card tones belong to small components, not entire sections. */
.gx-home > :is(.gx-home-hero, .gx-home-prices, .gx-home-about, .gx-home-journal, .gx-home-contact) { background: var(--color-bg); }
.gx-home > :is(.gx-home-services, .gx-home-process, .gx-home-shop, .gx-home-faq) { background: var(--color-bg-soft); }
.gx-home-journal { padding-block: var(--gx-space-section); }
@media(max-width:991px) { .gx-home-process__list { grid-template-columns: minmax(0,1fr); } }
@media(max-width:599px) {
 .gx-home-faq__list { grid-template-columns: minmax(0,1fr); }
 .gx-home-hero__visit { width: 100%; padding-top: 1rem; }
 .gx-home-hero__visit p { max-width: none; }
 .gx-home-hero__media { width: 76%; margin: 1rem -18% -5%; }
 .gx-home-hero__description { font-size: 1.15rem; }
}
