/* Maurer Immobilien – statische Neuumsetzung (vormals WordPress + Slider Revolution) */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --red: #c4151c;
  --red-dark: #a10f15;
  --ink: #000;
  --text: #1a1a1a;
  --muted: #666;
  --field: #f6f6f6;
  --line: #ddd;
  --container: 1040px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font: 400 16px/30px "Roboto", system-ui, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 30px; line-height: 1.2; }
p { margin: 0 0 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 100px 0; }
[id] { scroll-margin-top: 60px; }

/* Rote Unterstreichung wie im Original */
.bar-title { padding-bottom: 12px; border-bottom: 4px solid var(--red); margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 40px; border: 0; border-radius: 8px;
  background: var(--red); color: #fff; text-decoration: none;
  font: 600 20px/1.3 "Poppins", sans-serif; cursor: pointer; transition: background .25s;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); }
.btn-sm { padding: 8px 24px; font-size: 15px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: 48px 0 0; }
.site-header .container { display: flex; align-items: center; gap: 24px; }
.brand { font: 700 30px/1 "Poppins", sans-serif; color: var(--red); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 50px; }
.nav a { font: 600 15px/1 "Poppins", sans-serif; color: var(--red); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn-sm { color: #fff; }
.nav .btn-sm:hover { text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--red); cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; }
.sub .site-header { position: relative; padding: 32px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 900px; display: flex; align-items: center; background: #f4f4f4 url("../img/hero.webp") center / cover no-repeat; }
.hero .container { text-align: right; padding-top: 80px; }
.hero h1 { font-size: 50px; line-height: 1.4; color: var(--red); margin: 0 0 24px; }
.hero .claim { display: block; font: 600 50px/1.4 "Poppins", sans-serif; color: var(--red); margin-bottom: 40px; }
.hero .btn { min-width: 298px; padding: 18px 40px; }

/* ---------- Leistungen ---------- */
.intro { text-align: center; font-size: 30px; line-height: 1.2; max-width: 1000px; margin: 0 auto 110px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.cols-3 h3 { padding-bottom: 12px; border-bottom: 4px solid var(--red); margin-bottom: 24px; }
.costs { margin-top: 100px; align-items: start; }
.costs h3 { padding-bottom: 12px; border-bottom: 4px solid var(--red); }

/* ---------- Callout Terrasse ---------- */
.callout { position: relative; background: #000 url("../img/terrasse.webp") center / cover no-repeat; color: #fff; padding: 140px 0 120px; }
.callout::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15)); }
.callout .container { position: relative; }
.callout h2 { color: #fff; }
.callout .btn { margin-top: 24px; }

/* ---------- Slider "Verwaltung" ---------- */
.slider { position: relative; height: 760px; overflow: hidden; background: #e7e7e7; color: #fff; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background-size: cover; background-position: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .container { position: relative; text-align: center; }
.slide h2 { color: #fff; margin-bottom: 24px; }
.slide p { font: 600 30px/1.5 "Poppins", sans-serif; margin: 0 0 40px; }
.slide-next { background: transparent; border: 2px solid #fff; color: #fff; font: 500 14px/1 "Poppins", sans-serif; letter-spacing: .15em; padding: 14px 36px; border-radius: 30px; cursor: pointer; transition: background .25s, color .25s; }
.slide-next:hover, .slide-next:focus-visible { background: #fff; color: #000; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: center; gap: 12px; z-index: 2; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; }

/* ---------- Simone Maurer ---------- */
.person { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 80px; }
.person img { width: 225px; }
.person blockquote { margin: 0; text-align: center; }
.person blockquote p { font: 600 30px/1.2 "Poppins", sans-serif; color: var(--ink); margin-bottom: 24px; }
.person cite { display: block; text-align: right; font-style: normal; }

/* ---------- Partner ---------- */
.partners { position: relative; background: #555 url("../img/partner-bg.webp") center / cover no-repeat; color: #fff; text-align: center; padding: 150px 0; }
.partners::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.partners .container { position: relative; max-width: 1240px; }
.partners h2 { color: #fff; }
.partners h3 { color: #fff; margin-bottom: 120px; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; align-items: center; justify-items: center; }
.logos img { max-height: 100px; width: auto; }

/* ---------- Kontakt ---------- */
.contact-sub { font-size: 30px; line-height: 1.2; margin: 48px 0 40px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; padding: 0 25px; }
.form .full { grid-column: 1 / -1; }
.form label, .form legend { display: block; font: 700 17px/1.4 "Roboto", sans-serif; color: var(--ink); margin-bottom: 10px; }
.form .req { color: var(--red); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0;
  background: var(--field); font: 400 16px/1.5 "Roboto", sans-serif; color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form textarea { min-height: 200px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .radio { display: flex; align-items: center; gap: 10px; font: 400 17px/1.9 "Roboto", sans-serif; margin: 0; }
.form .radio input, .form .consent input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font: 700 17px/1.4 "Roboto", sans-serif; }
.form .consent input { margin-top: 2px; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.form .btn-send { justify-self: start; background: #333; color: #fff; border: 0; padding: 14px 24px; font: 700 15px/1 "Roboto", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.form .btn-send:hover { background: var(--red); }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 700; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: var(--red); }

.phone-band { background: var(--red); color: #fff; padding: 30px 0; }
.phone-band .container { display: flex; justify-content: center; align-items: center; gap: 24px 170px; flex-wrap: wrap; font: 600 30px/1.2 "Poppins", sans-serif; }
.phone-band a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.phone-band svg { width: 26px; height: 26px; }

/* ---------- Standort / Footer ---------- */
.location { padding: 100px 0; }
.location .container { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: start; }
.map-card { position: relative; min-height: 340px; border-radius: 8px; overflow: hidden; background: #eee url("../img/banner.webp") center / cover; display: flex; align-items: flex-end; }
.map-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65)); }
.map-card div { position: relative; padding: 28px; color: #fff; }
.map-card strong { display: block; font: 600 22px/1.3 "Poppins", sans-serif; margin-bottom: 12px; }
.location h3 { margin-bottom: 20px; }
.location p { margin-bottom: 40px; }
.location a { font-family: "Poppins", sans-serif; font-weight: 600; color: #ff686d; text-decoration: none; }
.location a:hover { text-decoration: underline; }

.site-footer { background: var(--red); color: #fff; padding: 100px 0; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Unterseiten ---------- */
.banner { height: 460px; display: flex; align-items: center; background: #eee url("../img/banner.webp") center / cover no-repeat; }
.banner h1 { font-size: 80px; line-height: 1; color: var(--red); margin: 0; }
.legal { padding: 100px 0; }
.legal h2 { font-size: 40px; margin-bottom: 32px; padding-bottom: 12px; border-bottom: 4px solid var(--red); }
.legal h3 { font-size: 22px; margin: 40px 0 12px; }
.legal ul { padding-left: 24px; margin: 0 0 16px; }
.legal a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 28px; }
}
@media (max-width: 900px) {
  .site-header { padding-top: 20px; }
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav { display: none; flex-basis: 100%; margin: 0; }
  .nav.is-open { display: block; background: #fff; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.15); padding: 12px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 14px 12px; }
  .nav .btn-sm { margin-top: 8px; padding: 14px 12px; }
  .hero { min-height: 680px; background-position: 30% center; }
  .hero .container { padding-top: 120px; }
  .hero h1, .hero .claim { font-size: 34px; }
  .section, .location { padding: 64px 0; }
  .cols-3, .cols-2, .person, .location .container { grid-template-columns: 1fr; gap: 32px; }
  .intro { margin-bottom: 56px; font-size: 24px; }
  .costs { margin-top: 56px; }
  .slider { height: 600px; }
  .partners { padding: 90px 0; }
  .partners h3 { margin-bottom: 56px; }
  .logos { grid-template-columns: 1fr; gap: 40px; }
  .logos img { max-height: 72px; }
  .phone-band .container { gap: 8px 24px; font-size: 24px; }
  .site-footer { padding: 56px 0; }
  .banner { height: 300px; }
  .banner h1 { font-size: 52px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  .brand { font-size: 24px; }
  .hero { min-height: 600px; }
  .hero .container { text-align: left; }
  .hero h1, .hero .claim { font-size: 28px; text-shadow: 0 0 18px rgba(255,255,255,.9); }
  .hero .btn { min-width: 0; width: 100%; }
  .callout { padding: 90px 0; }
  .slide p { font-size: 20px; }
  .contact-sub { font-size: 22px; }
  .form { grid-template-columns: 1fr; padding: 0; }
  .phone-band .container { font-size: 20px; flex-direction: column; }
  .person blockquote p { font-size: 24px; }
  .banner h1 { font-size: 40px; }
  .legal h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
