/* ==========================================================
   RA Rörteam – Master Stylesheet v2
   Premium · Clean · Professional
   ========================================================== */

/* Cross-document fade transition (Chrome 111+, Edge 111+, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtFadeOut 0.18s ease forwards; }
::view-transition-new(root) { animation: vtFadeIn  0.22s ease forwards; }
@keyframes vtFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes vtFadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ──────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ────────────────────────────────────────────────────────── */
:root {
  /* Brand colours – from logo */
  --red:          #C41E3A;
  --red-dark:     #A01830;
  --red-light:    rgba(196, 30, 58, 0.12);
  --blue:         #1A5DA8;
  --blue-light:   rgba(26, 93, 168, 0.12);
  --silver:       #9BA3AE;

  /* Backgrounds */
  --bg-deepdark:  #080A0F;
  --bg-dark:      #0D1018;
  --bg-mid:       #131720;
  --bg-card:      #181C26;
  --bg-light:     #F5F6F8;
  --bg-white:     #FFFFFF;

  /* Text */
  --txt-white:    #FFFFFF;
  --txt-light:    rgba(255,255,255,0.80);
  --txt-muted:    rgba(255,255,255,0.45);
  --txt-dark:     #0D1018;
  --txt-body:     #3D4252;
  --txt-subtle:   #757B8A;

  /* Borders */
  --border:       rgba(255,255,255,0.07);
  --border-light: rgba(0,0,0,0.08);

  /* Typography */
  --font-display: 'Barlow Semi Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --nav-h:        100px;
  --radius:       8px;
  --radius-lg:    14px;
  --radius-pill:  100px;

  /* Shadow */
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.15);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.25);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.35);
  --shadow-red:   0 6px 28px rgba(196,30,58,0.30);

  --ease:         cubic-bezier(0.22,1,0.36,1);
  --t:            300ms;
}

/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-deepdark);
  color: var(--txt-body);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ──────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: 0; }
h4 { font-size: 1rem; font-family: var(--font-body); }
p  { font-size: 1rem; line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   4. LAYOUT HELPERS
   ────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ──────────────────────────────────────────────────────────
   5. BUTTONS
   ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196,30,58,0.40);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: #1650924;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--txt-dark);
  border: 1.5px solid var(--border-light);
}
.btn--ghost-light:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────────────────
   6. NAVBAR
   ────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar__logo img {
  height: 90px;
  width: auto;
  display: block;
  transition: opacity var(--t);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.70));
}
.navbar__logo img:hover { opacity: 0.8; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.navbar__links a {
  position: relative;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color var(--t);
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem; left: 1.1rem;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width var(--t) var(--ease);
}
.navbar__links a:hover,
.navbar__links a.active { color: #fff; }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: calc(100% - 2.2rem); }

.navbar__cta-btn {
  margin-left: 1.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--red);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: all var(--t) var(--ease) !important;
  box-shadow: 0 3px 16px rgba(196,30,58,0.35);
}
.navbar__cta-btn::after { display: none !important; }
.navbar__cta-btn:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(196,30,58,0.45) !important;
}

/* ──────────────────────────────────────────────────────────
   7. HAMBURGER
   ────────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background var(--t), border-color var(--t), transform 0.3s var(--ease);
  z-index: 1100;
  overflow: hidden;
}
.hamburger:hover { background: rgba(255,255,255,0.09); }

/* Active state – clean red circle with X */
.hamburger.is-active {
  background: var(--red);
  border-color: var(--red);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(196,30,58,0.45);
}
.hamburger.is-active:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.hamburger__bar {
  position: absolute;
  width: 20px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.2s, width 0.3s var(--ease);
}
.hamburger__bar:nth-child(1) { transform: translateY(-6px); }
.hamburger__bar:nth-child(3) { transform: translateY(6px); width: 14px; }

/* Animate to crisp X */
.hamburger.is-active .hamburger__bar:nth-child(1) { transform: rotate(45deg); width: 18px; }
.hamburger.is-active .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .hamburger__bar:nth-child(3) { transform: rotate(-45deg); width: 18px; }

