:root {
  --sand: #f4ede7;
  --cream: #f4ede7;
  --wood: #c5a267;
  --dark: #1a3026;
  --muted: #6d706f;
  --gold: #c5a267;
}

* { box-sizing: border-box; }


html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--cream);
}

.fixed-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1a3026;
    --bs-btn-border-color: #1a3026;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #424649;
    --bs-btn-hover-border-color: #373b3e;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4d5154;
    --bs-btn-active-border-color: #373b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1a3026;
    --bs-btn-border-color: #1a3026;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1a3026;
    --bs-btn-hover-border-color: #1a3026;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a3026;
    --bs-btn-active-border-color: #1a3026;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #1a3026;
    --bs-btn-disabled-border-color: #1a3026;
}



a { color: #c5a267; text-decoration: none; }
a:hover { color: #821417; }

.head-logo {width:380px;
            height:130px;}

.navbar-brand { letter-spacing: -.03em; }

.nav-link {
  color: #ffffff;
  font-weight: 700;
  font-size: .98rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #c5a267;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, .78), rgba(18, 18, 18, .45), rgba(18, 18, 18, .18)),
    url("../img/exterior-night.jpeg") center/cover no-repeat;
  transform: scale(1.02);
}

.bach-video{
    margin-top:30px;
    width:145%;
    height:350px;    
    margin-right:-45%;
    margin-bottom:-100px; 
    position:relative;
    overflow:hidden;
    z-index:1;
}

.bach-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video verschwindet weich Richtung Bild und nach unten */
.bach-video::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(247,244,240,0) 45%,
      rgba(247,244,240,.35) 70%,
      rgba(247,244,240,1) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(247,244,240,0) 45%,
      rgba(247,244,240,.55) 80%,
      rgba(247,244,240,1) 100%
    );
}

.feature-circle{
  position: relative;
  z-index: 5;
}

.ci-hero-image-wrap{
  overflow: visible;
}

.bach-video::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.35) 70%,
    rgba(255,255,255,.85) 100%
  );
  pointer-events: none;
}

.bach-video::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(
            to right,
            rgba(247,244,240,0) 55%,
            rgba(247,244,240,.4) 75%,
            rgba(247,244,240,.95) 100%
        );
    pointer-events:none;
}

.ci-hero-image-wrap{
  overflow: visible;
}

.min-vh-80 {
    min-height: 80vh !important;
}

.fw-extrabold { font-weight: 800; letter-spacing: -.06em; }
.hero-copy { max-width: 680px; color: rgba(255, 255, 255, .82); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow.dark { background: rgba(185, 149, 97, .14); color:#000000; }

.availability-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 2rem;
  padding: 2rem;
}

.section-pad { padding: 6rem 0; }
.bg-warm { background: var(--sand); }
.section-title {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.section-head { max-width: 720px; }
.shadow-soft { box-shadow: 0 24px 70px rgba(73, 60, 47, .16); }
.feature-box, .highlight-card {
  height: 100%;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.25rem;
}
.feature-box { font-weight: 700; }
.highlight-card {
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(73, 60, 47, .12); }
.highlight-card h3 { font-weight: 800; letter-spacing: -.03em; }
.highlight-card p { color: var(--muted); margin-bottom: 0; }

.image-band {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}
.image-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.65));
}

.partner-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.partner-logos img {
  max-height: 100px;
  max-width: 180px;
  object-fit: contain;
  padding: .8rem 1rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e8e8e8;
}
.broker-card {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: #fff;
  border-radius: 2rem;
  padding: 1.25rem;
  border: 1px solid #e8e8e8;
}
.broker-img {
  width: 210px;
  max-width: 45%;
  border-radius: 1.4rem;
  object-fit: cover;
  background: #f7f7f7;
}

.h5, h5 {
    font-size: 1.25rem;
    font-weight: bold;
}


.text-white-50 {
    --bs-text-opacity: 1;
    color: #FFFFFF !important;
}


