:root {
  /* Hauptfarbe aus dem PDF-Logo. */
  --brand: #AB4296;
  --brand-deep: #AB4296;
  --ink: #27222d;
  --muted: #544c5c;
  --surface: #f7f3fa;
  --line: #e5dbea;
  --white: #fff;
  --hero-opacity: .59;
  --radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 1rem/1.58 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; color: var(--brand-deep); line-height: 1.1; }
h1, h2 { letter-spacing: -.036em; }
h1 { font-size: clamp(2.5rem, 5.85vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.994vw, 3.2rem); }
h3 { font-size: 1.3rem; }
a { color: var(--brand-deep); text-underline-offset: .19em; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.wrap { width: min(1170px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: 1rem; padding: .6rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.08rem; font-weight: 820; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; }
.brand span span { color: var(--brand); font-weight: 670; }
.main-nav, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.6vw, 2rem); }
.main-nav a { color: var(--ink); font-size: .94rem; font-weight: 750; text-decoration: none; }
.main-nav a:hover, .brand:hover span { color: var(--brand); }
.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: .68rem 1.13rem;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: white;
  font-size: .94rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: white; }
.button-outline { background: #fff9; color: var(--brand-deep); }
.header-call { min-height: 41px; }

.hero {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
  background: #6e6979;
}
.hero-picture, .hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-picture { z-index: -1; }
.hero-picture img { object-fit: fill; }
.hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(580px, 46cqw, 960px);
  padding-block: 34px;
}
.hero-panel {
  width: min(100%, 555px);
  padding: clamp(24px, 3.4vw, 43px);
  border: 1px solid #fff7;
  border-radius: var(--radius);
  background: rgb(255 255 255 / var(--hero-opacity));
  box-shadow: 0 16px 42px #21152e29;
}
.hero .button-outline { background: #fffd; }
.hero .button-outline:hover { background: var(--brand-deep); }
.eyebrow { margin-bottom: .8rem; color: var(--brand-deep); font-size: .77rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.4rem, 5.175vw, 3.8rem); }
.hero-copy { max-width: 42ch; margin-top: 1.2rem; color: var(--ink); font-size: clamp(1rem, 1.631vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }

.section { padding-block: clamp(54px, 7vw, 92px); }
.intro { max-width: 64ch; margin-top: 1rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.85rem; }
.card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-tag { margin-bottom: .75rem; color: var(--brand); font-size: .78rem; font-weight: 750; }
.card h3 + p { margin-top: .8rem; color: var(--muted); }
.service-note { margin-top: 1.1rem; color: var(--muted); }
.drywall { display: grid; grid-template-columns: minmax(185px, 1fr) 2fr; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1.3rem clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); }
.drywall .eyebrow { margin-bottom: .35rem; }
.drywall > p { color: var(--muted); }
.tinted { background: var(--surface); }
.area, .contact { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(25px, 5vw, 65px); }
.places { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.places li { padding: .58rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--brand-deep); font-weight: 750; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 1.85rem; }
.gallery-item { display: block; overflow: hidden; border-radius: 13px; background: var(--surface); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item:hover img { opacity: .88; }
.gallery-dialog {
  width: min(1020px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 3rem clamp(2.5rem, 6vw, 4rem) 1.2rem;
  border: 0;
  border-radius: 15px;
  background: var(--ink);
  color: white;
}
.gallery-dialog::backdrop { background: #17121bdc; }
.gallery-dialog figure { margin: 0; text-align: center; }
.gallery-dialog img { width: 100%; height: min(66dvh, 680px); object-fit: contain; }
.gallery-dialog figcaption { margin-top: .65rem; font-size: .9rem; }
.gallery-dialog button { position: absolute; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: white; color: var(--brand-deep); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dialog-close { top: 9px; right: 10px; }
.dialog-prev { top: 48%; left: 5px; }
.dialog-next { top: 48%; right: 5px; }
.contact-card { display: grid; gap: .6rem; justify-items: start; }
.contact-card h3 { margin-bottom: .45rem; }
.contact-card a { overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.35rem; }
.footer-inner p, .footer-inner nav { color: var(--muted); font-size: .88rem; }
.legal h1 { margin-bottom: 1.55rem; }
.legal h2 { margin-block: 1.6rem .6rem; font-size: 1.4rem; }
.legal p { max-width: 75ch; }
.legal address + p { margin-top: .6rem; }

@media (max-width: 1000px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; padding-block: .7rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: .6rem 1.2rem; padding-bottom: .15rem; }
  .header-call { grid-column: 2; grid-row: 1; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .hero-inner { justify-items: center; }
  .desktop-break { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { min-height: clamp(595px, 177.62cqw, 865px); }
  .site-header .brand { gap: .45rem; font-size: .98rem; }
  .site-header .brand img { width: 46px; height: 36px; }
  .service-grid, .area, .contact, .drywall { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Scroll navigation and section entrances */
.scroll-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 6px 16px #21152e35;
}
.scroll-arrow:hover { background: var(--brand); }
.hero-arrow { position: absolute; inset: auto auto 18px 50%; transform: translateX(-50%); }
.hero-inner { padding-bottom: 78px; }
.scroll-controls {
  position: fixed;
  z-index: 5;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
}
.map-load[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .slide-in:not(:focus-within) { animation: ayaz-slide-in .55s ease-out; }
  @keyframes ayaz-slide-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Map occupies the right contact column once the visitor enables it. */
.contact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
.contact-card { margin-top: 1.4rem; }
.contact-map {
  display: grid;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.map-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .85rem;
  padding: clamp(20px, 4vw, 38px);
  text-align: center;
}
.map-placeholder[hidden] { display: none; }
.map-placeholder p { max-width: 44ch; color: var(--muted); }
.map-pin { color: var(--brand); }
.map-load, .map-close { cursor: pointer; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-close { margin: 8px 12px; }
.legal p + p { margin-top: .75rem; }

@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  .contact-map { min-height: 360px; }
  .map-frame iframe { height: 320px; }
}

/* Freiraum für die feste Seitennavigation in der Fußzeile. */
#seitenende { padding-right: 62px; }



/* Gewählter Farbton AB4296 mit geradem Markenband. */
body { font-family: Arial, Helvetica, sans-serif; font-weight: 600; }
.brand img { width: 216px; height: auto; object-fit: contain; }
.hero { position: relative; isolation: isolate; background: #f4f3f4; }
.hero-picture { opacity: .68; }
.hero-picture img { object-fit: fill; }
.hero-top { height: clamp(240px, 23vw, 370px); }
.hero-bottom { height: clamp(170px, 16vw, 260px); }
.hero-arrow { bottom: 18px; }
.identity-band { position: relative; background: #fff; border-top: 7px solid var(--brand); border-radius: 0; }
.identity-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 32px;
  min-height: 148px;
  padding-block: 12px 18px;
}
.identity-brand { display: grid; justify-items: center; gap: 5px; }
.identity-brand h1 { margin: 0; width: 100%; max-width: 371.25px; }
.identity-brand h1 a { display: block; }
.identity-brand img { width: 100%; height: auto; }
.identity-brand > p { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; text-align: center; }
.identity-brand > p span { color: var(--brand); }
.identity-links {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
  padding: 12px;
  border-left: 5px solid var(--brand);
  background: #303538;
}
.identity-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 12px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(.9rem, 1.181vw, 1rem);
}
.identity-links a:hover { background: #ffffff12; text-decoration: underline; }
.identity-links a + a { border-left: 2px solid var(--brand); }
.identity-links svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
}
.identity-links span { overflow-wrap: anywhere; }
#seitenende { padding-right: 62px; }
@media (max-width: 1000px) {
  .identity-inner { grid-template-columns: minmax(170px, .75fr) minmax(0, 1fr); gap: 18px; }
  .identity-links { grid-template-columns: 1fr; padding: 4px 10px; }
  .identity-links a { min-height: 48px; padding: 8px 2px; font-size: .9rem; }
  .identity-links a + a { border-left: 0; border-top: 1px solid #ffffff35; }
  .identity-brand > p { font-size: .95rem; }
}
@media (max-width: 520px) {
  .site-header .brand img { width: 163.125px; height: auto; }
  .hero-top { height: 250px; }
  .hero-bottom { height: 190px; }
  .hero-picture img { object-fit: cover; object-position: center top; }
  .identity-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 4px 16px; }
  .identity-brand h1 { max-width: 281.25px; }
  .identity-links { width: 100%; }
  .identity-links a { gap: 12px; }
}

.identity-inner > *, .identity-links > * { min-width: 0; }