/* ──────────────────────────────────────────────────────────
   8. MOBILE MENU
   ────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  z-index: 999;
  background: #080A0F;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  min-height: var(--nav-h);
}
.mobile-menu__logo img { height: 38px; }

.mobile-menu__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.mobile-menu__close:hover { background: rgba(196,30,58,0.15); border-color: rgba(196,30,58,0.3); }

.mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(30px);
  transition: color var(--t), padding-left var(--t) var(--ease),
              opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu__link:last-child { border-bottom: none; }
.mobile-menu__link:hover { color: #fff; padding-left: 0.5rem; }
.mobile-menu__link.active { color: var(--red); }

.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.18s; }

.mobile-menu__footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.mobile-menu__phone svg { stroke: var(--red); }
.mobile-menu__socials { display: flex; gap: 0.75rem; }
.mobile-menu__social {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--t);
}
.mobile-menu__social svg { width: 16px; height: 16px; fill: currentColor; }
.mobile-menu__social:hover { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }

/* ──────────────────────────────────────────────────────────
   9. HERO
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg-deepdark);
}

/* Video layer */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(1.5px) brightness(0.80);
  transform: scale(1.08);
  transition: opacity 1.2s ease;
}
.hero__fallback {
  position: absolute;
  inset: -30px; /* negative inset compensates for blur edge bleed */
  background: url('../Bilder/d709caaf-b9ec-404e-bc4e-e5f8dce263f9.jpg') center 35%/cover no-repeat;
  filter: blur(1.5px) brightness(0.78);
  transform: scale(1.06);
  animation: kbZoom 28s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
  will-change: transform;
}
@keyframes kbZoom {
  0%   { transform: scale(1.06) translate(0%, 0%); }
  100% { transform: scale(1.16) translate(-1.5%, -1%); }
}

/* Deep cinematic overlay – strong vignette + vertical gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(8,10,15,0.55) 100%),
    linear-gradient(to bottom,
      rgba(8,10,15,0.72) 0%,
      rgba(8,10,15,0.10) 35%,
      rgba(8,10,15,0.10) 55%,
      rgba(8,10,15,0.96) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  width: 100%;
}

.hero__inner {
  max-width: 760px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(196,30,58,0.4);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}
.hero__tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero__title {
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
  text-shadow: 0 4px 32px rgba(0,0,0,0.60), 0 1px 6px rgba(0,0,0,0.40);
}
.hero__title-line { display: block; }
.hero__title-accent {
  color: var(--red);
  text-shadow: 0 4px 32px rgba(196,30,58,0.40), 0 1px 6px rgba(0,0,0,0.40);
}

.hero__desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
  text-shadow: 0 2px 16px rgba(0,0,0,0.60);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

/* Red bottom line */
.hero__rule {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  z-index: 3;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(196,30,58,0.7), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100%{transform:scaleY(1);opacity:1}
  50%{transform:scaleY(0.5);opacity:0.4}
}

/* ──────────────────────────────────────────────────────────
  10. SECTION FRAMEWORK
   ────────────────────────────────────────────────────────── */
.section { position: relative; padding: 6rem 0; }
.section--dark    { background: var(--bg-dark);    color: var(--txt-white); }
.section--mid     { background: var(--bg-mid);     color: var(--txt-white); }
.section--light   { background: var(--bg-light);   color: var(--txt-dark); }
.section--white   { background: var(--bg-white);   color: var(--txt-dark); }

.section__hd { margin-bottom: 4rem; }
.section__hd--center { text-align: center; }
.section__hd--center .section__title { margin: 0 auto; }

.section__title { max-width: 700px; }
.section__lead {
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.8;
  margin-top: 1rem;
}
.section--dark  .section__lead { color: rgba(255,255,255,0.65); }
.section--mid   .section__lead { color: rgba(255,255,255,0.65); }
.section--light .section__lead { color: var(--txt-subtle); }

/* Horizontal red rule accent */
.red-rule {
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 1.5rem;
}

