/* Kininger Hausmeisterservice – Gestaltung / Responsive Layout
   Bilder und Icons liegen separat in den Ordnern images/ und icons/.
   Farben, Größen und Abstände lassen sich in den Variablen unten anpassen. */

:root {
  --forest: #073f22;
  --forest-deep: #06381e;
  --green: #4f8b1b;
  --cream: #f8f7f1;
  --ink: #18241b;
  --icon: #173f1b;
  --white: #fff;
  --content-width: 1500px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  /*background: var(--cream); */
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { width: 100%; max-width: var(--content-width); margin: 0 auto; }

.hero {
  position: relative;
  min-height: clamp(390px, 47vw, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 76px);
  background-image: url("images/garten-hintergrund.jpg");
  background-size: cover;
  background-position: center 56%;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.03), rgba(0,25,8,.23) 38%, rgba(0,25,8,.05));
  pointer-events: none;
}

.brand-card {
  position: relative;
  z-index: 1;
  width: min(58%, 730px);
  padding: clamp(14px, 2.2vw, 30px);
 -- background: rgba(255, 255, 248, .93);
--  border: 1px solid rgba(255,255,255,.78);
  border-radius: 4px;
  box-shadow: 0 12px 38px rgba(0,0,0,.19);
}

.brand-card img {
  display: block;
  width: 100%;
  height: auto;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.55fr;
  align-items: center;
  gap: 0;
  min-height: 174px;
  padding: 24px clamp(28px, 5.5vw, 84px);
  background: var(--cream);
}

.service {
  min-width: 0;
  text-align: center;
  padding: 0 18px;
  border-right: 1px solid #b7b9b1;
}

.service:nth-child(3) { border-right: 0; }

.service img {
  display: block;
  width: 92px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 2px;
}

.service h2 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.status {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  min-height: 112px;
  padding: 20px 48px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 48% 52% 45% 55% / 56% 45% 55% 44%;
  text-align: center;
  transform: rotate(-1deg);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.08);
}

.status span:first-child {
  font-size: clamp(14px, 2vw, 26px);
  line-height: 1.2;
  font-weight: 700;
}
.status strong {
  font-size: clamp(14px, 2.1vw, 28px);
  line-height: 1.25;
}
.calendar {
  position: absolute;
  right: 10%;
  top: 21%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.55fr;
  align-items: center;
  gap: 0;
  padding: 30px clamp(32px, 6vw, 90px) 24px;
  color: var(--white);
  background: radial-gradient(ellipse at 50% 0%, #174a25 0%, var(--forest-deep) 75%);
}

.contact-item {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(14px, 2vw, 30px);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35;
  border-right: 1px solid rgba(255,255,255,.8);
}
.contact-item:first-child { padding-left: 0; }
.contact-item.address { border-right: 0; font-size: clamp(15px, 1.6vw, 21px); }
.contact a { color: inherit; text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 5px; }

.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tax {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.8);
  text-align: center;
  font-size: clamp(12px, 1.45vw, 20px);
  line-height: 1.45;
}

/* Tablet */
@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
    padding: 24px 26px 30px;
  }
  .status {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(430px, 80%);
  }
  .contact {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .contact-item.email { border-right: 0; }
  .contact-item.address {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.35);
    padding: 18px 0 0;
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .hero {
    min-height: 340px;
    padding: 24px 18px;
    background-position: 58% center;
  }
  .brand-card {
    width: min(94%, 460px);
    padding: 12px;
  }
  .services {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 8px 24px;
    row-gap: 20px;
  }
  .service { padding: 0 5px; }
  .service img { width: 58px; height: 52px; margin-bottom: 5px; }
  .service h2 { font-size: clamp(12px, 3.4vw, 16px); white-space: normal; }
  .status {
    width: 88%;
    min-height: 86px;
    padding: 12px 40px 12px 14px;
  }
  .status span:first-child { font-size: 17px; }
  .status strong { font-size: 19px; }
  .calendar { width: 22px; height: 22px; border-width: 2px; font-size: 14px; }
  .contact {
    grid-template-columns: 1fr;
    padding: 22px 24px 20px;
    gap: 0;
  }
  .contact-item {
    min-height: 62px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
    font-size: 20px;
  }
  .contact-item:first-child { padding-left: 0; }
  .contact-item.email { border-bottom: 1px solid rgba(255,255,255,.35); }
  .contact-item.address {
    grid-column: auto;
    padding: 14px 0;
    border-top: 0;
    border-bottom: 0;
    font-size: 16px;
  }
  .contact-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .tax { margin-top: 10px; padding-top: 15px; font-size: 12px; }
}