.footer {background: var(--dark); color:#FFFFFF;}

.footer-link {color:#FFFFFF;}

.footer-link:hover {color:#FFFFFF;}

.rustler-footer-logo {
  max-height:60px;
  background:#fff; 
  padding:6px 10px;
  border-radius:4px;
}


@media (max-width: 767.98px) {
  .section-pad { padding: 4rem 0; }
  .display-3 { font-size: 3rem; }
  .broker-card { flex-direction: column; align-items: flex-start; }
  .broker-img { width: 100%; max-width: 100%; }
}


/* Unterseiten im Aufbau der Startseite */
.subpage-hero {
  padding-top: 210px;
  background: #fffaf6;
  overflow: hidden;
}
.subpage-hero-text { padding: clamp(3rem, 6vw, 6rem) 0; }
.subpage-hero-text h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: .95;
  color: var(--dark);
  margin: 1rem 0;
}
.subpage-hero-text h1 em { color: var(--gold); font-weight: 500; }
.subpage-hero-text .lead { color: #263c34; max-width: 760px; }
.subpage-hero-img img { width: 100%; height: min(620px, 65vh); object-fit: cover; border-left: 1px solid rgba(197,162,103,.35); }
.location-strip.compact { padding: 1.6rem 0; }
.content-panel { padding: 1rem 0; }
.content-panel .section-title { font-family: "Cormorant Garamond", Georgia, serif; color: var(--dark); letter-spacing: 0; }
.icon-card {
  display: block;
  height: 100%;
  min-height: 260px;
  padding: 2rem;
  border: 1px solid rgba(197,162,103,.45);
  border-radius: .45rem;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 50px rgba(26,48,38,.06);
}
.icon-card span { display: block; color: var(--gold); font-size: 2.8rem; line-height: 1; margin-bottom: 1.1rem; }
.icon-card h3 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--dark); font-size: 1.55rem; font-weight: 700; margin-bottom: 1rem; }
.icon-card p { max-width: none; line-height: 1.65; color: #42534d; margin: 0; }
.form-card { background: rgba(255,255,255,.78); border: 1px solid rgba(197,162,103,.45); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2.5rem); }
.form-control, .form-select { border-color: rgba(197,162,103,.45); border-radius: .35rem; padding: .8rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(197,162,103,.18); }
@media (max-width: 991.98px) {
  .subpage-hero { padding-top: 90px; }
  .subpage-hero-img img { height: 420px; border-left: 0; }
}


/* Startseite im RIVUS-CI-Aufbau */
body {
  background: #fffaf6;
}

.navbar-glass {
  min-height: 118px;
  overflow: visible;
  background: #1a3026;
  border-bottom: 1px solid rgba(197,162,103,.35);
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.logo-circle-wrap {
  position:absolute;
  left:40px;
  top:25px;
  z-index:1000;
}

.logo-circle {
  width:260px;
  height:260px;
  border-radius:50%;
  background:#1a3026;
  border:5px solid #c5a267;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.top-rivus-logo {
  width:230px;
  height:auto;
  display:block;
}

.navbar .container-fluid {
  min-height: 118px;
}

.navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.nav-link {
  color: #ffffff;
  font-weight: 700;
  font-size: .98rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #c5a267;
}

.nav-cta,
.hero-btn {
  border-radius: .25rem;
  padding: .75rem 1.05rem;
  font-weight: 600;
}

.btn-dark:hover {
  background: #0f2119;
  border-color: #0f2119;
}

.ci-hero {
  padding-top: 180px;
  background: #fffaf6;
  overflow: hidden;
}

.ci-hero-content {
  display: grid;
  grid-template-columns: minmax(360px, 43%) minmax(0, 57%);
  align-items: stretch;
  min-height: calc(100vh - 118px - 92px);
}

.ci-hero-text {
  padding: clamp(3.2rem, 6vw, 6.5rem) clamp(1.5rem, 4vw, 4.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ci-hero-text .rivus-logo {
  width: min(330px, 72%);
  height: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ci-hero-text h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--dark);
  margin: 0 0 1rem;
}

.ci-hero-text h1 em {
  display: inline-block;
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}

.gold-line {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: .7rem 0 1.7rem;
}

.ci-hero-text .lead {
  color: #263c34;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: 1.8rem;
}

.ci-hero-image-wrap {
  position: relative;
  min-height: 560px;
}

.ci-hero-image-wrap::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 32%;
  z-index: 1;
  background: linear-gradient(90deg, #fffaf6 0%, rgba(255,250,246,.88) 32%, rgba(255,250,246,0) 100%);
  pointer-events: none;
}

.ci-hero-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-circle {
  position: absolute;
  left: 8%;
  top: 14%;
  transform: translate(-50%, -50%);
  width: 330px;
  height: 350px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255,250,246,.97);
  border: 5px solid var(--gold);
  box-shadow: 0 22px 80px rgba(26,48,38,.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.9rem;
  z-index: 5;
}

.feature-circle hr {
  opacity: 1;
  border: 0;
  height: 1px;
  background: rgba(197,162,103,.85);
  margin: .85rem 1.4rem;
}

.circle-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: .8rem;
}

.circle-icon {
  color: var(--gold);
  font-size: 2.1rem;
  line-height: 1;
  text-align: center;
}

.circle-item p {
  margin: 0;
  color: #21382f;
  font-size: .98rem;
  line-height: 1.25;
}

.circle-item small { font-size: .78rem; }

.location-strip {
  background: var(--dark);
  color: #fff;
  padding: 1.8rem 0;
}

.location-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
}

.location-title .pin {
  color: var(--gold);
  font-family: Inter, sans-serif;
  font-size: 2rem;
  margin-right: .7rem;
  vertical-align: middle;
}

.separator {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--gold);
}

.location-copy {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.5;
}

.project-intro {
  background: #fffaf6;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--dark);
  letter-spacing: -.015em;
}

.eyebrow.dark {
  background: transparent;
  color: var(--gold);
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  letter-spacing: .22em;
}

.icon-card {
  display: block !important;
  min-height: 260px;
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(197,162,103,.45);
  border-radius: .45rem;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 50px rgba(26,48,38,.06);
}

