@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --rr-cream: #F6F1E6;
  --rr-ink: #1F2C3D;
  --rr-gold: #B08D57;
  --rr-gold-2: #8C6B3C;
  --rr-green: #4C6B58;
  --rr-line: #D8CDB4;
}

/* ==========================================================================
   Basis
   ========================================================================== */

.body-bg {
  background: var(--rr-cream);
}

body, p, .nav-link-text {
  font-family: 'Inter', sans-serif;
  color: var(--rr-ink);
}

.element-header,
.lebenslauf h2,
.lebenslauf h3 {
  font-family: 'Fraunces', serif;
  color: var(--rr-ink);
}

a {
  color: var(--rr-gold-2);
}
a:hover {
  color: var(--rr-green);
}

/* ==========================================================================
   Navigation & Footer
   ========================================================================== */

#page-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--rr-line);
}
#page-header .nav-link.active .nav-link-text {
  color: var(--rr-gold-2);
}

#page-footer {
  background: var(--rr-ink);
  color: var(--rr-cream);
}
#page-footer p,
#page-footer a {
  color: var(--rr-cream);
}

/* ==========================================================================
   Allgemeine Formularfelder
   ========================================================================== */

input[type="text"], input[type="email"], textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border-color: var(--rr-ink);
  box-shadow: 0 0 0 2px rgba(31, 44, 61, 0.15);
}
input::placeholder, textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */

.rr-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 0 32px;
  flex-wrap: wrap;
}
.rr-hero-text { flex: 1 1 420px; }
.rr-hero-img {
  flex: 1 1 320px;
  max-width: 380px;
  position: relative;
}
.rr-hero-img img {
  width: 100%;
  display: block;
  border-radius: 2px;
  border: 1px solid var(--rr-line);
}
.rr-hero-tag {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--rr-ink);
  color: var(--rr-cream) !important;
  padding: 16px 20px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  max-width: 220px;
}
.rr-eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
  margin-bottom: 14px;
}
.rr-hero-title {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--rr-ink);
}
.rr-hero-title em {
  font-style: italic;
  color: var(--rr-gold-2);
}
.rr-hero-lead {
  font-size: 16px;
  color: var(--rr-ink);
  max-width: 440px;
  margin-bottom: 26px;
}
.rr-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.rr-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.rr-btn-primary {
  background: var(--rr-ink);
  color: #fff !important;
}
.rr-btn-primary:hover { background: var(--rr-green); }
.rr-btn-secondary {
  border: 1px solid var(--rr-ink);
  color: var(--rr-ink) !important;
}
.rr-btn-secondary:hover {
  background: var(--rr-ink);
  color: #fff !important;
}

.card .btn,
.card a.btn {
  background: var(--rr-ink);
  color: #fff !important;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: none;
}
.card .btn:hover { background: var(--rr-green); }

/* ==========================================================================
   Deko-Elemente
   ========================================================================== */

.rr-river {
  width: 100%;
  height: 24px;
  margin: 20px 0 8px;
  display: block;
}

/* ==========================================================================
   Social Links (Footer)
   ========================================================================== */

.footer-section .social-links,
.footer-section ul.list-unstyled {
  display: flex !important;
  flex-direction: row !important;
  gap: 18px;
  list-style: none;
  padding: 0;
}
.rr-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.rr-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rr-cream) !important;
  text-decoration: none;
  font-size: 14px;
}
.rr-social-link:hover {
  color: var(--rr-gold) !important;
}
.rr-social-link .bootstrappackageicon {
  font-size: 18px;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.rr-timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--rr-line);
  margin: 24px 0 8px;
}
.rr-timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.rr-timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rr-gold);
  border: 2px solid var(--rr-cream);
}
.rr-timeline-year {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--rr-gold-2);
  font-weight: 600;
  margin-bottom: 4px;
}
.rr-timeline-content strong {
  font-family: 'Fraunces', serif;
  color: var(--rr-ink);
  font-size: 17px;
}
.rr-timeline-content p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--rr-ink);
}

/* ==========================================================================
   Cards (Projekte, Übersichtskarten)
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card img {
  height: 200px;
  width: 100%;
  object-fit: contain !important;
  padding: 20px;
  background: #FFFFFF;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 24px 24px;
}
.card-title, .card h3, .card h4 {
  margin-bottom: 10px;
}
.card-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--rr-ink);
}

/* ==========================================================================
   Hobby-Seite: Header-Bild + Zitat
   ========================================================================== */

.rr-hobby-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.rr-hobby-header-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.rr-hobby-quote {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 40px;
  max-width: 420px;
  background: var(--rr-ink);
  color: var(--rr-cream);
  padding: 24px 28px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 760px) {
  .rr-hobby-header-img { height: 320px; }
  .rr-hobby-quote {
    position: static;
    transform: none;
    font-size: 16px;
    padding: 14px 20px;
    max-width: none;
  }
}

/* ==========================================================================
   Hobby-Seite: Verein / Logo + Text nebeneinander
   ========================================================================== */

.rr-hobby-club {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px;
}
.rr-hobby-club-logo {
  flex: 0 0 220px;
  max-width: 220px;
  overflow: hidden;
}
.rr-hobby-club-logo img {
  width: 100%;
  max-width: 220px;
  display: block;
}
.rr-hobby-club-text {
  flex: 1 1 380px;
}
.rr-hobby-club-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  margin: 6px 0 16px;
  color: var(--rr-ink);
}
.rr-hobby-club-text p {
  font-size: 16px;
  color: var(--rr-ink);
  max-width: 560px;
}

