@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  color: #111516;
  background: #e3e7e5;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Desktop ---------- */

.hero {
  background: #e3e7e5;
}

.hero-inner {
  width: 72vw;
  min-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  grid-template-rows: auto 1fr;
  column-gap: 34px;
  min-height: 34vw;
  padding: 52px 0 38px;
}

.desktop-logo {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 4px;
}

.desktop-logo img {
  width: 28vw;
  max-width: 96%;
}

.building {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.building img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mobile-logo {
  display: none;
}

.copy {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 22px 2px 0;
}

.copy h1 {
  margin: 0;
  font-size: 4.72vw;
  line-height: .96;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.copy p {
  width: 95%;
  margin: 45px 0 0;
  color: #008b8b;
  font-size: 1vw;
  line-height: 1.42;
  font-weight: 700;
  text-align: justify;
}

.site-footer {
  background: #faf9f4;
  border-top: 1px solid #111;
}

.footer-inner {
  width: 72vw;
  min-width: 1050px;
  min-height: 9.7vw;
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: calc(45% + 34px) 1fr auto;
  align-items: center;
  gap: 0;
}

.footer-logo img {
  width: 15.5vw;
  max-width: 100%;
}

.company,
.copyright {
  font-size: 16px;
  line-height: 1.35;
}

.company {
  text-align: left;
  white-space: nowrap;
  justify-self: start;
}

.copyright {
  text-align: right;
  justify-self: end;
}

.company p {
  margin: 26px 0 0;
}

.company a {
  color: inherit;
  text-decoration: none;
}

/* Normal desktop/laptop widths */
@media (max-width: 1450px) and (min-width: 761px) {
  .hero-inner,
  .footer-inner {
    width: calc(100% - 80px);
    min-width: 0;
  }

  .desktop-logo img {
    width: 540px;
  }

  .copy h1 {
    font-size: clamp(60px, 5.15vw, 76px);
    letter-spacing: .8px;
  }

  .copy p {
    font-size: 17px;
  }

  .footer-logo img {
    width: 295px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .desktop-logo {
    display: none;
  }

  .hero-inner {
    grid-template-rows: 1fr;
  }

  .copy {
    grid-row: 1;
    justify-content: center;
    gap: 50px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  /* No header at all: the photo starts at the top of the page. */
  .hero,
  .hero-inner {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 39px 39px 76px;
    min-height: 0;
  }

  .desktop-logo {
    display: none;
  }

  .building {
    order: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .building img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .mobile-logo {
    display: block;
    order: 2;
    width: 100%;
    margin: 72px 0 76px;
  }

  .mobile-logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .copy {
    order: 3;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .copy h1 {
    width: 100%;
    margin: 0;
    font-size: clamp(42px, 8.25vw, 63px);
    line-height: .98;
    letter-spacing: -1.1px;
    font-weight: 700;
  }

  .desktop-break {
    display: none;
  }

  .copy p {
    width: 100%;
    margin: 28px 0 0;
    color: #008b8b;
    font-size: clamp(22px, 4.1vw, 30px);
    line-height: 1.31;
    font-weight: 700;
    text-align: left;
  }

  .footer-inner {
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 72px 34px 35px;
  }

  .footer-logo img {
    width: 220px;
    max-width: 55vw;
  }

  .company {
    margin-top: 78px;
    font-size: clamp(15px, 3.2vw, 23px);
    line-height: 1.27;
    text-align: center;
    white-space: nowrap;
  }

  .company p {
    margin-top: 34px;
  }

  .desktop-only {
    display: none;
  }

  .copyright {
    margin-top: 60px;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    justify-self: auto;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 22px 22px 58px;
  }

  .mobile-logo {
    margin: 52px 0 56px;
  }

  .mobile-logo img {
    width: 100%;
    max-width: 100%;
  }

  .copy h1 {
    font-size: clamp(38px, 10.5vw, 50px);
    letter-spacing: -.8px;
  }

  .copy p {
    font-size: clamp(20px, 5.7vw, 27px);
  }

  .footer-inner {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 480px) {
  .company {
    font-size: clamp(13px, 3.55vw, 17px);
    white-space: nowrap;
  }
}


/* V14 – precise footer edge alignment */
@media (min-width: 761px) {
  .copyright {
    width: 100%;
    justify-self: stretch;
    text-align: right;
    margin: 0;
    padding: 0;
  }
}


@media (max-width: 760px) {
  .mobile-logo {
    width: 100%;
    margin-top: 72px;
    margin-bottom: 38px; /* previously 76px */
  }

  .mobile-logo img {
    width: 90%;
    max-width: 90%;
    margin-left: 0;
    margin-right: auto;
  }

  /* Footer spacing: halve Geschäftsführer -> E-Mail */
  .company p {
    margin-top: 17px; /* previously 34px */
  }

  /* Footer spacing: halve E-Mail -> Copyright */
  .copyright {
    margin-top: 30px; /* previously 60px */
  }
}

@media (max-width: 480px) {
  .mobile-logo {
    margin-top: 52px;
    margin-bottom: 28px; /* previously 56px */
  }

  .mobile-logo img {
    width: 90%;
    max-width: 90%;
    margin-left: 0;
    margin-right: auto;
  }
}


/* ===== V15 final alignment refinements ===== */

@media (min-width: 761px) {
  .footer-inner {
    position: relative;
  }

  .copyright {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    margin: 0;
    padding: 0;
    text-align: right;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .mobile-logo img {
    width: 80%;
    max-width: 80%;
    margin-left: 0;
    margin-right: auto;
  }

  .company {
    margin-top: 39px; /* previously 78px */
  }
}

@media (max-width: 480px) {
  .mobile-logo img {
    width: 80%;
    max-width: 80%;
    margin-left: 0;
    margin-right: auto;
  }
}


/* ===== V16 typography + exact desktop image-edge alignment ===== */

/* The hero grid is 45% + 55% PLUS a 34px column-gap.
   Therefore the photo extends 34px beyond .hero-inner's nominal right edge. */
@media (min-width: 761px) {
  .copyright {
    right: -34px;
  }
}

/* The logo's small line resembles a light humanist/geometric sans.
   Mulish is used as the free Google-Fonts web substitute. */
.copy p {
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

/* Mobile hero logo: another 10 percentage points smaller than V15,
   while retaining the exact left edge of the photo. */
@media (max-width: 760px) {
  .mobile-logo img {
    width: 70%;
    max-width: 70%;
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .mobile-logo img {
    width: 70%;
    max-width: 70%;
    margin-left: 0;
    margin-right: auto;
  }
}


/* ===== V17 mobile footer typography ===== */
@media (max-width: 760px) {
  .copyright {
    font-size: clamp(15px, 3.2vw, 23px);
    line-height: 1.27;
  }
}

@media (max-width: 480px) {
  .copyright {
    font-size: clamp(13px, 3.55vw, 17px);
  }
}


/* ===== V18 unified typography + footer baseline ===== */

/* Use the same Mulish family throughout the headline and footer,
   while retaining all existing sizes and weights. */
.copy h1,
.site-footer,
.company,
.copyright {
  font-family: "Mulish", Arial, Helvetica, sans-serif;
}

/* Desktop: align the bottom of the copyright block with the bottom
   of the e-mail line in the company block. */
@media (min-width: 761px) {
  .footer-inner {
    position: relative;
  }

  .copyright {
    top: auto;
    bottom: 22px; /* matches footer-inner bottom padding */
    transform: none;
  }
}


/* ===== V19 headline weight + desktop footer vertical alignment ===== */

/* Slightly stronger than V18, while keeping the same Mulish typeface and size. */
.copy h1 {
  font-weight: 700;
}

/* The company block's e-mail is not at the footer padding edge because the
   whole company block is vertically centered. Align copyright to the actual
   bottom edge of that block instead. */
@media (min-width: 761px) {
  .company {
    position: relative;
  }

  .copyright {
    top: 50%;
    bottom: auto;
    transform: translateY(calc(-50% + 39px));
  }
}


/* ===== V20 load the actual heavy Mulish weights ===== */
.copy h1 {
  font-family: "Mulish", Arial, Helvetica, sans-serif;
  font-weight: 700;
}