/* ──────────────────────────────────────────────────────────
  11. SERVICES GRID
   ────────────────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.svc-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background var(--t), transform var(--t) var(--ease);
  cursor: default;
}
.svc-card:hover { background: #1e2233; }

.svc-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(196,30,58,0.10);
  border: 1px solid rgba(196,30,58,0.20);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t);
}
.svc-card:hover .svc-card__icon { background: rgba(196,30,58,0.18); }
.svc-card__icon svg {
  width: 20px; height: 20px;
  stroke: var(--red); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.svc-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.svc-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  flex: 1;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  transition: gap var(--t);
}
.svc-card__link:hover { gap: 0.65rem; }

/* ──────────────────────────────────────────────────────────
  12. ABOUT – split 50/50
   ────────────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.about-photo__badge {
  position: absolute;
  bottom: 2rem; right: -1.5rem;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #fff;
  min-width: 130px;
}
.about-photo__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  display: block;
}
.about-photo__lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.about-text h2 { color: #fff; margin-bottom: 1.5rem; }
.about-text > p { color: rgba(255,255,255,0.65); margin-bottom: 1rem; }

.about-checks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
.about-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.925rem;
}
.about-check__dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about-check__dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ──────────────────────────────────────────────────────────
  13. STATS ROW
   ────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stat-box {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-box:last-child { border-right: none; }

.stat-box__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-box__lbl {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ──────────────────────────────────────────────────────────
  14. NIBE SECTION
   ────────────────────────────────────────────────────────── */
.nibe-wrap {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 5rem 0;
}

.nibe-logo-side {
  flex-shrink: 0;
  text-align: center;
}
.nibe-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
}
.nibe-logo-frame img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.nibe-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(26,93,168,0.35);
  background: rgba(26,93,168,0.10);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7EB5F5;
}
.nibe-badge-pill span { color: #4CAFEE; }

.nibe-text { flex: 1; }
.nibe-text h2 { color: #fff; margin-bottom: 1.25rem; }
.nibe-text > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; max-width: 500px; }

.nibe-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.nibe-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.nibe-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
  15. GALLERY
   ────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 6px;
}
.gallery-grid .gi:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gi {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
}
.gi img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gi:hover img { transform: scale(1.04); }
.gi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196,30,58,0);
  transition: background var(--t);
}
.gi:hover::after { background: rgba(196,30,58,0.08); }

/* ──────────────────────────────────────────────────────────
  16. INSTAGRAM
   ────────────────────────────────────────────────────────── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* Behold Instagram widget wrapper */
.behold-wrap {
  margin-bottom: 3rem;
  position: relative;
}
.behold-wrap behold-widget {
  --behold-columns: 4;
  --behold-gap: 6px;
  --behold-border-radius: 8px;
}
/* Hide "Made with Behold" attribution badge */
.behold-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  height: 36px;
  background: var(--bg-dark);
  z-index: 10;
  pointer-events: none;
}
.insta-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
}
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.insta-item:hover img { transform: scale(1.05); }

.insta-item__over {
  position: absolute;
  inset: 0;
  background: rgba(8,10,15,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity var(--t);
}
.insta-item:hover .insta-item__over { opacity: 1; }
.insta-item__over svg { width: 26px; height: 26px; fill: #fff; }
.insta-item__over span { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.85); }

.insta-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 2rem;
}
.insta-cta-bar__text h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.25rem; }
.insta-cta-bar__text p  { color: rgba(255,255,255,0.48); font-size: 0.875rem; }

.btn--insta {
  background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.btn--insta:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn--fb {
  background: #1877f2;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.btn--fb:hover { filter: brightness(1.1); transform: translateY(-2px); }

.insta-cta-bar__btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
  17. CTA BAND
   ────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--red);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../Bilder/c52751ca-113b-41a7-b797-24d6f4de83ed.jpg') center/cover;
  opacity: 0.07;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-band__text h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band__text p  { color: rgba(255,255,255,0.78); max-width: 480px; }
.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}
.cta-band__phone {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--t);
}
.cta-band__phone:hover { opacity: 0.85; }
.cta-band__phone svg { stroke: rgba(255,255,255,0.7); }

