/* Objektservice Schneider – Stylesheet
   Farbwelt: Olive & Sand
   #4A5D3A Olive (Primär) | #8AA173 Salbei | #33322E Anthrazit | #FAF7F0 Sand */

:root {
  --olive: #4A5D3A;
  --olive-dark: #3A4A2C;
  --sage: #8AA173;
  --anthracite: #33322E;
  --sand: #FAF7F0;
  --white: #ffffff;
  --muted: #5F6157;
  --border: #E4DFD3;
   --radius: 8px;
   --shadow: 0 6px 24px rgba(51, 50, 46, 0.05);
   --soft-sage: #EDF1E6;
   --hero-base: #2b2f26;
   --hero-overlay: linear-gradient(100deg, rgba(35, 40, 28, .90) 0%, rgba(35, 40, 28, .65) 55%, rgba(35, 40, 28, .25) 100%);
   --hero-text: #F2F0E8;
   --on-sage: #17200f;
   --footer-text: #DCD9CE;
   --header-glass: rgba(255, 255, 255, .96);
   --ghost-border: rgba(255,255,255,.75);
   --ghost-hover: rgba(255,255,255,.15);
   --footer-border: rgba(255,255,255,.14);
  --maxw: 1140px;
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--olive); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--anthracite); }
h1 { font-size: 3rem; letter-spacing: 0; }
h2 { font-size: 2.25rem; letter-spacing: 0; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section__intro { max-width: 720px; margin-bottom: 40px; }
.section__intro p { color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--olive);
   color: var(--white); padding: 12px 18px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
   background: var(--header-glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(6px);
}
.header__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; color: var(--anthracite); }
.logo__img { height: 52px; width: auto; flex: none; }
.logo__claim {
  font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .08em;
  text-transform: uppercase; border-left: 1px solid var(--border); padding-left: 12px; line-height: 1.3;
  max-width: 120px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; color: var(--anthracite); font-weight: 600; font-size: .97rem; }
.nav__list a:hover, .nav__list a:focus { color: var(--olive); }

.header__phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; color: var(--olive); white-space: nowrap;
}
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border);
  border-radius: 10px; width: 46px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--anthracite); margin: 4px auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
   padding: 14px 26px; border-radius: 6px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: .18s ease;
}
.btn--primary { background: var(--olive); color: var(--white); }
.btn--primary:hover { background: var(--olive-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--ghost-border); }
.btn--ghost:hover { background: var(--ghost-hover); }
.btn--outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn--outline:hover { background: var(--olive); color: var(--white); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
   position: relative; color: var(--white); display: flex; align-items: center;
   min-height: 620px; padding: 72px 0;
   background: var(--hero-base) url("../img/hero.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
   background: var(--hero-overlay);
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 660px; }
.hero__brand {
   font-size: 4rem; font-weight: 300; color: var(--white);
   letter-spacing: 0; line-height: 1.08; margin: 0 0 22px;
}
.hero__brand strong { display: block; font-weight: 800; color: var(--sage); }
.hero__claim {
   display: inline-block; background: var(--sage); color: var(--on-sage);
  font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
   padding: 7px 14px; border-radius: 4px; margin-bottom: 20px;
}
.hero__lead { font-size: 1.15rem; color: var(--hero-text); max-width: 560px; }
.hero__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; max-width: 560px; }
.hero__list li { position: relative; padding-left: 30px; color: var(--hero-text); font-weight: 600; }
.hero__list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 32px 0 0; font-weight: 600; }
.hero__facts li::before { content: "✓"; color: var(--sage); margin-right: 8px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--reviews { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
   padding: 28px; box-shadow: none; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--sage); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .8em; }
.card ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: .25em; }
.card__icon {
   width: 52px; height: 52px; border-radius: 8px; background: var(--soft-sage); color: var(--olive);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__link { font-weight: 700; text-decoration: none; }
.card__link::after { content: " →"; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about__portrait { width: 100%; max-width: 430px; justify-self: end; }
.about img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about h2 { max-width: 550px; }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.values li { font-weight: 600; }
.values li::before { content: "●"; color: var(--sage); margin-right: 8px; }

.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.stat strong { display: block; font-size: 2rem; color: var(--olive); line-height: 1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Steps ---------- */
.step { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.step__no {
   width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: var(--white);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--olive); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact__info ul { list-style: none; padding: 0; margin: 0 0 24px; }
.contact__info li { margin-bottom: 12px; }
.contact__info a { font-weight: 600; text-decoration: none; }

.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; color: inherit; background: var(--sand);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--olive); background: var(--white); }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.field--check input { width: auto; margin-top: 4px; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--anthracite); color: var(--footer-text); padding: 56px 0 24px; }
.footer h3 { color: var(--white); font-size: 1.05rem; }
.footer a { color: var(--footer-text); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__bottom {
   border-top: 1px solid var(--footer-border); margin-top: 40px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem;
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; padding: 56px 0; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
   .about__portrait { justify-self: start; max-width: 480px; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .logo__img { height: 40px; }
  .logo__claim { display: none; }
  .logo { order: 1; margin-right: auto; }
  .header__phone { order: 2; font-size: .95rem; }
  .nav-toggle { order: 3; margin-left: 12px; }
  .nav { order: 4; }
  .nav {
     position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); display: none; margin-left: 0;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nav__list li { border-top: 1px solid var(--border); }
  .nav__list a { display: block; padding: 14px 0; }
  .header__inner { flex-wrap: wrap; }
  .section { padding: 56px 0; }
  .values { grid-template-columns: 1fr; }
   h1 { font-size: 2rem; }
   h2 { font-size: 1.8rem; }
   .hero { min-height: 0; padding: 48px 0; }
   .hero__brand { font-size: 2.75rem; }
   .hero__facts { display: grid; gap: 8px; }
   .hero__actions .btn { width: 100%; }
}
@media (max-width: 380px) {
  body { font-size: 16px; }
  .card, .form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
