/*Universeller Selektor - spricht alle Elemente der Website an*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  /* Damit Primary-Buttons beim Anklicken nicht blau werden: */
  -webkit-tap-highlight-color: transparent;
}



/* Die Wurzel des Dokuments (hier html) wird angesprochen. Hauptsächliche Verwendung für globale CSS-Variablen.*/
:root {

    /* Schriftart */
    --font-primary: 'Nunito', sans-serif;

    /* Schriftgrößen */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.5rem;
    --fs-xl: 2rem;
    --fs-xxl: 3rem;

    /* Schriftstärken */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;

    /* Farben */
    --clr-black: #0D1A26;
    --clr-grey: #3E4C59;
    --clr-dark-blue: #4E84A6;
    --clr-blue: #9CBCD9;
    --clr-bg: #D0E2F2;
    --clr-white: #FFFFFF;
    --clr-accent: #F26800;
    --clr-accent-hover: #F26800BF;
    --clr-accent-active: #F2680080;
}



/* Schrift wird registriert. '@' bedeutet 'at rule'. '../' bedeutet 'Gehe eine Ebene nach oben.' */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}


/* Buttons */
.btn-primary {

    --bs-btn-color: var(--clr-black);

    --bs-btn-bg: var(--clr-accent);
    --bs-btn-border-color: var(--clr-accent);

    --bs-btn-hover-color: var(--clr-black);
    --bs-btn-hover-bg: var(--clr-accent-hover);
    --bs-btn-hover-border-color: var(--clr-accent-hover);

    --bs-btn-active-color: var(--clr-black);
    --bs-btn-active-bg: var(--clr-accent-active);
    --bs-btn-active-border-color: var(--clr-accent-active);

    --bs-btn-focus-shadow-rgb: none;

    font-weight: var(--fw-bold);
}


/* Dropdown wie Hauptnavigation */
.dropdown-menu-dark .dropdown-item {
    color: rgba(255,255,255,.55);
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    color: rgba(255,255,255,.75);
    background-color: transparent;
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
    color: var(--clr-white);
    background-color: transparent;
}


/* Breadcrumbs */
.breadcrumb a{
    text-decoration: none;
    color: var(--clr-black);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: "bootstrap-icons";
}

.breadcrumb {
    --bs-breadcrumb-divider: "\F285";
}

.breadcrumb-item.active {
    font-weight: var(--fw-bold);
}

.breadcrumb-back {
    color: var(--clr-black);
}

.breadcrumb-back:hover {
    color: var(--clr-black);
    opacity: 0.8;
}



/* Body allgemein */
body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);

    background-color: var(--clr-bg);
    color: var(--clr-black);
    line-height: 1.6;

    padding-top: 7.5rem;
}



/* Überschriften */
h1,
h2,
h3 {
    font-weight: var(--fw-bold);
}



/* Sektion allgemein */
section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}



/* Logo-Hover allgemein */
.logo-link,
.juranek-logo {
    display: inline-block;
}

.logo-hover,
.juranek-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-link:hover .logo-hover,
.juranek-logo:hover {
    opacity: 0.92;
    transform: scale(1.015);
}



/* Navigation */
.navbar {
    background-color: var(--clr-black) !important;
}



/* Offer-Cards (Förderwochen & Workshops) */
.offer-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
    text-decoration: none;
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.offer-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.8),
            rgba(0,0,0,0.45)
        );
}

.offer-card h2 {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 2;

    color: var(--clr-white);

    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);

    text-align: center;
}

.offer-card:hover img {
    transform: scale(1.05);
}

.offer-text {
    margin-top: 2rem;
}



/* Über uns & Zitat */
.ueber-uns,
.blockquote-section {
    background-color: var(--clr-grey);
    color: var(--clr-white);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}



/* Referenzen */

