/* =============================================================
   RANO BLITZ TRANSPORT — Stylesheet
   Author: Static prototype (pre-WordPress conversion)
   Class prefix: rb-
   ============================================================= */

/* ---------- 1. CSS Variables ---------- */
:root {
  /* Brand colors */
  --rb-black: #0D0D0D;
  --rb-navy: #1A1F2E;
  --rb-navy-2: #141826;
  /* slightly darker navy for sections */
  --rb-yellow: #F5C400;
  --rb-yellow-hover: #D4A900;
  --rb-white: #FFFFFF;
  --rb-gray-light: #B0B0B0;
  --rb-gray-bg: #F4F4F4;
  --rb-gray-line: rgba(255, 255, 255, 0.08);
  --rb-gray-line-2: rgba(255, 255, 255, 0.14);
  --rb-text-dark: #1A1A1A;

  /* Typography */
  --rb-font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --rb-font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --rb-space-1: 0.5rem;
  --rb-space-2: 1rem;
  --rb-space-3: 1.5rem;
  --rb-space-4: 2rem;
  --rb-space-5: 3rem;
  --rb-space-6: 4rem;
  --rb-space-7: 6rem;
  --rb-space-8: 8rem;

  /* Radii */
  --rb-radius-sm: 6px;
  --rb-radius-md: 12px;
  --rb-radius-lg: 20px;
  --rb-radius-xl: 28px;

  /* Shadows */
  --rb-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --rb-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --rb-shadow-yellow: 0 10px 30px rgba(245, 196, 0, 0.25);

  /* Layout */
  --rb-container: 1240px;
  --rb-header-h: 76px;

  /* Easing */
  --rb-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--rb-header-h) + 16px);
}

body {
  font-family: var(--rb-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rb-white);
  background: var(--rb-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--rb-ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--rb-font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rb-white);
  overflow-wrap: break-word;
}

p {
  color: var(--rb-gray-light);
}

::selection {
  background: var(--rb-yellow);
  color: var(--rb-black);
}

/* ---------- 3. Layout helpers ---------- */
.rb-container {
  width: 100%;
  max-width: var(--rb-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rb-section {
  padding: var(--rb-space-7) 0;
  position: relative;
}

.rb-section--light {
  background: var(--rb-gray-bg);
  color: var(--rb-text-dark);
}

.rb-section--light h1,
.rb-section--light h2,
.rb-section--light h3,
.rb-section--light h4 {
  color: var(--rb-text-dark);
}

.rb-section--light p {
  color: #555;
}

.rb-section--navy {
  background: var(--rb-navy-2);
}

.rb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rb-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-yellow);
  margin-bottom: var(--rb-space-2);
}

.rb-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--rb-yellow);
  display: inline-block;
}

.rb-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--rb-space-3);
  max-width: 760px;
}

.rb-section-sub {
  font-size: 1.075rem;
  max-width: 640px;
  margin-bottom: var(--rb-space-5);
  color: var(--rb-gray-light);
}

.rb-section--light .rb-section-sub {
  color: #555;
}

.rb-section-head {
  margin-bottom: var(--rb-space-6);
}

/* ---------- 4. Buttons ---------- */
.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--rb-radius-md);
  transition: transform 0.2s var(--rb-ease),
    background 0.2s var(--rb-ease),
    color 0.2s var(--rb-ease),
    box-shadow 0.25s var(--rb-ease);
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}

.rb-btn--primary {
  background: var(--rb-yellow);
  color: var(--rb-black);
  box-shadow: var(--rb-shadow-yellow);
}

.rb-btn--primary:hover {
  background: var(--rb-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(245, 196, 0, 0.35);
}

.rb-btn--outline {
  background: transparent;
  color: var(--rb-white);
  border: 1.5px solid var(--rb-gray-line-2);
}

.rb-btn--outline:hover {
  border-color: var(--rb-yellow);
  color: var(--rb-yellow);
  transform: translateY(-2px);
}

.rb-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--rb-white);
  border: 1px solid var(--rb-gray-line);
}

.rb-btn--ghost:hover {
  background: var(--rb-yellow);
  color: var(--rb-black);
  border-color: var(--rb-yellow);
}

.rb-btn--block {
  width: 100%;
}

.rb-btn .rb-arrow {
  transition: transform 0.2s var(--rb-ease);
}

.rb-btn:hover .rb-arrow {
  transform: translateX(4px);
}

/* ---------- 5. Header ---------- */
.rb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--rb-header-h);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rb-gray-line);
  transition: background 0.3s var(--rb-ease);
}

.rb-header.is-scrolled {
  background: rgba(13, 13, 13, 0.96);
}

.rb-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rb-space-3);
}

.rb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rb-logo__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--rb-yellow);
  border-radius: 10px;
  position: relative;
  color: var(--rb-black);
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 1.3rem;
}

.rb-logo__mark svg {
  width: 22px;
  height: 22px;
}

.rb-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.rb-logo__name {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--rb-white);
}

.rb-logo__sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rb-yellow);
}

.rb-nav {
  display: flex;
  align-items: center;
  gap: var(--rb-space-4);
}

.rb-nav__list {
  display: flex;
  align-items: center;
  gap: var(--rb-space-3);
}

.rb-nav__list a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--rb-white);
  position: relative;
  padding: 6px 0;
}

.rb-nav__list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rb-yellow);
  transition: width 0.25s var(--rb-ease);
}

.rb-nav__list a:hover {
  color: var(--rb-yellow);
}

.rb-nav__list a:hover::after {
  width: 100%;
}

.rb-header__actions {
  display: flex;
  align-items: center;
  gap: var(--rb-space-2);
}

.rb-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rb-white);
}

.rb-phone__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(245, 196, 0, 0.12);
  border-radius: 8px;
  color: var(--rb-yellow);
}

.rb-phone:hover {
  color: var(--rb-yellow);
}

.rb-header__cta {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.rb-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rb-gray-line);
  position: relative;
}

