/* ============================================================
   Startseite
   ============================================================ */

.home-page {
  background: #fffaf8;
}

.home-prices h2::after,
.home-contact h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 2px;
  margin-top: .75rem;
  background: var(--color-primary);
}

.home-services {
  background: #fffaf8;
}

.home-services .section-intro,
.home-gallery .section-intro {
  max-width: 760px;
}

.home-service-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 680px) {
  .home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .home-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-md) - 6px);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.home-service-card figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
}

.home-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-service-card:hover img {
  transform: scale(1.04);
}

.home-service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
}

.service-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-size: 1.05rem;
}

.home-service-card h3 {
  font-size: 1.18rem;
}

.home-service-card p {
  flex: 1;
  color: var(--color-muted);
  font-size: .94rem;
}

.home-service-card a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.home-service-card a::after {
  content: '→';
  transition: transform .2s ease;
}

.home-service-card a:hover::after {
  transform: translateX(3px);
}

.home-gallery {
  overflow: hidden;
  background: var(--color-bg-soft);
}

.home-gallery .section-intro {
  margin-bottom: 2rem;
}

.home-gallery h2 {
  max-width: 820px;
  margin-inline: auto;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.gallery-strip figure {
  overflow: hidden;
  min-height: 190px;
  margin: 0;
  border-radius: calc(var(--radius-md) - 8px);
  background: var(--color-surface);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

@media (min-width: 760px) {
  .gallery-strip {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
  }
}

.home-owner {
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,.92), transparent 18rem),
    linear-gradient(135deg, #fffaf8 0%, #f7eee8 100%);
}

.owner-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 860px) {
  .owner-layout {
    grid-template-columns: minmax(280px, .48fr) minmax(0, .52fr);
  }
}

.owner-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.owner-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: inherit;
  pointer-events: none;
}

.owner-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.25;
  object-fit: cover;
  object-position: center;
}

.owner-copy {
  max-width: 640px;
}

.owner-copy h2 {
  margin-bottom: 1rem;
  max-width: 11ch;
}

.owner-copy p:not(.section-label) {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.8;
}

.owner-copy p + p {
  margin-top: .85rem;
}

.owner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.owner-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .55rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--color-primary);
  font-size: .88rem;
  font-weight: 800;
}

.home-prices {
  background: #fffaf8;
}

.prices-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .prices-layout {
    grid-template-columns: minmax(260px, .45fr) minmax(0, .55fr);
  }
}

.prices-copy {
  max-width: 520px;
}

.prices-copy p:not(.section-label) {
  color: var(--color-muted);
  margin-bottom: 1.35rem;
}

.prices-list {
  display: grid;
  gap: .75rem;
}

@media (min-width: 620px) {
  .prices-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-md) - 8px);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.price-pill span {
  color: var(--color-muted);
  font-size: .92rem;
}

.price-pill strong {
  white-space: nowrap;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.home-contact {
  background: var(--color-bg-soft);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
  }
}

.contact-copy address {
  margin-top: 1rem;
  color: var(--color-muted);
  font-style: normal;
}

.contact-lines {
  display: grid;
  gap: .85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.contact-lines span {
  color: var(--color-primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-lines a {
  color: var(--color-text);
  font-weight: 700;
}

.map-card {
  overflow: hidden;
  display: grid;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-md) - 6px);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.map-card figure,
.map-card img {
  margin: 0;
  min-height: 260px;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-card__note {
  padding: 1.25rem;
}

.map-card__note h3 {
  font-size: 1.2rem;
}

.map-card__note p {
  color: var(--color-muted);
}

.home-footer .footer-inner {
  gap: 2rem;
}

@media (min-width: 780px) {
  .home-footer .footer-inner {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, .7fr));
  }
}

@media (max-width: 760px) {
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .price-pill {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .home-service-card__body,
  .map-card__note {
    padding: 1rem;
  }

  .owner-copy h2 {
    max-width: none;
  }
}