.icon-card span {
  display: block;
  color: var(--gold);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.icon-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--dark);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.icon-card p {
  max-width: none;
  line-height: 1.65;
  color: #42534d;
  margin: 0;
}


.rustler-logo {width:650px; 
              height:230px;}


@media (max-width: 1199.98px) {
  .top-rivus-logo { width: 210px; }
  .navbar-glass, .navbar .container-fluid { min-height: 102px; }
  .ci-hero { padding-top: 102px; }
  .ci-hero-content { grid-template-columns: 42% 58%; }
  .feature-circle { width: 260px; padding: 1.7rem; }
  .circle-item { grid-template-columns: 42px 1fr; }
}

@media (max-width: 991.98px) {
  .navbar-glass, .navbar .container-fluid { min-height: 88px; }
  .top-rivus-logo { width: 180px; }
  .ci-hero { padding-top: 88px; }
  .ci-hero-content { grid-template-columns: 1fr; }
  .ci-hero-text { padding: 3rem 1.5rem; }
  .ci-hero-image-wrap { min-height: 460px; }
  .ci-hero-image { min-height: 460px; }
  .ci-hero-image-wrap::before { display: none; }
  .feature-circle { right: 1rem; width: 240px; }
}

@media (max-width: 575.98px) {
  .feature-circle { position: static; transform: none; width: calc(100% - 2rem); margin: -3rem auto 2rem; }
  .ci-hero-image-wrap { min-height: auto; }
  .ci-hero-image { min-height: 360px; }
}


@media (max-width: 991px) {
 .logo-circle-wrap{left:15px;top:10px;}
 .logo-circle{width:140px;height:140px;}
 .top-rivus-logo{width:90px;}
 .ci-hero{padding-top:120px;}
}



@media (max-width: 768px) and (orientation:portrait) {

 /* Header */
  .navbar-glass{
    min-height:102px;
    overflow:visible;
    position:relative;
  }

  .navbar .container-fluid{
    min-height:102px;
    position:relative;
  }

  /* Logo */
  .logo-circle-wrap{
    left:10px;
    top:8px;
    z-index:1001;
  }

  .logo-circle{
    width:140px;
    height:140px;
    border-width:5px;
  }

  .top-rivus-logo{
    width:95px;
  }

  /* Burger Button */
  .navbar-toggler{
    position:absolute;
    right:12px;
    top:16px;
    z-index:2000;
    border:1px solid #c5a267;
    background:#1a3026;
    box-shadow:0 0 0 2px rgba(197,162,103,.15);
  }

  /* Goldene Burger-Linien */
  .navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c5a267' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  /* Mobile Menü */
  .navbar-collapse{
    position:absolute;
    top:102px;
    left:0;
    right:0;
    background:#1a3026;
    padding:70px 25px 35px;
    z-index:999;
  }

  /* Goldene Linie unter dem Logo */
  .navbar-collapse::before{
    content:"";
    position:absolute;
    top:0;
    left:150px; /* direkt nach dem Logo */
    right:0;
    height:1px;
    background:#c5a267;
  }

  .navbar-nav{
    align-items:flex-start !important;
  }

  .nav-link{
    color:#fff;
    font-size:1rem;
    font-weight:700;
    padding:12px 0;
  }

  .nav-link:hover{
    color:#c5a267;
  }

  .nav-cta{
    margin-top:20px;
    display:inline-block;
  }

  /* Content unter Header */
  .ci-hero,
  .subpage-hero{
    padding-top:50px;
  }

  /* Hero Titel */
  .ci-hero-text h1,
  .subpage-hero-text h1{
    font-size:3.1rem;
    line-height:.95;
  }

  /* Kreiselement ausblenden */
  .feature-circle{
    display:none;
  }

  .btn-dark {
    --bs-btn-color: #1a3026;
    --bs-btn-bg: #FFFFFF;
    --bs-btn-border-color: #1a3026;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #424649;
    --bs-btn-hover-border-color: #373b3e;
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4d5154;
    --bs-btn-active-border-color: #373b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

.subpage-hero {
  overflow: visible;
}

.subpage-hero-text {
        margin-left: 0 !important;
        padding-left: 30px;
        padding-right: 30px;
        max-width: 100%;}

.subpage-hero-text .lead {
  max-width: 100%;
  width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
    padding-left: 30px;
    padding-right: 30px;
}

.section-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--dark);
    letter-spacing: -.015em;
    padding-left: 25px;
}

.eyebrow.dark {
    background: transparent;
    color: var(--gold);
    padding: 0;
    border-radius: 0;
    font-weight: 800;
    letter-spacing: .22em;
    padding-left: 0px;
}

.location-strip.compact {
    padding: 1.6rem 0;
    margin-left: 12px;
    margin-right: 12px;
}

.secondline-mobile {
        background: transparent;
        color: var(--gold);
        border-radius: 0;
        font-weight: 800;
        letter-spacing: .22em;
        padding-left: 0px;
        padding-left: 6% !important;}

.rustler-logo {
    width: 280px;
    height: 100px;
    margin-bottom: 15%;
}

}