.rb-hamburger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--rb-white);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--rb-ease), opacity 0.2s var(--rb-ease);
}

.rb-hamburger span:nth-child(1) {
  transform: translate(-50%, -7px);
}

.rb-hamburger span:nth-child(3) {
  transform: translate(-50%, 5px);
}

.rb-hamburger.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.rb-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.rb-hamburger.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile menu drawer */
.rb-mobile-menu {
  position: fixed;
  top: var(--rb-header-h);
  left: 0;
  right: 0;
  background: var(--rb-navy);
  border-bottom: 1px solid var(--rb-gray-line);
  padding: var(--rb-space-3) 24px var(--rb-space-4);
  transform: translateY(-110%);
  transition: transform 0.35s var(--rb-ease);
  z-index: 99;
  max-height: calc(100vh - var(--rb-header-h));
  overflow-y: auto;
}

.rb-mobile-menu.is-open {
  transform: translateY(0);
}

.rb-mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--rb-space-3);
}

.rb-mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--rb-gray-line);
}

.rb-mobile-menu__list a::after {
  content: "→";
  color: var(--rb-yellow);
  font-weight: 400;
  transition: transform 0.2s var(--rb-ease);
}

.rb-mobile-menu__list a:hover::after {
  transform: translateX(4px);
}

.rb-mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(245, 196, 0, 0.08);
  border-radius: var(--rb-radius-md);
  font-weight: 600;
  margin-bottom: var(--rb-space-2);
  border: 1px solid rgba(245, 196, 0, 0.2);
}

/* ---------- 6. Hero ---------- */
.rb-hero {
  position: relative;
  padding-top: calc(var(--rb-header-h) + var(--rb-space-6));
  padding-bottom: var(--rb-space-7);
  background: var(--rb-black);
  overflow: hidden;
  isolation: isolate;
}

.rb-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  z-index: -1;
}

.rb-hero__glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.18) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.rb-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--rb-space-6);
  align-items: center;
}

.rb-hero__content {
  max-width: 640px;
  min-width: 0;
  width: 100%;
}

.rb-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(245, 196, 0, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rb-yellow);
  margin-bottom: var(--rb-space-3);
}

.rb-hero__tag .rb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rb-yellow);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.2);
  animation: rb-pulse 2s infinite;
}

@keyframes rb-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.rb-hero h1 {
  font-size: clamp(1.9rem, 7.5vw, 4.3rem);
  line-height: 1.1;
  margin-bottom: var(--rb-space-3);
  hyphens: auto;
  word-break: normal;
}

.rb-hero h1 .rb-accent {
  color: var(--rb-yellow);
  position: relative;
  display: inline-block;
}

.rb-hero h1 .rb-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: rgba(245, 196, 0, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.rb-hero__sub {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: var(--rb-space-4);
  color: var(--rb-gray-light);
}

.rb-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--rb-space-4);
}

.rb-benefit-strip {
  display: flex;
  gap: var(--rb-space-3);
  flex-wrap: wrap;
  padding-top: var(--rb-space-3);
  border-top: 1px solid var(--rb-gray-line);
}

.rb-benefit-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rb-white);
}

.rb-benefit-strip__item svg {
  width: 18px;
  height: 18px;
  color: var(--rb-yellow);
  flex-shrink: 0;
}

/* Hero visual */
.rb-hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--rb-radius-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(13, 13, 13, 1) 100%);
  border: 1px solid var(--rb-gray-line-2);
  box-shadow: var(--rb-shadow-md);
}

.rb-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 24px);
}

.rb-hero__visual .rb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--rb-space-3);
}

.rb-hero__visual .rb-placeholder__label {
  align-self: flex-start;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--rb-gray-line-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rb-yellow);
}

.rb-hero__visual .rb-placeholder__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  padding: var(--rb-space-3);
}

.rb-hero__visual .rb-placeholder__center svg {
  width: 68px;
  height: 68px;
  color: var(--rb-yellow);
  margin-bottom: 12px;
}

.rb-hero__visual .rb-placeholder__center span {
  display: block;
  font-size: 0.9rem;
  max-width: 240px;
  margin: 0 auto;
}

.rb-hero__badge {
  position: absolute;
  left: -20px;
  bottom: 32px;
  background: var(--rb-yellow);
  color: var(--rb-black);
  padding: 14px 18px;
  border-radius: var(--rb-radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--rb-shadow-md);
  z-index: 2;
}

.rb-hero__badge strong {
  font-family: var(--rb-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.rb-hero__badge span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- 7. Benefits Section ---------- */
.rb-benefits {
  background: var(--rb-black);
  border-top: 1px solid var(--rb-gray-line);
}

.rb-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rb-space-3);
}

.rb-benefit-card {
  padding: var(--rb-space-4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid var(--rb-gray-line);
  border-radius: var(--rb-radius-lg);
  position: relative;
  transition: transform 0.3s var(--rb-ease), border-color 0.3s var(--rb-ease);
  overflow: hidden;
}

.rb-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rb-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--rb-ease);
}

.rb-benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--rb-gray-line-2);
}

.rb-benefit-card:hover::before {
  transform: scaleX(1);
}

.rb-benefit-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(245, 196, 0, 0.1);
  border-radius: var(--rb-radius-md);
  color: var(--rb-yellow);
  margin-bottom: var(--rb-space-3);
}

.rb-benefit-card__icon svg {
  width: 28px;
  height: 28px;
}

.rb-benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.rb-benefit-card p {
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- 8. Services Section ---------- */
.rb-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rb-space-3);
}

.rb-service-card {
  display: flex;
  flex-direction: column;
  background: var(--rb-white);
  border-radius: var(--rb-radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--rb-ease), box-shadow 0.3s var(--rb-ease);
  border: 1px solid #E5E7EB;
}

