/*
Theme Name: Gregor Urabl Child
Template:   twentytwentyfive
Version:    1.0.0
Author:     Gregor Urabl
*/

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/raleway-latin-400-normal.woff2') format('woff2'),
         url('assets/fonts/raleway-latin-400-normal.woff') format('woff');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/raleway-latin-600-normal.woff2') format('woff2'),
         url('assets/fonts/raleway-latin-600-normal.woff') format('woff');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/raleway-latin-700-normal.woff2') format('woff2'),
         url('assets/fonts/raleway-latin-700-normal.woff') format('woff');
}

:root {
    --gu-orange:        #F36D24;
    --gu-orange-text:   #EF6A22;
    --gu-orange-button: #b84b11;
    --gu-petrol:      #0B2031;
    --gu-white:       #ffffff;
    --gu-bg-alt:      #f4f6f8;
    --gu-text:        #1a1a1a;
    --gu-text-mid:    #4a4a4a;
    --gu-border:      #dde1e6;
    --gu-max-w:       960px;
    --gu-max-w-wide:  1320px;
    --gu-font:        'Raleway', system-ui, sans-serif;
    --gu-body-size:   clamp(1.15rem, 1.3vw + 0.9rem, 1.35rem);
}

body {
    font-size: var(--gu-body-size);
    font-family: var(--gu-font);
    color: var(--gu-text);
}

/* Fade-in, shared */
.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fancy Heading, shared */
.fancy {
    --b: 6px;
    --w: 80px;
    --g: 15px;
    --c: var(--gu-petrol);
    width: fit-content;
    padding: 0 1em;
    line-height: 1.6em;
    font-family: var(--gu-font);
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid;
    color: #fff;
    background:
        conic-gradient(from 45deg at left, var(--c) 25%, #0000 0) 0,
        conic-gradient(from -135deg at right, var(--c) 25%, #0000 0) 100%;
    background-size: 51% 100%;
    background-origin: border-box;
    background-repeat: no-repeat;
    border-image: linear-gradient(
        #0000 calc(50% - var(--b)/2),
        var(--c) 0 calc(50% + var(--b)/2),
        #0000 0
    ) 1/0 var(--w)/calc(var(--w) + var(--g));
    margin-inline: auto;
}

.fancy--orange {
    --c: var(--gu-orange);
}

@media (max-width: 500px) {
    .fancy {
        --b: 4px;
        --w: 30px;
        --g: 6px;
        font-size: clamp(1rem, 5.5vw, 1.4rem);
        line-height: 1.45em;
        padding: 0 0.5em;
    }
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--gu-petrol);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}
.fp-container {
    max-width: var(--gu-max-w);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.l-container {
    max-width: var(--gu-max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.l-section,
.fp-section {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.single-leistung .l-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.l-hero__eyebrow,
.fp-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gu-orange);
    margin-bottom: 1rem;
}

.fp-eyebrow--dark {
    text-align: center;
    margin-inline: auto;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Shared parallax section base, used by fp-tueftler and fp-backup-transition */
/* Bewegung kommt per JS aus scroll-effects.js (backgroundPositionY), nicht aus background-attachment:fixed, */
/* da fixed bei Vorfahren mit transform (z.B. alignfull-Wrapper in Block-Themes) unzuverlaessig ist. */
.fp-parallax {
    position: relative;
    background-size: cover;
    background-position: center;
    padding-block: clamp(5rem, 10vw, 8rem);
}

.fp-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-parallax .fp-container {
    position: relative;
    z-index: 1;
}

/* =====================
   Leistungsseiten (single-leistung)
   ===================== */

.l-hero {
    background-color: var(--gu-petrol);
    padding-block: clamp(4rem, 10vw, 8rem);
}

.l-hero--image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.l-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 32, 49, 0.72);
}

.l-hero--image .l-container {
    position: relative;
    z-index: 1;
}

.l-hero__headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--gu-white);
    margin: 0 0 1.25rem;
}

.l-hero__subtext {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}

.l-section--alt {
    background-color: var(--gu-bg-alt);
}

.l-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gu-petrol);
    margin: 0 0 2rem;
}

