/*
Theme Name: Betheme Child
Template: betheme
*/

/* =========================================================
   Remscheid Vibes – Global Style
   Die Websitepfleger
   ========================================================= */

:root {
  --rv-white: #ffffff;
  --rv-lila: #4a294e;
  --rv-red: #ea504b;
  --rv-green: #b7cf47;
  --rv-petrol: #029ba5;
  --rv-blue: #20bade;

  --rv-text: #201923;
  --rv-muted: rgba(32, 25, 35, 0.72);
  --rv-soft: #f7f5f8;
  --rv-soft-2: #fbfafc;
  --rv-border: rgba(74, 41, 78, 0.15);
  --rv-border-strong: rgba(74, 41, 78, 0.24);

  --rv-radius: 24px;
  --rv-radius-small: 14px;
  --rv-radius-large: 34px;

  --rv-shadow: 0 18px 50px rgba(74, 41, 78, 0.10);
  --rv-shadow-strong: 0 30px 85px rgba(74, 41, 78, 0.16);

  --rv-font-head: "Eurostile", Arial, sans-serif;
  --rv-font-body: "Inter", Arial, sans-serif;

  --rv-bg-bottom-desktop: url("https://remscheid-vibes.de/wp-content/uploads/2026/07/rv-bg-bottom-desktop.webp");
  --rv-bg-bottom-mobile: url("https://remscheid-vibes.de/wp-content/uploads/2026/07/rv-bg-bottom-mobile.webp");
}

/* =========================================================
   Grundlayout / BeTheme Reset
   ========================================================= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--rv-white);
  color: var(--rv-text);
  font-family: var(--rv-font-body);
  overflow-x: hidden;
}

body,
p,
li,
input,
textarea,
select,
button,
.rv-section-text,
.rv-lead,
.rv-copy,
.rv-card p,
.rv-form input,
.rv-form textarea,
.rv-form select,
.rv-form small,
.rv-checkboxes label,
.rv-checkboxes .wpcf7-list-item-label,
.rv-footer-panel p,
.rv-contact-line p,
.rv-mini-footer {
  font-family: var(--rv-font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.rv-section-kicker,
.rv-card h3,
.rv-form-intro h3,
.rv-button,
a.rv-button,
button.rv-button,
input[type="submit"] {
  font-family: var(--rv-font-head) !important;
}

#Content {
  background: var(--rv-white);
}

#Content p {
  color: var(--rv-text);
}

.rv-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

.rv-narrow {
  max-width: 900px;
}

.rv-center {
  text-align: center;
}

.rv-left {
  text-align: left;
}

/* =========================================================
   Typografie
   ========================================================= */

.rv-section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--rv-red);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-section-title,
#rv-about h2,
#rv-join h2,
#rv-event-form-section h2,
#rv-social-contact h2 {
  margin: 0 0 20px 0;
  color: var(--rv-lila);
  font-size: clamp(44px, 4.8vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.rv-section-text,
.rv-lead,
.rv-copy,
.rv-hero-text {
  margin: 0;
  color: var(--rv-text);
  font-size: 20px;
  line-height: 1.62;
  font-weight: 400;
}

.rv-muted {
  color: var(--rv-muted);
}

.rv-color-red {
  color: var(--rv-red);
}

.rv-color-green {
  color: var(--rv-green);
}

.rv-color-petrol {
  color: var(--rv-petrol);
}

.rv-color-blue {
  color: var(--rv-blue);
}

.rv-color-lila {
  color: var(--rv-lila);
}

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

.rv-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.rv-button,
a.rv-button,
button.rv-button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 17px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.22s ease;
  box-sizing: border-box;
  box-shadow: none;
  white-space: nowrap;
}

.rv-button-primary,
a.rv-button-primary,
input[type="submit"] {
  background: var(--rv-red) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-red) !important;
  box-shadow: 0 16px 36px rgba(234, 80, 75, 0.24);
}

.rv-button-primary:hover,
a.rv-button-primary:hover,
input[type="submit"]:hover {
  background: var(--rv-lila) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-lila) !important;
  transform: translateY(-2px);
}