.rr-hobby-teaser {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0 40px;
  flex-wrap: wrap;
}
.rr-hobby-teaser-img { flex: 1 1 360px; }
.rr-hobby-teaser-img img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--rr-line);
}

/* ==========================================================================
   About-Seite
   ========================================================================== */

.rr-about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--rr-line);
  border-bottom: 1px solid var(--rr-line);
  margin: 32px 0;
}
.rr-about-text p { font-size: 16px; color: var(--rr-ink); max-width: 440px; }
.rr-about-meta div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--rr-line);
  font-size: 14px;
}
.rr-about-meta span:first-child { color: var(--rr-gold-2); font-weight: 600; }
.rr-about-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--rr-ink);
  margin: 4px 0 14px;
}

@media (max-width: 760px) {
  .rr-about-strip { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Zitat-Bubble (z. B. bei About)
   ========================================================================== */

.rr-quote-bubble {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--rr-line);
  border-radius: 4px;
  padding: 16px 20px;
  margin-top: 14px;
  max-width: 480px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rr-ink);
}
.rr-quote-bubble::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-left: 1px solid var(--rr-line);
  border-top: 1px solid var(--rr-line);
  transform: rotate(45deg);
}
.rr-quote-cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--rr-gold-2);
}

.rr-quote-toggle {
  margin-top: 8px;
}
.rr-quote-toggle summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--rr-gold-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
.rr-quote-toggle summary::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--rr-gold-2);
  border-bottom: 2px solid var(--rr-gold-2);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.rr-quote-toggle[open] summary::before {
  transform: rotate(45deg);
}
.rr-quote-toggle summary:hover {
  color: var(--rr-green);
}
.rr-quote-toggle .rr-quote-bubble {
  margin-top: 10px;
}

blockquote {
  border: none;
  border-left: 3px solid var(--rr-gold);
  padding: 4px 0 4px 28px;
  margin: 32px 0;
}
blockquote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--rr-ink);
  margin: 0;
}

/* ==========================================================================
   Element-Header / Subheader (allgemein)
   ========================================================================== */

.element-header.h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
  margin-bottom: 14px;
}
.element-subheader {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--rr-ink);
  margin: 0 0 16px;
}
#c6 .element-header span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
}
#c56 { margin-top: 8px; }

/* ==========================================================================
   Listen
   ========================================================================== */

.list-group {
  border: 1px solid var(--rr-line);
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
  margin: 8px 0;
}
.list-group-item {
  border: none;
  border-bottom: 1px solid var(--rr-line);
  padding: 14px 20px;
  font-size: 15px;
  color: var(--rr-ink);
  background: none;
  cursor: default;
}
.list-group-item:last-child { border-bottom: none; }
.list-group-item:hover { background: none; } /* nicht klickbar, daher kein Hover-Effekt */

/* ==========================================================================
   Lebenslauf-Box (Kontaktdaten etc.)
   ========================================================================== */

.lebenslauf {
  background: #FFFFFF;
  border: 1px solid var(--rr-line);
  border-radius: 4px;
  padding: 24px 20px;
  margin: 24px 0;
  max-width: 100%; /* füllt die Spalte, statt feste Breite zu erzwingen */
}

.lebenslauf__kontakt h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--rr-ink);
  margin: 0 0 18px;
}
.lebenslauf__kontakt p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rr-line);
  font-size: 14px;
  margin: 0;
}
.lebenslauf__kontakt p:last-child { border-bottom: none; }
.lebenslauf__kontakt p strong {
  color: var(--rr-gold-2);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.lebenslauf__section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rr-line);
}
.lebenslauf__section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
  margin: 0 0 8px;
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.nav-tabs {
  border-bottom: 1px solid var(--rr-line);
}
.nav-tabs .nav-link {
  border: none;
  color: var(--rr-ink);
  opacity: 0.6;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 4px;
  margin-right: 28px;
  border-radius: 0;
}
.nav-tabs .nav-link:hover {
  opacity: 1;
  border: none;
}
.nav-tabs .nav-link.active {
  background: none;
  opacity: 1;
  color: var(--rr-gold-2);
  border-bottom: 2px solid var(--rr-gold-2);
}

/* ==========================================================================
   Kontaktseite: Formular-Wrapper, Karte, Adress-Box
   ========================================================================== */

.contact-form-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--rr-line);
  border-radius: 4px;
  padding: 28px 32px;
  max-width: 700px;
}

.map-add {
  background: var(--rr-ink);
  color: var(--rr-cream);
  border-left: 3px solid var(--rr-gold);
  border-radius: 4px;
  padding: 20px 24px;
}
.map-add .title,
.map-add .title b {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--rr-cream);
  margin-bottom: 8px;
}
.map-add .address p {
  color: var(--rr-cream);
  font-size: 14px;
  margin: 4px 0;
  opacity: 0.9;
}
.map_canvas {
  border-radius: 4px;
  border: 1px solid var(--rr-line);
  overflow: hidden;
}

/* ==========================================================================
   Powermail-Formular (Kontaktseite)
   ========================================================================== */

.tx-powermail .powermail_fieldset .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}
.tx-powermail .powermail_fieldset .row > div[class*="col-md-6"] {
  float: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.tx-powermail .powermail_fieldwrap {
  margin-top: 0 !important;
}
.powermail_label {
  min-height: 22px;
}
.powermail_form button[type="submit"],
.powermail_form input[type="submit"] {
  background: var(--rr-ink);
  color: #fff !important;
  border: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
}
.powermail_form button[type="submit"]:hover,
.powermail_form input[type="submit"]:hover {
  background: var(--rr-green);
}