/* Excuso – Petrol-Band oben: Kopfleiste (Knöpfe, Sprachwahl als Dropdown) und Kopfbereich der Generator-Seiten. */

.band {
  --band-top: #2690a2;
  --band-bottom: #135e6b;
  position: relative; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, rgba(255, 255, 255, .14), transparent 55%),
              linear-gradient(170deg, var(--band-top), var(--band-bottom));
}
@media (prefers-color-scheme: dark) { .band { --band-top: #17606c; --band-bottom: #0b3138; } }
.band--hero { padding-bottom: 120px; }             /* Platz, in den die Formularkarte hineinragt */
.band--slim { padding-bottom: 8px; }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__icon { border-radius: 9px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.brand__name { font: 700 1.35rem/1 var(--serif); }
.brand--light, .brand--light:hover { color: #fff; }
.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.site-nav__menu { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 560px) { .site-nav__app { display: none; } } /* „Die App“ steht auf dem Handy unter dem Generator */
/* Lange Beschriftungen (etwa Polnisch) passen auf dem Handy nicht: dort die Kurzform; Screenreader lesen immer die lange */
.nav-short { display: none; }
@media (max-width: 480px) {
  .nav-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-short { display: inline; }
}

.btn--white { background: #fff; border-color: #fff; color: var(--band-bottom, #135e6b); }
.btn--white:hover { background: #e9f5f7; border-color: #e9f5f7; color: #0f4e59; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* Sprachwahl: eigener Dropdown-Knopf mit Globus, Kürzel und Pfeil */
.lang-switch { position: relative; }
.lang-switch__button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 14px;
  border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff;
  font-weight: 600; font-size: 1rem; letter-spacing: .03em; list-style: none; cursor: pointer;
}
.lang-switch__button::-webkit-details-marker { display: none; }
.lang-switch__button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.lang-switch__globe, .lang-switch__caret { flex: none; }
.lang-switch__caret { transition: transform .15s; }
.lang-switch[open] .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 180px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.lang-switch__list a {
  display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none;
}
.lang-switch__list a:hover { background: var(--petrol-soft); }
.lang-switch__list a[aria-current] { font-weight: 700; color: var(--petrol-strong); }
@media (max-width: 400px) {
  .site-nav { gap: 8px; }
  .site-nav__actions { gap: 6px; }
  .lang-switch__code { display: none; }            /* schmale Handys: Globus und Pfeil genügen */
  .site-nav .btn--small { padding: 0 14px; }
}
@media (max-width: 360px) { .site-header .brand__name { display: none; } } /* sehr schmal: nur das Icon */

.hero { display: grid; gap: 32px; align-items: center; padding: 40px 0 8px; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.25fr .75fr; padding-top: 56px; } }
.hero__title { color: #fff; font-size: clamp(1.9rem, 8vw, 4rem); line-height: 1.05; margin-bottom: .35em; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; list-style: none; font-weight: 600; }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks li::before {
  content: ""; width: 14px; height: 8px; margin-top: -4px;
  border-left: 2.5px solid #b9f0f7; border-bottom: 2.5px solid #b9f0f7; transform: rotate(-45deg);
}
.hero__lead { font-size: 1.2rem; color: rgba(255, 255, 255, .88); max-width: 34em; }
.hero__steps { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.hero__steps li { display: inline-flex; align-items: center; gap: 10px; counter-increment: schritt; font-weight: 600; }
.hero__steps li::before {
  content: counter(schritt); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); border: 1.5px solid rgba(255, 255, 255, .5); font-size: 1rem;
}
.hero__phone {
  display: none; width: 100%; max-width: 220px; justify-self: center; border-radius: 24px;
  transform: rotate(5deg); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .15);
}
@media (min-width: 960px) { .hero__phone { display: block; } }