.rb-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.rb-service-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--rb-navy) 0%, var(--rb-black) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rb-service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.rb-service-card__media-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
  padding: var(--rb-space-3);
}

.rb-service-card__media-content svg {
  width: 48px;
  height: 48px;
  color: var(--rb-yellow);
  margin: 0 auto 10px;
}

.rb-service-card__media-content span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
}

.rb-service-card__media-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--rb-yellow);
  color: var(--rb-black);
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rb-service-card__body {
  padding: var(--rb-space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rb-service-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--rb-text-dark);
}

.rb-service-card__body p {
  color: #555;
  margin-bottom: var(--rb-space-3);
  flex: 1;
  font-size: 0.97rem;
}

.rb-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rb-text-dark);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--rb-yellow);
  transition: gap 0.2s var(--rb-ease);
}

.rb-service-card__link:hover {
  gap: 14px;
  color: var(--rb-yellow-hover);
}

/* ---------- 9. About Section ---------- */
.rb-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--rb-space-6);
  align-items: center;
}

.rb-about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--rb-radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rb-navy) 0%, var(--rb-black) 100%);
  border: 1px solid var(--rb-gray-line-2);
}

.rb-about__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 28px);
}

.rb-about__visual .rb-placeholder__label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rb-yellow);
  border: 1px solid var(--rb-gray-line-2);
}

.rb-about__visual .rb-placeholder__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: var(--rb-space-3);
}

.rb-about__visual .rb-placeholder__center svg {
  width: 60px;
  height: 60px;
  color: var(--rb-yellow);
  margin-bottom: 12px;
}

.rb-about__stats {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: var(--rb-yellow);
  color: var(--rb-black);
  padding: var(--rb-space-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rb-space-2);
}

.rb-about__stat strong {
  display: block;
  font-family: var(--rb-font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.rb-about__stat span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rb-about__content h2 {
  margin-bottom: var(--rb-space-3);
}

.rb-about__content>p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--rb-space-4);
}

.rb-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rb-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rb-gray-line);
  border-radius: var(--rb-radius-md);
  font-size: 0.93rem;
  font-weight: 600;
}

.rb-trust-list li svg {
  width: 20px;
  height: 20px;
  color: var(--rb-yellow);
  flex-shrink: 0;
}

/* ---------- 10. Process / Ablauf ---------- */
.rb-process {
  background: var(--rb-navy-2);
  position: relative;
  overflow: hidden;
}

.rb-process::before {
  content: "ABLAUF";
  position: absolute;
  top: 30px;
  right: -40px;
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.018);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.rb-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rb-space-3);
  position: relative;
}

.rb-process__grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(245, 196, 0, 0.5) 0%,
      rgba(245, 196, 0, 0.5) calc(100% - 24px),
      transparent calc(100% - 24px),
      transparent 100%);
  background-size: 12px 2px;
  background-image: repeating-linear-gradient(90deg,
      rgba(245, 196, 0, 0.4) 0 8px,
      transparent 8px 16px);
  z-index: 0;
}

.rb-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.rb-step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--rb-space-3);
  display: grid;
  place-items: center;
  background: var(--rb-black);
  border: 2px solid var(--rb-yellow);
  border-radius: 50%;
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--rb-yellow);
  position: relative;
  transition: transform 0.3s var(--rb-ease), background 0.3s var(--rb-ease), color 0.3s var(--rb-ease);
}

.rb-step:hover .rb-step__num {
  background: var(--rb-yellow);
  color: var(--rb-black);
  transform: scale(1.05);
}

.rb-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.rb-step p {
  font-size: 0.92rem;
  padding: 0 12px;
  line-height: 1.6;
}

/* ---------- 11. CTA Band ---------- */
.rb-cta-band {
  position: relative;
  padding: var(--rb-space-7) 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(245, 196, 0, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--rb-black) 0%, var(--rb-navy) 100%);
  overflow: hidden;
}

.rb-cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background:
    conic-gradient(from 45deg, transparent 0%, rgba(245, 196, 0, 0.08) 25%, transparent 50%);
  opacity: 0.5;
  pointer-events: none;
}

.rb-cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--rb-space-5);
  align-items: center;
  position: relative;
}

.rb-cta-band__slogan {
  display: block;
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  margin-bottom: var(--rb-space-2);
  letter-spacing: -0.02em;
}

.rb-cta-band__slogan span {
  display: inline-block;
  margin-right: 0.4em;
}

.rb-cta-band__slogan span:nth-child(2) {
  color: var(--rb-yellow);
}

.rb-cta-band__text {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: var(--rb-space-4);
}

.rb-cta-band__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.rb-cta-band__phone {
  display: flex;
  flex-direction: column;
  padding: var(--rb-space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rb-gray-line-2);
  border-radius: var(--rb-radius-lg);
}

.rb-cta-band__phone-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rb-yellow);
  font-weight: 700;
  margin-bottom: 12px;
}

.rb-cta-band__phone a {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--rb-white);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rb-cta-band__phone a:hover {
  color: var(--rb-yellow);
}

.rb-cta-band__phone-hint {
  font-size: 0.88rem;
  color: var(--rb-gray-light);
}

/* ---------- 12. FAQ ---------- */
.rb-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--rb-space-6);
  align-items: flex-start;
}

.rb-faq__intro {
  position: sticky;
  top: calc(var(--rb-header-h) + 24px);
}

.rb-faq__intro h2 {
  margin-bottom: var(--rb-space-3);
}

.rb-faq__intro p {
  margin-bottom: var(--rb-space-3);
}

.rb-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rb-faq-item {
  background: var(--rb-white);
  border: 1px solid #E9EBF0;
  border-radius: var(--rb-radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--rb-ease), box-shadow 0.25s var(--rb-ease);
}

.rb-faq-item:hover {
  border-color: rgba(245, 196, 0, 0.45);
}

.rb-faq-item.is-open {
  border-color: var(--rb-yellow);
  box-shadow: 0 2px 12px rgba(245, 196, 0, 0.12);
}