.rv-button-secondary,
a.rv-button-secondary {
  background: var(--rv-lila) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-lila) !important;
  box-shadow: 0 16px 36px rgba(74, 41, 78, 0.20);
}

.rv-button-secondary:hover,
a.rv-button-secondary:hover {
  background: var(--rv-petrol) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-petrol) !important;
  transform: translateY(-2px);
}

.rv-button-light,
a.rv-button-light {
  background: var(--rv-white) !important;
  color: var(--rv-lila) !important;
  border-color: rgba(74, 41, 78, 0.22) !important;
}

.rv-button-light:hover,
a.rv-button-light:hover {
  background: var(--rv-green) !important;
  color: var(--rv-lila) !important;
  border-color: var(--rv-green) !important;
  transform: translateY(-2px);
}

.rv-button-green,
a.rv-button-green {
  background: var(--rv-green) !important;
  color: var(--rv-lila) !important;
  border-color: var(--rv-green) !important;
  box-shadow: 0 16px 36px rgba(183, 207, 71, 0.25);
}

.rv-button-green:hover,
a.rv-button-green:hover {
  background: var(--rv-lila) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-lila) !important;
  transform: translateY(-2px);
}

.rv-button-outline,
a.rv-button-outline {
  background: transparent !important;
  color: var(--rv-lila) !important;
  border-color: rgba(74, 41, 78, 0.32) !important;
}

.rv-button-outline:hover,
a.rv-button-outline:hover {
  background: var(--rv-lila) !important;
  color: var(--rv-white) !important;
  border-color: var(--rv-lila) !important;
  transform: translateY(-2px);
}

.rv-button span,
.rv-button .button_label {
  color: inherit !important;
}

/* =========================================================
   Cards / Grids
   ========================================================= */

.rv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.rv-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.rv-card {
  position: relative;
  background: var(--rv-white);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  padding: 34px 32px;
  box-shadow: var(--rv-shadow);
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.22s ease;
}

.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow-strong);
  border-color: var(--rv-border-strong);
}

.rv-card h3 {
  margin: 0 0 14px 0;
  color: var(--rv-lila);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.rv-card p {
  margin: 0;
  color: var(--rv-text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.rv-card .rv-button {
  margin-top: 26px;
}

.rv-card-accent-red {
  border-top: 7px solid var(--rv-red);
}

.rv-card-accent-green {
  border-top: 7px solid var(--rv-green);
}

.rv-card-accent-blue {
  border-top: 7px solid var(--rv-blue);
}

.rv-card-accent-petrol {
  border-top: 7px solid var(--rv-petrol);
}

.rv-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--rv-green);
  color: var(--rv-lila);
  font-size: 16px;
  font-weight: 900;
}

/* =========================================================
   Hinweisbox
   ========================================================= */

.rv-notice {
  margin-top: 22px;
  padding: 15px 18px;
  background: rgba(183, 207, 71, 0.20);
  border: 1px solid rgba(183, 207, 71, 0.72);
  border-radius: var(--rv-radius-small);
  color: var(--rv-lila);
  font-size: 15px;
  line-height: 1.55;
}

.rv-notice strong {
  color: var(--rv-lila);
  font-weight: 800;
}

/* =========================================================
   Modul 1 – Hero
   Section-ID: rv-hero
   Neuer Einstieg ohne rotes Postkarten-BG
   ========================================================= */

#rv-hero {
  position: relative;
  min-height: 710px;
  padding: 86px 0 96px 0 !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(32, 186, 222, 0.16) 0, rgba(32, 186, 222, 0.00) 30%),
    radial-gradient(circle at 12% 76%, rgba(183, 207, 71, 0.18) 0, rgba(183, 207, 71, 0.00) 32%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #fbfafc 100%);
  overflow: hidden;
}

#rv-hero::before {
  content: "";
  position: absolute;
  right: -150px;
  top: -150px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(32, 186, 222, 0.12);
  z-index: 0;
  pointer-events: none;
}