.l-prose {
    font-size: var(--gu-body-size);
    line-height: 1.75;
    color: var(--gu-text-mid);
    max-width: 1300px;
}

.l-prose p {
    margin: 0 0 2rem;
}

.l-prose p:last-child {
    margin-bottom: 0;
}

.l-prose h2:not(.fancy),
.l-prose h3:not(.fancy) {
    color: var(--gu-petrol);
    line-height: 1.3;
    margin: 4rem 0 1.5rem;
}

.l-prose .fancy {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.l-prose ul,
.l-prose ol {
    margin: 0 0 2rem;
    padding-left: 1.5rem;
}

.l-prose li {
    margin-bottom: 0.75rem;
}

.l-prose strong,
.l-prose b {
    font-weight: 700;
}

.l-spacer-s {
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.l-spacer-m {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.l-spacer-l {
    display: block;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.l-table-wrap {
    overflow-x: auto;
}

.l-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.l-table thead tr {
    background-color: var(--gu-petrol);
    color: var(--gu-white);
}

.l-table thead th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.l-table tbody tr {
    border-bottom: 1px solid var(--gu-border);
}

.l-table tbody tr:nth-child(even) {
    background-color: rgba(11, 32, 49, 0.03);
}

.l-table tbody td {
    padding: 0.7rem 1rem;
    vertical-align: top;
}

.l-faq__kategorie {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gu-petrol);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 3rem 0 0.5rem;
}

.l-faq__kategorie:first-child {
    margin-top: 0;
}

.l-faq__item {
    padding-block: 2.25rem;
    border-bottom: 1px solid var(--gu-border);
}

.l-faq__item:first-of-type {
    border-top: 1px solid var(--gu-border);
}

.l-faq__question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gu-orange-button);
    margin: 0 0 0.5rem;
}

.l-faq__answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gu-text-mid);
    margin: 0;
}

.l-faq__answer a {
    color: var(--gu-orange-button);
    font-weight: 600;
    text-decoration: none;
}

.l-faq__answer a:hover {
    text-decoration: underline;
}

.l-bildpause {
    height: 400px;
    background-color: var(--gu-petrol);
    background-size: cover;
    background-position: center;
}

.l-bildpause--parallax {
    position: relative;
    overflow: hidden;
}

.l-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.l-tiles--4 {
    grid-template-columns: repeat(4, 1fr);
}

.l-tool-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.l-tool-card__video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
}

.l-tool-card .l-tile__more {
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
}

@media (max-width: 700px) {
    .l-tool-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .l-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .l-tiles--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .l-tiles,
    .l-tiles--4 {
        grid-template-columns: 1fr;
    }
}

.l-tile {
    position: relative;
    padding: 2.25rem;
    padding-bottom: 5rem;
    border: 1px solid var(--gu-border);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.l-tile:hover {
    border-color: var(--gu-orange);
    background-color: rgba(243,109,36,0.04);
}

.l-tile__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gu-petrol);
    margin: 0 0 0.75rem;
}

.l-tile__teaser {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gu-text-mid);
    margin: 0 0 1.25rem;
}

.l-tile__more {
    display: inline-block;
    background-color: var(--gu-orange-button);
    color: var(--gu-white) !important;
    border: none;
    font-family: var(--gu-font);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.l-tile .l-tile__more {
    position: absolute;
    left: 2.25rem;
    bottom: 2.25rem;
}

.l-tile__more:hover {
    filter: brightness(1.1);
}

.l-tile-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.l-tile-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.l-tile-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.l-tile-lightbox__frame {
    position: relative;
    width: min(90vw, 640px);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1;
    background: var(--gu-white);
    padding: clamp(2rem, 5vw, 3rem);
    transform: scale(0.96);
    transition: transform 0.35s ease;
}

.l-tile-lightbox.is-open .l-tile-lightbox__frame {
    transform: scale(1);
}

.l-tile-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gu-petrol);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.l-tile-lightbox__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gu-petrol);
    margin: 0 0 1rem;
}

.l-tile-lightbox__text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gu-text-mid);
}

.wp-block-columns:has(.gu-leistung-card) {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem !important;
}