.rb-faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rb-text-dark);
  text-align: left;
}

.rb-faq-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.15);
  color: var(--rb-yellow-hover);
  position: relative;
  transition: transform 0.3s var(--rb-ease), background 0.3s var(--rb-ease);
}

.rb-faq-item__icon::before,
.rb-faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--rb-ease);
}

.rb-faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.rb-faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.rb-faq-item.is-open .rb-faq-item__icon {
  background: var(--rb-yellow);
  color: var(--rb-black);
  transform: rotate(180deg);
}

.rb-faq-item.is-open .rb-faq-item__icon::after {
  transform: scaleY(0);
}

.rb-faq-item__chevron {
  flex-shrink: 0;
  color: var(--rb-yellow-hover);
  transition: transform 0.3s var(--rb-ease);
}

.rb-faq-item.is-open .rb-faq-item__chevron {
  transform: rotate(180deg);
}

.rb-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--rb-ease);
}

.rb-faq-item__a-inner {
  padding: 0 24px 22px;
  color: #555;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ---------- 13. Contact Section ---------- */
.rb-contact {
  background: var(--rb-black);
  position: relative;
  overflow: hidden;
}

.rb-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.rb-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--rb-space-5);
  align-items: start;
  position: relative;
}

.rb-contact__info h2 {
  margin-bottom: var(--rb-space-3);
}

.rb-contact__info>p {
  margin-bottom: var(--rb-space-4);
  font-size: 1.05rem;
  line-height: 1.7;
}

.rb-contact__phone-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(245, 196, 0, 0.06);
  border: 1px solid rgba(245, 196, 0, 0.25);
  border-radius: var(--rb-radius-md);
  margin-bottom: var(--rb-space-3);
  transition: border-color 0.2s var(--rb-ease);
}

.rb-contact__phone-card:hover {
  border-color: var(--rb-yellow);
}

.rb-contact__phone-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--rb-yellow);
  color: var(--rb-black);
  border-radius: 12px;
  flex-shrink: 0;
}

.rb-contact__phone-card-info span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rb-gray-light);
  margin-bottom: 4px;
}

.rb-contact__phone-card-info strong {
  font-family: var(--rb-font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--rb-white);
}

.rb-contact__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rb-gray-line);
  border-radius: var(--rb-radius-md);
  font-size: 0.92rem;
}

.rb-contact__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.rb-contact__hours-row span:first-child {
  color: var(--rb-gray-light);
}

.rb-contact__hours-row strong {
  font-weight: 600;
}

/* Contact form */
.rb-contact__form {
  background: var(--rb-navy);
  border: 1px solid var(--rb-gray-line-2);
  border-radius: var(--rb-radius-lg);
  padding: var(--rb-space-4);
}

.rb-form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--rb-space-3);
}

.rb-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rb-space-2);
  margin-bottom: 0;
}

.rb-form__row .rb-form__group {
  margin-bottom: var(--rb-space-3);
}

.rb-form__label {
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--rb-white);
  display: block;
}

.rb-form__label .rb-required {
  color: var(--rb-yellow);
}

.rb-form__input,
.rb-form__select,
.rb-form__textarea {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rb-gray-line-2);
  border-radius: var(--rb-radius-md);
  color: var(--rb-white);
  font-size: 0.97rem;
  transition: border-color 0.2s var(--rb-ease), background 0.2s var(--rb-ease);
  width: 100%;
}

.rb-form__input::placeholder,
.rb-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.rb-form__input:focus,
.rb-form__select:focus,
.rb-form__textarea:focus {
  outline: none;
  border-color: var(--rb-yellow);
  background: rgba(255, 255, 255, 0.06);
}

.rb-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23F5C400' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  padding-right: 44px;
  cursor: pointer;
}

.rb-form__select option {
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-form__textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}

.rb-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--rb-gray-light);
  margin-bottom: var(--rb-space-3);
  line-height: 1.5;
}

.rb-form__privacy svg {
  width: 18px;
  height: 18px;
  color: var(--rb-yellow);
  flex-shrink: 0;
  margin-top: 1px;
}

.rb-form__success {
  display: none;
  padding: 16px;
  background: rgba(245, 196, 0, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: var(--rb-radius-md);
  color: var(--rb-yellow);
  font-weight: 600;
  margin-top: var(--rb-space-2);
  font-size: 0.95rem;
}

.rb-form__success.is-visible {
  display: block;
}

/* ---------- 13a. Contact page extras ---------- */

/* Heading inside the dark form card */
.rb-contact__form-title {
  font-family: var(--rb-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rb-white);
  margin-bottom: var(--rb-space-3);
  padding-bottom: var(--rb-space-2);
  border-bottom: 1px solid var(--rb-gray-line);
}

/* Service area section layout */
.rb-area-note {
  text-align: center;
}

.rb-area-note h2 {
  margin-bottom: var(--rb-space-2);
}

.rb-area-note__desc {
  max-width: 600px;
  margin: 0 auto var(--rb-space-4);
  color: var(--rb-gray-light);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* City chips — 2 column grid */
.rb-area-note__chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 560px;
  margin: var(--rb-space-3) auto 0;
  padding: 0;
  list-style: none;
}

.rb-area-note__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 196, 0, 0.2);
  border-radius: var(--rb-radius-md);
  font-family: var(--rb-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rb-white);
  transition: border-color 0.2s var(--rb-ease), background 0.2s var(--rb-ease);
}

.rb-area-note__chip:hover {
  border-color: var(--rb-yellow);
  background: rgba(245, 196, 0, 0.06);
}

.rb-area-note__chip svg {
  color: var(--rb-yellow);
  flex-shrink: 0;
}

/* ---------- 14. Footer ---------- */
.rb-footer {
  background: #050505;
  padding-top: var(--rb-space-6);
  padding-bottom: var(--rb-space-3);
  border-top: 1px solid var(--rb-gray-line);
  margin-bottom: 0;
}

