/*
Theme Name: Raum für Verbindung
Theme URI: https://raum-fuer-verbindung.com
Author: Wagner Werbung
Description: Individuelles, leichtes WordPress Theme für Raum für Verbindung in Velten.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: raum-fuer-verbindung
*/

@font-face {
  font-family: "Ephesis";
  src: url("assets/fonts/ephesis-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --rfv-cream: #f7f1e8;
  --rfv-cream-light: #fffdf8;
  --rfv-green: #344c3d;
  --rfv-green-deep: #25382d;
  --rfv-sage: #aab8a2;
  --rfv-sage-light: #dfe6da;
  --rfv-terra: #c87863;
  --rfv-terra-dark: #a95f4d;
  --rfv-ink: #25342c;
  --rfv-muted: #667168;
  --rfv-white: #ffffff;
  --rfv-shadow: 0 24px 70px rgba(52, 76, 61, 0.12);
  --rfv-radius: 34px;
  --rfv-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--rfv-cream);
  color: var(--rfv-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--rfv-terra);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  clip: auto;
  background: var(--rfv-green);
  color: var(--rfv-white);
  border-radius: 999px;
}

.rfv-wrap {
  width: min(calc(100% - 40px), var(--rfv-width));
  margin-inline: auto;
}

.rfv-section {
  position: relative;
  padding: 110px 0;
  overflow: clip;
}

.rfv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--rfv-terra-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rfv-kicker::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  content: "";
}

.rfv-script,
.rfv-section-title {
  margin: 0;
  color: var(--rfv-green);
  font-family: "Ephesis", cursive;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
}

.rfv-section-title {
  font-size: clamp(3.1rem, 5vw, 5rem);
}

.rfv-heading-graphic {
  display: block;
  max-width: 100%;
  margin: 0;
  line-height: 1;
}

.rfv-heading-graphic img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.rfv-heading-graphic--arrival img {
  width: min(100%, 430px);
}

.rfv-heading-graphic--offers img {
  width: min(100%, 470px);
}

.rfv-heading-graphic--people img,
.rfv-heading-graphic--contact img {
  width: min(100%, 500px);
}

.rfv-lead {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--rfv-muted);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.85;
}

.rfv-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--rfv-green);
  border-radius: 999px;
  background: var(--rfv-green);
  color: var(--rfv-white);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.rfv-button:hover {
  transform: translateY(-2px);
  background: var(--rfv-green-deep);
}

.rfv-button--light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.rfv-button--light:hover {
  background: var(--rfv-white);
  color: var(--rfv-green);
}

.rfv-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rfv-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.rfv-text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.rfv-text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(247, 241, 232, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(52, 76, 61, 0.1);
  box-shadow: 0 10px 30px rgba(52, 76, 61, 0.07);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding {
  display: inline-flex;
  flex-direction: column;
  color: var(--rfv-green);
  line-height: 1;
  text-decoration: none;
}

.rfv-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.rfv-logo--header {
  max-width: 220px;
  max-height: 60px;
}

.site-branding__name {
  font-family: "Ephesis", cursive;
  font-size: 2.25rem;
  white-space: nowrap;
}

.site-branding__place {
  margin: -2px 0 0 6px;
  color: var(--rfv-terra-dark);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--rfv-green);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rfv-terra-dark);
}

