/* ==================================================
   DÜSENSPEED – HAUPTSTYLESHEET
   ==================================================
   Neue Bereiche immer ausserhalb bestehender @media-Blöcke ergänzen.
   Responsive Anpassungen direkt beim jeweiligen Bereich platzieren.
   ================================================== */

/* Design-Tokens */
:root {
  --bg: #060606;
  --bg2: #0b0b0c;
  --panel: #111113;
  --panel2: #171719;
  --text: #f6f6f4;
  --muted: #a5a5aa;
  --red: #F28C28;
  --red2: #FFAD4A;
  --blue: #142536;
  --line: rgba(255, 255, 255, 0.11);
  --max: 1240px;
  --radius: 2px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
/* Basis und Reset */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.narrow {
  max-width: 920px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 12px 18px;
}
.skip-link:focus {
  top: 20px;
}
/* Header und Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.site-header.scrolled {
  background: rgba(5, 5, 6, 0.9);
  border-color: var(--line);
}
.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  width: 205px;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.main-nav a {
  color: #c6c6ca;
  position: relative;
  transition: 0.25s;
}
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--red);
  transition: 0.25s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}
.main-nav a:hover:after,
.main-nav a.active:after {
  right: 0;
}
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 11px 17px;
}
.nav-cta:hover,
.nav-cta.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.25s;
}
.eyebrow {
  display: inline-block;
  color: var(--red2);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
/* Startseiten-Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.home-hero {
  background:
    radial-gradient(circle at 74% 42%, rgba(242, 140, 40, 0.16), transparent 29%),
    linear-gradient(135deg, #030303 0%, #09090a 54%, #0d0b0c 100%);
}
.hero-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  z-index: -5;
  object-fit: cover;
}
.hero-video-overlay {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.72) 48%, rgba(10, 2, 4, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  z-index: -2;
}
.hero-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -160px;
  top: 17%;
  background: radial-gradient(circle, rgba(242, 140, 40, 0.18), transparent 67%);
  filter: blur(20px);
  z-index: -1;
}
.hero-layout {
  padding-top: 125px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 65px;
  align-items: center;
}
.hero-copy h1,
.page-hero h1,
h2,
h3 {
  font-family: Rajdhani, Inter, sans-serif;
  line-height: 0.98;
  margin: 0;
}
.hero-copy h1 {
  font-size: clamp(4.4rem, 9.5vw, 9.3rem);
  text-transform: uppercase;
  letter-spacing: -0.045em;
}
.hero-copy h1 span {
  color: var(--red);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: #c3c3c7;
  max-width: 760px;
}
.hero-copy .lead {
  max-width: 680px;
  margin: 24px 0 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid transparent;
  font-size: 0.81rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red2);
  transform: translateY(-2px);
}
.btn-ghost,
.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover,
.btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #080808;
}
.btn-light {
  background: #fff;
  color: #090909;
}
.btn-light:hover {
  transform: translateY(-2px);
  background: #eee;
}
.hero-facts {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts span {
  display: grid;
  color: #8d8d93;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-facts strong {
  color: #fff;
  font-size: 0.84rem;
}
.hero-mark {
  position: relative;
  padding: 40px 0;
}
.hero-mark img {
  width: min(650px, 100%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.7));
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  inset: 0;
  transform: rotate(-12deg);
}
.orbit-two {
  inset: 12% -12%;
  border-color: rgba(242, 140, 40, 0.16);
  transform: rotate(17deg);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.scroll-cue span {
  width: 1px;
  height: 35px;
  background: linear-gradient(var(--red), transparent);
}
/* Allgemeine Inhaltsbereiche */
.section {
  padding: 120px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading h2,
.intro-grid h2,
.specs-layout h2,
.featured-copy h2,
.statement blockquote,
.faq-layout h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.5rem);
  letter-spacing: -0.03em;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 540px;
}
.worlds-section {
  background: linear-gradient(180deg, #070708, #0b0b0d);
}
.world-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.world-card {
  position: relative;
  min-height: 610px;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: 0.35s;
}
.world-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.22) 68%,
    transparent
  );
  z-index: 1;
}
.world-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}
.world-land {
  background:
    radial-gradient(circle at 70% 35%, rgba(242, 140, 40, 0.22), transparent 33%),
    #0f0f11;
}
.world-water {
  background:
    radial-gradient(
      circle at 70% 35%,
      rgba(27, 76, 117, 0.32),
      transparent 36%
    ),
    #0b1015;
}
.world-visual {
  position: absolute;
  inset: 30px 20px 160px;
  display: flex;
  align-items: center;
}
.world-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.5s;
}
.world-card:hover .world-visual img {
  transform: scale(1.04) translateY(-6px);
}
.world-content {
  position: relative;
  z-index: 2;
  padding: 42px;
  width: 100%;
}
.world-content .index {
  color: var(--red);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.world-content h3 {
  font-size: clamp(3.4rem, 5vw, 5.5rem);
  text-transform: uppercase;
  margin-top: 8px;
}
.world-content p {
  color: #b9b9be;
  max-width: 500px;
  margin: 10px 0 24px;
}
.card-link {
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card-link b {
  color: var(--red);
  margin-left: 8px;
}
.process-section {
  background: #080809;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-grid article {
  padding: 34px 28px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 290px;
}
.process-grid article > span,
.service-grid article > span,
.values-grid article > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
}
.process-grid h3,
.service-grid h3,
.values-grid h3 {
  font-size: 2rem;
  margin: 54px 0 10px;
}
.process-grid p,
.service-grid p,
.values-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}
.statement-section {
  background: linear-gradient(135deg, #121214, #080809);
  border-block: 1px solid var(--line);
}
.statement {
  max-width: 1050px;
  text-align: center;
}
.statement blockquote {
  margin: 10px auto 32px;
  font-weight: 700;
}
.text-link {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.featured-copy p {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 30px;
}
.metric-panel {
  border: 1px solid var(--line);
}
.metric-panel div {
  padding: 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  align-items: center;
}
.metric-panel div:last-child {
  border-bottom: 0;
}
.metric-panel strong {
  font-family: Rajdhani, sans-serif;
  font-size: 3.2rem;
  color: var(--red);
  min-width: 100px;
}
.metric-panel span {
  color: #c6c6ca;
}
.cta-section {
  padding: 0 0 100px;
}
.cta-box {
  background: var(--red);
  padding: 58px 62px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.cta-box .eyebrow {
  color: #fff;
  opacity: 0.7;
}
.cta-box h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}
.cta-box p {
  margin-bottom: 0;
}
/* Unterseiten und Kategorie-Hero */
.page-hero {
  padding: 190px 0 105px;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 140, 40, 0.13), transparent 30%),
    linear-gradient(135deg, #050506, #111113);
  border-bottom: 1px solid var(--line);
}
.page-hero.compact {
  padding-bottom: 70px;
}
.page-hero h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.category-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 50px;
}
.category-layout img {
  max-height: 510px;
  width: 100%;
  object-fit: contain;
}
.category-hero.marine-theme {
  background:
    radial-gradient(
      circle at 77% 35%,
      rgba(24, 70, 110, 0.32),
      transparent 33%
    ),
    linear-gradient(135deg, #050506, #0d1218);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.intro-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}
.dark-section {
  background: #0c0c0e;
  border-block: 1px solid var(--line);
}
.service-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-grid article,
.values-grid article {
  background: #111113;
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 290px;
}
.specs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.specs-layout p {
  color: var(--muted);
}
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
}
.spec-list span {
  color: var(--red);
  font-size: 0.78rem;
}
.timeline {
  display: grid;
  gap: 0;
}
.timeline article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 55px;
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-no {
  font-family: Rajdhani, sans-serif;
  font-size: 5rem;
  color: var(--red);
  line-height: 1;
}
.timeline h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}
.timeline p {
  color: var(--muted);
  max-width: 760px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-cloud span {
  border: 1px solid var(--line);
  padding: 14px 18px;
  color: #d0d0d3;
}
/* Projekte */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  min-height: 390px;
  padding: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(255, 255, 255, 0.06),
      transparent 34%
    ),
    #101012;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.project-card.project-red {
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 140, 40, 0.25), transparent 38%),
    #101012;
}
.project-card.project-blue {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(34, 86, 129, 0.35),
      transparent 38%
    ),
    #101216;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
}
.project-card > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.project-card h2 {
  font-size: 2.7rem;
  margin: 65px 0 15px;
}
.project-card p {
  color: var(--muted);
}
.project-card a {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}
/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.accordion-item {
  border-top: 1px solid var(--line);
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--line);
}
.accordion-item button {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 24px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  cursor: pointer;
}
.accordion-item button span {
  color: var(--red);
  font-size: 1.5rem;
  transition: 0.25s;
}
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s;
}
.accordion-content p {
  overflow: hidden;
  color: var(--muted);
  margin: 0;
}
.accordion-item.open .accordion-content {
  grid-template-rows: 1fr;
}
.accordion-item.open .accordion-content p {
  padding-bottom: 24px;
}
.accordion-item.open button span {
  transform: rotate(45deg);
}
/* Kontakt und Formulare */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.contact-info h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
}
.contact-info > p {
  color: var(--muted);
}
.contact-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-list div {
  display: grid;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #777;
}
.contact-form {
  background: #0f0f11;
  border: 1px solid var(--line);
  padding: 38px;
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #303034;
  background: #09090a;
  color: #fff;
  padding: 14px 15px;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}