.btn--cta-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn--cta-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────────────────
  18. SERVICES PAGE FULL
   ────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deepdark);
}
.page-hero__img {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(1.5px) brightness(0.65);
  transform: scale(1.06);
}
/* alias used by kontakt.html */
.page-hero__bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center 35%;
  filter: blur(1.5px) brightness(0.65);
  transform: scale(1.06);
}
.page-hero__grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(8,10,15,0.50) 100%),
    linear-gradient(to bottom, rgba(8,10,15,0.55), rgba(8,10,15,0.95));
}
/* alias used by kontakt.html */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(8,10,15,0.50) 100%),
    linear-gradient(to bottom, rgba(8,10,15,0.55), rgba(8,10,15,0.95));
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  color: #fff;
}
.page-hero__content h1 {
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.60), 0 1px 6px rgba(0,0,0,0.40);
}
.page-hero__content p  { color: rgba(255,255,255,0.75); max-width: 520px; font-size: 1.05rem; text-shadow: 0 2px 16px rgba(0,0,0,0.50); }

.svc-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.svc-full-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--t), transform var(--t) var(--ease);
}
.svc-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.sfc__img {
  height: 195px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.sfc__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.6s var(--ease); }
.svc-full-card:hover .sfc__img img { transform: scale(1.04); }
.sfc__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,10,15,0.65), transparent 55%);
}
.sfc__icon {
  position: absolute;
  bottom: 1.1rem; left: 1.1rem;
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.sfc__icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

.sfc__body { padding: 1.75rem; }
.sfc__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--txt-dark); margin-bottom: 0.7rem; }
.sfc__desc  { font-size: 0.875rem; color: var(--txt-subtle); line-height: 1.75; margin-bottom: 1.25rem; }
.sfc__link  { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--red); transition: gap var(--t); }
.sfc__link:hover { gap: 0.65rem; }

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.area-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
  text-align: center;
}
.area-card:hover { background: rgba(196,30,58,0.05); border-color: rgba(196,30,58,0.2); transform: translateY(-2px); }
.area-card__name { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }
.area-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ──────────────────────────────────────────────────────────
  19. ABOUT PAGE FULL
   ────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__img { height: 260px; overflow: hidden; position: relative; background: var(--bg-dark); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.5s var(--ease); }
.team-card:hover .team-card__img img { transform: scale(1.03); }
.team-card__img::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,10,15,0.7), transparent 50%); }
.team-card__info { padding: 1.75rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.25rem; }
.team-card__role { color: var(--red); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.team-card__bio  { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.val-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}
.val-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(196,30,58,0.10);
  border: 1px solid rgba(196,30,58,0.20);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.val-card__icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.val-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
.val-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.48); line-height: 1.75; }

/* ──────────────────────────────────────────────────────────
  20. CONTACT PAGE
   ────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { color: #fff; margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }

.contact-detail-list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail__ico {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(196,30,58,0.10);
  border: 1px solid rgba(196,30,58,0.20);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail__ico svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.contact-detail__lbl { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.2rem; }
.contact-detail__val { color: #fff; font-weight: 500; font-size: 0.975rem; }
.contact-detail__val a { color: inherit; transition: color var(--t); }
.contact-detail__val a:hover { color: var(--red); }

.areas-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.area-pill {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: border-color var(--t), color var(--t);
}
.area-pill:hover { border-color: rgba(196,30,58,0.3); color: rgba(255,255,255,0.85); }

/* Form */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.contact-form-box h3 { color: #fff; margin-bottom: 0.4rem; font-size: 1.4rem; }
.contact-form-box > p { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: border-color var(--t), background var(--t);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(196,30,58,0.5);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { min-height: 140px; resize: vertical; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.form-group select option { background: #181C26; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(0,150,80,0.12);
  border: 1px solid rgba(0,200,100,0.22);
  color: #5de8a0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
}
.form-success strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
@keyframes successFlash {
  0%   { background: rgba(0,200,100,0.30); box-shadow: 0 0 0 0 rgba(0,200,100,0.5); }
  40%  { background: rgba(0,200,100,0.22); box-shadow: 0 0 0 8px rgba(0,200,100,0); }
  100% { background: rgba(0,150,80,0.12);  box-shadow: 0 0 0 0 rgba(0,200,100,0); }
}
@keyframes toastIn  { from { opacity:0; transform:translateX(-50%) translateY(12px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(-50%) translateY(0); }  to { opacity:0; transform:translateX(-50%) translateY(12px); } }
.form-success--flash {
  animation: successFlash 0.9s ease forwards;
}

/* ── File upload ── */
.file-upload-wrap {
  position: relative;
  border: 1.5px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.file-upload-wrap:hover,
.file-upload-wrap.drag-over {
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.file-upload-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 1rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  pointer-events: none;
}
.file-upload-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.file-upload-label strong { color: var(--accent); }
.file-upload-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
}
.file-upload-list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.file-upload-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  color: rgba(255,255,255,0.75);
}
.file-upload-list li.error { color: #f87171; background: rgba(248,113,113,0.1); }
.file-upload-list li button {
  background: none; border: none; cursor: pointer;
  color: inherit; padding: 0; line-height: 1; font-size: 1rem;
  opacity: 0.6;
}
.file-upload-list li button:hover { opacity: 1; }

/* Map intro label + arrow */
.map-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: -22px;
  position: relative;
  z-index: 500;
  margin-top: 3rem;
}
.map-intro__label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.map-intro__arrow {
  width: 20px;
  height: 36px;
  opacity: 0.45;
  animation: arrow-bounce 2s ease-in-out infinite;
}
@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0);   opacity: 0.45; }
  50%       { transform: translateY(6px); opacity: 0.75; }
}