.rb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--rb-space-4);
  margin-bottom: var(--rb-space-5);
}

.rb-footer__brand .rb-logo {
  margin-bottom: var(--rb-space-3);
}

.rb-footer__slogan {
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rb-white);
  margin-bottom: var(--rb-space-2);
}

.rb-footer__brand p {
  font-size: 0.93rem;
  max-width: 360px;
}

.rb-footer__col h4 {
  font-family: var(--rb-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-yellow);
  margin-bottom: var(--rb-space-2);
}

.rb-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rb-footer__col a,
.rb-footer__col li {
  font-size: 0.95rem;
  color: var(--rb-gray-light);
}

.rb-footer__col a:hover {
  color: var(--rb-yellow);
}

.rb-footer__col .rb-footer__phone {
  font-family: var(--rb-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rb-white);
}

.rb-footer__col .rb-footer__phone:hover {
  color: var(--rb-yellow);
}

.rb-footer__bottom {
  padding-top: var(--rb-space-3);
  border-top: 1px solid var(--rb-gray-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--rb-space-2);
}

.rb-footer__bottom p,
.rb-footer__bottom a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.rb-footer__bottom-links {
  display: flex;
  gap: var(--rb-space-3);
}

.rb-footer__bottom-links a:hover {
  color: var(--rb-yellow);
}

/* ---------- 15. Mobile sticky call button ---------- */
.rb-sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rb-gray-line);
  gap: 10px;
}

.rb-sticky-call a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--rb-radius-md);
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.rb-sticky-call a.is-primary {
  background: var(--rb-yellow);
  color: var(--rb-black);
}

.rb-sticky-call a.is-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--rb-white);
  border: 1px solid var(--rb-gray-line);
}

/* ---------- 16. Sub-page Hero ---------- */
.rb-page-hero {
  padding-top: calc(var(--rb-header-h) + var(--rb-space-5));
  padding-bottom: var(--rb-space-5);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(245, 196, 0, 0.12) 0%, transparent 50%),
    var(--rb-black);
  position: relative;
  overflow: hidden;
}

.rb-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.rb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: var(--rb-space-3);
  color: var(--rb-gray-light);
  position: relative;
}

.rb-breadcrumb a:hover {
  color: var(--rb-yellow);
}

.rb-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}

.rb-breadcrumb__current {
  color: var(--rb-yellow);
  font-weight: 600;
}

.rb-page-hero h1 {
  font-size: clamp(1.65rem, 6.5vw, 3.6rem);
  max-width: 820px;
  margin-bottom: var(--rb-space-3);
  position: relative;
  hyphens: auto;
}

.rb-page-hero p {
  font-size: 1.075rem;
  max-width: 720px;
  position: relative;
}

/* ---------- 17. Service detail layout ---------- */
.rb-service-detail__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--rb-space-5);
  align-items: start;
}

.rb-service-detail__main p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--rb-space-3);
}

.rb-service-detail__main h3 {
  font-size: 1.5rem;
  margin-top: var(--rb-space-4);
  margin-bottom: var(--rb-space-3);
  position: relative;
  padding-left: 22px;
}

.rb-service-detail__main h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--rb-yellow);
  border-radius: 3px;
}

.rb-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--rb-space-3);
}

.rb-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--rb-white);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rb-gray-line);
  border-radius: var(--rb-radius-md);
  transition: border-color 0.2s var(--rb-ease);
}

.rb-checklist li:hover {
  border-color: rgba(245, 196, 0, 0.3);
}

.rb-checklist li svg {
  width: 22px;
  height: 22px;
  color: var(--rb-yellow);
  flex-shrink: 0;
  margin-top: 1px;
}

.rb-service-detail__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--rb-radius-lg);
  background: linear-gradient(135deg, var(--rb-navy) 0%, var(--rb-black) 100%);
  border: 1px solid var(--rb-gray-line-2);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: var(--rb-space-3);
}

.rb-service-detail__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 24px);
}

.rb-service-detail__visual .rb-placeholder__center {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  z-index: 1;
  padding: var(--rb-space-3);
}

.rb-service-detail__visual .rb-placeholder__center svg {
  width: 56px;
  height: 56px;
  color: var(--rb-yellow);
  margin-bottom: 12px;
}

.rb-service-detail__sidebar {
  position: sticky;
  top: calc(var(--rb-header-h) + 24px);
}

.rb-info-card {
  background: var(--rb-navy);
  border: 1px solid var(--rb-gray-line-2);
  border-radius: var(--rb-radius-lg);
  padding: var(--rb-space-4);
  margin-bottom: var(--rb-space-3);
}

.rb-info-card h4 {
  font-size: 1.15rem;
  margin-bottom: var(--rb-space-2);
}

.rb-info-card p {
  font-size: 0.95rem;
  margin-bottom: var(--rb-space-3);
}

.rb-info-card .rb-btn {
  width: 100%;
}

.rb-info-card__phone {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: var(--rb-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  padding-top: 14px;
  border-top: 1px solid var(--rb-gray-line);
}

.rb-info-card__phone:hover {
  color: var(--rb-yellow);
}

.rb-other-services {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--rb-gray-line);
  border-radius: var(--rb-radius-lg);
  padding: var(--rb-space-3);
}

.rb-other-services h4 {
  font-size: 1rem;
  margin-bottom: var(--rb-space-2);
  color: var(--rb-yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rb-other-services ul {
  display: flex;
  flex-direction: column;
}

.rb-other-services a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rb-gray-line);
  font-weight: 600;
  font-size: 0.97rem;
  transition: padding 0.2s var(--rb-ease);
}

.rb-other-services li:last-child a {
  border-bottom: none;
}

.rb-other-services a::after {
  content: "→";
  color: var(--rb-yellow);
  transition: transform 0.2s var(--rb-ease);
}