.wp-block-column:has(.gu-leistung-card) {
    min-width: 200px;
    flex-basis: 30% !important;
}

@media (max-width: 700px) {
    .wp-block-column:has(.gu-leistung-card) {
        flex-basis: 100% !important;
        min-width: 0;
    }
}

.gu-leistung-card.wp-block-cover {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: clamp(420px, 45vw, 560px);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gu-leistung-card.wp-block-cover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11,32,49,0.3);
    z-index: 2;
}

.gu-leistung-card .wp-block-cover__background {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,32,49,0.15) 0%, rgba(11,32,49,0.9) 100%) !important;
    opacity: 1 !important;
}

.gu-leistung-card .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0;
    max-width: none;
}

.gu-leistung-card h3,
.gu-leistung-card p {
    word-break: normal;
    overflow-wrap: normal;
}

.gu-leistung-card h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--gu-white) !important;
    font-family: var(--gu-font);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.gu-leistung-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    max-width: 34ch;
    margin: 0 0 1.25rem;
}

.gu-card-link {
    color: var(--gu-orange-button);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.gu-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gu-cta-banner {
    background-color: var(--gu-petrol);
    padding-block: 4rem;
    text-align: center;
}

.gu-cta-banner .wp-block-heading,
.gu-cta-banner p {
    color: var(--gu-white);
}

.gu-cta-banner .gu-cta-btn .wp-block-button__link {
    background-color: var(--gu-orange-button);
    color: var(--gu-white);
    border-radius: 0;
    font-family: var(--gu-font);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.85rem 2rem;
    transition: filter 0.2s ease;
}

.gu-cta-banner .gu-cta-btn .wp-block-button__link:hover {
    filter: brightness(1.1);
}

/* =====================
   Startseite (front-page)
   ===================== */

.fp-hero {
    position: relative;
    padding-block: clamp(5rem, 12vw, 10rem);
    background-color: var(--gu-petrol);
}

.fp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
}

.fp-hero .fp-container {
    position: relative;
    z-index: 1;
}

.fp-hero__inner {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.fp-hero__logo {
    width: clamp(90px, 12vw, 150px);
    aspect-ratio: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.fp-hero__content {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 700px) {
    .fp-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.fp-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--gu-white);
    max-width: 800px;
    margin: 0 0 1.25rem;
}

.fp-subtext {
    font-size: clamp(1.15rem, 1.5vw + 0.8rem, 1.4rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 0 2.5rem;
}

.fp-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fp-cta {
    display: inline-block;
    font-family: var(--gu-font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 0.85rem 2rem;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.fp-cta--primary {
    background-color: var(--gu-orange-button);
    font-weight: 700;
    color: var(--gu-white);
}

.fp-cta--secondary {
    background-color: transparent;
    color: var(--gu-white);
    border: 1px solid rgba(255,255,255,0.4);
}

.fp-cta--outline {
    background-color: transparent;
    color: var(--gu-petrol);
    border: 1px solid var(--gu-petrol);
}

.fp-cta:hover {
    filter: brightness(1.1);
}

.fp-dispatcher {
    padding-block: clamp(4rem, 8vw, 6rem) 0;
}

.fp-dispatcher__intro {
    text-align: left;
    max-width: var(--gu-max-w-wide);
    margin: 0 auto clamp(4rem, 8vw, 6rem);
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    box-sizing: border-box;
}

.fp-dispatcher__headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--gu-petrol);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 2.5rem 0;
}

.fp-dispatcher__text {
    max-width: 960px;
}

.fp-dispatcher__text p {
    font-size: var(--gu-body-size);
    color: var(--gu-text-mid);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.fp-dispatcher__text p:last-child {
    font-size: clamp(1.2rem, 1.5vw + 0.8rem, 1.45rem);
    color: var(--gu-orange-text);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.5;
}

.fp-dispatcher__text p:last-child strong {
    font-weight: 700;
}


.fp-cards {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.5rem;
    max-width: var(--gu-max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
    position: relative;
    z-index: 5;
}

.fp-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 45vw, 560px);
    background-color: var(--gu-petrol);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-card--featured {
    min-height: clamp(480px, 50vw, 640px);
}

.fp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11,32,49,0.3);
    z-index: 2;
}

.fp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,32,49,0.15) 0%, rgba(11,32,49,0.9) 100%);
}

