/* Gebäudeservice Lutz – gslutz.de */

:root {
  --navy: #152a3d;
  --navy-mid: #1e4a6e;
  --ink: #1a1f24;
  --muted: #5c6770;
  --line: #d5dde3;
  --paper: #f6f4f0;
  --fog: #e8eef2;
  --white: #fff;
  --accent: #c4622d;
  --accent-dark: #a34e22;
  --moss: #2d6a4f;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(21, 42, 61, 0.08);
  --wrap: 1120px;
  --header-h: 4.75rem;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

/* Header */

.topbar {
  background: var(--navy);
  color: #d7e0e8;
  font-size: 0.88rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}

.logo img {
  width: auto;
  height: 58px;
  object-fit: contain;
  /* Logo ist Weiß auf Schwarz: invertieren und Weiß transparent machen */
  filter: invert(1);
  mix-blend-mode: multiply;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo:has(img:not([style*="display: none"])) .logo__text {
  display: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-size: 1.02rem;
}

.logo__text span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--line {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn--line:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--wa {
  background: #128c7e;
  color: var(--white);
}

.btn--wa:hover {
  background: #075e54;
  color: var(--white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Hero */

.hero {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 98, 45, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, #0f2030 55%, #1a3d58 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6.2rem) 0 clamp(3.4rem, 8vw, 6.5rem);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  color: var(--white);
}

.hero .lead {
  color: #d5dee6;
}

.hero__note {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: #b7c5d0;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  align-self: end;
}

.hero__panel h2 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.hero__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__panel li {
  display: flex;
  gap: 0.6rem;
  padding: 0.42rem 0;
  color: #dbe4ec;
  font-size: 0.96rem;
}

.hero__panel li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

/* Trust strip */

.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
}

.trust__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.trust__item strong {
  display: block;
  color: var(--navy);
}

.icon-dot {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border-radius: 50%;
  background: var(--fog);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.icon-dot svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* Sections */

.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  gap: 0.85rem;
}

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.fact strong {
  color: var(--navy);
}

/* Cards / services */

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card__icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 10px;
  background: var(--fog);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.card a {
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.85rem;
}

.notice {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: #fff7f1;
  border-radius: 0 10px 10px 0;
}

.notice strong {
  color: var(--navy);
}

/* Before / after */

.gallery {
  display: grid;
  gap: 1.25rem;
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ba-card figcaption {
  padding: 0.9rem 1rem 1.05rem;
}

.ba-card h3 {
  margin-bottom: 0.25rem;
}

.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--fog);
  user-select: none;
  touch-action: none;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba__before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}

.ba__before-wrap picture {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--ba-w, 100%);
  height: 100%;
}

.ba__before-wrap img {
  width: var(--ba-w, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.ba__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(21, 42, 61, 0.2);
}

.ba__slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
  transform: translate(-50%, -50%);
}

.ba__tag {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  background: rgba(21, 42, 61, 0.78);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
}

.ba__tag--before {
  left: 0.7rem;
}

.ba__tag--after {
  right: 0.7rem;
}

.ba--missing::after {
  content: "Foto folgt – Datei in den Ordner /bilder legen";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  z-index: 1;
}

/* CTA band */

.cta-band {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.cta-band p {
  margin: 0.4rem 0 0;
  color: #c9d5de;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.55rem;
}

.contact-list a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

.map-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--fog);
}

.map-shell iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 2rem 1.2rem;
  text-align: center;
}

/* Footer */

.footer {
  background: #101920;
  color: #c5d0d8;
  padding: 2.6rem 0 1.4rem;
  font-size: 0.92rem;
}

.footer a {
  color: #e8eef2;
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer__grid {
  display: grid;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin: 0.3rem 0;
}

.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #8b99a4;
  font-size: 0.82rem;
}

/* Cookie */

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(100% - 2rem, 26rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.1rem;
}

.cookie p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.cookie[hidden] {
  display: none !important;
}

/* Preise */

.price-grid {
  display: grid;
  gap: 1rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.price-card .amount {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0.2rem 0 0.45rem;
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 650;
  color: var(--muted);
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq p {
  margin: 0.65rem 0 0.2rem;
  color: var(--muted);
}

/* Kontakt-Kacheln */

.contact-tiles {
  display: grid;
  gap: 0.75rem;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  min-height: 5.2rem;
}

.contact-tile strong {
  font-size: 1.05rem;
}

.contact-tile span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-tile:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.contact-tile--wa {
  background: #128c7e;
  border-color: #128c7e;
  color: var(--white);
}

.contact-tile--wa span {
  color: #d7f3ee;
}

.contact-tile--wa:hover {
  background: #075e54;
  border-color: #075e54;
  color: var(--white);
}

.crumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.crumbs a {
  color: inherit;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
}

/* Mobile-Dock: Anruf, WhatsApp, E-Mail */

.dock {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 4.4rem;
  }

  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 4.25rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .dock a svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .dock a.dock--wa {
    background: #128c7e;
  }

  .cookie {
    bottom: 5rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}

/* Legal pages */

.legal h1 {
  margin-bottom: 0.4rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

/* Page hero (subpages) */

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0 2rem;
}

.service-block {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.service-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* Responsive */

@media (min-width: 720px) {
  .hero__grid,
  .split,
  .cta-band,
  .footer__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .cards,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .contact-tiles {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    gap: 0.2rem;
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
  }

  .trust__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .trust__inner {
    grid-template-columns: 1fr;
  }

  .logo__text span {
    display: none;
  }
}