.reference-box {
    border: 1px solid var(--clr-black);
    border-radius: 10px;
    padding: 2rem;
    background-color: var(--clr-bg);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reference-box blockquote {
    margin-bottom: 1rem;
}

.reference-box cite {
    font-weight: var(--fw-bold);
    font-style: normal;
}

/* Referenzen-Buttons */
.reference-navigation {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.reference-btn {
    position: relative;
    width: 48px;
    height: 48px;

    border: none;
    background: transparent;
    cursor: pointer;
}

.reference-btn i {
    position: absolute;
    inset: 0;

    font-size: 2.2rem;

    transition: opacity 0.3s ease, transform 0.2s ease;
}

/* Standard-Button Referenzen */
.default-icon {
    color: var(--clr-black);
    opacity: 1;
}

/* Hover-Button Referenzen */
.hover-icon {
    color: var(--clr-black);
    opacity: 0;
}

.reference-btn:hover .default-icon {
    opacity: 0;
}

.reference-btn:hover .hover-icon {
    opacity: 1;
}

/* Klick-Effekt Referenzen-Buttons*/
.reference-btn:active {
    opacity: 0.5;
    transform: scale(0.92);
}



/* Footer */
.footer {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

/* Footer-Links allgemein */
.footer a {
    color: var(--clr-white);
    text-decoration: none;

    transition: opacity 0.3s ease, text-decoration-color 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-links {
    font-size: var(--fs-lg);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-contact {
    margin-bottom: 0rem;
}



/* Footer unter dem Strich */

.footer-bottom {
    font-size: var(--fs-xs);
}



/* Förderwochen bzw. Workshops */
.info-item {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
}

/* Icons links von Hauptinfo */
.info-item i {
    font-size: var(--fs-xl);
}

/* Förderwochen- & Workshop-Termine */
.termin-card {
    background-color: var(--clr-grey);
    color: var(--clr-white);
    padding: 3rem;

    margin-bottom: 1rem;
}

.termin-info {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
}

.termin-info i {
    font-size: var(--fs-lg);
}



/* Programmgestaltung */
.program-card {
    background-color: var(--clr-grey);
    color: var(--clr-white);
}

.icon {
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
    fill: currentColor;
}

.button-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}


/* Info-Box */
.info-box-wrapper {
    background-color: var(--clr-blue);
}

.info-box-icon i {
    font-size: var(--fs-xl);
}



/* Meilensteine */
.card-body {
    background-color: var(--clr-bg);
}

/* Jahreszahl */
.milestone-year {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    line-height: 1;

    color: var(--clr-black);
}



/* Zitat-Sektion */
.quote-image {
    width: 320px;
    height: 320px;

    object-fit: cover;

    border-radius: 50%;
}

.quote-text {
    font-size: var(--fs-md);
}

.quote-author {
    font-size: var(--fs-md);
    font-style: normal;
    font-weight: var(--fw-bold);
}



/* Kontaktseite */
.form-control {
    background-color: transparent;
    border: 1px solid var(--clr-black);
    min-height: 46px;
}

.form-control:focus {
    border-color: var(--clr-dark-blue);
    box-shadow: none;
    background-color: transparent;
}

.form-check-input {
    background-color: transparent;
    border: 1px solid var(--clr-black);
}

.form-check-input:checked {
    background-color: var(--clr-black);
    border-color: var(--clr-black);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: var(--clr-black);
}

.form-check-label a {
    color: var(--clr-black);
    text-decoration: underline;
}

.form-check-label a:hover {
    text-decoration: none;
}

/* Erfolgsnachricht Kontaktformular */
.alert-success {
    background-color: var(--clr-bg);
    border-color: var(--clr-bg);
    color: var(--clr-black);
}

.alert-success i {
    color: var(--clr-black);
}



/* Impressum */
.impressum-section a {
    color: var(--clr-black);
}

.impressum-section a:hover {
    text-decoration: none;
}



/* Datenschutz & Nutzungsbedingungen*/
.datenschutz-section a,
.nutzungsbedingungen-section a {
    color: var(--clr-black);
}

.datenschutz-section a:hover,
.nutzungsbedingungen-section a:hover {
    text-decoration: none;
}

.datenschutz-section h3,
.datenschutz-section h3 + p,
.nutzungsbedingungen-section h3,
.nutzungsbedingungen-section h3 + p {
    margin-left: 2rem;
}



/* Mobil-Anpassungen */

@media (max-width: 767px) {

    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }



    /* Hero-Bereich */

    .hero-video {
        aspect-ratio: 4/3;
    }

    /* Meilensteine */
    .milestone-year {
        font-size: var(--fs-lg);
    }



    .footer-contact {
        margin-top: 2rem;
    }

}






/* Desktop-Anpassungen */
@media (min-width: 960px) {

    /* Abstand zwischen Offer-Kreisen */
    .offer .row {
        column-gap: 5rem;
    }

}
