/*
Theme Name: RH Bau & Aussenanlagen Child
Theme URI: http://localhost:8094
Description: Child Theme fuer RH Bau & Aussenanlagen auf Basis von Hello Elementor.
Author: Cursor
Template: hello-elementor
Version: 1.0.0
Text Domain: rh-bau-aussenanlagen-child
*/

:root {
  --rh-color-anthrazit: #2b2b2b;
  --rh-color-orange: #f05a00;
  --rh-color-olive: #6f7750;
  --rh-color-light: #f6f3ee;
  --rh-color-white: #ffffff;
  --rh-color-text: #222222;
  --rh-color-border: #ded8cf;
  --rh-shadow-soft: 0 18px 40px rgba(43, 43, 43, 0.12);
  --rh-radius: 18px;
}

body {
  color: var(--rh-color-text);
  background: var(--rh-color-white);
  font-family: "Arial", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--rh-color-orange);
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--rh-color-anthrazit);
}

.elementor-kit-7 button,
.elementor-kit-7 input[type="button"],
.elementor-kit-7 input[type="submit"],
.elementor-kit-7 .elementor-button,
button,
input[type="button"],
input[type="submit"] {
  background-color: var(--rh-color-orange);
  border-color: var(--rh-color-orange);
  color: var(--rh-color-white);
  border-radius: 999px;
}

.elementor-kit-7 .elementor-button:hover,
.elementor-kit-7 .elementor-button:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: var(--rh-color-anthrazit);
  border-color: var(--rh-color-anthrazit);
}

.site-header {
  background-color: var(--rh-color-olive);
  color: var(--rh-color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer {
  background-color: var(--rh-color-anthrazit);
  color: var(--rh-color-white);
}

.site-header a,
.site-footer a {
  color: var(--rh-color-white);
}

.site-header .site-logo img,
.site-header .custom-logo,
.site-header .custom-logo-link img {
  max-height: 100px;
  width: auto;
}

.site-footer .site-logo img,
.site-footer .custom-logo,
.site-footer .custom-logo-link img {
  max-height: 56px;
  width: auto;
}

.site-main {
  padding: 0;
}

.page .entry-title,
.home .entry-title {
  display: none;
}

.rh-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.rh-section {
  padding: 72px 0;
}

.rh-section-alt {
  background: var(--rh-color-light);
}

.rh-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(240, 90, 0, 0.12);
  color: var(--rh-color-orange);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.rh-hero {
  position: relative;
  padding: 120px 0 96px;
  background-position: center;
  background-size: cover;
  color: var(--rh-color-white);
}

.rh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 43, 43, 0.48) 0%, rgba(43, 43, 43, 0.3) 48%, rgba(43, 43, 43, 0.18) 100%);
}

.rh-hero .rh-wrap {
  position: relative;
  z-index: 1;
}

.rh-hero h1,
.rh-page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.rh-hero p,
.rh-page-hero p {
  max-width: 720px;
  font-size: 1.15rem;
}

.rh-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rh-button,
.rh-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--rh-color-orange);
  color: var(--rh-color-white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--rh-shadow-soft);
}

.rh-button:hover,
.rh-button:focus {
  color: var(--rh-color-white);
  background: var(--rh-color-anthrazit);
}

.rh-button-secondary,
.rh-button-secondary:visited {
  background: transparent;
  color: var(--rh-color-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.rh-button-secondary:hover,
.rh-button-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
}

.rh-page-hero {
  padding: 80px 0 44px;
  background: linear-gradient(180deg, #343434 0%, #2b2b2b 100%);
  color: var(--rh-color-white);
}

.rh-grid {
  display: grid;
  gap: 24px;
}

.rh-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-card,
.rh-service-card,
.rh-faq-card,
.rh-contact-card,
.rh-stat-card {
  background: var(--rh-color-white);
  border: 1px solid var(--rh-color-border);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow-soft);
}

.rh-service-card,
.rh-faq-card,
.rh-contact-card,
.rh-stat-card {
  padding: 28px;
}

.rh-service-card h3,
.rh-faq-card h3,
.rh-contact-card h3,
.rh-stat-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--rh-color-anthrazit);
}

.rh-service-card p:last-child,
.rh-faq-card p:last-child,
.rh-contact-card p:last-child,
.rh-stat-card p:last-child {
  margin-bottom: 0;
}

.rh-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.rh-list {
  margin: 0;
  padding-left: 1.2rem;
}

.rh-list li + li {
  margin-top: 10px;
}

.rh-note {
  padding: 20px 22px;
  border-left: 4px solid var(--rh-color-orange);
  background: #fff8f3;
  border-radius: 12px;
}

.rh-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rh-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow-soft);
  background: var(--rh-color-white);
}

.rh-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rh-gallery figcaption {
  padding: 14px 16px 18px;
  font-size: 0.95rem;
}

.rh-logo-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.rh-logo-band img {
  max-width: 280px;
}

.rh-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow-soft);
}

.rh-kpi {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rh-color-orange);
}

.rh-muted {
  color: #66625d;
}

.rh-accent-olive {
  color: var(--rh-color-olive);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--rh-color-anthrazit);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.rh-section > .rh-wrap > p:first-of-type,
.rh-section > .rh-wrap > .rh-muted:first-of-type {
  max-width: 760px;
}

img {
  height: auto;
}

@media (max-width: 1024px) {
  .rh-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-grid-3,
  .rh-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .site-header,
  .site-footer {
    padding-inline: 16px;
  }

  .rh-section,
  .rh-hero,
  .rh-page-hero {
    padding: 56px 0;
  }

  .rh-grid-2,
  .rh-grid-3,
  .rh-grid-4,
  .rh-gallery {
    grid-template-columns: 1fr;
  }

  .rh-service-card,
  .rh-faq-card,
  .rh-contact-card,
  .rh-stat-card {
    padding: 22px;
  }

  .rh-logo-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .rh-logo-band img {
    max-width: 220px;
  }

  .rh-map iframe {
    min-height: 340px;
  }
}