.site-nav .rfv-button {
  color: var(--rfv-white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(52, 76, 61, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--rfv-green);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.rfv-hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: 150px 0 70px;
  overflow: clip;
}

.rfv-hero__grid {
  display: grid;
  min-height: 670px;
  align-items: center;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(40px, 7vw, 94px);
}

.rfv-hero__copy {
  position: relative;
  z-index: 2;
}

.rfv-hero__copy h1 {
  max-width: 620px;
}

.rfv-hero__brand .rfv-logo--hero {
  width: min(100%, 520px);
  max-height: 260px;
  object-position: left center;
}

.rfv-hero__subtitle {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--rfv-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.rfv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.rfv-hero__visual {
  position: relative;
  min-height: 650px;
}

.rfv-hero__shape {
  position: absolute;
  inset: 0 0 0 7%;
  overflow: hidden;
  background: var(--rfv-sage-light);
  border-radius: 44% 56% 38% 62% / 36% 38% 62% 64%;
  box-shadow: var(--rfv-shadow);
}

.rfv-hero__shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rfv-hero__accent {
  position: absolute;
  right: -4%;
  bottom: 5%;
  width: 190px;
  height: 190px;
  border: 35px solid var(--rfv-terra);
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0.88;
  transform: rotate(22deg);
}

.rfv-hero__note {
  position: absolute;
  z-index: 3;
  bottom: 8%;
  left: 0;
  max-width: 270px;
  padding: 22px 24px;
  background: rgba(255, 253, 248, 0.94);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(52, 76, 61, 0.14);
  color: var(--rfv-green);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.rfv-hero__note span {
  display: block;
  margin-top: 5px;
  color: var(--rfv-terra-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Intro */
.rfv-intro {
  padding-top: 80px;
}

.rfv-intro__panel {
  position: relative;
  display: grid;
  padding: clamp(42px, 7vw, 92px);
  overflow: hidden;
  background: var(--rfv-cream-light);
  border: 1px solid rgba(52, 76, 61, 0.1);
  border-radius: var(--rfv-radius);
  color: var(--rfv-green);
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
}

.rfv-intro__panel::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 55px solid rgba(200, 120, 99, 0.64);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(14deg);
}

.rfv-intro__title {
  position: relative;
  z-index: 1;
  color: var(--rfv-green);
}

.rfv-intro__content {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.rfv-intro__content p {
  margin: 0 0 20px;
  color: var(--rfv-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.rfv-quote {
  padding-top: 18px;
  margin-top: 28px;
  border-top: 1px solid rgba(52, 76, 61, 0.17);
  color: var(--rfv-green);
  font-family: "Ephesis", cursive;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
}

/* Offers */
.rfv-offers__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 56px;
}

.rfv-offers__head .rfv-lead {
  max-width: 510px;
  margin-top: 0;
}

.rfv-offers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rfv-offer {
  position: relative;
  min-height: 340px;
  padding: 32px;
  overflow: hidden;
  background: var(--rfv-cream-light);
  border: 1px solid rgba(52, 76, 61, 0.08);
  border-radius: 26px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.rfv-offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(52, 76, 61, 0.1);
}

.rfv-offer__icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.rfv-offer h3 {
  max-width: 300px;
  margin: 22px 0 12px;
  color: var(--rfv-green);
  font-size: 1.12rem;
  line-height: 1.4;
}

.rfv-offer p {
  margin: 0;
  color: var(--rfv-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.rfv-offer__number {
  position: absolute;
  right: 25px;
  bottom: 14px;
  color: rgba(52, 76, 61, 0.07);
  font-family: "Ephesis", cursive;
  font-size: 4.8rem;
  line-height: 1;
}

/* Space and gallery */
.rfv-space {
  background: var(--rfv-sage-light);
}

.rfv-space__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(45px, 7vw, 100px);
}

.rfv-space__copy p {
  color: #556158;
}

.rfv-gallery {
  display: grid;
  min-height: 590px;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 1fr 0.8fr;
  gap: 14px;
}

.rfv-gallery__item {
  overflow: hidden;
  background: var(--rfv-sage);
  border-radius: 28px;
}

.rfv-gallery__item:first-child {
  border-radius: 45% 24% 32% 28% / 34% 28% 22% 42%;
  grid-row: 1 / 3;
}

.rfv-gallery__item:nth-child(2) {
  border-radius: 24% 48% 28% 34% / 32% 38% 26% 40%;
}

.rfv-gallery__item:nth-child(3) {
  border-radius: 28% 25% 44% 30% / 24% 38% 32% 46%;
}

.rfv-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rfv-gallery__item:hover img {
  transform: scale(1.035);
}

/* People */
.rfv-people__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.rfv-people__head .rfv-heading-graphic {
  margin-bottom: 26px;
}

.rfv-people__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.rfv-person {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  background: var(--rfv-cream-light);
  border-radius: var(--rfv-radius);
  grid-template-columns: 0.92fr 1.08fr;
}

.rfv-person--secondary {
  grid-template-columns: 1fr;
}

.rfv-person__image {
  min-height: 330px;
  overflow: hidden;
  background: var(--rfv-sage-light);
}

.rfv-person__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rfv-person:first-child .rfv-person__image img {
  object-position: 50% 32%;
}

.rfv-person--secondary .rfv-person__image {
  max-height: 280px;
}

.rfv-person__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 52px);
}

.rfv-person__role {
  margin: 0 0 8px;
  color: var(--rfv-terra-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rfv-person h3 {
  margin: 0 0 16px;
  color: var(--rfv-green);
  font-family: "Ephesis", cursive;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.9;
}

.rfv-person__body p:not(.rfv-person__role) {
  margin: 0 0 22px;
  color: var(--rfv-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.rfv-person__contact {
  display: grid;
  gap: 6px;
  margin-top: auto;
  font-size: 0.82rem;
}

.rfv-person__contact a {
  color: var(--rfv-green);
  font-weight: 600;
  text-decoration: none;
}

/* Workshop */
.rfv-workshop {
  padding-top: 40px;
}

.rfv-workshop__panel {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  background: var(--rfv-terra);
  border-radius: var(--rfv-radius);
  color: var(--rfv-white);
  grid-template-columns: 1fr 0.86fr;
}

.rfv-workshop__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(45px, 7vw, 90px);
}

.rfv-workshop__content .rfv-kicker,
.rfv-workshop__content .rfv-section-title {
  color: var(--rfv-white);
}

.rfv-workshop__content p {
  max-width: 580px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.9);
}

.rfv-workshop__image {
  min-height: 380px;
  overflow: hidden;
  border-radius: 48% 0 0 46% / 55% 0 0 45%;
}

.rfv-workshop__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact */
.rfv-contact__grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(50px, 8vw, 120px);
}

.rfv-contact__address {
  margin-top: 32px;
  color: var(--rfv-green);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.8;
}

.rfv-contact__hint {
  display: inline-flex;
  padding: 7px 12px;
  margin-top: 14px;
  background: var(--rfv-sage-light);
  border-radius: 999px;
  color: var(--rfv-green);
  font-size: 0.73rem;
  font-weight: 700;
}

.rfv-contact__cards {
  display: grid;
  gap: 18px;
}

.rfv-contact-card {
  display: grid;
  padding: 32px;
  background: var(--rfv-cream-light);
  border-radius: 24px;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.rfv-contact-card--main {
  background: var(--rfv-green);
  color: var(--rfv-white);
}

.rfv-contact-card__label {
  margin: 0 0 8px;
  color: var(--rfv-terra-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rfv-contact-card--main .rfv-contact-card__label {
  color: #e7ac9b;
}

.rfv-contact-card h3 {
  margin: 0;
  color: var(--rfv-green);
  font-size: 1.1rem;
}

.rfv-contact-card--main h3 {
  color: var(--rfv-white);
}

.rfv-contact-card__links {
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: right;
}

.rfv-contact-card__links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 70px 0 26px;
  background: var(--rfv-green-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__top {
  display: grid;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 50px;
}

.site-footer__brand {
  color: var(--rfv-white);
  font-family: "Ephesis", cursive;
  font-size: 3.4rem;
  line-height: 0.9;
}

.site-footer__brand .rfv-logo--footer {
  width: min(100%, 360px);
  max-height: 145px;
  padding: 14px 18px;
  background: var(--rfv-cream-light);
  border-radius: 18px;
  object-position: left center;
}

.site-footer__tagline {
  max-width: 380px;
  margin: 16px 0 0;
  font-size: 0.84rem;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--rfv-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  font-size: 0.82rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--rfv-white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

/* Pages and WordPress content */
.rfv-page {
  min-height: 75vh;
  padding: 150px 0 100px;
}

.rfv-page__header {
  max-width: 800px;
  margin-bottom: 48px;
}

.rfv-page__title {
  margin: 0;
  color: var(--rfv-green);
  font-family: "Ephesis", cursive;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
}

.rfv-content {
  max-width: 880px;
  padding: clamp(28px, 5vw, 64px);
  background: var(--rfv-cream-light);
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(52, 76, 61, 0.06);
}

.rfv-content > :first-child {
  margin-top: 0;
}

.rfv-content > :last-child {
  margin-bottom: 0;
}

.rfv-content h2,
.rfv-content h3 {
  margin-top: 2em;
  color: var(--rfv-green);
  line-height: 1.35;
}

.rfv-content h2 {
  font-size: 1.4rem;
}

.rfv-content h3 {
  font-size: 1.08rem;
}

.rfv-content p,
.rfv-content li {
  color: #4f5b53;
  font-size: 0.93rem;
}

.rfv-content a {
  color: var(--rfv-green);
  font-weight: 600;
}

.rfv-404 {
  text-align: center;
}

/* Reveal animation */
.js .rfv-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .rfv-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .rfv-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav ul {
    gap: 16px;
  }

  .site-nav .rfv-button {
    display: none;
  }

  .rfv-hero__grid,
  .rfv-space__grid {
    gap: 45px;
  }

  .rfv-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rfv-people__grid {
    grid-template-columns: 1fr;
  }

  .rfv-person--secondary {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .rfv-person--secondary .rfv-person__image {
    max-height: none;
  }
}

@media (max-width: 820px) {
  .rfv-section {
    padding: 82px 0;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 999;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 28px;
    background: var(--rfv-cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.admin-bar .site-nav {
    top: 104px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav ul {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(52, 76, 61, 0.12);
  }

  .site-nav a {
    display: block;
    padding: 17px 2px;
    font-size: 1rem;
  }

  .rfv-hero {
    min-height: 0;
    padding: 122px 0 60px;
  }

  .rfv-hero__grid,
  .rfv-intro__panel,
  .rfv-space__grid,
  .rfv-workshop__panel,
  .rfv-contact__grid {
    grid-template-columns: 1fr;
  }

  .rfv-hero__grid {
    min-height: 0;
  }

  .rfv-hero__visual {
    min-height: min(620px, 105vw);
  }

  .rfv-hero__shape {
    right: 5%;
    left: 5%;
  }

  .rfv-intro__panel {
    gap: 38px;
  }

  .rfv-offers__head {
    display: block;
  }

  .rfv-offers__head .rfv-lead {
    margin-top: 24px;
  }

  .rfv-gallery {
    min-height: 520px;
  }

  .rfv-workshop__image {
    order: -1;
    min-height: 350px;
    border-radius: 0 0 48% 46% / 0 0 40% 36%;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__intro {
    grid-column: 1 / 3;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .site-nav {
    top: 118px;
  }
}

@media (max-width: 600px) {
  .rfv-wrap {
    width: min(calc(100% - 28px), var(--rfv-width));
  }

  .rfv-section {
    padding: 68px 0;
  }

  .site-branding__name {
    font-size: 1.9rem;
  }

  .site-branding__place {
    font-size: 0.5rem;
  }

  .rfv-logo--header {
    max-width: 168px;
    max-height: 48px;
  }

  .rfv-script {
    font-size: clamp(3.8rem, 19vw, 5.2rem);
  }

  .rfv-section-title {
    font-size: clamp(3.2rem, 16vw, 4.4rem);
  }

  .rfv-heading-graphic--arrival img {
    width: min(100%, 350px);
  }

  .rfv-heading-graphic--offers img,
  .rfv-heading-graphic--people img,
  .rfv-heading-graphic--contact img {
    width: 100%;
  }

  .rfv-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rfv-hero__actions .rfv-button,
  .rfv-hero__actions .rfv-text-link {
    justify-content: center;
  }

  .rfv-hero__visual {
    min-height: 470px;
  }

  .rfv-hero__accent {
    right: -8%;
    width: 125px;
    height: 125px;
    border-width: 24px;
  }

  .rfv-hero__note {
    right: 7%;
    bottom: 2%;
    left: 0;
    max-width: none;
    padding: 18px 20px;
  }

  .rfv-intro {
    padding-top: 42px;
  }

  .rfv-intro__panel {
    padding: 38px 26px;
    border-radius: 26px;
  }

  .rfv-offers__grid {
    grid-template-columns: 1fr;
  }

  .rfv-offer {
    min-height: 0;
    padding: 26px;
  }

  .rfv-offer__icon {
    width: 74px;
    height: 74px;
  }

  .rfv-gallery {
    min-height: 520px;
    grid-template-columns: 1.25fr 0.75fr;
  }

  .rfv-person,
  .rfv-person--secondary {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .rfv-person__image,
  .rfv-person--secondary .rfv-person__image {
    min-height: 340px;
    max-height: 380px;
  }

  .rfv-person__body {
    padding: 32px 26px;
  }

  .rfv-contact-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rfv-contact-card__links {
    text-align: left;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__intro {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rfv-page {
    padding: 125px 0 72px;
  }

  .rfv-content {
    padding: 28px 22px;
    border-radius: 22px;
  }
}