#rv-hero::after {
  content: "";
  position: absolute;
  left: -130px;
  bottom: 80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(183, 207, 71, 0.20);
  z-index: 0;
  pointer-events: none;
}

#rv-hero .rv-container {
  position: relative;
  z-index: 2;
}

.rv-hero-logo-floating {
  display: block;
  width: min(34vw, 385px);
  max-width: 385px;
  height: auto;
  margin: 0 0 34px 0;
  position: relative;
  z-index: 3;
}

.rv-hero-box {
  width: 100%;
  max-width: 980px;
  margin-left: 0;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.965);
  border: 1px solid rgba(74, 41, 78, 0.13);
  border-radius: var(--rv-radius-large);
  padding: 54px 64px;
  box-shadow: var(--rv-shadow-strong);
  box-sizing: border-box;
}

.rv-hero-logo {
  display: none;
}

#rv-hero h1 {
  max-width: 780px;
  margin: 0 0 20px 0;
  color: var(--rv-lila);
  font-size: clamp(52px, 5.4vw, 80px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.rv-hero-subline {
  max-width: 760px;
  margin: 0 0 20px 0;
  color: var(--rv-red);
  font-size: 22px;
  line-height: 1.42;
  font-weight: 800;
}

.rv-hero-text {
  max-width: 760px;
  margin: 0;
  color: var(--rv-text);
  font-size: 20px;
  line-height: 1.62;
  font-weight: 400;
}

.rv-hero-note {
  display: none !important;
}

/* =========================================================
   Modul 2 – Was ist Remscheid Vibes?
   Section-ID: rv-about
   ========================================================= */

#rv-about {
  padding: 95px 0 90px 0 !important;
  background: var(--rv-white);
}

.rv-about-intro {
  max-width: 100%;
  margin: 0 0 42px 0;
}

.rv-about-intro .rv-section-text {
  max-width: 1080px;
}

.rv-about-grid {
  margin-top: 40px;
}

/* =========================================================
   Modul 3 – Jetzt mitmachen
   Section-ID: rv-join
   ========================================================= */

#rv-join {
  position: relative;
  padding: 90px 0 96px 0 !important;
  background:
    radial-gradient(circle at 8% 15%, rgba(234, 80, 75, 0.09) 0, rgba(234, 80, 75, 0) 34%),
    radial-gradient(circle at 92% 30%, rgba(32, 186, 222, 0.10) 0, rgba(32, 186, 222, 0) 32%),
    var(--rv-soft);
  overflow: hidden;
}

#rv-join::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -120px;
  width: 260px;
  height: 360px;
  border-radius: 999px;
  background: rgba(183, 207, 71, 0.42);
  transform: rotate(-8deg);
  z-index: 0;
  pointer-events: none;
}

#rv-join::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 70px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(32, 186, 222, 0.20);
  z-index: 0;
  pointer-events: none;
}

#rv-join .rv-container {
  position: relative;
  z-index: 2;
}

.rv-join-intro {
  max-width: 100%;
  margin: 0 0 42px 0;
}

.rv-join-intro .rv-section-text {
  max-width: 1040px;
}

.rv-join-grid {
  margin-top: 42px;
}

.rv-join-grid .rv-card {
  display: flex;
  flex-direction: column;
}

.rv-join-grid .rv-card p {
  flex-grow: 1;
}

/* =========================================================
   Modul 4 – Eventformular
   Section-ID: rv-event-form-section
   ========================================================= */

#rv-event-form-section {
  padding: 78px 0 86px 0 !important;
  background: var(--rv-white);
}

.rv-form-head {
  max-width: 100%;
  margin-bottom: 28px;
}

.rv-form-head .rv-section-text {
  max-width: 1120px;
}

.rv-form-wrap {
  width: 100%;
  max-width: 100%;
  background: var(--rv-white);
  border: 1px solid var(--rv-border);
  border-radius: 28px;
  padding: 28px 30px 32px 30px;
  box-shadow: var(--rv-shadow);
  box-sizing: border-box;
}