.map-wrap {
  margin-top: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: invert(90%) hue-rotate(180deg) grayscale(20%); }
#service-map { width: 100%; height: 100%; }

/* Leaflet tooltip styling for county map */
.map-tip {
  background: rgba(15,20,30,0.88) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8rem !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}
.map-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.92) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.7) !important;
  text-transform: uppercase !important;
}
.map-home-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.92) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  text-align: center !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.7) !important;
  text-transform: uppercase !important;
}
.leaflet-attribution-flag { display: none !important; }
.leaflet-control-attribution { background: rgba(0,0,0,0.5) !important; color: rgba(255,255,255,0.4) !important; font-size: 9px !important; }

/* Map legend */
.map-legend {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1000;
  background: rgba(10,15,25,0.82);
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  font-family: var(--font-sans);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.map-legend__swatch {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid;
  margin-left: 6px;
  flex-shrink: 0;
}
.map-legend__pin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #C41E3A;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 3px rgba(196,30,58,0.35);
  flex-shrink: 0;
  margin-left: 6px;
}

/* City dot on map */
.map-city-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 2px solid #C41E3A;
  box-shadow: 0 0 8px rgba(196,30,58,0.6);
}

/* Pulsing home-base marker */
.map-home-pin {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.map-home-pin__pulse {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(196,30,58,0.20);
  border: 2px solid rgba(196,30,58,0.55);
  animation: map-pulse 1.8s ease-out infinite;
}
.map-home-pin__dot {
  position: relative;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #C41E3A;
  border: 3px solid #fff;
  box-shadow: 0 0 16px rgba(196,30,58,0.9), 0 2px 8px rgba(0,0,0,0.6);
  z-index: 2;
}
@keyframes map-pulse {
  0%   { transform: scale(0.5); opacity: 1; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* "Min plats" locate button */
.map-locate-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(10,15,25,0.85);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  backdrop-filter: blur(6px);
}
.map-locate-btn:hover {
  background: rgba(196,30,58,0.85);
  border-color: #C41E3A;
  color: #fff;
}
.map-locate-btn.is-loading {
  opacity: 0.6;
  cursor: wait;
}
.map-locate-btn.is-loading svg {
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* User location dot */
.map-user-pin {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.map-user-pin__ring {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 2px solid rgba(59,130,246,0.5);
  animation: map-pulse 2s ease-out infinite;
}
.map-user-pin__dot {
  position: relative;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #3B82F6;
  border: 3px solid #fff;
  box-shadow: 0 0 14px rgba(59,130,246,0.8), 0 2px 6px rgba(0,0,0,0.5);
  z-index: 2;
}

/* ──────────────────────────────────────────────────────────
  21. FOOTER
   ────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-deepdark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 0 0 2.5rem;
  position: relative;
}
.footer > .container {
  padding-top: 20px;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--blue) 70%, transparent 100%);
}

/* Footer CTA bar */
.footer-cta {
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0;
  margin-bottom: 4rem;
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta__text p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin: 0;
}
.footer-cta__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color var(--t);
}
.footer-cta__phone svg { stroke: var(--red); flex-shrink: 0; }
.footer-cta__phone:hover { color: var(--red); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-grid--no-brand {
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
}

.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 280px; margin-bottom: 1.5rem; }

/* NIBE badge in footer */
.footer-nibe {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  margin-bottom: 1.5rem;
}
.footer-nibe img { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-nibe span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

.footer-socials { display: flex; gap: 0.65rem; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t);
}
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }
.footer-social:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color var(--t), padding-left var(--t) var(--ease); }
.footer-nav a:hover { color: #fff; padding-left: 0.3rem; }

.footer-contacts { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-contact svg { width: 14px; height: 14px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: inherit; transition: color var(--t); }
.footer-contact a:hover { color: var(--red); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: var(--red); }

/* Back to top button */
.footer-top-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all var(--t);
  text-decoration: none;
  flex-shrink: 0;
}
.footer-top-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ──────────────────────────────────────────────────────────
  22. ANIMATIONS
   ────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.from-left  { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.visible    { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ──────────────────────────────────────────────────────────
  23. RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nibe-wrap { flex-direction: column; gap: 3rem; text-align: center; }
  .nibe-logo-side { order: -1; }
  .nibe-text > p { margin: 0 auto 2rem; }
  .nibe-list { grid-template-columns: 1fr 1fr; }
  .footer-cta__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: span 2; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(3),
  .stat-box:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.06); }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .navbar__links { display: none; }
  .hamburger { display: flex; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo__badge { right: 1rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { align-items: center; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-grid .gi:first-child { grid-column: span 2; height: 240px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .navbar__logo img {
    height: 68px;
    margin-top: 12px;
  }
  .section { padding: 4.5rem 0; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; gap: 1px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gi:first-child { grid-column: 1; height: 220px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .nibe-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .insta-cta-bar { flex-direction: column; align-items: flex-start; }
  .contact-form-box { padding: 2rem 1.5rem; }
  .container { padding: 0 1.25rem; }
  .hero__scroll { display: none; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.2rem; }
  .stat-box__num { font-size: 2.8rem; }
}

/* ──────────────────────────────────────────────────────────
  BACKWARDS-COMPAT ALIASES (sub-pages use old class names)
   ────────────────────────────────────────────────────────── */
.section-label { color: var(--red); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; display: inline-block; margin-bottom: 1.2rem; }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(196,30,58,0.40); }

/* service cards compat */
.service-full-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: box-shadow var(--t), transform var(--t) var(--ease); }
.service-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-full-card__img { height: 195px; position: relative; overflow: hidden; background: var(--bg-dark); }
.service-full-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.6s var(--ease); }
.service-full-card:hover .service-full-card__img img { transform: scale(1.04); }
.service-full-card__img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,10,15,0.65), transparent 55%); }
.service-full-card__icon-wrap { position: absolute; bottom: 1.1rem; left: 1.1rem; width: 40px; height: 40px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.service-full-card__icon-wrap svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.service-full-card__body { padding: 1.75rem; }
.service-full-card__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--txt-dark); margin-bottom: 0.7rem; }
.service-full-card__desc { font-size: 0.875rem; color: var(--txt-subtle); line-height: 1.75; margin-bottom: 1.25rem; }
.service-full-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--red); transition: gap var(--t); }
.service-full-card__link:hover { gap: 0.65rem; }