.fp-card__body {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.fp-card__body h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--gu-white);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.fp-card__body p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.25rem;
    line-height: 1.65;
    max-width: 34ch;
}

.fp-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gu-orange);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .fp-cards {
        grid-template-columns: 1fr;
    }

    .fp-card,
    .fp-card--featured {
        min-height: 380px;
    }
}

.fp-showcase {
    padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.fp-showcase h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.fp-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--gu-max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.fp-showcase-item {
    position: relative;
    aspect-ratio: 16/9;
    background-color: var(--gu-petrol);
    background-size: cover;
    background-position: center;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
}

.fp-showcase-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11,32,49,0.4);
    transition: background 0.2s ease;
}

.fp-showcase-item:hover::before {
    background: rgba(11,32,49,0.6);
}

.fp-showcase-item__play {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gu-orange);
    color: var(--gu-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fp-showcase-item:hover .fp-showcase-item__play,
.fp-showcase-item:focus-visible .fp-showcase-item__play {
    opacity: 1;
    transform: scale(1);
}

.fp-showcase-item__title {
    position: relative;
    z-index: 1;
    color: var(--gu-white);
    background: rgba(11, 32, 49, 0.9);
    padding: 1em;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .fp-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.fp-video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.fp-video-lightbox.is-open {
    display: flex;
    opacity: 1;
}

.fp-video-lightbox__frame {
    position: relative;
    width: min(90vw, 960px);
    aspect-ratio: 16/9;
    z-index: 1;
    transform: scale(0.96);
    transition: transform 0.35s ease;
}

.fp-video-lightbox.is-open .fp-video-lightbox__frame {
    transform: scale(1);
}

.fp-video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.fp-video-lightbox__embed {
    width: 100%;
    height: 100%;
}

.fp-video-lightbox__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.fp-video-lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: var(--gu-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.fp-review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.fp-review-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.fp-review-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.fp-review-lightbox__frame {
    position: relative;
    width: min(90vw, 640px);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1;
    background: var(--gu-white);
    padding: clamp(2rem, 5vw, 3rem);
    transform: scale(0.96);
    transition: transform 0.35s ease;
}

.fp-review-lightbox.is-open .fp-review-lightbox__frame {
    transform: scale(1);
}

.fp-review-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gu-petrol);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.fp-review-lightbox__stars {
    color: var(--gu-orange-button);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.fp-review-lightbox__text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gu-text-mid);
    margin: 0 0 1.5rem;
}

.fp-review-lightbox__author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gu-petrol);
    margin: 0;
}

.fp-review-lightbox__author a {
    color: inherit;
    text-decoration: none;
}

.fp-review-lightbox__author span {
    font-weight: 400;
    color: var(--gu-text-mid);
    display: block;
    margin-top: 0.25rem;
}

/* Tueftler, extends fp-parallax */
.fp-tueftler::before {
    background: linear-gradient(90deg, rgba(247,245,240,0.97) 0%, rgba(247,245,240,0.8) 55%, rgba(247,245,240,0.35) 100%);
}

.fp-tueftler h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--gu-petrol);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    max-width: 20ch;
}

.fp-tueftler p {
    font-size: var(--gu-body-size);
    line-height: 1.75;
    color: var(--gu-text);
    max-width: 560px;
    margin: 0 0 1.25rem;
}

/* Backup-Uebergang, extends fp-parallax */
.fp-backup-transition {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.fp-backup-transition::before {
    background: rgba(247,245,240,0.5);
}

.fp-backup-transition .fp-container {
    max-width: var(--gu-max-w-wide);
}

.fp-backup-transition__text {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--gu-petrol);
    max-width: 820px;
    margin: 0 auto;
}

.fp-backup-card-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(50%);
    z-index: 3;
}

.fp-backup-card-wrap .fp-container {
    max-width: var(--gu-max-w-wide);
}

.fp-backup-card {
    background-color: var(--gu-petrol);
    border-radius: 12px;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(11, 32, 49, 0.25);
}

