/* rf-auto – reinigungsfirma-mannheim.de (Holzmann Haushaltsservice, Template „imhof“).
   Wird vom Inhalts-Installer gepflegt. Eigene Anpassungen? Diese Zeile mit „rf-auto“ löschen, dann bleibt die Datei bei Updates unverändert.
   Look nah am Original: Grau #878786 (Menüleiste, Band, Fuß), Anthrazit, Überschriften Schieferblau, Links rot – nur moderner.
   Farben des Logos (Sonne, Hügel) als Akzente. Bewegung ruhig, bei „weniger Bewegung“ aus. */

/* ---------- Schrift (lokal, DSGVO) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../../../../reinigungsfirma_inhalte/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --rf-ink: #232323; --rf-text: #3a3a39; --rf-grey: #878786; --rf-grey-dark: #575656; --rf-grey-light: #dadada;
  --rf-paper: #f5f5f3; --rf-line: #e2e2df; --rf-slate: #434e67; --rf-red: #b3171a; --rf-red-dark: #8e1114;
  --rf-sun: #ee8014; --rf-sun-light: #f8ba24; --rf-green: #30a94e; --rf-blue: #2c56a6;
  --rf-max: 1200px; --rf-r: 10px; --rf-ease: cubic-bezier(.22, .61, .36, 1);
  --rf-shadow: 0 10px 30px -12px rgba(30, 30, 30, .28);
  /* Captcha „Ich bin kein Roboter“ in den Seitenfarben */
  --ic-bg: #f5f5f3; --ic-line: #c9c9c6; --ic-ink: #232323; --ic-muted: #6b6b6a; --ic-ok: #30a94e;
}