.services-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* areas compat */
.areas-section { background: var(--bg-mid); padding: 5rem 0; color: var(--txt-white); }
.area-card__name { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }
.area-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* section header compat */
.section__header { margin-bottom: 4rem; }
.section__header.text-center { text-align: center; }
.section__subtitle { font-size: 1.05rem; max-width: 540px; line-height: 1.8; margin-top: 1rem; color: var(--txt-subtle); }
.section--dark  .section__subtitle { color: rgba(255,255,255,0.65); }
.section--mid   .section__subtitle { color: rgba(255,255,255,0.65); }

/* team compat */
.team-card__name  { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.25rem; }
.team-card__role  { color: var(--red); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.team-card__bio   { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* value cards compat */
.value-card { padding: 2.5rem 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025); }
.value-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
.value-card p  { font-size: 0.875rem; color: rgba(255,255,255,0.48); line-height: 1.75; }
.value-card__icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(196,30,58,0.10); border: 1px solid rgba(196,30,58,0.20); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.value-card__icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }

/* contact page compat */
.contact-info h2 { color: #fff; margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail__icon { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(196,30,58,0.10); border: 1px solid rgba(196,30,58,0.20); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail__icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.contact-detail__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.2rem; }
.contact-detail__value { color: #fff; font-weight: 500; font-size: 0.975rem; }
.contact-detail__value a { color: inherit; transition: color var(--t); }
.contact-detail__value a:hover { color: var(--red); }
.contact-areas { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07); }
.contact-areas h4 { color: #fff; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-tag { padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.55); transition: border-color var(--t), color var(--t); }
.area-tag:hover { border-color: rgba(196,30,58,0.3); color: rgba(255,255,255,0.85); }
.contact-form-wrap { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-lg); padding: 3rem; }
.contact-form-wrap h3 { color: #fff; margin-bottom: 0.4rem; font-size: 1.4rem; }
.contact-form-wrap > p { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-bottom: 2rem; }

/* about section compat */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.about-img-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 1rem 1.25rem; color: white; }
.about-img-badge__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; }
.about-img-badge__label { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.2rem; }
.about-content .section-label { margin-bottom: 1rem; }
.about-content h2 { color: #fff; margin-bottom: 1.5rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-feature { display: flex; align-items: flex-start; gap: 1rem; }
.about-feature__icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(196,30,58,0.10); border: 1px solid rgba(196,30,58,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }
.about-feature__icon svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.about-feature__text h4 { font-size: 0.95rem; font-weight: 700; color: #3A3F52; margin-bottom: 0.15rem; }
.about-feature__text p { font-size: 0.875rem; color: rgba(58,63,82,0.65); }

/* gallery compat */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 240px; gap: 6px; }
.gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-card); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay { position: absolute; inset: 0; background: rgba(196,30,58,0); transition: background var(--t); display: flex; align-items: flex-end; padding: 1.25rem; }
.gallery-item:hover .gallery-item__overlay { background: rgba(196,30,58,0.08); }
.gallery-item__overlay svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 2; margin-left: auto; }

