:root {
  --bg: #f4eee7;
  --text: #222220;
  --accent: #c84d20;
  --line: rgba(34, 34, 32, .18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.content {
  position: relative;
  z-index: 1;
  width: min(760px, 62vw);
  margin-left: clamp(42px, 7vw, 120px);
  padding: clamp(28px, 4vh, 52px) 0;
}

.brand {
  margin-bottom: clamp(26px, 4vh, 46px);
}

.logo {
  display: block;
  width: clamp(260px, 80vw, 380px);
  height: auto;
  margin-bottom: 12px;
}

.company {
  color: var(--accent);
  font-size: clamp(24px, 2.15vw, 36px);
  line-height: 1.05;
  font-weight: 700;
}

.company-services {
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.05;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(54px, 5.25vw, 84px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 700;
}

h1 span {
  color: var(--accent);
}

.accent {
  width: 74px;
  height: 3px;
  margin: clamp(26px, 3.2vh, 36px) 0 clamp(30px, 3.6vh, 42px);
  background: var(--accent);
}

.copy {
  max-width: 650px;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.5;
}

.copy p {
  margin: 0 0 24px;
}

.copy .lead {
  margin-bottom: 2px;
  color: var(--accent);
  font-weight: 700;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1.25fr;
  align-items: stretch;
  gap: 24px;
  width: min(740px, 100%);
  margin-top: clamp(28px, 3.4vh, 40px);
}

.contact-divider {
  background: var(--line);
}

.contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, color .2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card:hover strong {
  color: var(--accent);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy {
  min-width: 0;
}

.contact-card strong {
  display: block;
  padding-top: 3px;
  font-size: 17px;
  font-weight: 700;
  transition: color .2s ease;
}

.contact-card small {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  white-space: nowrap;
}

/* Hintergrundmotiv erst ab Tablet. Die Maske blendet das Bild weich nach links aus. */
@media (min-width: 768px) {
  .page::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 50vw;
    background: url('assets/rohr-pflanze.webp') right center / auto 100% no-repeat;
    pointer-events: none;

    -webkit-mask-image: linear-gradient(to right,
        transparent 0%,
        transparent 10%,
        rgba(0, 0, 0, .25) 30%,
        rgba(0, 0, 0, .72) 55%,
        #000 75%,
        #000 100%);
    mask-image: linear-gradient(to right,
        transparent 0%,
        transparent 10%,
        rgba(0, 0, 0, .25) 30%,
        rgba(0, 0, 0, .72) 55%,
        #000 75%,
        #000 100%);
  }
}

@media (max-width: 1080px) and (min-width: 768px) {
  .content {
    width: 64vw;
    margin-left: 42px;
  }

  .page::after {
    width: 62vw;
  }

  .desktop-break {
    display: none;
  }

  .contacts {
    grid-template-columns: 1fr 1px 1fr 1px 1.2fr;
    gap: 14px;
  }

  .contact-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
  }

  .contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-card strong {
    font-size: 15px;
  }

  .contact-card small {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .page {
    align-items: flex-start;
    overflow: visible;
  }

  .content {
    width: 100%;
    margin: 0;
    padding: 34px 24px 40px;
  }

  .brand {
    margin-bottom: 32px;
  }

  .desktop-break {
    display: none;
  }

  .copy {
    font-size: 17px;
  }

  .contacts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .contact-divider {
    width: 100%;
    height: 1px;
    margin: 16px 0;
  }

  .contact-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-card strong {
    padding-top: 0;
  }
}

@media (max-height: 760px) and (min-width: 1081px) {
  .content {
    padding: 22px 0;
  }

  .brand {
    margin-bottom: 20px;
  }

  .accent {
    margin: 20px 0 22px;
  }

  .copy p {
    margin-bottom: 16px;
  }

  .contacts {
    margin-top: 22px;
  }

  .contact-icon {
    width: 54px;
    height: 54px;
  }
}