/* Empathiesolutions: gemeinsame Zutaten für alle Seiten.
   Schriften liegen im Haus: kein Abruf bei Google, ein Sorgenpunkt weniger. */
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("/website/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("/website/fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url("/website/fonts/sora-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/website/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/website/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/website/fonts/inter-latin-600-normal.woff2") format("woff2"); }

html { scroll-behavior: smooth; }
@keyframes schwebt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Sektionen gleiten beim Scrollen dezent herein und bleiben dann da. */
[data-blende] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-blende].da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-blende] { opacity: 1; transform: none; transition: none; }
}

/* iPhone-Rahmen für die echten App-Fotos der Kabine.
   Breit: alle fünf in einer Reihe. Schmal: eine Wischreihe mit Einrasten,
   so gibt es nie eine halbvolle zweite Zeile. */
.telefonreihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.telefon { border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #2a3138, #0c0f13 55%, #1a2027); box-shadow: 0 24px 54px -22px rgba(6, 12, 20, 0.65), inset 0 0 0 1.5px rgba(255, 255, 255, 0.09); }
.telefon img { display: block; width: 100%; border-radius: 27px; }
.telefon figcaption { text-align: center; font-size: 0.8rem; color: #93a0b5; padding: 9px 4px 2px; }
@media (max-width: 980px) {
  .telefonreihe { display: grid; grid-auto-flow: column; grid-auto-columns: min(58vw, 230px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; -webkit-overflow-scrolling: touch; }
  .telefon { scroll-snap-align: center; }
}

/* Das Kabine-Symbol schwebt rechts neben dem Hero-Text. */
.kabine-ikone { position: absolute; right: clamp(10px, 7vw, 110px); top: 130px; width: clamp(150px, 17vw, 230px); z-index: 2; }
.kabine-ikone img { width: 100%; height: auto; border-radius: 22.5%; box-shadow: 0 30px 60px -22px rgba(10, 20, 40, 0.5); animation: schwebt 5.5s ease-in-out infinite; }
@media (max-width: 980px) {
  .kabine-ikone { position: static; width: 128px; margin-bottom: 18px; }
}

/* Kontaktformular im Schluss-Streifen: schreibt die Mail fertig vor. */
.demo-formular { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin: 26px auto 0; text-align: left; }
.demo-formular input, .demo-formular textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.92); border-radius: 14px; padding: 12px 15px; font: 500 0.95rem Inter, sans-serif; color: #1e2b3b; outline: none; }
.demo-formular input:focus, .demo-formular textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.demo-formular textarea { grid-column: 1 / -1; resize: vertical; }
.demo-formular button { grid-column: 1 / -1; justify-self: center; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 30px; font: 600 0.95rem Sora, sans-serif; color: #0f86a6; background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.35); transition: transform 0.25s; }
.demo-formular button:hover { transform: translateY(-2px); }
.demo-formular small { grid-column: 1 / -1; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; }
@media (max-width: 640px) {
  .demo-formular { grid-template-columns: 1fr; }
}

/* Mobile Navigation. Die Leiste SELBST trägt die Klasse navzeile —
   aufgeklappt wird also die Leiste, nicht ein Kind darin. */
.menueknopf { display: none; }
@media (max-width: 900px) {
  header nav.navzeile { display: none !important; }
  .menueknopf { display: inline-flex !important; align-items: center; justify-content: center; padding: 0; }
  header nav.navzeile.mobil-offen { display: flex !important; position: absolute; top: calc(100% + 8px); left: auto; right: 10px; width: max-content; min-width: 190px; flex-direction: column !important; align-items: stretch !important; gap: 2px; background: rgba(255, 255, 255, 0.97); border: 1px solid #e3e8ef; border-radius: 16px; padding: 8px; box-shadow: 0 18px 44px -18px rgba(20, 40, 60, 0.35); z-index: 60; }
  header nav.navzeile.mobil-offen a { padding: 11px 16px; border-radius: 11px; display: block; text-align: left; }
}
