:root {
    --fb-blue: #475AAA;
    --fb-grey: #4D4D4D;

    --navbar-height: 6em;

    /* spieplatz image */
    --spielplatz-focal-x: 30%;
    --spielplatz-focal-y: 80%;
    
    --spielplatz-ratio-tall: 4/3;
    --spielplatz-ratio-wide: 5/1;
    --spielplatz-ratio-medium: 5/2;
    /* for mobile */
    --spielplatz-ratio: var(--spielplatz-ratio-tall);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding: var(--navbar-height);
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
}
header.navbar {
    padding: 0em 2em;
    display: flex;
    background-color: #ffffffdd;
    align-items: center;
    justify-content: center;
    justify-items: center;

    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
    align-self: flex-start;
}

header.navbar a {
    font-size: larger;
    color: black;
    text-decoration: none;
}

header.navbar>.nav-entries {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

header.navbar > a.navbar-logo-wrapper {
  /* might come in handy later */
}

header.navbar>a.navbar-logo-wrapper>.navbar-logo {
    height: 4em;
}

main {
    flex-grow: 1;
    display: flex !important;
    flex-direction: column;
}

main>section {
    background-color: whitesmoke;
    color: #333;
    min-height: 15em;
    padding-bottom: 3em;
}

main>section a {
    color: #333;
}

main>section:nth-child(even) {
    /* 90C; 65M blau: #1a59ff */
    /* Arial Rounded MT 80 Regular */
    /* hsla(203, 84%, 32%, 1); <- where tf does this come from? */
    background-color: var(--fb-blue);
    color: #eee;
}

main>section:nth-child(even) a {
    color: #eee;
}

main section:last-child {
    flex-grow: 1;
}

footer {
    padding: 1em 3em 1em 3em;
    background-color: #444;
    color: #eee;
    display: flex;
    gap: 2em;
}

footer a {
    color: #eee;
}

@media only screen and (max-width: 767.98px) {
    footer .cookie-settings-link {
        align-self: flex-start;
        text-align: left;
    }
}

main>section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main>section>div.section-img-wrapper {
    position: relative;
    width: 100%; /* statt 100vw beim Bild: vermeidet horizontalen Seiten-Scrollbalken */
}

main>section>div.section-img-wrapper>div.section-motto {
    position: absolute;
    bottom: 1em;
    right: 1em;

    font-size: x-large;
    color: white;
}

main>section>div.section-img-wrapper>img.section-img {
    width: 100%;
    display: block;
    aspect-ratio: var(--spielplatz-ratio);
    object-fit: cover;
    object-position: var(--spielplatz-focal-x) var(--spielplatz-focal-y);
}

main>section>.section-content {
    width: 95%;
    margin-bottom: 1em;
}

section#hero {
    display: block;
    padding-bottom: 1em;
}

/* Mobile-first: Hero-Bild sichtbar, oberhalb des Textes,
 * hochformatig auf das Gesicht zugeschnitten */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero>.hero-img {
    display: block;
    order: -1;                 /* Bild oberhalb des Textes */
    width: 100%;
    aspect-ratio: 4 / 5;       /* Hochformat-Ausschnitt */
    object-fit: cover;
    object-position: 72% 15%;  /* Fokus auf das Gesicht - ggf. nachjustieren */
}

.hero>.hero-text {
    flex-grow: 1;
    margin: 0 1em 0 1em;
    padding-top: 1em;
}

.hero>.hero-text>ul {
    list-style-type: square;
    list-style-position: inside;
}

.cards {

}

.card {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 1em;
    background-color: white;
    color: black;
    box-shadow: 0 3px 8px 0 #0e2431;
    display: flex;
    flex-direction: column;
}

.card-header {
    text-align: center;
    font-weight: 500;
    font-size: large;
    margin-bottom: .5em;
}

.card-content {

}

.card-button {
    justify-self: end;
    align-self: center;
    margin-top: 1em;
    padding: .3em;

    border-radius: .5em;
    border: 2px solid var(--fb-blue);
    color: var(--fb-blue) !important;
    text-decoration: none;
}

.card-button:hover {
    border: 2px dotted var(--fb-blue);
    cursor: pointer;
}

/* START SECTION STYLING: ABOUT */
div#about-overview {

}

div#lifestory ul.lifestory-learnings {
    list-style-position: inside;
	margin-top: 1.2em;
}

