/* ===== rdau.de — Custom Bootstrap Override ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --rd-forest:    #2d5016;
  --rd-forest-d:  #1e3a0e;
  --rd-sage:      #7a9a5e;
  --rd-cream:     #faf8f4;
  --rd-sand:      #e8e0d4;
  --rd-warm:      #c4a97d;
  --rd-accent:    #b8860b;
  --rd-text:      #3a3632;
  --rd-text-light:#6b6560;
  --rd-white:     #ffffff;
  --rd-shadow:    0 4px 24px rgba(45,80,22,.08);
  --rd-shadow-lg: 0 12px 48px rgba(45,80,22,.12);
  --rd-radius:    12px;
  --rd-transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ===== GLOBAL ===== */
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--rd-text);
  background: var(--rd-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'DM Serif Display', serif;
  color: var(--rd-forest);
  letter-spacing: -.01em;
}

a {
  color: var(--rd-forest);
  transition: color var(--rd-transition);
}
a:hover { color: var(--rd-accent); }

::selection {
  background: var(--rd-sage);
  color: var(--rd-white);
}

/* ===== TOP BAR ===== */
.rd-topbar {
  background: var(--rd-forest-d);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  padding: .45rem 0;
}
.rd-topbar a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color var(--rd-transition);
}
.rd-topbar a:hover { color: var(--rd-warm); }
.rd-topbar .separator { opacity: .3; margin: 0 .75rem; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--rd-white) !important;
  box-shadow: var(--rd-shadow);
  padding: .8rem 0;
  transition: all var(--rd-transition);
}
.navbar.scrolled {
  padding: .5rem 0;
  box-shadow: var(--rd-shadow-lg);
}
.navbar-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--rd-forest) !important;
  letter-spacing: -.02em;
}
.navbar-brand span {
  color: var(--rd-accent);
}
.nav-link {
  color: var(--rd-text) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem !important;
  border-radius: 8px;
  transition: all var(--rd-transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--rd-forest) !important;
  background: rgba(45,80,22,.06);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--rd-accent);
  border-radius: 2px;
}
.dropdown-menu {
  border: none;
  box-shadow: var(--rd-shadow-lg);
  border-radius: var(--rd-radius);
  padding: .5rem;
}
.dropdown-item {
  border-radius: 8px;
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--rd-transition);
}
.dropdown-item:hover {
  background: rgba(45,80,22,.06);
  color: var(--rd-forest);
}

/* ===== HERO / CAROUSEL ===== */
.rd-hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.rd-hero .carousel-item img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  filter: brightness(.75);
}
.rd-hero .carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.rd-hero .carousel-caption h1 {
  font-size: 3rem;
  color: var(--rd-white);
  margin-bottom: .5rem;
}
.rd-hero .carousel-caption p {
  font-size: 1.15rem;
  opacity: .9;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  opacity: 1;
}
.carousel-indicators .active {
  background: var(--rd-white);
  border-color: var(--rd-white);
}
@media (max-width: 767px) {
  .rd-hero .carousel-item img { height: 45vh; }
  .rd-hero .carousel-caption h1 { font-size: 1.8rem; }
}

/* ===== SECTION ===== */
.rd-section {
  padding: 4.5rem 0;
}
.rd-section-alt {
  background: var(--rd-white);
}
.rd-section-title {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.rd-section-subtitle {
  color: var(--rd-text-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.rd-divider {
  width: 60px;
  height: 3px;
  background: var(--rd-accent);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* ===== WELCOME / INFO CARDS ===== */
.rd-welcome-card {
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 2.5rem;
  transition: transform var(--rd-transition), box-shadow var(--rd-transition);
}
.rd-welcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rd-shadow-lg);
}

.rd-person-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  transition: transform var(--rd-transition);
}
.rd-person-card:hover { transform: translateY(-4px); }
.rd-person-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--rd-sand);
  margin-bottom: 1rem;
}
.rd-person-card h5 { font-size: 1.1rem; margin-bottom: .25rem; }
.rd-person-card a {
  color: var(--rd-forest);
  font-weight: 600;
  text-decoration: none;
}

/* ===== PRICE BADGE ===== */
.rd-price-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--rd-forest), var(--rd-sage));
  color: var(--rd-white);
  padding: .75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(45,80,22,.25);
}

/* ===== FEATURES ===== */
.rd-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,80,22,.08);
  color: var(--rd-forest);
  border-radius: 14px;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ===== GALLERY ===== */
.rd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.rd-gallery-item {
  border-radius: var(--rd-radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}
.rd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.rd-gallery-item:hover img {
  transform: scale(1.06);
}
.rd-gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--rd-transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: var(--rd-white);
  font-weight: 600;
}
.rd-gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.rd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.rd-lightbox.active { display: flex; }
.rd-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,.5);
}
.rd-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--rd-white);
  font-size: 2rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity var(--rd-transition);
}
.rd-lightbox-close:hover { opacity: 1; }

/* ===== CONTACT FORM ===== */
.rd-form .form-control,
.rd-form .form-select {
  border: 2px solid var(--rd-sand);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .95rem;
  background: var(--rd-white);
  transition: border-color var(--rd-transition), box-shadow var(--rd-transition);
}
.rd-form .form-control:focus,
.rd-form .form-select:focus {
  border-color: var(--rd-sage);
  box-shadow: 0 0 0 3px rgba(122,154,94,.15);
}
.rd-form label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--rd-text);
  margin-bottom: .35rem;
}

/* ===== BUTTONS ===== */
.btn-rd {
  background: var(--rd-forest);
  color: var(--rd-white);
  border: none;
  padding: .7rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all var(--rd-transition);
  box-shadow: 0 4px 16px rgba(45,80,22,.2);
}
.btn-rd:hover {
  background: var(--rd-forest-d);
  color: var(--rd-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,80,22,.3);
}
.btn-rd-outline {
  background: transparent;
  color: var(--rd-forest);
  border: 2px solid var(--rd-forest);
  padding: .65rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--rd-transition);
}
.btn-rd-outline:hover {
  background: var(--rd-forest);
  color: var(--rd-white);
}

/* ===== BREADCRUMB ===== */
.rd-breadcrumb {
  background: var(--rd-white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--rd-sand);
}
.rd-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: .85rem;
}
.rd-breadcrumb .breadcrumb-item a {
  color: var(--rd-text-light);
  text-decoration: none;
}
.rd-breadcrumb .breadcrumb-item.active {
  color: var(--rd-forest);
  font-weight: 600;
}

/* ===== MAP EMBED ===== */
.rd-map-wrap {
  border-radius: var(--rd-radius);
  overflow: hidden;
  box-shadow: var(--rd-shadow);
}
.rd-map-wrap img {
  width: 100%;
  height: auto;
}

/* ===== FOOTER ===== */
.rd-footer {
  background: var(--rd-forest-d);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}
.rd-footer h6 {
  color: var(--rd-white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.rd-footer a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--rd-transition);
}
.rd-footer a:hover { color: var(--rd-warm); }
.rd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: .85rem;
}

/* ===== LEGAL TEXT ===== */
.rd-legal h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}
.rd-legal h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}
.rd-legal p {
  margin-bottom: 1rem;
}

/* ===== ANIMATIONS ===== */
.rd-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.rd-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.text-accent { color: var(--rd-accent); }
.bg-cream { background: var(--rd-cream); }
.bg-sand { background: var(--rd-sand); }