.fp-backup-card p {
    color: var(--gu-white);
    font-size: clamp(1.05rem, 1.5vw + 0.7rem, 1.3rem);
    font-weight: 600;
    margin: 0;
}

.fp-backup-card__cta {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .fp-backup-card {
        flex-direction: column;
        text-align: center;
    }

    .fp-backup-card-wrap {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    .fp-backup-transition {
        margin-bottom: 0;
    }
}

.fp-testimonials .fp-container {
    max-width: var(--gu-max-w-wide);
}

.fp-testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.fp-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .fp-reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fp-reviews {
        grid-template-columns: 1fr;
    }
}

.fp-review {
    padding: 1.5rem;
    border: 1px solid var(--gu-border);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fp-review:hover {
    border-color: var(--gu-orange);
    background-color: rgba(243,109,36,0.04);
}

.fp-review__stars {
    color: var(--gu-orange-button);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.fp-review__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gu-text-mid);
    margin: 0 0 1rem;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-review__more {
    display: inline-block;
    background-color: var(--gu-orange-button);
    color: var(--gu-white);
    border: none;
    font-family: var(--gu-font);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    margin: 0 0 1rem;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.fp-review__more:hover {
    filter: brightness(1.1);
}

.fp-review__author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gu-petrol);
    margin: 0;
}

.fp-review__author a {
    color: inherit;
    text-decoration: none;
}

.fp-review__author a:hover {
    color: var(--gu-orange);
}

.fp-review__author span {
    font-weight: 400;
    color: var(--gu-text-mid);
    display: block;
}

/* Persoenliches */
.fp-personal {
    background-color: var(--gu-petrol);
    background-image: var(--personal-bg);
}

.fp-personal .fancy {
    margin-bottom: 3rem;
}

.fp-personal__layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4rem;
    align-items: stretch;
}

.fp-personal__photo {
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.fp-personal__text p {
    font-size: clamp(1.2rem, 1.5vw + 0.9rem, 1.5rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0 0 1.5rem;
}

@media (max-width: 700px) {
    .fp-personal__layout {
        grid-template-columns: 1fr;
    }

    .fp-personal__photo {
        width: 100%;
        aspect-ratio: 4/3;
        background-position: top center;
    }
}

/* Partner */
.fp-partner__intro {
    font-size: var(--gu-body-size);
    line-height: 1.75;
    color: var(--gu-text-mid);
    max-width: 720px;
    margin: 1.5rem auto 3rem;
    text-align: center;
}

.fp-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.fp-partner-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--gu-border);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fp-partner-card:hover {
    border-color: var(--gu-orange);
    background-color: rgba(243,109,36,0.04);
}

.fp-partner-card strong {
    font-size: 1.1rem;
    color: var(--gu-petrol);
    font-weight: 700;
}

.fp-partner-card span {
    font-size: 0.95rem;
    color: var(--gu-text-mid);
}

.fp-partner__bni {
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border-left: 4px solid var(--gu-orange);
    background-color: var(--gu-bg-alt);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gu-text-mid);
}

.fp-partner__bni a {
    color: var(--gu-petrol);
    font-weight: 700;
    text-decoration: none;
}

/* Bildpause, standalone, no overlay/text */
.fp-bildpause {
    height: 400px;
    background-color: var(--gu-petrol);
    background-size: cover;
    background-position: center;
}

.fp-bildpause_2 {
    height: 620px;
    background-color: var(--gu-petrol);
    background-size: cover;
    background-position: top;
}

/* Kontaktblock, linksbuendig, fuer separate Kontaktseite */
.l-contact-block .fp-contact__social {
    justify-content: flex-start;
}

.l-contact-block .fp-contact__social a {
    width: 64px;
    height: 64px;
}

.l-contact-block .fp-contact__layout {
    text-align: left;
    margin-inline: 0;
}

.gu-workshop-btn {
    background-color: var(--gu-orange-button) !important;
    color: var(--gu-white) !important;
    border-radius: 0 !important;
    border: none !important;
    font-family: var(--gu-font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.85rem 2rem !important;
    transition: filter 0.2s ease;
}

.gu-workshop-btn:hover {
    filter: brightness(1.1);
}

/* Kontaktaufruf */
.fp-contact .fp-container {
    text-align: center;
}

.fp-contact__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 2.5rem;
}