div#hardfacts > h3 {
  text-decoration: none;  
}

.hardfacts-list {
    margin: 0.5em 0 2.3em 0;
    display: grid;
    grid-template-columns: auto;
}

.hardfacts-list .hardfacts-list-year {
    margin-top: 0.5em;
    font-size: large;
    font-weight: 300;
}

.hardfacts-list .hardfacts-list-text {
    
}

.cv {

}

.cv .cv-year {
    font-size: large;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    gap: 1em;
}

.contact-text, .contact-info {
    min-width: 300px;
}

.contact-text {
    flex-grow: 1;
}

.contact-info {
    padding-top: 1em;
    font-weight: 300;
}

/* END SECTION STYLING: ABOUT */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 767.98px) {
    .navbar a {
        text-decoration: none;
        color: #0e2431;
        font-weight: 500;
        font-size: 1.5rem;
        padding: 0.7rem;
    }

    .navbar .checkbox {
        position: absolute;
        height: 26px;
        width: 32px;
        right: 2em;
        top: calc(var(--navbar-height)/2 - 26px/2);

        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar .hamburger-lines {
        position: absolute;
        height: 26px;
        width: 32px;
        right: 2em;
        top: calc(var(--navbar-height)/2 - 26px/2);

        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #0e2431;
    }

    .navbar .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar .nav-entries {
        position: fixed;
        background-color: rgba(255, 255, 255, 0.9);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translate(-150%);
        flex-direction: column;
        text-align: center;
    }

    /* only apply the transition when it is actually needed.
     * this fixes a brief flash of the burger menu when resizing the window
    */
    .navbar input[type="checkbox"]:focus~.nav-entries {
        transition: transform 0.5s ease-in-out;
    }

    .navbar input[type="checkbox"]:checked~.nav-entries {
        transform: translateX(0);
    }

    .navbar input[type="checkbox"]:checked {
        position: fixed;
    }

    .navbar input[type="checkbox"]:checked~.hamburger-lines {
        position: fixed;
    }

    .navbar input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    footer {
        flex-direction: column;
        gap: 0.5em
    }
	.hero>.hero-img {
        aspect-ratio: 4 / 3.33;
    }
}

.network {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem 3rem;
    margin-top: 1rem;
}

.network img {
    display: block;
    height: 5em;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


@media only screen and (max-width: 599px) {
    .network {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    :root {
        --spielplatz-ratio: var(--spielplatz-ratio-medium);
    }

    .navbar .checkbox {
        display: none;
    }

    .navbar .hamburger-lines {
        display: none;
    }

    header.navbar {
        padding: 0 2em;
        height: var(--navbar-height);
    }

    header.navbar>.nav-entries {
        justify-content: right;
        align-items: center;
    }

    main>section .section-content {
        min-width: 650px;
        width: 70%;
    }

    .nav-space {
        width: 1em;
        height: 1em;
    }
    
    .nav-sep {
        border: 1px solid #555;
        align-self: stretch;
    }

    /* Tablet: Bild etwas weniger hoch als am Handy */
    .hero>.hero-img {
        aspect-ratio: 4 / 3;
    }

    .hero>.hero-text {
        margin-left: 15vw;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 2em;
    }

    .card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
        gap: 0;
        
        padding: 10px;
        border-radius: 1em;
        background-color: white;
        color: black;
    }

    .card-button {
        justify-self: center;
        align-self: end;
    }

    .hardfacts-list {
        margin: 0.5em 0 2.3em 0;
        display: grid;
        grid-template-columns: 120px auto;
        row-gap: .5em;
    }

    .hardfacts-list .hardfacts-list-year {
        font-size: large;
        margin-right: 1em;
        text-align: right;
    }

    .hardfacts-list .hardfacts-list-text {
        display: flex;
        align-items: end;
    }

    .big-question {
        font-size: 30px;
        margin: 1em 0;
        display: block;
        text-align: center;
        font-family: 'Times New Roman', Times, serif;
        font-style: italic;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    :root {
        --spielplatz-ratio: var(--spielplatz-ratio-wide);
    }

    section#hero {
        display: block;
        padding-bottom: 1em;
    }

    .hero {
        overflow: hidden;
        position: relative;
        flex-direction: row;
    }

    /* Desktop: Original-Darstellung wiederherstellen,
     * Text liegt absolut über dem Bild */
    .hero>.hero-img {
        display: block;
        order: 0;
        width: auto;
        aspect-ratio: auto;
        object-fit: initial;
        object-position: initial;
        max-height: calc(100vh - 4em);
    }

    .hero>.hero-spacer {
        display: block;
        background-color: black;
        flex-grow: 1;
    }

    .hero>.hero-text {
        position: absolute;
        top: 3em;
        bottom: 0;
        color: #eee;
        font-size: larger;
        padding-top: 40vh;
        margin: 0 1em 0 15vw;
    }

    .spacer-after-hero {
        display: block;
        width: 100%;
        background-color: black;
        height: 205px;
    }
}

/* Extra large devices (large laptops and desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}


h1, h2    {
	font-size: 2em;
    margin: .67em 0;
	}
/* ============================================================
 * NEUE KOMPONENTEN (Testimonials, Kontaktformular,
 * Terminbuchungs-Embed, Back-to-Top, Rechtstexte)
 * ============================================================ */

/* START SECTION STYLING: TESTIMONIALS (Karussell) */
.testimonial-carousel {
    --carousel-gap: 1.5em;

    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
}

/* Pfeile nur zeigen, wenn das JS laeuft (is-deck) UND gescrollt werden muss */
.testimonial-carousel:not(.is-deck) .carousel-arrow,
.testimonial-carousel.no-scroll .carousel-arrow {
    display: none;
}

.testimonials {
    flex: 1;
    min-width: 0;
}

/* Fallback ohne JavaScript: Karten einfach untereinander */
.testimonial {
    margin: 0 0 1.5em 0;
    padding: 1.5em;
    border-radius: 1em;
    background-color: white;
    color: black;
    box-shadow: 0 3px 8px 0 #0e2431;

    /* lange Woerter (z.B. "Dokumentenmanagementsystem") umbrechen
       statt ueber den Kartenrand hinauszuragen */
    overflow-wrap: break-word;
    hyphens: auto;
}

/* --- Stapel-Karussell (aktiviert das JS ueber die Klasse is-deck) --- */
.is-deck .testimonials {
    position: relative;      /* Bezugsrahmen fuer die absolut positionierten Karten */
    /* Der Schatten darf ueber den Kartenrahmen hinausragen, ohne dass
       verschobene Karten das Seitenlayout verbreitern. */
    overflow: clip;
    overflow-clip-margin: 0.75em;
    height: 320px;           /* wird per JS an die hoechste Karte angepasst */
    touch-action: pan-y;     /* vertikal scrollt die Seite, horizontal swiped das Karussell */
}

/* Greif-Cursor nur dann, wenn Karten verdeckt sind und wirklich
   horizontal gezogen werden kann. */
.is-deck:not(.no-scroll) .testimonials {
    cursor: grab;
}

.is-deck:not(.no-scroll) .testimonials.dragging {
    cursor: grabbing;
    user-select: none;
}

/* Waehrend des Ziehens folgen die Karten direkt dem Finger (keine Verzoegerung) */
.is-deck .testimonials.dragging .testimonial {
    transition: none;
}

.is-deck .testimonials.dragging a {
    pointer-events: none;
}

.is-deck .testimonial {
    position: absolute;
    top: 0.5em;              /* Platz fuer den Karten-Schatten */
    left: 0;
    margin: 0;

    /* Textauswahl stoert das Ziehen (blaue Markierung + Ruckeln) */
    -webkit-user-select: none;
    user-select: none;
    /* width, height, transform, opacity und z-index setzt das JS:
     * sichtbare Karten nebeneinander, die naechste Karte leicht versetzt
     * DAHINTER (nur die Kante schaut hervor), restliche Karten unsichtbar
     * auf derselben Position - so kommen sie beim Weiterschalten
     * animiert hinter dem Stapel hervor. */
}

/* Positionswechsel animieren - aber erst nach dem ersten Layout (ready)
 * und nicht waehrend eines Fenster-Resizes (no-anim) */
.testimonial-carousel.ready .testimonial {
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.testimonial-carousel.no-anim .testimonial {
    transition: none;
}

.testimonial p {
    margin-bottom: 0.8em;
}

.testimonial-service {
    font-weight: 500;
    font-size: large;
    color: var(--fb-blue);
    margin-bottom: 0.8em;
}

.testimonial-author {
    font-style: italic;
    font-weight: 300;
    padding: 0;
    background: none;
    color: inherit;
    display: block;
}

.testimonial-author a {
    color: inherit;
}

.carousel-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;

    border: none;
    border-radius: 50%;
    background-color: var(--fb-blue);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 3px 8px 0 #0e2431;
}

.carousel-arrow:hover {
    opacity: 0.85;
}
/* END SECTION STYLING: TESTIMONIALS */

/* START STYLING: KONTAKTFORMULAR */
.contact-form {
    margin-top: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    max-width: 500px;
}

.contact-form label {
    margin-top: 0.8em;
    font-weight: 300;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5em;
    border: 1px solid #999;
    border-radius: 0.5em;
    font-size: 1rem;
    background-color: white;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--fb-blue);
    border-color: var(--fb-blue);
}

.contact-form-button {
    margin-top: 1em;
    align-self: flex-start;
    background-color: white;
    color: var(--fb-blue) !important;
    border: 2px solid white;
    padding: 0.55em 1em;
    font-size: 1rem;
    font-family: inherit;
}

/* Hover nur auf Geräten mit echter Maus */
@media (hover: hover) and (pointer: fine) {
    .contact-form-button:hover {
        background-color: var(--fb-blue);
        color: white !important;
        border-color: white;
    }
}

.contact-form-button:hover,
.contact-form-button:focus-visible,
.contact-form-button:active {
    border-style: solid;
}



/* Tastaturfokus sichtbar, aber Button bleibt weiß */
.contact-form-button:focus-visible {
    background-color: white;
    color: var(--fb-blue) !important;
    border-color: white;
    outline: 3px solid white;
    outline-offset: 3px;
}

/* Auf Touch-Geräten nach dem Tippen wieder weiß */
.contact-form-button:active {
    background-color: white;
    color: var(--fb-blue) !important;
}

/* Google reCAPTCHA: insgesamt leicht verkleinert, Text bleibt gut lesbar. */
.g-recaptcha {
    margin-top: 0.8em;
    transform: scale(0.85);
    transform-origin: left top;
    margin-bottom: -12px;
}

.captcha-error {
    margin: 0.35em 0 0;
    color: #fff;
    font-weight: 600;
}

.contact-form-hint {
    font-size: small;
    font-weight: 300;
    margin-top: 0.5em;
}
/* END STYLING: KONTAKTFORMULAR */

/* COOKIE-CONSENT */
.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.cookie-consent {
    width: min(760px, 100%);
    padding: 1.25rem;
    border-radius: 0.8rem;
    background: white;
    color: #222;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.cookie-consent h2 { margin-top: 0; }
.cookie-consent p { margin: 0.7rem 0; }
.cookie-details { display: grid; gap: 0.75rem; margin: 1rem 0; }
.cookie-details label { display: flex; gap: 0.55rem; align-items: center; }
.cookie-details span { color: #666; font-size: 0.9em; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
.cookie-actions button {
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--fb-blue);
    border-radius: 0.5rem;
    background: white;
    color: var(--fb-blue);
    cursor: pointer;
}
.cookie-actions .cookie-primary { background: var(--fb-blue); color: white; }
.cookie-actions button:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
.cookie-links a { color: var(--fb-blue); }
.cookie-settings-link {
    border: 0;
    padding: 0;
    background: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 520px) {
    .cookie-actions { flex-direction: column; }
    .cookie-actions button { width: 100%; }
}


/* START STYLING: TERMINBUCHUNG (meetergo-Embed) */

.booking-embed {
    position: relative;
    width: 100%;
}

.booking-embed iframe {
    display: block;
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 1em;
    background-color: white;
}

.booking-touch-toggle {
    display: none;
}

.booking-fallback {
    margin-top: 0.5em;
    font-size: small;
    font-weight: 300;
}

/* Mobile Kalendersteuerung */
@media only screen and (max-width: 767.98px) {
    /*
     * Sperrt die Startseite, während der Kalender
     * im Vollbildmodus bedient wird.
     */
    body.booking-calendar-active {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
    }

    /*
     * Normalzustand:
     * Die Seite kann über den Kalender hinweg scrollen.
     */
    .booking-embed iframe {
        pointer-events: none;
    }

    /*
     * Schaltfläche im normalen Seitenmodus.
     */
    .booking-touch-toggle {
        display: block;
        position: sticky;
        top: calc(var(--navbar-height) + 0.5rem);
        z-index: 10;

        width: max-content;
        max-width: calc(100% - 2rem);
        margin: 0 auto 0.5rem;
        padding: 10px 16px;

        border: 1px solid #ffffff;
        border-radius: 8px;
        background-color: #475aaa;
        color: #ffffff;

        font: inherit;
        line-height: 1.2;
        text-align: center;
        cursor: pointer;
    }

    .booking-touch-toggle:hover,
    .booking-touch-toggle:focus-visible {
        background-color: #475aaa;
        color: #ffffff;
        border-color: #ffffff;
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

    /*
     * Bedienmodus:
     * Der Kalender wird über die gesamte mobile Ansicht gelegt.
     */
    .booking-embed.is-interactive {
        position: fixed;
        inset: 0;
        z-index: 2000;

        display: flex;
        flex-direction: column;

        width: 100%;
        height: 100dvh;
        padding: 0.75rem;
        box-sizing: border-box;

        background-color: #475aaa;
    }

    /*
     * Der Kalender füllt den gesamten verbleibenden Platz.
     */
    .booking-embed.is-interactive iframe {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: 0;

        border-radius: 1em;
        pointer-events: auto;
    }

    /*
     * Seitenscroll-Button bleibt immer ganz oben.
     */
    .booking-embed.is-interactive .booking-touch-toggle {
        position: static;
        flex: 0 0 auto;

        width: max-content;
        max-width: 100%;
        margin: 0 auto 0.75rem;
        padding: 10px 16px;
        transform: none;

        border: 1px solid #ffffff;
        background-color: #475aaa;
        color: #ffffff;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    }
}

/* END STYLING: TERMINBUCHUNG */



/* START STYLING: BACK-TO-TOP */
.back-to-top {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    z-index: 998;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;

    border-radius: 50%;
    background-color: var(--fb-blue);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 3px 8px 0 #0e2431;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .back-to-top.is-visible:hover {
        opacity: 0.85;
    }
}
/* END STYLING: BACK-TO-TOP */


/* START STYLING: RECHTSTEXTE (Datenschutz) */
.legal-text h2 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.legal-text p {
    margin-bottom: 0.8em;
}
/* END STYLING: RECHTSTEXTE */

/* Testimonials: Wie viele Karten nebeneinander passen, berechnet das JS
 * anhand der tatsaechlichen Track-Breite (Mindestbreite pro Karte 310px) -
 * keine Viewport-Breakpoints noetig. */



/* Zurück-Button: Desktop */
.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    margin-right: 2rem;
    padding: 8px 14px;

    border: 1px solid #475aaa;
    border-radius: 8px;
    background-color: #475aaa;
    color: #ffffff;

    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.back-button:hover,
.back-button:focus-visible {
    background-color: #ffffff;
    color: #475aaa;
}

/* Kleinere Desktop- und Tablet-Auflösungen */
@media only screen and (min-width: 768px) and (max-width: 1100px) {
    header.navbar {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    header.navbar > a.navbar-logo-wrapper > .navbar-logo {
        width: 170px;
        height: auto;
    }

    .back-button {
        width: 38px;
        height: 38px;
        margin-right: 1rem;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
    }

    .back-button::before {
    content: "←";
    display: block;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-2px);
    }

    header.navbar > .nav-entries {
        gap: 0.25rem;
    }

    .nav-space {
        width: 0.25rem;
    }

    header.navbar a {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 1101px) {
    .back-arrow {
        display: inline-block;
        transform: translateY(-2px);
    }
}
/* Mobile: Pfeil links neben dem Hamburger-Menü */
@media only screen and (max-width: 767.98px) {
    header.navbar {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    header.navbar > a.navbar-logo-wrapper > .navbar-logo {
        width: 170px;
        height: auto;
    }

    .navbar .checkbox,
    .navbar .hamburger-lines {
        right: 1rem;
		top: 25px !important;
    }

    .back-button {
    width: 38px;
    height: 38px;
    margin-right: 3rem;
    padding: 0;
    border-radius: 50%;
    font-size: 0;

    transform: translateY(-2px);
}

    .back-button::before {
    content: "←";
    display: block;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-2px);
}

}