body.site { background: #fff; color: var(--rf-text); font-family: "Open Sans", Calibri, Arial, sans-serif; font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; }
body.site h1, body.site h2, body.site h3 { font-family: "Open Sans", Calibri, Arial, sans-serif; font-weight: 300; line-height: 1.15; letter-spacing: -.01em; color: var(--rf-slate); text-transform: none; }
body.site h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
body.site h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
body.site h3 { font-size: 1.3rem; font-weight: 400; }
body.site a { color: var(--rf-red); text-decoration-thickness: 1px; text-underline-offset: .18em; }
body.site a:hover { color: var(--rf-red-dark); }
:focus-visible { outline: 3px solid var(--rf-sun-light); outline-offset: 2px; }
::selection { background: var(--rf-sun-light); color: var(--rf-ink); }
.rf-wrap { max-width: var(--rf-max); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.rf-kicker { display: inline-block; margin-bottom: .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rf-grey); }
.rf-small { font-size: .85rem; color: #6b6b6a; }
.rf-hidden { display: none !important; }
body.site .container-component img, .rf-card img, .rf-team img, .rf-job img { max-width: 100%; height: auto; }

/* ---------- Kopf: grau wie die alte Menüleiste, Logo-Karte links ---------- */
/* v1.0.6 (Wunsch Robin Holzmann): Farbverlauf Anthrazit → Grau, dazu ein sonnengelber Lichtschein, der dem Mauszeiger folgt
   (--gx/--gy setzt das Template, wie auf fensterreinigung-mannheim.de) */
body.site .container-header {
  background:
    radial-gradient(800px circle at var(--gx, 78%) var(--gy, 0%), rgba(255, 238, 205, .32), transparent 55%),
    linear-gradient(120deg, #2b2b2a 0%, #4f4f4e 48%, #8a8a89 100%);
  color: #fff;
}
body.site .container-header::after { background: linear-gradient(90deg, transparent, var(--rf-sun-light), #fff, var(--rf-green), transparent); background-size: 40% 100%; background-repeat: no-repeat; }
body.site .container-header .brand-logo img[src$=".svg"] { height: 100px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
body.site .container-header.is-scrolled .brand-logo img[src$=".svg"] { height: 58px; }
body.site .container-header .brand-logo .brand-text b { font-size: 2rem; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
body.site .container-header .brand-logo .brand-text small { letter-spacing: .14em; }
body.site .container-header .mod-menu > li > a { text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
body.site .container-header .mod-menu > li.active > a { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
body.site .container-header .mod-menu > li > a::before { background: var(--rf-sun-light); box-shadow: 0 0 8px var(--rf-sun-light); }
body.site .container-header .mod-menu > li.active > a::before { transform: scaleX(1); }
/* v1.0.3 (Wunsch Peter, wie neu.fensterreinigung-mannheim.de): ab 992 px Logo + Wortmarke mittig, Menü mittig darunter */
@media (min-width: 992px) {
  body.site .container-header > .grid-child:has(> .navbar-brand) { justify-content: center; }
  body.site .container-header .navbar-brand { margin-inline: auto; padding-block: 1.2rem .3rem; }
  body.site .container-header .brand-logo { gap: 1.1rem; }
  body.site .container-header .container-nav { justify-content: center; }
  body.site .container-header .container-nav > .mod-menu { justify-content: center; gap: 0 2.4rem; margin-inline: auto; }
  body.site .container-header.is-scrolled .navbar-brand { padding-block: .5rem .15rem; }
  body.site .container-header.is-scrolled .brand-logo .brand-text b { font-size: 1.6rem; }
}
@media (max-width: 991.98px) {
  body.site .container-header .brand-logo img[src$=".svg"], body.site .container-header.is-scrolled .brand-logo img[src$=".svg"] { height: 62px; }
  body.site .container-header .brand-logo .brand-text b { font-size: 1.25rem; }
  body.site .container-header .brand-logo .brand-text small { font-size: .62rem; letter-spacing: .1em; }
  body.site .container-header .container-nav { background: linear-gradient(165deg, #5f5f5e, #3a3a39); }
}

/* v1.0.4: „Nach oben“-Knopf – Pfeil weiß (sonst rot wie alle Links) */
body.site a.back-to-top-link, body.site a.back-to-top-link:hover, body.site a.back-to-top-link:focus { color: #fff; }

/* Hinweisleiste (Jobs) in Sonnengelb */
.container-hinweis { background: linear-gradient(100deg, var(--rf-sun-light), #fbd36a, var(--rf-sun-light)); color: var(--rf-ink); }
.container-hinweis a { color: var(--rf-ink); text-decoration: underline; }

/* ---------- Knöpfe ---------- */
body.site .rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .75rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em; line-height: 1.2; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
body.site .rf-btn svg { width: 1.15em; height: 1.15em; flex: none; }
body.site .rf-btn:hover { transform: translateY(-2px); }
body.site .rf-btn--red { background: var(--rf-red); color: #fff; }
body.site .rf-btn--red:hover { background: var(--rf-red-dark); color: #fff; }
body.site .rf-btn--light { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
body.site .rf-btn--light:hover { background: #fff; color: var(--rf-ink); }
body.site .rf-btn--dark { border-color: var(--rf-ink); color: var(--rf-ink); background: transparent; }
body.site .rf-btn--dark:hover { background: var(--rf-ink); color: #fff; }
.rf-btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Startbereich: Bildwechsel (alte WidgetKit-Slideshow) ----------
   v1.0.1 (Wunsch Peter): Höhe an der Breite ausgerichtet (Fotos sind 2:1) → kaum Beschnitt, Köpfe bleiben sichtbar;
   Bildausschnitt je Foto über --focus (Gesichter oben im Bild → kleiner y-Wert). */
.container-banner { display: block; }
.rf-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(460px, 44vw, 820px); overflow: hidden; color: #fff; background: #3a3a39; }
.rf-hero__slide { position: absolute; inset: 0; z-index: -2; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.rf-hero__slide.is-on { opacity: 1; }
.rf-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); transform: scale(1.04); transition: transform 9s linear; }
.rf-hero__slide.is-on img { transform: scale(1); }
.rf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 25, 24, .72) 0%, rgba(25, 25, 24, .45) 45%, rgba(25, 25, 24, .05) 80%), linear-gradient(0deg, rgba(25, 25, 24, .55), transparent 45%); }
.rf-hero__text { width: 100%; padding-top: 6rem; padding-bottom: clamp(5.5rem, 11vh, 7.5rem); }
.rf-hero__text > * { max-width: 40rem; }
.rf-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.rf-hero__kicker::before { content: ""; width: 2.2rem; height: 3px; border-radius: 3px; background: var(--rf-sun-light); }
body.site .rf-hero h1 { margin: 0 0 1rem; color: #fff; font-weight: 300; text-shadow: 0 2px 22px rgba(0, 0, 0, .35); }
body.site .rf-hero h1 b { display: block; font-weight: 700; }
.rf-hero__lead { margin: 0 0 1.6rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.rf-hero__ctrl { position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: clamp(4.6rem, 9vh, 6rem); display: flex; align-items: center; gap: .7rem; }
.rf-hero__dots { display: flex; gap: .45rem; }
.rf-hero__dot { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background-color .3s; }
.rf-hero__dot.is-on { background: #fff; }
.rf-hero__pause { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; padding: 0; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(0, 0, 0, .2); color: #fff; cursor: pointer; }
.rf-hero__pause svg { width: .8rem; height: .8rem; }
@media (max-width: 767.98px) {
  .rf-hero { min-height: 540px; min-height: max(540px, 72svh); }
  .rf-hero::before { background: linear-gradient(0deg, rgba(25, 25, 24, .82) 0%, rgba(25, 25, 24, .55) 55%, rgba(25, 25, 24, .2) 100%); }
  .rf-hero__ctrl { left: 50%; right: auto; translate: -50% 0; bottom: 4.2rem; }
  .rf-hero__dot { width: 24px; }
  .rf-hero__text { padding-top: 4.5rem; padding-bottom: 8.2rem; }
  .rf-btns .rf-btn { flex: 1 1 100%; }
}

/* ---------- Logo-Band: das graue Band der alten Seite, als CSS nachgebaut (passt sich jeder Breite an) ---------- */
.rf-ribbon { --tail: 69px; --fold: 84px; --drop: 21px; position: relative; z-index: 3; isolation: isolate; max-width: calc(1121px + 2 * var(--tail)); margin: -3.6rem auto 2.5rem; padding-inline: var(--tail); }
.rf-ribbon__bar { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: 150px; padding: .9rem clamp(1rem, 3vw, 2.5rem); background: var(--rf-grey); color: #fff; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55); }
/* Bandenden (hellgrau, mit Kerbe) liegen hinter dem Band */
.rf-ribbon__bar::before, .rf-ribbon__bar::after { content: ""; position: absolute; z-index: -1; top: 39%; bottom: calc(-1 * var(--drop)); width: calc(var(--tail) + var(--fold)); background: var(--rf-grey-light); }
.rf-ribbon__bar::before { left: calc(-1 * var(--tail)); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 44% 50%); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, calc(var(--tail) * .67) 50%); }
.rf-ribbon__bar::after { right: calc(-1 * var(--tail)); clip-path: polygon(0 0, 100% 0, calc(100% - var(--tail) * .67) 50%, 100% 100%, 0 100%); }
/* Falten (dunkle Dreiecke) */
.rf-ribbon__fold { position: absolute; top: 100%; width: var(--fold); height: var(--drop); background: var(--rf-grey-dark); }
.rf-ribbon__fold--l { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rf-ribbon__fold--r { right: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.rf-ribbon__logo { flex: none; width: 170px; height: auto; margin-block: -52px -40px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); }
.rf-ribbon__text { display: flex; flex-direction: column; gap: .5rem; }
.rf-ribbon__word { width: min(360px, 100%); height: auto; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.rf-ribbon__claim { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
@media (max-width: 767.98px) {
  .rf-ribbon { --tail: 22px; --fold: 26px; --drop: 9px; margin: -2.6rem .5rem 1.6rem; }
  .rf-ribbon__bar { flex-direction: column; gap: .6rem; min-height: 0; padding: 0 1rem 1.1rem; text-align: center; }
  .rf-ribbon__logo { width: 124px; margin: -46px 0 0; }
  .rf-ribbon__text { align-items: center; }
  .rf-ribbon__word { width: min(250px, 100%); }
  .rf-ribbon__claim { font-size: .66rem; letter-spacing: .12em; }
}

/* ---------- v1.0.2: grauer Kontaktstreifen unter dem Startbild ---------- */
.rf-strip { background: var(--rf-grey); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.rf-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem clamp(1.2rem, 4vw, 3.5rem); padding-block: .85rem; }
body.site .rf-strip a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 600; text-decoration: none; }
body.site .rf-strip a:hover { color: var(--rf-sun-light); }
.rf-strip svg { width: 1.15rem; height: 1.15rem; flex: none; }
.rf-strip small { margin-right: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
@media (max-width: 575.98px) { .rf-strip__inner { flex-direction: column; align-items: flex-start; width: fit-content; } .rf-strip small { display: inline-block; min-width: 4.4rem; } }

/* ---------- v1.0.2: helles Band (ohne Logo) – Form der alten Seite, Enden grau ---------- */
.rf-ribbon--light { margin: 2.6rem auto 1.5rem; }
.rf-ribbon--light .rf-ribbon__bar { flex-wrap: wrap; gap: 1rem 2.5rem; min-height: 0; padding: 1.5rem clamp(1.2rem, 3vw, 2.5rem); background: var(--rf-paper); color: var(--rf-text); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .45); }
.rf-ribbon--light .rf-ribbon__bar::before, .rf-ribbon--light .rf-ribbon__bar::after { background: var(--rf-grey); }
.rf-ribbon--light .rf-ribbon__claim { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300; letter-spacing: 0; text-transform: none; text-shadow: none; color: var(--rf-slate); }
.rf-ribbon--light .rf-ribbon__claim b { font-weight: 700; }
.rf-ribbon__facts { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.rf-ribbon__facts li { display: flex; flex-direction: column; padding: .1rem 1.3rem; border-left: 2px solid var(--rf-sun-light); line-height: 1.3; }
.rf-ribbon__facts b { font-size: 1rem; color: var(--rf-ink); }
.rf-ribbon__facts span { font-size: .85rem; color: #6b6b6a; }
@media (max-width: 767.98px) {
  .rf-ribbon--light { margin: 1.8rem .5rem 1rem; }
  .rf-ribbon--light .rf-ribbon__bar { padding: 1.2rem 1rem; text-align: left; align-items: stretch; }
  .rf-ribbon__facts { flex-direction: column; gap: .7rem; }
  .rf-ribbon__facts li { padding-left: .9rem; }
}

/* ---------- Kontaktleiste (alte top-a: Anschrift + Kontaktwege) ---------- */
body.site .container-top-a, body.site .container-top-b, body.site .container-bottom-a, body.site .container-bottom-b { display: block; }
.rf-contactbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1rem, 3vw, 2rem); margin-block: 1rem 3rem; }
.rf-contactbar__card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--rf-r); background: var(--rf-paper); }
.rf-contactbar__card--dark { background: #2b2b2a; color: #f1f1ef; }
.rf-contactbar__card img { width: 230px; max-width: 100%; height: auto; margin-bottom: 1rem; }
.rf-contactbar address { margin: 0; font-style: normal; line-height: 1.7; }
.rf-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
body.site .rf-ways a { display: flex; align-items: center; gap: .9rem; padding: .7rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); color: inherit; text-decoration: none; }
body.site .rf-ways a:hover { color: var(--rf-sun-light); }
.rf-ways small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rf-ways b { font-weight: 600; word-break: break-word; }
.rf-ico { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--rf-grey); color: #fff; }
.rf-ico svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 767.98px) { .rf-contactbar { grid-template-columns: 1fr; } }

/* ---------- Leistungen (Kacheln) ---------- */
.rf-section { margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.rf-section__head { max-width: 46rem; margin-bottom: 2rem; }
.rf-section__head h2 { margin-top: 0; }
.rf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.rf-tile { position: relative; display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.6rem 1.5rem 1.4rem; border: 1px solid var(--rf-line); border-radius: var(--rf-r); background: #fff; color: var(--rf-text) !important; text-decoration: none !important;
  transition: transform .3s var(--rf-ease), box-shadow .3s, border-color .3s; }
.rf-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--rf-shadow); }
.rf-tile__ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .4rem; border-radius: 12px; background: var(--rf-paper); color: var(--rf-slate); }
.rf-tile__ico svg { width: 1.6rem; height: 1.6rem; }
body.site .rf-tile h3 { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--rf-slate); }
.rf-tile p { margin: 0; font-size: .95rem; }
.rf-tile em { margin-top: auto; padding-top: .6rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--rf-red); }
.rf-tile--accent { background: var(--rf-slate); border-color: var(--rf-slate); color: #fff !important; }
body.site .rf-tile--accent h3, .rf-tile--accent em { color: #fff; }
.rf-tile--accent .rf-tile__ico { background: rgba(255, 255, 255, .14); color: #fff; }

@media (max-width: 991.98px) { .rf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .rf-tiles { grid-template-columns: 1fr; } }

/* ---------- Parallax-Bänder (fixierte Hintergrundbilder der alten Seite) ---------- */
body.site .imhof-parallax { --imhof-dark: #262625; }
.rf-px { max-width: 46rem; margin-inline: auto; }
.rf-px__quote { margin: 0 0 1rem; font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 300; line-height: 1.2; text-shadow: 0 2px 22px rgba(0, 0, 0, .4); }
.rf-px__quote b { font-weight: 700; }
.rf-px p { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.rf-px .rf-btns { justify-content: center; margin-top: 1.4rem; }
.rf-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: min(100%, 64rem); margin: 0 auto; padding: 0; list-style: none; }
.rf-facts li { padding: 1.4rem 1rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--rf-r); background: rgba(20, 20, 20, .28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); text-align: center; }
.rf-facts b { display: block; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 300; line-height: 1; }
.rf-facts span { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 767.98px) { .rf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Startseiten-Beitrag: Drei Karten (alte WidgetKit-Galerie) ---------- */
.rf-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rf-intro__lead { font-size: 1.2rem; color: var(--rf-ink); }
.rf-intro__lead strong { color: var(--rf-slate); }
.rf-intro__img img { width: 100%; border-radius: var(--rf-r); box-shadow: var(--rf-shadow); }
.rf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); margin: 2.5rem 0; padding: 0; list-style: none; }
.rf-card { overflow: hidden; border-radius: var(--rf-r); background: var(--rf-paper); }
.rf-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--rf-ease); }
.rf-card:hover img { transform: scale(1.04); }
.rf-card div { padding: 1.3rem 1.4rem 1.5rem; }
body.site .rf-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; }
.rf-card p { margin: 0; font-size: .97rem; }
.rf-area { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.rf-area li { padding: .35rem .9rem; border: 1px solid var(--rf-line); border-radius: 999px; background: #fff; font-size: .9rem; }
.rf-area li:first-child { background: var(--rf-slate); border-color: var(--rf-slate); color: #fff; }
@media (max-width: 991.98px) { .rf-intro { grid-template-columns: 1fr; } .rf-cards { grid-template-columns: 1fr; } .rf-card { display: grid; grid-template-columns: 40% 1fr; } .rf-card img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 575.98px) { .rf-card { display: block; } .rf-card img { aspect-ratio: 16 / 10; } }

/* ---------- Über uns (Geschichte) ---------- */
.rf-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--rf-r); background: var(--rf-paper); }
.rf-story img { width: 100%; border-radius: var(--rf-r); }
.rf-story blockquote { margin: 1.2rem 0; padding-left: 1.1rem; border-left: 4px solid var(--rf-sun-light); font-size: 1.15rem; color: var(--rf-ink); }
@media (max-width: 991.98px) { .rf-story { grid-template-columns: 1fr; } }

/* ---------- Häufige Fragen ---------- */
.rf-faq details { border-bottom: 1px solid var(--rf-line); }
.rf-faq summary { position: relative; padding: 1.1rem 2.6rem 1.1rem 0; font-weight: 600; color: var(--rf-slate); cursor: pointer; list-style: none; }
.rf-faq summary::-webkit-details-marker { display: none; }
.rf-faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--rf-paper); font-size: 1.2rem; font-weight: 400; transition: rotate .3s; }
.rf-faq details[open] summary::after { rotate: 45deg; }
.rf-faq details > div { padding: 0 0 1.2rem; }
.rf-faq details > div p { margin: 0 0 .6rem; }

/* ---------- Holzmann-Familie / Partnerseiten ---------- */
.rf-family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.rf-family a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--rf-r); background: #2b2b2a; color: #f1f1ef !important; text-decoration: none !important; transition: transform .3s var(--rf-ease), box-shadow .3s; }
.rf-family a:hover { transform: translateY(-4px); box-shadow: var(--rf-shadow); }
.rf-family img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rf-family div { display: flex; flex-direction: column; gap: .4rem; flex: 1; padding: 1.2rem 1.4rem 1.4rem; }
body.site .rf-family h3 { margin: 0; font-size: 1.15rem; font-weight: 600; color: #fff; }
.rf-family p { margin: 0; font-size: .93rem; opacity: .9; }
.rf-family em { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--rf-sun-light); }
@media (max-width: 991.98px) { .rf-family { grid-template-columns: 1fr; } .rf-family a { display: grid; grid-template-columns: 38% 1fr; } .rf-family img { height: 100%; aspect-ratio: auto; } }
@media (max-width: 575.98px) { .rf-family a { display: flex; } .rf-family img { aspect-ratio: 16 / 9; } }

/* ---------- Beitragsseiten ---------- */
.rf-factbox { margin: 1.5rem 0 2rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--rf-green); border-radius: 0 var(--rf-r) var(--rf-r) 0; background: var(--rf-paper); }
.rf-factbox ul { margin: 0; padding-left: 1.2rem; }
.rf-factbox li + li { margin-top: .3rem; }
.rf-check { margin: 0; padding: 0; list-style: none; }
.rf-check li { position: relative; padding-left: 1.9rem; }
.rf-check li + li { margin-top: .45rem; }
.rf-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--rf-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.rf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.rf-cols > div { padding: 1.4rem 1.5rem; border-radius: var(--rf-r); background: var(--rf-paper); }
.rf-cols h2, .rf-cols h3 { margin-top: 0; }
@media (max-width: 767.98px) { .rf-cols { grid-template-columns: 1fr; } }
.rf-figure { margin: 1.5rem 0; }
.rf-figure img { width: 100%; border-radius: var(--rf-r); }
.rf-figure--right { float: right; width: min(42%, 380px); margin: .3rem 0 1.2rem 2rem; }
@media (max-width: 767.98px) { .rf-figure--right { float: none; width: 100%; margin: 1rem 0; } }
.rf-cta { clear: both; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 2.5rem 0 1rem; padding: 1.6rem 1.8rem; border-radius: var(--rf-r); background: #2b2b2a; color: #f1f1ef; }
.rf-cta p { margin: 0; font-size: 1.1rem; }
.rf-cta strong { color: #fff; }
.rf-service { scroll-margin-top: 7rem; }

/* Kontaktseite */
/* v1.0.5: Formular wie das alte (Override default_form.php) */
.rf-form__intro { font-size: .92rem; }
.rf-form__required { font-size: .85rem; font-weight: 700; color: var(--rf-red); }
.rf-form .form-check-inline, .rf-form fieldset.radio .form-check, .rf-form fieldset.checkboxes .form-check { margin-right: 1.2rem; }
.rf-form .control-group { margin-bottom: 1rem; }
body.site.view-contact .container-component { max-width: var(--rf-max); }
.rf-contactinfo p { margin: 0 0 .8rem; }

/* Impressum/Datenschutz: Entwurfs-Hinweis */
.rf-draft { padding: .6rem .9rem; border: 1px dashed var(--rf-sun); border-radius: 8px; background: #fff8ec; font-size: .9rem; }

/* ---------- Fußbereich: Grau wie früher, drei Spalten ---------- */
body.site .container-footer { background: #6f6f6e; background: radial-gradient(800px circle at var(--gx, 85%) var(--gy, 0%), rgba(255, 238, 205, .22), transparent 60%), linear-gradient(120deg, #3a3a39 0%, #5d5d5c 50%, var(--rf-grey) 100%); color: #f4f4f2; text-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
body.site .container-footer a { color: #fff; }
body.site .container-footer a:hover { color: var(--rf-sun-light); }
.rf-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem 1rem; font-size: .95rem; line-height: 1.75; }
.rf-footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.rf-footer__brand img { flex: none; width: 92px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.rf-footer__h { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.rf-footer ul { margin: 0; padding: 0; list-style: none; }
@media (max-width: 767.98px) { .rf-footer { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ==========================================================================
   v1.0.6 – Feedback Robin Holzmann (12.11.2026): mehr Leben, Leistungen und Jobs luftiger
   ========================================================================== */

/* Glänzende Schrift im Startbild: ein sonnengelber Glanz läuft über die weiße Zeile */
body.site .rf-hero h1 .rf-shine {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--rf-sun-light) 46%, #fff6d6 50%, var(--rf-sun-light) 54%, #fff 62%, #fff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .4));
  animation: rf-shine 7s linear infinite;
}
/* … und im Band mit dem Motto in Rot/Sonnengelb auf Hell */
.rf-shine-dark {
  background: linear-gradient(100deg, var(--rf-slate) 0%, var(--rf-slate) 38%, var(--rf-red) 46%, var(--rf-sun) 50%, var(--rf-red) 54%, var(--rf-slate) 62%, var(--rf-slate) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: rf-shine 7s linear infinite 1.5s;
}
@keyframes rf-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Kacheln: ohne „Rund ums Haus“ sind es 5 – die Anfrage-Kachel füllt die Zeile */
@media (min-width: 576px) { .rf-tiles > li:last-child:has(> .rf-tile--accent):nth-child(3n + 2) { grid-column: span 2; } }
@media (min-width: 576px) and (max-width: 991.98px) { .rf-tiles > li:last-child:has(> .rf-tile--accent):nth-child(odd) { grid-column: span 2; } }

/* Funkeln im Startbild liegt über dem Foto, unter den Bedienknöpfen */
.rf-hero > .imhof-sparkles { z-index: 0; }
.rf-hero__ctrl { z-index: 2; }

/* Rote Knöpfe: Lichtstreifen wie die Glanz-Knöpfe des Templates */
body.site .rf-btn--red { position: relative; overflow: hidden; isolation: isolate; }
body.site .rf-btn--red::after {
  content: ""; position: absolute; top: 0; left: -70%; z-index: 1; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: imhof-sheen 4.2s ease-in-out infinite; pointer-events: none;
}

/* Band mit dem Motto: Fotoring mit Angelika Holzmann links, Spruch + Fakten rechts */
.rf-ribbon--light .rf-ribbon__bar:has(.rf-ring) {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
  align-items: center; column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: .9rem;
  padding-block: 1.4rem; padding-inline: clamp(1.2rem, 3vw, 2.5rem) clamp(1.2rem, 4vw, 3rem);
}
.rf-ribbon .photo-ring.rf-ring { grid-row: 1 / 3; width: clamp(180px, 19vw, 230px); margin: -2.4rem 0 -1.6rem 1rem; }
.rf-ribbon .rf-ring .photo-ring__ring text { fill: var(--rf-slate); font-size: 10.5px; letter-spacing: 1.2px; }
.rf-ribbon__bar:has(.rf-ring) .rf-ribbon__claim { align-self: end; }
.rf-ribbon__bar:has(.rf-ring) .rf-ribbon__facts { align-self: start; }
@media (max-width: 767.98px) {
  .rf-ribbon--light .rf-ribbon__bar:has(.rf-ring) { grid-template-columns: 1fr; grid-template-rows: none; justify-items: center; text-align: center; padding-top: 0; }
  .rf-ribbon .photo-ring.rf-ring { grid-row: auto; width: 190px; margin: -1.6rem auto 1.6rem; }
  .rf-ribbon__bar:has(.rf-ring) .rf-ribbon__facts { align-items: flex-start; text-align: left; }
}

/* Über uns: Foto der Inhaberin */
.rf-portrait { width: min(36%, 320px); }
.rf-portrait img { aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--rf-shadow); }
.rf-portrait figcaption { margin-top: .6rem; font-size: .85rem; color: #6b6b6a; text-align: center; }
@media (max-width: 767.98px) { .rf-portrait { width: min(100%, 360px); margin-inline: auto; } }

/* Aufzählungen in den grauen Kästen mit grünen Häkchen (Wunsch Robin) – Einsatzgebiet-Pillen bleiben */
.rf-factbox { margin: 2rem 0 2.6rem; padding: 1.6rem 1.8rem; }
.rf-factbox ul:not(.rf-area) { margin: 0; padding: 0; list-style: none; }
.rf-factbox ul:not(.rf-area) li,
.rf-check li { position: relative; padding-left: 2rem; }
.rf-factbox ul:not(.rf-area) li + li,
.rf-check li + li { margin-top: .65rem; }
.rf-factbox ul:not(.rf-area) li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--rf-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.rf-check { margin-block: 1.2rem 1.6rem; }

/* Leistungen luftiger: jeder Abschnitt mit Abstand und feiner Linie */
body.site .rf-service { clear: both; margin-top: clamp(2.6rem, 6vw, 3.8rem); padding-top: clamp(1.6rem, 3vw, 2.2rem); border-top: 1px solid var(--rf-line); }
body.site .rf-service + .rf-figure--right { margin-top: 0; }
body.site .rf-service ~ p { max-width: 70ch; }
.rf-cta { margin-top: clamp(3rem, 6vw, 4rem); }

/* Jobs luftiger: Kästen unter dem Foto über die volle Breite, mehr Innen- und Außenabstand */
.rf-cols { clear: both; margin-block: clamp(2.2rem, 5vw, 3.2rem); gap: clamp(1.2rem, 3vw, 2.5rem); }
.rf-cols > div { padding: clamp(1.6rem, 3vw, 2.4rem); }
.rf-cols h2 { margin-bottom: 1.1rem; }
.rf-cols + h2 { margin-top: clamp(2.6rem, 5vw, 3.6rem); }

@media (prefers-reduced-motion: reduce) {
  .rf-hero__slide, .rf-hero__slide img, .rf-tile, .rf-card img, .rf-family a, body.site .rf-btn { transition: none !important; }
  .rf-hero__slide img { transform: none !important; }
  body.site .rf-hero h1 .rf-shine, .rf-shine-dark, body.site .rf-btn--red::after { animation: none !important; }
}