/* =========================================================
   CF7 Formular – kompakt
   ========================================================= */

.rv-form {
  width: 100%;
}

.rv-form-intro {
  margin: 0 0 12px 0;
}

.rv-form-intro h3 {
  margin: 0 0 7px 0;
  color: var(--rv-lila);
  font-size: 25px;
  line-height: 1.12;
  font-weight: 900;
}

.rv-form-intro p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rv-form-divider {
  height: 1px;
  margin: 20px 0 18px 0;
  background: var(--rv-border);
}

.rv-form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 11px;
}

.rv-form-field {
  width: 100%;
}

.rv-half {
  width: 50%;
}

.rv-third {
  width: 33.333%;
}

.rv-full {
  width: 100%;
}

.rv-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--rv-lila);
  font-family: var(--rv-font-body) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.rv-form input[type="text"],
.rv-form input[type="email"],
.rv-form input[type="tel"],
.rv-form input[type="url"],
.rv-form input[type="date"],
.rv-form input[type="file"],
.rv-form select,
.rv-form textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid rgba(74, 41, 78, 0.22);
  border-radius: 10px;
  padding: 10px 13px;
  background: var(--rv-white);
  color: var(--rv-text);
  font-size: 14px;
  line-height: 1.35;
  box-sizing: border-box;
  box-shadow: none;
}

.rv-form textarea {
  min-height: 92px;
  resize: vertical;
}

.rv-form-field.rv-full textarea {
  min-height: 105px;
}

.rv-form input[type="file"] {
  padding: 10px 13px;
}

.rv-form input:focus,
.rv-form select:focus,
.rv-form textarea:focus {
  border-color: var(--rv-petrol);
  outline: none;
  box-shadow: 0 0 0 4px rgba(2, 155, 165, 0.12);
}

.rv-form input::placeholder,
.rv-form textarea::placeholder {
  color: rgba(32, 25, 35, 0.42);
}

.rv-form small {
  display: block;
  margin-top: 6px;
  color: var(--rv-muted);
  font-size: 13px;
  line-height: 1.4;
}

.rv-checkboxes .wpcf7-list-item {
  display: block;
  margin: 0 0 7px 0;
}

.rv-checkboxes label,
.rv-checkboxes .wpcf7-list-item-label {
  color: var(--rv-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.38;
}

.rv-checkboxes input[type="checkbox"] {
  margin-right: 8px;
  transform: translateY(1px);
}

.rv-form .wpcf7-submit {
  width: auto;
  min-width: 230px;
  margin-top: 8px;
}

.rv-form .wpcf7-submit:disabled,
.rv-form .wpcf7-submit[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none !important;
}

/* CF7 Meldungen */

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0 0;
  padding: 15px 18px;
  border-radius: 14px;
  color: var(--rv-lila);
  font-size: 15px;
  line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--rv-green);
  background: rgba(183, 207, 71, 0.2);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--rv-red);
  background: rgba(234, 80, 75, 0.12);
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--rv-red);
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   Modul 5 – Social / Kontakt / Netzwerk / Abschluss
   Section-ID: rv-social-contact
   ========================================================= */

#rv-social-contact {
  position: relative;
  padding: 96px 0 62px 0 !important;
  background: var(--rv-white);
  overflow: hidden;
}

#rv-social-contact::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 460px;
  transform: translateX(-50%);
  background-image: var(--rv-bg-bottom-desktop);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
  pointer-events: none;
}

#rv-social-contact .rv-container {
  position: relative;
  z-index: 2;
}

.rv-footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.rv-footer-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(74, 41, 78, 0.12);
  border-radius: 28px;
  padding: 40px 42px;
  box-shadow: 0 18px 55px rgba(74, 41, 78, 0.10);
  box-sizing: border-box;
  backdrop-filter: blur(2px);
}

.rv-footer-panel h2,
.rv-footer-panel h3 {
  margin: 0 0 16px 0;
  color: var(--rv-lila);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rv-footer-panel h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
}

.rv-footer-panel h3 {
  font-size: 31px;
  line-height: 1.08;
}