.check-label {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 400 !important;
  color: var(--muted);
}
.check-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.check-label a {
  text-decoration: underline;
  color: #fff;
}
.notice {
  padding: 16px 18px;
  border: 1px solid;
}
.notice.success {
  border-color: #3f8d64;
  background: rgba(63, 141, 100, 0.09);
}
.notice.error {
  border-color: var(--red);
  background: rgba(242, 140, 40, 0.08);
}
.notice ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.form-note {
  font-size: 0.75rem;
  color: #777;
  margin: 0;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
}
.legal h2 {
  font-size: 2rem;
  margin-top: 45px;
}
.legal p {
  color: var(--muted);
}

/* Rechtliche Seiten: Impressum, Datenschutz und AGB */
.legal-section {
  background: #f2f3f4;
  color: #111113;
}

.legal-section .legal {
  max-width: 1080px;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.legal-info-card {
  position: relative;
  min-width: 0;
  min-height: 265px;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dcdde0;
  box-shadow: 0 22px 50px rgba(10, 10, 12, 0.06);
}

.legal-card-number {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.legal-info-card h2,
.legal-section .legal-content h2 {
  margin: 26px 0 16px;
  color: #111113;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-info-card p,
.legal-info-card address,
.legal-section .legal-content p {
  margin: 0;
  color: #56565c;
  font-style: normal;
}

.legal-contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-contact-list li {
  display: grid;
  gap: 2px;
}

.legal-contact-list span {
  color: #75757b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-contact-list a,
.legal-section .legal-content a {
  color: #111113;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(242, 140, 40, 0.55);
  text-underline-offset: 4px;
}

.legal-contact-list a:hover,
.legal-section .legal-content a:hover {
  color: var(--red);
}

.legal-register-number {
  color: #111113 !important;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
}

.legal-section .legal-content {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid #cfd0d3;
}

.legal-section .legal-content > h2 {
  max-width: 700px;
  margin-top: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.legal-numbered-list {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-item;
}

.legal-numbered-list > li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  padding: 34px 0;
  border-top: 1px solid #d5d6d8;
  counter-increment: legal-item;
}

.legal-numbered-list > li::before {
  content: counter(legal-item, decimal-leading-zero);
  color: var(--red);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.legal-numbered-list h3 {
  margin: 0 0 12px;
  color: #111113;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-page {
  padding: clamp(145px, 15vw, 190px) 0 clamp(80px, 10vw, 130px);
  background:
    radial-gradient(circle at 92% 5%, rgba(242, 140, 40, 0.08), transparent 24%),
    #f2f3f4;
  color: #111113;
}

.legal-container {
  width: min(calc(100% - 40px), 980px);
}

.legal-page .legal-content {
  padding: clamp(30px, 6vw, 76px);
  background: #ffffff;
  border: 1px solid #dedfe1;
  box-shadow: 0 25px 70px rgba(10, 10, 12, 0.08);
}

.legal-page .legal-content h1 {
  margin: 0 0 18px;
  color: #111113;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
}

.legal-page .legal-content h2 {
  margin: clamp(50px, 7vw, 78px) 0 20px;
  padding-top: clamp(26px, 4vw, 40px);
  color: #111113;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  border-top: 1px solid #dedfe1;
  scroll-margin-top: 110px;
}

.legal-page .legal-content h3 {
  margin: 38px 0 14px;
  color: #222226;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  scroll-margin-top: 110px;
}

.legal-page .legal-content p,
.legal-page .legal-content li {
  color: #535359;
  overflow-wrap: anywhere;
}

.legal-page .legal-content p {
  margin: 0 0 18px;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  display: grid;
  gap: 9px;
  margin: 18px 0 28px;
  padding-left: 24px;
}

.legal-page .legal-content a {
  color: #111113;
  text-decoration: underline;
  text-decoration-color: rgba(242, 140, 40, 0.55);
  text-underline-offset: 4px;
}

.legal-page .legal-content a:hover {
  color: var(--red);
}

.legal-page .legal-content hr {
  height: 1px;
  margin: 42px 0;
  background: #d8d9dc;
  border: 0;
}

@media (max-width: 720px) {
  .legal-info-grid {
    grid-template-columns: 1fr;
  }

  .legal-info-card {
    min-height: 0;
  }

  .legal-numbered-list > li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-container {
    width: min(calc(100% - 28px), 980px);
  }
}

.error-page {
  min-height: 80svh;
  padding: 180px 0 100px;
  display: grid;
  place-items: center;
  text-align: center;
}
.error-code {
  font-family: Rajdhani, sans-serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--red);
}
.error-page h1 {
  font-family: Rajdhani, sans-serif;
  font-size: 4rem;
}
/* Footer */
.site-footer {
  background: #040405;
  border-top: 1px solid var(--line);
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
}
.footer-brand img {
  width: 290px;
  height: auto;
  object-fit: contain;
}
.footer-brand p {
  max-width: 440px;
  color: var(--muted);
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-grid h2 {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 8px;
}
.footer-grid a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-contact {
  margin-top: 20px;
}
.footer-contact a {
  color: #d1d1d5;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f6f74;
  font-size: 0.76rem;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js [data-reveal].visible {
  opacity: 1;
  transform: none;
}
/* Barrierefreiheit und globale responsive Regeln */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero-video {
    display: none;
  }
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 17px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-mark {
    position: absolute;
    right: -18%;
    width: 58%;
    opacity: 0.24;
  }
  .hero-copy {
    position: relative;
    z-index: 3;
  }
  .process-grid,
  .service-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1120px) {
  .nav-wrap {
    height: 78px;
  }
  .brand {
    width: 175px;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 6, 0.98);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 28px;
    gap: 24px;
    font-size: 1.25rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: 0.3s;
  }
  .main-nav.open {
    transform: none;
    visibility: visible;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .section-heading,
  .intro-grid,
  .specs-layout,
  .featured-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .world-grid {
    grid-template-columns: 1fr;
  }
  .world-card {
    min-height: 540px;
  }
  .category-layout {
    grid-template-columns: 1fr;
  }
  .category-layout img {
    max-height: 390px;
  }
  .timeline article {
    grid-template-columns: 100px 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 35px;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 82px 0;
  }
  .hero-layout {
    padding-top: 110px;
  }
  .hero-copy h1 {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }
  .hero-mark {
    width: 95%;
    right: -45%;
    top: 30%;
  }
  .hero-facts {
    gap: 18px;
  }
  .scroll-cue {
    display: none;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .world-card {
    min-height: 480px;
  }
  .world-content {
    padding: 28px;
  }
  .world-visual {
    inset: 20px 5px 140px;
  }
  .process-grid,
  .service-grid,
  .values-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .process-grid article {
    min-height: 220px;
  }
  .process-grid h3,
  .service-grid h3,
  .values-grid h3 {
    margin-top: 30px;
  }
  .cta-box {
    padding: 38px 28px;
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 145px 0 75px;
  }
  .page-hero h1 {
    font-size: clamp(3.5rem, 16vw, 5.2rem);
  }
  .timeline article {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }
  .timeline-no {
    font-size: 3.6rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-brand img {
    width: 240px;
    height: 84px;
  }
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 64px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.lang-switch img {
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.lang-switch span {
  line-height: 1;
}
.lang-switch:hover {
  border-color: #fff;
  background: #fff;
  color: #080808 !important;
}
.lang-switch:after {
  display: none !important;
}
@media (max-width: 1120px) {
  .lang-switch {
    margin-top: 4px;
  }
}

/* ==================================================
   MOBILITY DETAIL SECTION
   ================================================== */

.mobility-details {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mobility-detail-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 580px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.mobility-detail-content,
.mobility-detail-image {
  min-width: 0;
}

.mobility-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 130px);
}

.mobility-detail-content.light {
  color: #111111;
  background: #f2f3f4;
}

.mobility-detail-content.dark {
  color: #ffffff;
  background: #080808;
}

.mobility-detail-content .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--red2);
}

.mobility-detail-content h2 {
  max-width: 600px;
  margin: 0 0 28px;
  color: inherit;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}

.mobility-detail-content p {
  max-width: 560px;
  margin: 0 0 18px;
  color: inherit;
  font-size: 16px;
  line-height: 1.7;
}

.mobility-detail-image {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #111111;
}

.mobility-detail-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.mobility-detail-row:hover .mobility-detail-image img {
  transform: scale(1.03);
}

@media (max-width: 850px) {
  .mobility-detail-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mobility-detail-content {
    padding: 60px 24px;
  }

  .mobility-detail-image {
    min-height: 400px;
  }

  .mobility-detail-row-reverse .mobility-detail-content {
    order: 1;
  }

  .mobility-detail-row-reverse .mobility-detail-image {
    order: 2;
  }
}

@media (max-width: 500px) {
  .mobility-detail-content {
    padding: 48px 20px;
  }

  .mobility-detail-content h2 {
    font-size: 34px;
  }

  .mobility-detail-image {
    min-height: 300px;
  }
}

/* ==================================================
   EXTERNE FORMULAR- UND CHAT-INTEGRATIONEN
   ================================================== */

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-note a {
  color: #cfcfd3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note a:hover {
  color: #ffffff;
}

/* Verhindert eine Überlagerung mit dem tawk.to-Button. */
.grecaptcha-badge {
  bottom: 90px !important;
  z-index: 90;
}
/* ==========================================================================
   DUESENSPEED - STYLE OVERRIDES
   ========================================================================== */

/* Einheitliche Akzentfarbe passend zum aktuellen orangefarbenen Logo */
:root {
    --yellow: #f28c28;
    --accent-glow: rgba(242, 140, 40, 0.3);
}

/* Anpassung der Icon-Boxen für den Speed-Look */
.service-icon-box {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: var(--yellow);
}

.service-card-modern:hover .service-icon-box {
    background: var(--yellow);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Die Karten für Duesenspeed etwas schärfer/kantiger */
.service-card-modern {
    border-radius: 8px; /* Weniger rund, technischer */
}

.caravan-concept {
    border-left: 3px solid var(--yellow);
    padding-left: 20px;
}
.project-card > img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;margin-bottom:1rem}

/* ==================================================
   NAVIGATION UND KUNDENPORTAL
   ================================================== */

.main-nav .nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav .nav-parent-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav .nav-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 28px;
  padding: 0;
  color: var(--red2);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.main-nav .nav-arrow {
  transition: transform 0.25s ease;
}

.main-nav .nav-group.submenu-open .nav-arrow {
  transform: rotate(180deg);
}

.main-nav .nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  z-index: 120;
  display: grid;
  min-width: 230px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(8, 8, 9, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.main-nav .nav-group.submenu-open .nav-submenu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.main-nav .nav-submenu a {
  padding: 11px 13px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.main-nav .nav-submenu a::after {
  display: none;
}

.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a.active {
  color: #fff;
  background: rgba(242, 140, 40, 0.15);
}

.nav-portal {
  padding: 11px 15px;
  color: #090909 !important;
  background: var(--red);
  border: 1px solid var(--red);
  white-space: nowrap;
}

.nav-portal:hover,
.nav-portal.active {
  color: #080808 !important;
  background: var(--red2);
  border-color: var(--red2);
}

.nav-portal::after {
  display: none !important;
}

.portal-page main {
  min-height: 72vh;
}

.portal-auth-section,
.portal-shell {
  position: relative;
  padding: 150px 0 100px;
  background:
    radial-gradient(circle at 80% 16%, rgba(242, 140, 40, 0.16), transparent 28%),
    linear-gradient(145deg, #050506, #0d0d0f 58%, #080809);
}

.portal-shell {
  min-height: 100vh;
}

.portal-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.portal-auth-single {
  display: grid;
  place-items: center;
  min-height: 62vh;
}

.portal-auth-single .portal-login-card {
  width: min(100%, 580px);
}

.portal-auth-single h1 {
  margin: 8px 0 26px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.portal-auth-copy h1,
.portal-topbar h1,
.portal-form-intro h1,
.portal-case-header h1 {
  max-width: 850px;
  margin: 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(3.3rem, 6vw, 6.6rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.portal-auth-copy .lead {
  margin: 28px 0 36px;
}

.portal-feature-list {
  display: grid;
  gap: 2px;
  max-width: 690px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-feature-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.portal-feature-list strong {
  color: var(--red2);
}

.portal-feature-list span,
.portal-muted {
  color: var(--muted);
}

.portal-login-card,
.portal-panel {
  background: rgba(17, 17, 19, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portal-login-card {
  padding: clamp(28px, 4vw, 52px);
  border-top: 4px solid var(--red);
}

.portal-login-card h2,
.portal-panel h2 {
  margin: 7px 0 28px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.portal-card-kicker {
  color: var(--red2);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.portal-form {
  display: grid;
  gap: 10px;
}

.portal-form label {
  margin-top: 10px;
  color: #d7d7da;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #fff;
  background: #09090a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  border-color: var(--red);
}

.portal-form .btn {
  width: 100%;
  margin-top: 17px;
}

.portal-help {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.portal-help a,
.portal-back-link,
.portal-panel-heading a,
.portal-support-contact a {
  color: var(--red2);
}

.portal-alert {
  padding: 15px 18px;
  color: #e8e8ea;
  background: #171719;
  border-left: 4px solid var(--red);
}

.portal-alert-error {
  border-color: #ff5b63;
}

.portal-alert-success {
  border-color: #42c77a;
}

.portal-topbar,
.portal-case-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 42px;
}

.portal-topbar h1 {
  font-size: clamp(3rem, 5.5vw, 5.8rem);
}

.portal-topbar p,
.portal-case-header p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.portal-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.portal-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: #0d0d0f;
}

.portal-stats span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portal-stats strong {
  color: var(--red2);
  font-family: Rajdhani, sans-serif;
  font-size: 2rem;
}

.portal-dashboard-grid,
.portal-case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.portal-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
}

.portal-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.portal-panel-heading h2 {
  margin-bottom: 0;
}

.portal-panel-heading a {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-empty {
  padding: 42px 24px;
  text-align: center;
  background: #0b0b0d;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.portal-empty strong {
  font-size: 1.3rem;
}

.portal-empty p {
  color: var(--muted);
}

.portal-case-list {
  display: grid;
}

.portal-case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr) 24px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: 0.25s ease;
}

.portal-case-row:hover {
  padding-inline: 12px;
  background: rgba(242, 140, 40, 0.06);
}

.portal-case-main,
.portal-case-status {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.portal-case-number {
  color: var(--red2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.portal-case-main strong,
.portal-case-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-case-main small,
.portal-case-status small {
  color: var(--muted);
}

.portal-case-status > span {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-mini-progress {
  height: 4px;
  overflow: hidden;
  background: #303034;
}

.portal-mini-progress i {
  display: block;
  height: 100%;
  background: var(--red);
}

.portal-vehicle-list {
  display: grid;
}

.portal-vehicle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.portal-vehicle-list article > span {
  color: var(--red2);
  font-family: Rajdhani, sans-serif;
  font-size: 1.6rem;
}

.portal-vehicle-list div {
  display: grid;
  gap: 4px;
}

.portal-vehicle-list small {
  color: var(--muted);
}

.portal-support-contact {
  display: grid;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.portal-support-contact span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.portal-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.portal-form-intro {
  position: sticky;
  top: 130px;
}

.portal-form-intro .lead {
  margin: 26px 0;
}

.portal-back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-service-form {
  gap: 12px;
}

.portal-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portal-field-note {
  color: var(--muted);
}

.portal-check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 18px !important;
  font-size: 0.72rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.portal-check input {
  width: auto;
  margin-top: 5px;
}

.portal-case-header h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.portal-current-status {
  display: grid;
  min-width: 250px;
  padding: 20px 24px;
  background: var(--red);
  color: #090909;
}

.portal-current-status span,
.portal-current-status small {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-current-status strong {
  font-family: Rajdhani, sans-serif;
  font-size: 1.8rem;
}

.portal-status-panel {
  position: relative;
  margin-bottom: 24px;
  padding: 34px 38px 28px;
  overflow: hidden;
}

.portal-status-line {
  position: absolute;
  top: 54px;
  right: 8%;
  left: 8%;
  height: 4px;
  background: #343438;
}

.portal-status-line i {
  display: block;
  height: 100%;
  background: var(--red);
  transition: width 0.4s ease;
}

.portal-status-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-status-steps li {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.portal-status-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #8f8f95;
  background: #242428;
  border: 3px solid #3b3b40;
  border-radius: 50%;
  font-weight: 800;
}

.portal-status-steps li.done > span,
.portal-status-steps li.active > span {
  color: #090909;
  background: var(--red);
  border-color: var(--red2);
}

.portal-status-steps li.active > span {
  box-shadow: 0 0 0 7px rgba(242, 140, 40, 0.14);
}

.portal-status-steps strong {
  max-width: 110px;
  color: #78787e;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-status-steps .done strong,
.portal-status-steps .active strong {
  color: #fff;
}

.portal-description {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.portal-description p {
  color: #c2c2c7;
}

.portal-files {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.portal-files a {
  padding: 11px 13px;
  background: #09090a;
  border: 1px solid var(--line);
}

.portal-history {
  display: grid;
}

.portal-history article {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding-bottom: 25px;
}

.portal-history article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -2px;
  left: 5px;
  width: 1px;
  background: #38383d;
}

.portal-history i {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  background: var(--red);
  border-radius: 50%;
}

.portal-history div {
  display: grid;
}

.portal-history small {
  color: var(--muted);
}

.portal-history p {
  margin: 8px 0 0;
  color: #c3c3c7;
}

.portal-message-panel {
  margin-top: 24px;
}

.portal-messages {
  display: grid;
  gap: 12px;
}

.portal-messages article {
  max-width: 78%;
  padding: 15px 18px;
  background: #09090a;
  border-left: 3px solid #5d5d63;
}

.portal-messages .from-customer {
  justify-self: end;
  border-color: var(--red);
}

.portal-messages span {
  color: var(--muted);
  font-size: 0.7rem;
}

.portal-messages p {
  margin: 5px 0 0;
}

.portal-reply-form {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .nav-wrap {
    height: 78px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 202;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 201;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 13px;
    height: 100dvh;
    padding: 105px 28px max(44px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 1.05rem;
    background: rgba(5, 5, 6, 0.99);
    transform: translateX(100%);
    visibility: hidden;
  }

  .main-nav.open {
    transform: none;
    visibility: visible;
  }

  .main-nav > a,
  .main-nav .nav-group {
    width: 100%;
  }

  .main-nav > a {
    padding: 10px 0;
  }

  .main-nav .nav-group {
    display: grid;
  }

  .main-nav .nav-parent-row {
    justify-content: space-between;
    width: 100%;
  }

  .main-nav .nav-parent {
    flex: 1;
    padding: 10px 0;
  }

  .main-nav .nav-submenu-toggle {
    width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .main-nav .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 8px 0 4px;
    padding: 0 0 0 16px;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(242, 140, 40, 0.55);
    box-shadow: none;
  }

  .main-nav .nav-group.submenu-open .nav-submenu {
    display: grid;
  }

  .main-nav .nav-submenu a {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .nav-cta,
  .nav-portal,
  .lang-switch {
    width: fit-content !important;
  }

  .portal-auth-grid,
  .portal-dashboard-grid,
  .portal-case-detail-grid,
  .portal-form-layout {
    grid-template-columns: 1fr;
  }

  .portal-form-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .portal-auth-section,
  .portal-shell {
    padding: 118px 0 72px;
  }

  .portal-auth-copy h1,
  .portal-topbar h1,
  .portal-form-intro h1,
  .portal-case-header h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .portal-feature-list li,
  .portal-case-row,
  .portal-form-row {
    grid-template-columns: 1fr;
  }

  .portal-feature-list li {
    gap: 4px;
  }

  .portal-topbar,
  .portal-case-header,
  .portal-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-top-actions,
  .portal-top-actions .btn,
  .portal-current-status {
    width: 100%;
  }

  .portal-stats {
    grid-template-columns: 1fr;
  }

  .portal-case-row {
    gap: 12px;
  }

  .portal-case-row > b {
    display: none;
  }

  .portal-case-main strong,
  .portal-case-main small {
    white-space: normal;
  }

  .portal-status-panel {
    padding: 28px 24px;
  }

  .portal-status-line {
    display: none;
  }

  .portal-status-steps {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .portal-status-steps li {
    grid-template-columns: 42px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .portal-status-steps strong {
    max-width: none;
  }

  .portal-messages article {
    max-width: 94%;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 150px;
  }

  .main-nav {
    padding-inline: 20px;
  }

  .portal-panel,
  .portal-login-card {
    padding: 22px 18px;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 1120px) {
    .main-nav {
      height: 100vh;
    }
  }
}
