/* Startseite */
.page-start {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.start-header {
  border-bottom: 1px solid var(--line);
}

.start-header__bar,
.start-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--edge);
}

.start-header__bar {
  min-height: 64px;
}

.start-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.start-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.start-nav a:hover {
  color: var(--text);
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "brand offer"
    "contact offer";
  grid-template-rows: minmax(0, 1fr) auto;
}

.start-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.6vh, 32px);
  min-height: 0;
  padding: clamp(20px, 4vh, 48px) var(--edge) clamp(18px, 3vh, 36px);
}

/* Spaltenlinien des Rasters hinter der Wortmarke */
.start-brand__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  box-shadow: inset -1px 0 var(--line);
}

.start-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, min(11.5vw, 18.5vh), 196px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.start-title span {
  display: block;
}

.start-claim {
  width: fit-content;
  max-width: 28em;
  padding-top: clamp(14px, 2.2vh, 24px);
  border-top: 3px solid var(--red);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.45;
  color: var(--text);
}

.start-contact {
  grid-area: contact;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  margin-inline: var(--edge);
  border-top: 1px solid var(--line);
}

.start-contact > div {
  padding: clamp(12px, 2vh, 20px) 24px clamp(14px, 2.4vh, 24px) 0;
}

.start-contact > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.start-contact dt {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.start-contact dd {
  margin-top: 4px;
  font-size: 16px;
  color: var(--text);
}

.start-contact a {
  display: inline-block;
  padding-block: 10px;
  margin-block: -10px;
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.25s var(--ease);
}

.start-contact a:hover {
  background-size: 100% 2px;
}

/* Rotes Feld: führt zur Development-Seite */
.offer {
  grid-area: offer;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-height: 0;
  padding: clamp(20px, 3.4vh, 40px) clamp(24px, 3vw, 44px);
  overflow: hidden;
  background: var(--red);
  color: var(--ink);
  text-decoration: none;
}

.offer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.offer:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -10px;
}

.offer__label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer__label::before {
  content: "";
  width: 11px;
  height: 9px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* Bild im V des Zeichens, füllt die freie Höhe ohne sie selbst zu bestimmen */
.offer__media {
  position: relative;
  min-height: 0;
  margin-top: clamp(14px, 2.4vh, 32px);
}

.offer__v {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--red);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  max-height: 520px;
  max-width: 100%;
  aspect-ratio: 954 / 815;
}

.offer__v img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(1.75) contrast(1.3);
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}

.offer__media img {
  object-position: 62% 60%;
  transform: scale(1.02);
}

.offer:hover .offer__media img {
  transform: scale(1.06);
}

.offer__name {
  margin-top: clamp(10px, 2vh, 22px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, min(7.2vw, 11.5vh), 118px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.offer__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 1.8vh, 20px);
  margin-top: clamp(12px, 2vh, 24px);
  padding-top: clamp(14px, 2vh, 20px);
  border-top: 1px solid var(--ink-line);
}

.offer__text {
  display: grid;
  gap: 4px;
  font-size: 18px;
  line-height: 1.45;
}

.offer__text strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.1;
  text-transform: uppercase;
}

.offer__button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease);
}

.offer:hover .offer__button {
  background: var(--ink-raised);
}

.offer:active .offer__button {
  transform: translateY(2px);
}

.offer__arrow {
  color: var(--red);
  transition: transform 0.25s var(--ease);
}

.offer:hover .offer__arrow {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: no-preference) {
  .offer::after {
    animation: wipe 0.75s 0.1s cubic-bezier(0.7, 0, 0.2, 1) both;
  }

  .offer__arrow {
    animation: nudge 1.1s var(--ease) 1.5s;
  }
}

/* Einmaliger Hinweis auf den Knopf */
@keyframes nudge {
  0%,
  50%,
  100% {
    transform: none;
  }
  25% {
    transform: translateX(9px);
  }
  75% {
    transform: translateX(5px);
  }
}

.start-footer {
  border-top: 1px solid var(--line);
}

.start-footer__bar {
  min-height: 52px;
  flex-wrap: wrap;
}

.start-footer__copy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.start-footer__copy img {
  width: 14px;
}

.start-footer__links {
  display: flex;
  gap: 4px;
}

.start-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.start-footer__links a:hover {
  color: var(--text);
}

@media (min-width: 961px) and (max-width: 1120px) {
  .start-contact {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .start-contact > div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "offer"
      "contact";
    grid-template-rows: auto;
  }

  .start-brand {
    gap: 12px;
    padding: 20px var(--edge) 22px;
  }

  .start-brand__top {
    flex: none;
    background: none;
    box-shadow: none;
  }

  .start-title {
    font-size: clamp(40px, 13.4vw, 96px);
    line-height: 0.9;
  }

  .start-title span {
    display: inline;
  }

  .start-claim {
    font-size: 17px;
    padding-top: 12px;
  }

  .offer {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    padding: 20px var(--edge) 24px;
  }

  .offer__label {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .offer__media {
    grid-column: 2;
    grid-row: 1;
    height: clamp(84px, calc(100dvh - 600px), 160px);
    aspect-ratio: 954 / 815;
    margin-top: 0;
  }

  .offer__v {
    max-height: none;
  }

  .offer__name {
    grid-column: 1 / -1;
    margin-top: 12px;
    font-size: clamp(48px, 15.4vw, 104px);
  }

  .offer__foot {
    grid-column: 1 / -1;
    align-items: stretch;
  }

  .offer__text {
    font-size: 17px;
  }

  .offer__button {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .start-brand__eyebrow,
  .start-nav__dev {
    display: none;
  }

  .start-header__bar {
    min-height: 60px;
    gap: 12px;
  }

  .start-nav ul {
    gap: 0;
  }

  .start-nav a {
    padding: 0 8px;
    font-size: 15px;
  }

  .start-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-contact > div,
  .start-contact > div + div {
    padding: 16px 0;
    border-left: 0;
  }

  .start-contact > div + div {
    border-top: 1px solid var(--line);
  }

  .start-footer__bar {
    padding-block: 12px;
  }

  .start-footer__links {
    margin-left: -10px;
  }
}
