/*
 * RICHTUNG 3, VARIANTE B – „START INTEGRIERT“
 * Zusatz zu richtung-3.css, nur für startseite-integriert.html.
 * Der erste Bildschirm ist die frühere Startseite (Zufallsbild, Anschrift, Einstiege),
 * darunter geht der Inhalt direkt weiter. Ein Hauptweg (Limone), zwei Nebenwege (Schwarz).
 * Die bisherigen Dateien (index.html, hauptseite.html, richtung-3.css) bleiben unverändert.
 */

/* ---------- Erster Bildschirm ---------- */
.hero--einstieg { flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 1.2rem; }
.hero--einstieg .hero__inhalt { max-width: 100rem; }
.hero__inhalt--start h1 { font-size: clamp(3.4rem, min(12.4vw, 15svh), 15rem); text-wrap: balance; }
.hero__sub { margin-top: 1rem; max-width: 62rem; font-stretch: 85%; font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.3rem); }
.hero--einstieg .werkzeug--oben { position: absolute; z-index: 1; top: calc(var(--kopf-h) + .6rem); right: var(--rand); }

/* Einstieg: ein Hauptweg, zwei Nebenwege, Anschriften */
.einstieg { position: relative; z-index: 1; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; align-items: stretch; background: var(--ink); }
.einstieg__haupt {
  display: grid; align-content: space-between; gap: .6rem; padding: 1.1rem 1.4rem 1.3rem; background: var(--lime); color: rgba(0, 0, 0, 1); text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 1); transition: background .2s, color .2s;
}
.einstieg__haupt-titel { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: .9; letter-spacing: -.012em; }
.einstieg__haupt-text { font-size: .92rem; line-height: 1.35; font-weight: 500; max-width: 24rem; }
.einstieg__pfeil { display: inline-block; font-size: .8em; animation: einstieg-huepf 1.8s ease-in-out infinite; }
@keyframes einstieg-huepf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.08em); } }
.einstieg__haupt:hover, .einstieg__haupt:focus-visible { background: rgba(0, 0, 0, 1); color: var(--lime); }

.einstieg__neben {
  display: grid; align-content: start; gap: .4rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--ink); color: rgba(255, 255, 255, 1); text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .25); transition: background .2s, color .2s;
}
.einstieg__neben strong { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.3vw, 2.4rem); line-height: .95; letter-spacing: -.01em; }
.einstieg__neben > span { font-size: .85rem; line-height: 1.35; }
.einstieg__neben:hover, .einstieg__neben:focus-visible { background: var(--lime); color: rgba(0, 0, 0, 1); }
.einstieg .adressen { border-left: 1px solid rgba(255, 255, 255, .25); }

/* ---------- Menü: acht Punkte, die letzten beiden als Nebenwege ---------- */
.seite-integriert .menue__link { font-size: clamp(2.4rem, min(7vw, 9.4svh), 6.6rem); }
.menue__punkt--erste-neben { margin-top: 1.2rem; }
.menue__punkt--neben .menue__link { font-size: clamp(1.7rem, min(4.2vw, 6svh), 3.4rem); color: var(--lime); }
.menue__punkt--neben .menue__link::before { content: "→"; font-size: 1.1rem; }
.menue__punkt--extern .menue__link::before { content: "↗"; }
.menue__punkt--neben:hover > .menue__link, .menue__punkt--neben:focus-within > .menue__link { color: rgba(255, 255, 255, 1); }

/* ---------- Textabschnitt: längerer Originaltitel ---------- */
.h2--text { font-size: clamp(2.2rem, 4.6vw, 5.4rem) !important; line-height: .95; }

/* ---------- Responsiv ---------- */
@media (max-width: 62rem) {
  .text-raster { grid-template-columns: minmax(0, 1fr); }
  .einstieg { grid-template-columns: 1fr 1fr; }
  .einstieg__haupt { grid-column: 1 / -1; }
  .einstieg__neben { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .einstieg__neben + .einstieg__neben { border-left: 1px solid rgba(255, 255, 255, .25); }
  .einstieg .adressen { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .menue__punkt--neben .menue__link { font-size: 2rem; }
}
@media (max-width: 40rem) {
  .hero--einstieg .hero__inhalt { padding-top: 3rem; }
  .hero__inhalt--start h1 { font-size: 13.2vw; }
  .hero--einstieg { padding-bottom: 0; padding-inline: 0; gap: 1rem; }
  .hero--einstieg .hero__inhalt { padding-inline: var(--rand); }
  .hero--einstieg .werkzeug--oben { position: static; margin: 0 var(--rand); display: flex; }
  .einstieg { grid-template-columns: 1fr; }
  .einstieg__neben + .einstieg__neben { border-left: 0; }
  .einstieg .adressen { grid-template-columns: 1fr; }
  .einstieg__haupt-titel { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { .einstieg__pfeil { animation: none; } }