.rb-other-services a:hover {
  color: var(--rb-yellow);
  padding-left: 6px;
}

/* ---------- 18. Legal page ---------- */
.rb-container--legal {
  max-width: 960px;
}

.rb-legal__nav {
  display: flex;
  gap: 12px;
  margin-bottom: var(--rb-space-4);
  flex-wrap: wrap;
}

.rb-legal__nav a {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rb-gray-line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s var(--rb-ease);
}

.rb-legal__nav a:hover,
.rb-legal__nav a.is-active {
  background: var(--rb-yellow);
  color: var(--rb-black);
  border-color: var(--rb-yellow);
}

.rb-legal__block {
  padding: var(--rb-space-5);
  background: var(--rb-navy);
  border: 1px solid var(--rb-gray-line-2);
  border-radius: var(--rb-radius-lg);
  margin-bottom: var(--rb-space-3);
}

.rb-legal__block h2 {
  font-size: 1.65rem;
  margin-bottom: var(--rb-space-2);
}

.rb-legal__placeholder {
  padding: var(--rb-space-3);
  background: rgba(245, 196, 0, 0.06);
  border: 1px dashed rgba(245, 196, 0, 0.35);
  border-radius: var(--rb-radius-md);
  color: var(--rb-gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Editor content typography (Gutenberg output) ──────── */
.rb-legal__editor-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}

/* H2 = major section (Impressum / Datenschutz).
   A top border + generous margin creates a clear visual break
   between sections without touching the DOM structure. */
.rb-legal__editor-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--rb-white);
  margin-top: var(--rb-space-6);
  margin-bottom: var(--rb-space-3);
  padding-top: var(--rb-space-4);
  border-top: 1px solid var(--rb-gray-line-2);
}

.rb-legal__editor-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.rb-legal__editor-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rb-white);
  margin-top: var(--rb-space-5);
  margin-bottom: var(--rb-space-2);
}

.rb-legal__editor-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rb-gray-light);
  margin-top: var(--rb-space-3);
  margin-bottom: var(--rb-space-1);
}

.rb-legal__editor-content p {
  margin-bottom: var(--rb-space-4);
}

.rb-legal__editor-content ul,
.rb-legal__editor-content ol {
  padding-left: var(--rb-space-4);
  margin-bottom: var(--rb-space-3);
}

.rb-legal__editor-content ul li {
  list-style-type: disc;
  margin-bottom: var(--rb-space-1);
}

.rb-legal__editor-content ol li {
  list-style-type: decimal;
  margin-bottom: var(--rb-space-1);
}

.rb-legal__editor-content strong,
.rb-legal__editor-content b {
  font-weight: 600;
  color: var(--rb-white);
}

.rb-legal__editor-content a {
  color: var(--rb-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-legal__editor-content a:hover {
  color: var(--rb-yellow-hover);
}

/* ---------- 19. Reveal animation ---------- */
.rb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--rb-ease), transform 0.6s var(--rb-ease);
}

.rb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {

  .rb-hero__grid,
  .rb-about__grid,
  .rb-faq__grid,
  .rb-contact__grid,
  .rb-cta-band__inner,
  .rb-service-detail__grid {
    grid-template-columns: 1fr;
  }

  .rb-faq__intro,
  .rb-service-detail__sidebar {
    position: static;
  }

  .rb-benefits__grid,
  .rb-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rb-process__grid::before {
    display: none;
  }

  .rb-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .rb-hero__badge {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --rb-space-7: 4rem;
    --rb-space-6: 2.5rem;
  }

  .rb-nav,
  .rb-phone,
  .rb-header__cta {
    display: none;
  }

  .rb-hamburger {
    display: grid;
    place-items: center;
  }

  .rb-services__grid,
  .rb-benefits__grid {
    grid-template-columns: 1fr;
  }

  .rb-trust-list {
    grid-template-columns: 1fr;
  }

  .rb-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rb-area-note__chips {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .rb-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--rb-space-3);
  }

  .rb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rb-sticky-call {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .rb-hero__visual {
    aspect-ratio: 3/4;
  }

  .rb-section {
    padding: var(--rb-space-6) 0;
  }

  .rb-cta-band__phone a {
    font-size: 1.5rem;
  }

  .rb-contact__form {
    padding: var(--rb-space-3);
  }

  .rb-process::before {
    font-size: 7rem;
  }

  .rb-legal__block {
    padding: var(--rb-space-4) var(--rb-space-3);
  }

  .rb-legal__nav {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .rb-container {
    padding: 0 18px;
  }

  .rb-logo__sub {
    display: none;
  }

  .rb-hero__actions .rb-btn {
    width: 100%;
  }

  .rb-cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rb-cta-band__actions .rb-btn {
    width: 100%;
  }

  .rb-legal__editor-content h2 {
    font-size: 1.3rem;
  }

  .rb-legal__editor-content h3 {
    font-size: 1rem;
  }
}

/* =============================================================
   19. Contact Form 7 compatibility
   Addendum — do not edit existing rules above.
   These rules normalise CF7's generated markup so it inherits
   the rb- design system without visual breakage.
   ============================================================= */

/* CF7 wraps every control in an inline <span>; make it block
   so rb-form__group (display:flex; flex-direction:column) works. */
.wpcf7-form-control-wrap {
  display: block;
}

/* Validation error tip rendered below invalid fields */
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  color: #f87171;
  line-height: 1.4;
}

/* Highlight invalid inputs with a red border */
.wpcf7-form .wpcf7-not-valid {
  border-color: #f87171 !important;
}

/* Response output box (success / error / spam) */
.wpcf7-response-output {
  margin-top: var(--rb-space-3);
  padding: 14px 18px;
  border-radius: var(--rb-radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.wpcf7-mail-sent-ok {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.35);
  color: #f87171;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background: rgba(245, 196, 0, 0.06);
  border-color: rgba(245, 196, 0, 0.35);
  color: var(--rb-yellow);
}

/* Modern CF7 (5.x+) form-state selectors ───────────────────────────
   CF7 now adds a state class to <form> and styles .wpcf7-response-output
   through it. These mirror the legacy classes above so both CF7 versions
   render correctly without duplication. */

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(245, 196, 0, 0.06);
  border-color: rgba(245, 196, 0, 0.35);
  color: var(--rb-yellow);
}