.fp-contact__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--gu-bg-alt);
    color: var(--gu-petrol);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fp-contact__social a:hover {
    background-color: var(--gu-orange);
    color: var(--gu-white);
}

.fp-contact__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 780px;
    margin-inline: auto;
    text-align: left;
}

.fp-contact__info p {
    font-size: var(--gu-body-size);
    line-height: 1.75;
    color: var(--gu-text-mid);
    margin: 0 0 1rem;
}

.fp-contact__info a {
    color: var(--gu-orange-button);
    font-weight: 600;
    text-decoration: none;
}

.fp-contact__info a:hover {
    text-decoration: underline;
}

.fp-contact__qr {
    display: flex;
    justify-content: center;
}

.fp-contact__qr img {
    width: 300px;
    height: auto;
}

@media (max-width: 700px) {
    .fp-contact__layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.fp-contact__form {
    max-width: 640px;
    margin: 3rem auto 0;
    text-align: left;
}

/* Ninja Forms */
.nf-form-cont label {
    font-family: var(--gu-font);
    font-weight: 700;
    color: var(--gu-petrol);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.nf-form-cont .nf-field-description {
    color: var(--gu-text-mid);
    font-size: 0.85rem;
}

.nf-form-cont input[type="text"],
.nf-form-cont input[type="email"],
.nf-form-cont input[type="tel"],
.nf-form-cont input[type="number"],
.nf-form-cont textarea,
.nf-form-cont select {
    font-family: var(--gu-font);
    font-size: 1rem;
    color: var(--gu-text);
    background-color: var(--gu-bg-alt);
    border: 1px solid var(--gu-border);
    border-radius: 0;
    padding: 0.75rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.nf-form-cont input[type="text"]:focus,
.nf-form-cont input[type="email"]:focus,
.nf-form-cont input[type="tel"]:focus,
.nf-form-cont input[type="number"]:focus,
.nf-form-cont textarea:focus,
.nf-form-cont select:focus {
    border-color: var(--gu-orange);
    outline: none;
}

.nf-form-cont .ninja-forms-req-symbol {
    color: var(--gu-orange-button);
}

.nf-form-cont .nf-error-msg,
.nf-form-cont .nf-error .nf-input {
    color: #c0392b;
    border-color: #c0392b;
}

.nf-form-cont .listcheckbox-wrap label,
.nf-form-cont .nf-field-element label {
    font-weight: 400;
    color: var(--gu-text-mid);
}

.nf-form-cont input[type="submit"],
.nf-form-cont .submit-wrap input {
    display: inline-block;
    background-color: var(--gu-orange-button);
    color: var(--gu-white);
    font-family: var(--gu-font);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    padding: 0.85rem 2rem;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.nf-form-cont input[type="submit"]:hover {
    filter: brightness(1.1);
}

/* =====================
   Standardseiten (page.php)
   ===================== */

.page-content__body {
    font-size: var(--gu-body-size);
    line-height: 1.75;
    color: var(--gu-text-mid);
}

.page-content__body p {
    margin: 0 0 2rem;
}

.page-content__body p:last-child {
    margin-bottom: 0;
}

.page-content__body h2:not(.fancy),
.page-content__body h3:not(.fancy) {
    color: var(--gu-petrol);
    line-height: 1.3;
    margin: 4rem 0 1.5rem;
}

.page-content__body .fancy {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.page-content__body ul,
.page-content__body ol {
    margin: 0 0 2rem;
    padding-left: 1.5rem;
}

.page-content__body li {
    margin-bottom: 0.75rem;
}

.page-content__body strong,
.page-content__body b {
    font-weight: 700;
}

.page-content__body a{
    color: var(--gu-orange-button);
}

.page-content__body .wp-block-columns,
.page-content__body .wp-block-group,
.page-content__body .l-tiles {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.page-content__body .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.fp-cta a{
    color: var(--gu-white);
}

/* =====================
   Site Header
   ===================== */

.site-header {
    background-color: var(--gu-white);
    border-bottom: 1px solid var(--gu-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    max-width: var(--gu-max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    padding-block: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__logo img {
    display: block;
    height: 36px;
    width: auto;
}

.site-header__logo-text {
    font-family: var(--gu-font);
    font-weight: 700;
    font-size: 1rem;
    color: var(--gu-petrol);
    text-decoration: none;
}

.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.site-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gu-petrol);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu li {
    position: relative;
}

.site-header__menu a {
    display: block;
    font-family: var(--gu-font);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gu-text-mid);
    text-decoration: none;
    padding-block: 0.5rem;
    transition: color 0.2s ease;
}

.site-header__menu > li > a:hover,
.site-header__menu > li.current-menu-item > a {
    color: var(--gu-orange-button);
}

.site-header__menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--gu-white);
    border: 1px solid var(--gu-border);
    box-shadow: 0 12px 32px rgba(11,32,49,0.12);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    z-index: 10;
}

.site-header__menu li:hover > .sub-menu,
.site-header__menu li:focus-within > .sub-menu {
    display: block;
}

.site-header__menu .sub-menu a {
    padding: 0.6rem 1.25rem;
    white-space: nowrap;
}

.site-header__menu .sub-menu a:hover {
    background-color: var(--gu-bg-alt);
}

@media (max-width: 900px) {
    .site-header__toggle {
        display: flex;
    }

    .site-header__nav {
        display: none;
        position: fixed;
        inset: 0;
        top: 65px;
        background-color: var(--gu-white);
        overflow-y: auto;
        padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 3rem;
    }

    .site-header__nav.is-open {
        display: block;
    }

    .site-header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .site-header__menu li {
        width: 100%;
        border-bottom: 1px solid var(--gu-border);
    }

    .site-header__menu a {
        padding-block: 0.9rem;
        font-size: 0.95rem;
    }

    .site-header__menu .sub-menu {
        position: static;
        display: block;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .site-header__menu .sub-menu a {
        padding-block: 0.7rem;
        color: var(--gu-text-mid);
        font-weight: 500;
    }
}

/* =====================
   Site Footer
   ===================== */

.site-footer {
    background-color: var(--gu-petrol);
    padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
    font-family: var(--gu-font);
}

.site-footer__inner {
    max-width: var(--gu-max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer__brand strong {
    color: var(--gu-white);
    font-size: 1.1rem;
}

.site-footer__brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.site-footer__nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.site-footer__nav a:hover {
    color: var(--gu-orange);
}

.site-footer__bottom {
    max-width: var(--gu-max-w-wide);
    margin: 2rem auto 0;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.25rem;
}

.site-footer__bottom p {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    margin: 0;
}

.site-footer__credits {
    margin-top: 0.5rem;
}

.site-footer__credits a {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
}

.site-footer__credits a:hover {
    color: var(--gu-orange);
}

.l-404 {
    text-align: center;
    max-width: 640px;
}

.l-404__bar {
    width: 100%;
    height: 6px;
    background: var(--gu-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.25rem;
}

.l-404__bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 35%;
    height: 100%;
    background: var(--gu-orange);
    animation: l404-loading 3.2s linear infinite;
}

@keyframes l404-loading {
    0% { left: -35%; }
    100% { left: 100%; }
}

.l-404__status {
    font-size: 0.95rem;
    color: var(--gu-text-mid);
    min-height: 1.4em;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.l-404__status.visible {
    opacity: 1;
    transform: translateY(0);
}

.l-404__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gu-platzhalter {
    background-image: repeating-linear-gradient(45deg, var(--gu-border) 0, var(--gu-border) 2px, transparent 2px, transparent 12px);
    background-color: var(--gu-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gu-text-mid);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--gu-border);
    padding: 1rem;
}

.gu-badge-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.gu-badge-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    flex-shrink: 0;
}

.page-content__body .l-table-wrap {
    margin: 0 0 3rem;
}

.page-content__body .gu-video-wrap {
    margin: 0 0 3rem;
}

#nf-field-10-wrap .nf-field-label {
    display: none;
}

#nf-field-10-wrap .nf-field-description {
    position: relative;
    top: 5px;
    margin: 0;
}