/* Landgraf Haustechnik – modernes, helles Layout
   inspiriert von https://www.geruestbau-liesegang.de/
   (weiße/hellgraue Flächen, rote Akzentfarbe, runde Ecken, Icon-Cards) */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #111315;
  --surface: #ffffff;
  --border: #e6e8ec;
  --border-strong: #d7dae0;
  --text: #141619;
  --text-soft: #3b4149;
  --text-muted: #6b7280;
  --brand: #c8261b;
  --brand-dark: #9d1d14;
  --brand-tint: #fdecea;
  --brand-tint-2: #fbd9d5;
  --footer-bg: #111315;
  --footer-text: #b9bdc4;
  --footer-heading: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 21, 0.04), 0 1px 3px rgba(17, 19, 21, 0.06);
  --shadow: 0 10px 30px -12px rgba(17, 19, 21, 0.15),
    0 4px 10px -4px rgba(17, 19, 21, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(17, 19, 21, 0.25),
    0 10px 20px -6px rgba(17, 19, 21, 0.12);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ------- Eyebrow label ------- */
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

/* ------- Header ------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand__logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  .brand__logo {
    height: 38px;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

.nav a[aria-current="page"]:hover {
  background: var(--brand-dark);
}

.nav .btn--header {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .nav .btn--header {
    margin: 0.25rem 0 0;
    text-align: center;
  }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ------- Hero ------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.25rem 5.5rem;
  background: radial-gradient(
      ellipse at 80% 0%,
      rgba(200, 38, 27, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #18191c 0%, #0f1012 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 1px 1px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 0
    );
  background-size: 26px 26px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 75%);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 38, 27, 0.15);
  color: #ffb9b3;
  border: 1px solid rgba(200, 38, 27, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  color: #fff;
  max-width: 20ch;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero__lead {
  font-size: 1.1rem;
  color: #c9ccd1;
  max-width: 50ch;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__contact {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 0.95rem;
  color: #c9ccd1;
}

.hero__contact a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__contact a:hover {
  color: var(--brand);
}

.hero__contact svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* ------- Sections ------- */
.section {
  padding: 5rem 1.25rem;
}

.section--alt {
  background: var(--bg-alt);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section__heading .eyebrow {
  margin-bottom: 0.75rem;
}

.section__heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.section__heading p {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ------- Services grid ------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.section--alt .service {
  background: var(--bg);
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 1.1rem;
}

.service__icon svg {
  width: 100%;
  height: 100%;
}

.service h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.service p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------- Portrait / profile split ------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.split .eyebrow {
  margin-bottom: 0.8rem;
}

.split h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.split p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.split p:last-child {
  margin-bottom: 0;
}

.split .btn {
  margin-top: 0.75rem;
}

.highlights {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.section--alt .highlights {
  background: var(--bg);
}

.highlights h3 {
  font-size: 1.3rem;
  margin: 0 0 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.5;
}

.highlights li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  margin-top: 1px;
}

/* ------- Contact block (on profile section) ------- */
.contact-lines {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 1rem;
}

.contact-lines strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
}

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

.contact-lines li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-soft);
}

.contact-lines a {
  color: var(--brand);
  font-weight: 600;
}

.sister {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ------- About page ------- */
.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.about__text p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.about__list {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.section--alt .about__list {
  background: var(--bg);
}

.about__list h3 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.about__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.about__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brand);
  border-radius: 50%;
}

/* ------- Feature list (Warum Sie uns wählen) ------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section--alt .feature {
  background: var(--bg);
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 1.1rem;
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature h3,
.feature__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p,
.feature__body p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------- Page hero (sub pages) ------- */
.page-hero {
  background: var(--bg-alt);
  padding: 3.5rem 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero .eyebrow {
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ------- Card (kontakt) ------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
}

.card p {
  margin: 0 0 0.75rem;
  font-size: 0.97rem;
  color: var(--text-soft);
}

.card p:last-child {
  margin-bottom: 0;
}

/* ------- Legal ------- */
.legal {
  max-width: 52rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
  font-weight: 700;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
}

.legal ul {
  padding-left: 1.25rem;
}

/* ------- Footer ------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 1.25rem 1.5rem;
  font-size: 0.95rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer__brand {
  color: var(--footer-text);
  line-height: 1.6;
}

.footer__brand strong {
  display: block;
  font-size: 1.05rem;
  color: var(--footer-heading);
  margin-bottom: 0.75rem;
}

.footer__brand p {
  margin: 0;
  color: #9aa0a8;
  max-width: 34ch;
}

.footer h3 {
  color: var(--footer-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer li {
  line-height: 1.5;
}

.footer a {
  color: var(--footer-text);
  transition: color 0.15s ease;
}

.footer a:hover {
  color: #fff;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: #8a8f96;
  font-size: 0.85rem;
}