.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.35);
  color: #f87171;
}

/* Spinner — CF7 shows this while submitting; hide it (AJAX indicator
   is sufficient for this design) */
.wpcf7-spinner {
  display: none !important;
}

/* ── rb-form__privacy corrections ───────────────────────────────────
   CF7 auto-wraps form content in <p> tags and the old template had
   a <br> between the decorative shield SVG and the acceptance field.
   Fix: hide the orphaned SVG, neutralise the <p> wrapper so the
   checkbox label sits flush inside .rb-form__privacy, and kill the
   stray <br>. Remove the SVG from the CF7 form body to clean up HTML. */
.rb-form__privacy svg  { display: none; }
.rb-form__privacy > p  { display: contents; }
.rb-form__privacy br   { display: none; }

/* Acceptance checkbox inside .rb-form__privacy ─────────────────── */
/* CF7 acceptance generates: <span.wpcf7-acceptance><label><input><span.label-text> */
.rb-form__privacy .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.rb-form__privacy .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--rb-yellow);
  cursor: pointer;
}

/* Datenschutz link inside acceptance text */
.rb-form__privacy a {
  color: var(--rb-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rb-form__privacy a:hover {
  color: var(--rb-yellow-hover, #d4a800);
}

/* =============================================================
   20. Phase 11 — Hero Background Image & Services Archive
   ============================================================= */

/* ── Hero layout: always single-column, no right-side visual ──
   The .rb-hero__visual placeholder card is never rendered in PHP.
   This override prevents the empty second grid column from
   constraining the content to ~52% of the container width.
   ──────────────────────────────────────────────────────────── */

.rb-hero__grid {
  grid-template-columns: 1fr;
}

/* Safety net: hide any stale .rb-hero__visual in the DOM */
.rb-hero__visual {
  display: none;
}

/* ── Hero full-background mode (.rb-hero--has-bg) ─────────────
   Applied when ACF hero_image is set on the front page.
   The section receives --rb-hero-bg-image via inline CSS custom
   property: style="--rb-hero-bg-image: url('...');"
   ──────────────────────────────────────────────────────────── */

.rb-hero--has-bg {
  background-image: var(--rb-hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--rb-black);
  /* shown while image loads */
}

/* Hide the decorative grid/glow — the photo takes their place */
.rb-hero--has-bg .rb-hero__bg-grid,
.rb-hero--has-bg .rb-hero__glow {
  display: none;
}

/* Dark gradient overlay: keeps headline text readable over any photo.
   Sits inside the isolation stacking context of .rb-hero. */
.rb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0.68) 100%);
  z-index: 0;
}

/* Content must sit above the overlay */
.rb-hero--has-bg .rb-hero__grid {
  position: relative;
  z-index: 1;
}

.rb-hero--has-bg .rb-hero__content {
  max-width: 820px;
  min-width: 0;
  width: 100%;
}

/* Outline button: extra contrast against photo backgrounds */
.rb-hero--has-bg .rb-btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.rb-hero--has-bg .rb-btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--rb-yellow);
  color: var(--rb-yellow);
}

/* Benefit strip divider stays visible over photos */
.rb-hero--has-bg .rb-benefit-strip {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* ── Service card image fill ───────────────────────────────────
   When a featured image is set, fill the media area as cover.
   ──────────────────────────────────────────────────────────── */

.rb-service-card__media-content .rb-service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  z-index: 0;
}

/* ── Services archive page ─────────────────────────────────────
   /leistungen/ — padding handled by .rb-page-hero base styles.
   ──────────────────────────────────────────────────────────── */

.rb-services-archive-hero {
  padding-top: calc(var(--rb-header-h) + var(--rb-space-5));
  padding-bottom: var(--rb-space-5);
}

/* ── Responsive adjustments ───────────────────────────────────── */

@media (max-width: 768px) {

  /* Hero bg-mode: anchor photo to top so faces/subjects stay visible */
  .rb-hero--has-bg {
    background-position: center top;
  }

  /* Stronger overlay on mobile for readability on small screens */
  .rb-hero--has-bg .rb-hero__overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.70) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.75) 100%);
  }
}

/* =============================================================
   20b. Hero height correction — full landing-page hero
   Applies only to the full-background homepage hero.
   Does not affect .rb-page-hero or service-page heroes.
   ============================================================= */

/* Desktop: fill viewport below the sticky header */
.rb-hero.rb-hero--has-bg {
  min-height: calc(100vh - var(--rb-header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--rb-header-h) + var(--rb-space-5));
  padding-bottom: var(--rb-space-7);
}

/* Grid keeps content vertically centered */
.rb-hero.rb-hero--has-bg .rb-hero__grid {
  min-height: 620px;
  align-items: center;
  width: 100%;
}

/* Tablet: comfortable height without excess empty space */
@media (max-width: 1024px) {
  .rb-hero.rb-hero--has-bg {
    min-height: 640px;
  }

  .rb-hero.rb-hero--has-bg .rb-hero__grid {
    min-height: 0;
  }
}

/* Mobile: enough height for content, no excessive gaps */
@media (max-width: 768px) {
  .rb-hero.rb-hero--has-bg {
    min-height: 620px;
    padding-top: calc(var(--rb-header-h) + var(--rb-space-4));
    padding-bottom: var(--rb-space-6);
  }
}

/* =============================================================
   20c. Hero background — Ken Burns drift animation
   Moves the bg image to ::before so transform runs on the
   compositor thread (GPU). The overlay and content z-stack
   remain unchanged. Does not affect .rb-page-hero or any
   service-page hero.
   ============================================================= */