.rv-footer-panel p {
  margin: 0;
  color: var(--rv-text);
  font-size: 17px;
  line-height: 1.65;
}

.rv-footer-panel .rv-button-row {
  margin-top: 28px;
}

.rv-footer-contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rv-border);
}

.rv-footer-contact p {
  font-size: 16px;
}

.rv-footer-contact a,
.rv-footer-panel a:not(.rv-button),
.rv-mini-footer a {
  color: var(--rv-lila);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.rv-footer-contact a:hover,
.rv-footer-panel a:not(.rv-button):hover,
.rv-mini-footer a:hover {
  color: var(--rv-red);
}

.rv-social-box {
  max-width: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.rv-contact-line {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rv-border);
}

.rv-contact-line p {
  margin: 0;
  color: var(--rv-text);
  font-size: 17px;
  line-height: 1.55;
}

.rv-contact-line a {
  color: var(--rv-lila);
  font-weight: 800;
  text-decoration: none;
}

.rv-contact-line a:hover {
  color: var(--rv-red);
}

.rv-mini-footer {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  color: var(--rv-lila);
  font-size: 14px;
  line-height: 1.6;
}

.rv-mini-footer a {
  color: var(--rv-lila);
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================
   BeTheme Footer / Copyright optional angleichen
   ========================================================= */

#Footer .footer_copy {
  background: var(--rv-lila) !important;
  color: var(--rv-white) !important;
  border-top: none;
  padding: 24px 0;
}

#Footer .footer_copy .copyright {
  color: rgba(255, 255, 255, 0.86) !important;
  font-family: var(--rv-font-body);
  font-size: 14px;
  line-height: 1.6;
}

#Footer .footer_copy a {
  color: var(--rv-white) !important;
}

#Footer .footer_copy a:hover {
  color: var(--rv-green) !important;
}

/* =========================================================
   Responsive Tablet
   ========================================================= */

@media only screen and (max-width: 959px) {
  .rv-container {
    max-width: 100%;
    padding-left: 34px;
    padding-right: 34px;
  }

  .rv-grid-3,
  .rv-grid-2 {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #rv-hero {
    min-height: auto;
    padding: 82px 0 78px 0 !important;
  }

  .rv-hero-logo-floating {
    width: 310px;
    max-width: 60vw;
    margin-bottom: 34px;
  }

  .rv-hero-box {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 46px 42px;
  }

  #rv-hero h1 {
    max-width: 760px;
  }

  .rv-hero-text,
  .rv-hero-subline {
    max-width: 760px;
  }

  .rv-form-row {
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
  }

  .rv-half,
  .rv-third {
    width: 100%;
  }

  .rv-footer-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* =========================================================
   Responsive Mobile
   ========================================================= */