/* nibe compat */
.nibe-section { background: var(--bg-dark); padding: 5rem 0; }
.nibe-inner { display: flex; align-items: center; gap: 5rem; }
.nibe-logo-wrap { flex-shrink: 0; text-align: center; }
.nibe-logo-box { display: inline-flex; align-items: center; justify-content: center; padding: 2rem 3rem; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); background: rgba(255,255,255,0.025); }
.nibe-logo-box img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.nibe-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0.35rem 1rem; border-radius: var(--radius-pill); border: 1px solid rgba(26,93,168,0.35); background: rgba(26,93,168,0.10); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7EB5F5; }
.nibe-content { flex: 1; }
.nibe-content h2 { color: #fff; margin-bottom: 1.25rem; }
.nibe-content > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; max-width: 500px; }
.nibe-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.nibe-point { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); padding: 0.75rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.nibe-point__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* contact CTA compat */
.contact-cta { background: var(--bg-mid); padding: 5rem 0; }
.contact-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.contact-cta__text h2 { color: white; margin-bottom: 0.75rem; }
.contact-cta__text p  { color: rgba(255,255,255,0.65); max-width: 500px; }
.contact-cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; flex-shrink: 0; }
.contact-cta__phone { display: flex; align-items: center; gap: 0.65rem; color: white; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; text-decoration: none; transition: opacity var(--t); white-space: nowrap; }
.contact-cta__phone:hover { opacity: 0.8; }
.contact-cta__phone svg { stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }

/* clip compat - just remove clip */
.clip-bottom, .clip-top, .clip-both { clip-path: none; padding: 6rem 0; margin-top: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-wrap img { height: 320px; }
  .nibe-inner { flex-direction: column; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta__inner { flex-direction: column; }
  .contact-cta__actions { align-items: flex-start; }
  .nibe-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .gallery-grid .gallery-item:first-child { grid-column: span 2; height: 200px; }
}

/* ── ROT-avdrag section ────────────────────────────────────────────────────── */
.rot-section {
  background: linear-gradient(135deg, #0a0d14 0%, #111520 60%, #0e1018 100%);
  border-top: 1px solid rgba(196,30,58,0.25);
  border-bottom: 1px solid rgba(196,30,58,0.25);
  position: relative;
  overflow: hidden;
}
.rot-section::before {
  content: 'ROT';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255,255,255,0.018);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.rot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3.5rem;
  align-items: center;
}
.rot-badge {
  font-size: 5.5rem;
  font-weight: 900;
  color: #C41E3A;
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: 'Barlow Semi Condensed', sans-serif;
  text-shadow: 0 0 60px rgba(196,30,58,0.4);
  flex-shrink: 0;
  position: relative;
}
.rot-badge::after {
  content: 'avdrag';
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(196,30,58,0.7);
  text-shadow: none;
  margin-top: -0.25rem;
}
.rot-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.rot-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.rot-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rot-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rot-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #C41E3A;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rot-step strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}
.rot-step span {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}
.rot-calc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 2rem;
  min-width: 260px;
}
.rot-calc__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.rot-calc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding: 0.35rem 0;
}
.rot-calc__row--discount {
  color: #C41E3A;
  font-weight: 600;
}
.rot-calc__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.75rem 0;
}
.rot-calc__row--total {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
@media (max-width: 1024px) {
  .rot-inner { grid-template-columns: auto 1fr; gap: 2rem; }
  .rot-calc { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .rot-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .rot-badge { font-size: 4rem; }
  .rot-calc { min-width: unset; }
}

/* ── Jour page ─────────────────────────────────────────────────────────────── */
.jour-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jour-hero__bg {
  position: absolute;
  inset: 0;
  background: #080A0F;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(196,30,58,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(196,30,58,0.07) 0%, transparent 60%);
}
.jour-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,10,15,0.95) 0%, rgba(13,16,24,0.85) 100%);
}
.jour-hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 640px;
}
.jour-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.45);
  color: #ff6b7a;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(196,30,58,0.15);
}
.jour-pulse {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #C41E3A;
  box-shadow: 0 0 8px rgba(196,30,58,0.8);
  animation: jourPulse 1.6s infinite;
  flex-shrink: 0;
}
@keyframes jourPulse {
  0%   { box-shadow: 0 0 0 0 rgba(196,30,58,0.8); transform: scale(1); }
  50%  { transform: scale(1.15); }
  70%  { box-shadow: 0 0 0 12px rgba(196,30,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,30,58,0); transform: scale(1); }
}
.jour-hero__content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.jour-hero__content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.jour-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.jour-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #C41E3A;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 10px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(196,30,58,0.35);
}
.jour-cta-phone:hover { background: #a51830; transform: translateY(-2px); }
.jour-cta-phone svg { flex-shrink: 0; }

.jour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.jour-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.jour-card:hover {
  border-color: rgba(196,30,58,0.3);
  background: rgba(196,30,58,0.04);
}
.jour-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: #C41E3A;
}
.jour-card__icon svg { width: 100%; height: 100%; }
.jour-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6rem; }
.jour-card p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.65; margin: 0; }

.jour-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.jour-how-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.jour-how-step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #C41E3A;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jour-how-step__content h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1rem; }
.jour-how-step__content p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.65; margin: 0; }

@media (max-width: 900px) {
  .jour-grid { grid-template-columns: repeat(2, 1fr); }
  .jour-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .jour-grid { grid-template-columns: 1fr; }
  .jour-hero__content { padding: 6rem 0 4rem; }
  .jour-cta-phone { font-size: 1.2rem; padding: 0.85rem 1.5rem; }
}
