/* HDC Rahmen: the new footer (all pages that use it) and the frame of pages with the template "HDC Rahmen".
   Colours and fonts follow the light pages: deep violet ground, the four colour gradient as a line on top,
   Plus Jakarta Sans for headings, Manrope for text. Scoped to .hdc-f and body.hdc-rahmen. */

body.hdc-rahmen { overflow-x: clip; }
.hdc-w-page { display: block; min-height: 40vh; }
.hdc-w-page > p:empty { display: none; }

.hdc-f { --f-ground: #1C1640; --f-text: #CFC6EE; --f-soft: #9C93C2; --f-gold: #F2C97D; --f-line: rgba(207, 198, 238, 0.18);
  --f-flow: linear-gradient(100deg, #E58436, #D9628E 34%, #9B6FDA 68%, #5B8BE0);
  position: relative; overflow: hidden; background: var(--f-ground); color: var(--f-text); font-family: var(--w-body); font-size: 16px; line-height: 1.6; }
.hdc-f::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--f-flow); }
.hdc-f::after { content: ""; position: absolute; right: -18vw; bottom: -30vw; width: 60vw; height: 60vw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(207, 198, 238, 0.12), 0 0 0 12vw rgba(207, 198, 238, 0.03); pointer-events: none; }
.hdc-f-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px)); }
.hdc-f a { color: #E9E4FA; text-decoration: none; transition: color 0.2s; }
.hdc-f a:hover, .hdc-f a:focus { color: #FFFFFF; }
.hdc-f p { margin: 0; }
.hdc-f ul { list-style: none; margin: 0; padding: 0; }

.hdc-f-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(28px, 5vw, 72px); align-items: end; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--f-line); }
.hdc-f-kick, .hdc-f-h { font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--f-gold); }
.hdc-f-big { margin-top: 10px !important; max-width: 26ch; font-family: var(--w-head); font-weight: 800; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; color: #FFFFFF; }
.hdc-f-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hdc-f .hdc-f-btn { display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 999px; background: var(--f-flow); color: #FFFFFF; font-family: var(--w-head); font-weight: 700; font-size: 17px; line-height: 1.2; box-shadow: 0 14px 30px -12px rgba(127, 86, 217, 0.7); transition: transform 0.2s ease-out; }
.hdc-f .hdc-f-btn:hover, .hdc-f .hdc-f-btn:focus { transform: translateY(-2px); color: #FFFFFF; }
.hdc-f-trust { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hdc-f-stars { color: #00B67A; font-size: 18px; letter-spacing: 0.1em; }

.hdc-f-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px clamp(20px, 3vw, 44px); padding: clamp(40px, 5vw, 64px) 0; }
.hdc-f-brand img { display: block; height: 52px; width: auto; }
.hdc-f-motto { margin: 22px 0 10px !important; font-family: var(--w-head); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; color: #FFFFFF; }
.hdc-f-motto span { font-family: Georgia, serif; font-style: italic; font-weight: 400; background: var(--f-flow); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.hdc-f-brand > p:not(.hdc-f-motto) { max-width: 34ch; font-size: 15px; }
.hdc-f-social { display: flex; gap: 10px; margin-top: 22px !important; }
.hdc-f-social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(207, 198, 238, 0.2); transition: background 0.2s, transform 0.2s; }
.hdc-f-social a:hover, .hdc-f-social a:focus { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.hdc-f-h { margin-bottom: 14px !important; letter-spacing: 0.18em; }
.hdc-f-col ul { display: grid; gap: 9px; }
.hdc-f-col li { font-size: 15px; line-height: 1.4; }
.hdc-f-contact li span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--f-soft); }
.hdc-f-contact a { overflow-wrap: anywhere; }

.hdc-f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--f-line); font-size: 14px; color: var(--f-soft); }
.hdc-f-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.hdc-f-bottom ul a { color: var(--f-text); }
.hdc-f .hdc-f-up { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.hdc-f :focus-visible { outline: 2px solid var(--f-gold); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 1100px) { .hdc-f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hdc-f-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .hdc-f-top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hdc-f-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hdc-f * { transition: none !important; } }

/* The page content of the light and Kino pages was built inside Elementor and silently took a few values from
   Elementor's global style (kit 9) and the Hello theme: heading weights and line heights, and font smoothing.
   Measured 24.11.2026 element by element on the Intense page (old frame against new): without these, 26 h3
   turned from 600 to 800, four h4 from 700 to 800, two h3 lost 5 px of line height, and the page grew 24 px.
   Same specificity as wissen.css but later, so the page's own rules (inline, later still) keep winning. */
.hdc-w-page { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.hdc-w-page h1, .hdc-w-page h2, .hdc-w-page h3, .hdc-w-page h4, .hdc-w-page h5, .hdc-w-page h6 { color: #3D3D3D; font-family: "Plus Jakarta Sans (local)", sans-serif; letter-spacing: normal; margin: 0.5rem 0 1rem; }
.hdc-w-page h1 { font-size: 3rem; font-weight: 800; line-height: 1.2em; }
.hdc-w-page h2 { font-size: 2.4rem; font-weight: 800; line-height: 1.2em; }
.hdc-w-page h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.4em; }
.hdc-w-page h4 { font-size: 1.2rem; font-weight: 700; line-height: 1.4em; }
@media (max-width: 1024px) { .hdc-w-page h1 { font-size: 2.4rem; } .hdc-w-page h2 { font-size: 2rem; } }
@media (max-width: 767px) { .hdc-w-page h1 { font-size: 2.2rem; } .hdc-w-page h2 { font-size: 1.8rem; line-height: 1.3em; } }