@media only screen and (max-width: 767px) {
  .rv-container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  #rv-hero {
    min-height: auto;
    padding: 54px 0 58px 0 !important;
    background:
      radial-gradient(circle at 88% 10%, rgba(32, 186, 222, 0.12) 0, rgba(32, 186, 222, 0.00) 34%),
      radial-gradient(circle at 8% 92%, rgba(183, 207, 71, 0.16) 0, rgba(183, 207, 71, 0.00) 38%),
      #ffffff;
  }

  #rv-hero::before,
  #rv-hero::after {
    display: none;
  }

  .rv-hero-logo-floating {
    width: 250px;
    max-width: 72vw;
    margin: 0 0 26px 0;
  }

  .rv-hero-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px 24px;
    border-radius: 22px;
  }

  #rv-hero h1 {
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  .rv-hero-subline,
  .rv-hero-text,
  .rv-section-text,
  .rv-lead,
  .rv-copy {
    font-size: 17px;
    line-height: 1.58;
  }

  .rv-button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rv-button,
  a.rv-button,
  button.rv-button,
  input[type="submit"] {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    padding: 15px 18px;
    white-space: normal;
    text-align: center;
  }

  #rv-about,
  #rv-join,
  #rv-event-form-section {
    padding: 66px 0 !important;
  }

  .rv-section-title,
  #rv-about h2,
  #rv-join h2,
  #rv-event-form-section h2,
  #rv-social-contact h2 {
    font-size: 38px;
    line-height: 1;
  }

  .rv-card {
    padding: 27px 23px;
    border-radius: 19px;
  }

  .rv-card:hover {
    transform: none;
  }

  .rv-card h3 {
    font-size: 25px;
  }

  .rv-card p {
    font-size: 16px;
    line-height: 1.64;
  }

  #rv-join::before {
    left: -135px;
    bottom: -160px;
  }

  #rv-join::after {
    right: -185px;
    top: 40px;
  }

  .rv-form-wrap {
    padding: 24px 20px 26px 20px;
    border-radius: 20px;
  }

  .rv-form-row {
    display: block;
    margin-bottom: 0;
  }

  .rv-form-field {
    margin-bottom: 14px;
  }

  .rv-form-divider {
    margin: 24px 0 20px 0;
  }

  .rv-form-intro h3 {
    font-size: 24px;
  }

  .rv-form textarea,
  .rv-form-field.rv-full textarea {
    min-height: 92px;
  }

  #rv-social-contact {
    padding: 70px 0 42px 0 !important;
  }

  #rv-social-contact::after {
    height: 420px;
    background-image: var(--rv-bg-bottom-mobile);
    background-size: cover;
    background-position: center bottom;
  }

  .rv-footer-layout {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rv-footer-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 30px 24px;
    border-radius: 22px;
    overflow: hidden;
  }

  .rv-footer-panel h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .rv-footer-panel h3 {
    font-size: 27px;
  }

  .rv-footer-panel p,
  .rv-footer-contact p {
    font-size: 16px;
    line-height: 1.58;
  }

  .rv-footer-panel .rv-button {
    max-width: 100%;
    white-space: normal;
  }

  .rv-mini-footer {
    margin-top: 36px;
  }
}

/* =========================================================
   Sehr kleine Geräte
   ========================================================= */

@media only screen and (max-width: 420px) {
  #rv-hero h1 {
    font-size: 32px;
  }

  .rv-hero-subline {
    font-size: 17px;
  }

  .rv-hero-logo-floating {
    width: 230px;
  }

  .rv-card,
  .rv-hero-box,
  .rv-footer-panel,
  .rv-form-wrap {
    border-radius: 18px;
  }
}
/* =========================================================
   Footer Fix – Desktop + Mobile stabilisieren
   ========================================================= */

#rv-social-contact .rv-container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

#rv-social-contact .rv-footer-layout {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

#rv-social-contact .rv-footer-panel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

#rv-social-contact .rv-footer-panel:first-child {
  grid-column: 1 / 2 !important;
}

#rv-social-contact .rv-footer-panel:last-child {
  grid-column: 2 / 3 !important;
}

/* Buttons im Footer nicht über die Box hinausschieben */
#rv-social-contact .rv-footer-panel .rv-button-row {
  display: flex !important;
  flex-wrap: wrap !important;
}

#rv-social-contact .rv-footer-panel .rv-button {
  max-width: 100% !important;
  white-space: normal !important;
  text-align: center !important;
}

/* Tablet + Mobile: Footer immer einspaltig */
@media only screen and (max-width: 959px) {
  #rv-social-contact .rv-footer-layout {
    grid-template-columns: 1fr !important;
  }

  #rv-social-contact .rv-footer-panel:first-child,
  #rv-social-contact .rv-footer-panel:last-child {
    grid-column: auto !important;
  }
}

/* Mobile: keine Überbreite, keine abgeschnittenen Boxen */
@media only screen and (max-width: 767px) {
  #rv-social-contact .rv-container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #rv-social-contact .rv-footer-layout {
    width: 100% !important;
    gap: 20px !important;
  }

  #rv-social-contact .rv-footer-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 22px !important;
    overflow: hidden !important;
  }

  #rv-social-contact .rv-footer-panel .rv-button-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  #rv-social-contact .rv-footer-panel .rv-button {
    width: 100% !important;
  }
}