@keyframes rb-hero-drift {
  0% {
    transform: scale(1.00) translate(0%, 0%);
  }

  30% {
    transform: scale(1.07) translate(-0.7%, 0.5%);
  }

  65% {
    transform: scale(1.11) translate(0.5%, -0.7%);
  }

  100% {
    transform: scale(1.00) translate(0%, 0%);
  }
}

/* Remove bg from the element itself — ::before carries it animated */
.rb-hero--has-bg {
  background-image: none;
}

/* Animated layer sits below the overlay (z-index: 0) and content (z-index: 1) */
.rb-hero--has-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  /* extra room prevents edges showing during drift */
  background-image: var(--rb-hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  animation: rb-hero-drift 24s ease-in-out infinite;
  will-change: transform;
}

/* Accessibility: freeze animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rb-hero--has-bg::before {
    animation: none;
    inset: 0;
  }
}

/* =============================================================
   21. Phase 12B — 404 Page & Search Form
   ============================================================= */

/* ── Fix: .rb-page-hero::before is a decorative dot-grid overlay
   (position:absolute; inset:0) that sits above any descendant
   without position:relative, including the 404 action buttons.
   pointer-events:none makes it purely visual on every page that
   uses .rb-page-hero (service singles, contact, archive, 404). ─ */
.rb-page-hero::before {
  pointer-events: none;
}

/* ── 404 action buttons ──────────────────────────────────────── */
.rb-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rb-space-2);
  margin-top: var(--rb-space-4);
}

/* ── Search form ─────────────────────────────────────────────── */
.rb-search-form {
  display: flex;
  gap: var(--rb-space-2);
  align-items: center;
  flex-wrap: wrap;
}

.rb-search-form__input {
  flex: 1 1 200px;
}

@media (max-width: 480px) {
  .rb-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .rb-search-form__btn {
    width: 100%;
  }
}

/* =============================================================
   23. Service detail — image box fix
   Scoped to .rb-service-detail__visual only.
   Does not affect homepage hero, service cards, or archive.
   ============================================================= */

/* Change from portrait 4/5 to landscape 16/9 to match typical
   service photos; object-fit: cover prevents any distortion. */
.rb-service-detail__visual {
  aspect-ratio: 16 / 9;
}

/* Image absolutely fills the box — width/height HTML attrs from
   wp_get_attachment_image() no longer control rendered size. */
.rb-service-detail__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================================
   24. About section — image polish
   Scoped to .rb-about__visual only.
   Does not affect hero, service pages, or service cards.
   ============================================================= */

/* Image fills the 4/5 portrait box — intrinsic WP dimensions
   no longer control the rendered size. object-position: center top
   keeps focus on the subject (face/upper body) and crops the
   lower bright/empty area naturally. */
.rb-about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* =============================================================
   25a. Footer — credit line
   ============================================================= */

/* Allow the copyright + credit line to wrap on narrow screens */
.rb-footer__copyright {
  flex-wrap: wrap;
  row-gap: 4px;
}

/* The credit span sits inline; wraps as one unit on small screens */
.rb-footer__credit {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.rb-footer__credit-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rb-footer__credit-link:hover {
  color: var(--rb-yellow);
}

/* =============================================================
   25. Footer — social media links
   Appears in .rb-footer__brand after the about text.
   Only rendered when at least one social URL is filled in
   Customizer → Social Media.
   ============================================================= */

.rb-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--rb-space-3);
}

.rb-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rb-gray-line);
  color: var(--rb-gray-light);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.rb-footer__social-link:hover {
  background: rgba(245, 196, 0, 0.12);
  border-color: var(--rb-yellow);
  color: var(--rb-yellow);
}

.rb-footer__social-link svg {
  display: block;
  flex-shrink: 0;
}

/* =============================================================
   22. Phase 12D — Local Fonts
   ============================================================= */

/*
 * @font-face rules for Archivo and Manrope are injected at runtime by
 * inc/enqueue.php → rb_add_local_font_styles(). Each rule is registered
 * only when its .woff2 file exists in assets/fonts/, so placing a file
 * there is sufficient to activate it.
 *
 * Preload hints for archivo-800.woff2 and manrope-400.woff2 are added to
 * <head> by rb_preload_local_fonts() under the same file-exists guard.
 *
 * Files required (see docs/local-fonts.md for conversion mapping):
 *   assets/fonts/archivo/archivo-400.woff2
 *   assets/fonts/archivo/archivo-700.woff2
 *   assets/fonts/archivo/archivo-800.woff2   ← preloaded
 *   assets/fonts/archivo/archivo-900.woff2
 *   assets/fonts/manrope/manrope-400.woff2   ← preloaded
 *   assets/fonts/manrope/manrope-500.woff2
 *   assets/fonts/manrope/manrope-600.woff2
 *   assets/fonts/manrope/manrope-700.woff2
 *   assets/fonts/manrope/manrope-800.woff2
 *
 * Until files are placed, --rb-font-display and --rb-font-body fall back
 * to 'Helvetica Neue', Arial, sans-serif (defined in Section 1 above).
 */

/* =============================================================
   26. Mobile overflow safety + accessibility
   ============================================================= */

/* Hero tag: prevent eyebrow from exceeding container on narrow screens */
.rb-hero__tag {
  max-width: 100%;
  box-sizing: border-box;
}

/* Hero actions: ensure buttons are fully contained at all widths */
.rb-hero__actions {
  box-sizing: border-box;
  max-width: 100%;
}

/* Buttons: override nowrap on very small viewports (≤ 360px) */
@media (max-width: 360px) {
  .rb-btn {
    white-space: normal;
    text-align: center;
  }
}

/* Focus-visible: keyboard navigation indicator */
:focus-visible {
  outline: 2px solid var(--rb-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.rb-btn:focus-visible {
  outline-offset: 2px;
  border-radius: var(--rb-radius-md);
}