/*
  Projekt: Lextron
  Datei: startseite.css
  Beschreibung: Ruhiges, responsives Layout der Startseite.
  CHANGELOG
  2026-10-02 MOD Logo links vor der Textgruppe vertikal zentriert.
  2026-10-02 MOD Bild 2172 × 422; volle Breite, maximal 422 px hoch.
  2026-10-02 MOD 6 px Bildabstand; Bildbreite auf 2172 px begrenzt.
  2026-10-02 MOD Fester Randabstand, schwarze Bildabstände, Text höher.
  2026-10-02 MOD Zugeschnittenes Bild vollständig proportional anzeigen.
  2026-10-02 NEW Layout und zwei durchgehend 2 px hohe Cyan-Linien.
*/

:root
{
  color-scheme: dark;
  --background: #090f12;
  --text: #f0f3f4;
  --muted: #c3cbd0;
  --accent: #a1dcec;
  --side-space: 120px;
  --header-top-space: clamp(64px, 10.5vw, 160px);
  --introduction-space: 110px;
}

*,
*::before,
*::after
{
  box-sizing: border-box;
}

body
{
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible
{
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.container
{
  width: calc(100% - 2 * var(--side-space));
  margin-inline: auto;
}

.site-header
{
  padding-top: var(--header-top-space);
}

.header-content
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 90px;
  padding-bottom: 24px;
}

.wordmark
{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.wordmark-logo
{
  display: block;
  width: auto;
  height: 68px;
  flex-shrink: 0;
}

.wordmark-text
{
  display: flex;
  flex-direction: column;
}

.wordmark-name
{
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.13em;
}

.wordmark-subtitle
{
  margin-top: 9px;
  color: #8b969d;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.69em;
}

.navigation
{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 2.5vw, 40px);
  font-size: 15px;
  font-weight: 400;
}

.navigation a
{
  transition: color 160ms ease, border-color 160ms ease;
}

.navigation a:hover
{
  color: var(--accent);
}

.contact-link
{
  padding: 10px 22px;
  border: 1px solid #6c9aaa;
  border-radius: 3px;
  color: var(--accent);
}

.contact-link:hover
{
  border-color: var(--accent);
}

.panorama
{
  position: relative;
  padding-block: 8px;
  overflow: hidden;
  background: #000;
}

.panorama::before,
.panorama::after
{
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  /* Gleiche Höhe überall: nur der Farbverlauf ändert die Helligkeit. */
  background: linear-gradient(90deg,
    #225963 0%, #43818c 15%, #7bddeb 24%, #c0f7ff 27%,
    #6fd4e4 30%, #34727e 42%, #225963 100%);
}

.panorama::before
{
  top: 0;
}

.panorama::after
{
  bottom: 0;
  background: linear-gradient(90deg,
    #225963 0%, #34727e 60%, #6fd4e4 73%, #c0f7ff 76%,
    #7bddeb 79%, #43818c 88%, #225963 100%);
}

.panorama img
{
  display: block;
  width: 100%;
  /* Proportional bis 2172 px Breite, danach maximal 422 px hoch. */
  height: min(19.4290976vw, 422px);
  object-fit: cover;
  object-position: center;
}

.introduction
{
  padding-top: var(--introduction-space);
  padding-bottom: 80px;
}

.eyebrow
{
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1
{
  margin: 0;
  font-size: clamp(30px, 3.15vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.description
{
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.6;
}

.skip-link
{
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 12px 16px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}

.skip-link:focus
{
  transform: translateY(0);
}

@media (max-width: 1000px)
{
  :root
  {
    --side-space: 40px;
  }
}

@media (max-width: 700px)
{
  :root
  {
    --side-space: 24px;
    --introduction-space: 72px;
  }

  .header-content
  {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .navigation
  {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 14px;
  }

  .contact-link
  {
    padding: 8px 14px;
  }

  .eyebrow
  {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce)
{
  .navigation a
  {
    transition: none;
  }
}


/* Anmeldung als dezente separate Aktion. */
.login-link
{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid #29434d;
  border-radius: 3px;
  background: #112029;
  color: #a1dcec;
}
.login-link::before
{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a1dcec;
  content: "";
}
.login-link:hover
{
  border-color: #6c9aaa;
  background: #172b35;
}

.navigation
{
  flex-wrap: wrap;
}
