/* -----------------------------------------------Fonts */
@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald/Oswald-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 700;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('./fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 800;
}

/* -----------------------------------------------Reset */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*----------*----------*----------*----------*---------- General Styles */
:root {
    font-size: 62.5%;

    /* Family */
    --font-family-title: "Oswald", sans-serif;
    --font-family-content: "Plus Jakarta Sans", sans-serif;
}

body {
    background-color: white;
    font-family: var(--font-family-content);
    line-height: 1.6;
    outline: none;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* ----------------------------------------------------header */
.header {
    background-color: white;
    padding: 0.2rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 25;
    gap: 3rem;
    width: 100%;
    position: fixed;
}

.header_logo {
    font-size: 2rem;
    margin-right: 2rem;
}

.header_logo img {
    left: 0;
    top: 0;
    width: 13rem;
    object-fit: cover;
}

.header_nav {
    display: flex;
    gap: 5rem;
    font-size: 1.4rem;
    justify-content: center;
    align-items: center;
    padding-top: 1.3rem;
    font-weight: bold;
}

.header_nav-link {
    color: #959ba1;
}

.header_nav li:first-child {
    border-bottom: 1.5px solid #0e84aa;
}

.header_nav li:last-child {
    background-color: #0e84aa;
    color: #f9fafb;
    border: 8px solid #0e84aa;
    border-radius: 16px;
}

.header_toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0e84aa;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.header_nav-close {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0e84aa;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

/* ----------------------------------Home */
#Home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem 3rem;
    position: relative;
}

.hero_content {
    width: 50%;
    padding: 5rem;
    margin-top: 4rem;
}

.hero_content-mini-title {
    font-size: 1rem;
    color: #959ba1;
    margin-bottom: 1rem;
}

.hero_content-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.hero_content-highlight {
    font-weight: bold;
    font-size: 3rem;
    color: #0e84aa;
    margin-bottom: 1rem;
}

.hero_content-para {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #959ba1;
}

.hero_content-link-one {
    color: #959ba1;
    background-color: #0e84aa;
    border: 1px solid #0e84aa;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    word-spacing: 4px;
    text-align: center;
    margin-top: center;
    margin-right: 3rem;
    display: inline-flex;
    align-items: center;
}

.hero_content-link-one i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.hero_content-link-one i:hover {
    transform: translateX(5px);
}

.hero_content-link-two {
    color: #959ba1;
    border: 1px solid #0e84aa;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    word-spacing: 4px;
    text-align: center;
    margin-top: center;
    display: inline-flex;
    align-items: center;
}

.hero_content-link-two i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.hero_content-link-two i:hover {
    transform: translateX(5px);
}

.hero_content-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    padding: 0 3rem;
}

.hero_content-image img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* -------------------------------------Services */
#Services {
    padding: 6rem 0;
    scroll-margin-top: 6rem;
}

.services_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.2rem;
    gap: 1.3rem;
}

.services_content-mini-title {
    font-size: 1rem;
    color: #0e84aa;
}

.services_content-title {
    font-size: 3rem;
    font-weight: bold;
}

.services_content-para {
    font-size: 1.5rem;
    color: #959ba1;
}

.services_cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, min-content);
    gap: 2rem;
    width: 100%;
    padding: 2rem 3rem;
}

.services_cards-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    border: 1px solid #0e84aa;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.services_cards-card img {
    width: 100%;
    height: 200px;
    max-height: 200px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.services_cards-card h6 {
    font-size: 1.5rem;
}

.services_cards-card p {
    font-size: 1.2rem;
    color: #959ba1;
}

.services_cards-card a {
    font-size: 1rem;
    color: #0e84aa;
    padding-bottom: 0.5rem;
    margin-top: auto;
}

.services_cards-card a i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.services_cards-card a:hover i {
    transform: translateX(5px);
}

/* -----------------------------------------------über mich */
#Über-mich {
    padding: 8rem 0;
    scroll-margin-top: 10rem;
}

.über-mich_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.3rem;
    margin-bottom: 2rem;
}

.über-mich_info-title {
    font-size: 1rem;
    color: #0e84aa;
}

.über-mich_info-para {
    font-size: 3rem;
    font-weight: bold;
}

.über-mich_items {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    border: 1px solid #0e84aa;
    border-radius: 10px;
    padding: 4rem 3rem;
    margin: 1.2rem 3rem;
}

.über-mich_items-item {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.5rem;
    border: none;
    border-radius: 0;
    background: transparent;
}

.über-mich_items-item i {
    color: #0e84aa;
    font-size: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    grid-row: 1/ span 2;
}

.über-mich_items-item h6 {
    font-size: 1.8rem;
    font-weight: bold;
    grid-column: 2;
    margin: 0 0 0.5rem;
}

.über-mich_items-item p {
    font-size: 1.5rem;
    color: #959ba1;
    grid-column: 2;
    line-height: 1.6;
}

/* ----------------------------------------kontakt */
#Kontakt {
    padding: 8rem 0;
    scroll-margin-top: 10rem;
}

.kontakt_author {
    max-width: 1280px;
    margin: 0 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 3rem;
}

.kontakt_author>div {
    border-radius: 10px;
    padding: 2rem;
    background: none;
    box-shadow: none;
    transition: transform 0.35s ease;
    border: 1px solid #0e84aa;
}

.kontakt_author>div:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

.kontakt_author h3 {
    font-size: 1rem;
    letter-spacing: 0.06rem;
    margin-bottom: 1.3rem;
}

.kontakt_author-info_container,
.kontakt_author-tele_container,
.kontakt_author-zeit_container {
    display: grid;
    gap: 0.8rem;
    color: #0e84aa;
    line-height: 1.2rem;
}

.kontakt_author-info_container i,
.kontakt_author-tele_container i,
.kontakt_author-zeit_container i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.kontakt_author-info_container li,
.kontakt_author-tele_container li,
.kontakt_author-zeit_container li {
    font-size: 1.5rem;
    color: #959ba1;
    margin-bottom: 0.5rem;
}

.kontakt_author-info_container li a,
.kontakt_author-tele_container li a,
.kontakt_author-zeit_container li a {
    color: #959ba1;
}

.kontakt_author-info_container li a:hover,
.kontakt_author-tele_container li a:hover,
.kontakt_author-zeit_container li a:hover {
    color: #0e84aa;
}

.kontakt_author-zeit_container li:hover {
    color: #0e84aa;
}

.kontakt_author-social {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.kontakt_author-social i {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    border: 0.8rem;
    background-color: #0e84aa;
    color: #959ba1;
    font-size: 4rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.kontakt_author-social i:hover {
    transform: translateY(-3px);
    background-color: #0e84aa;
    color: #fff;
}

/* ------------------------------------------footer */
.footer_copy-rights {
    max-width: 1280px;
    margin: 0 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 10px;
    padding: 2rem 3rem;
    background-color: #0e84aa;
    position: sticky;
    bottom: 0;
    z-index: 5;
    font-size: 1.3rem;
    color: #959ba1;
    margin-top: 5rem;
}

.footer_copy-rights p {
    margin: 0;
    color: #959ba1;
}

.footer_copy-rights p a {
    color: #959ba1;
}

.footer_copy-rights_date {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #959ba1;
}

.footer_copy-rights_date1,
.footer_copy-rights_date2 {
    font-weight: 700;
}

section {
    padding: 8rem 0;
    scroll-margin-top: 10rem;
}

/* ------------------------------------Cookies banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0e84aa;
    color: #959ba1;
    padding: 2rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    font-family: var(--font-family-content);
    font-size: 1.6rem;
    margin: 0 3rem;
}

.cookie-banner-text {
    flex: 1 1 60%;
    margin: 0 2rem;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    color: #959ba1;
}

.cookie-banner-accept {
    background-color: #f9fafb;
    color: #0e84aa;
}

.cookie-banner-decline {
    background-color: transparent;
    color: #f9fafb;
    border: 2px solid #f9fafb;
}

.cookie-banner-btn:hover {
    transform: translateY(-2px);
}

.cookie-banner-accept:hover {
    background-color: #e0f0f8;
}

.cookie-banner-decline:hover {
    background-color: rgba(249, 250, 251, 0.1);
}

/* ==================================================== Responsive Design */
/* Note: Desktop styles above remain untouched. All responsiveness
   is handled below with mobile-first-friendly max-width queries. */

/* --------------------- Small laptops (max-width: 1200px) */
@media screen and (max-width: 1200px) {
    .services_cards {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .hero_content {
        margin-top: 5rem;
    }
}

/* --------------------------- Tablets (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .über-mich_items {
        flex-wrap: wrap;
    }

    .über-mich_items-item {
        flex: 1 1 calc(50% - 3rem);
    }

    .kontakt_author {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .hero_content {
        margin-top: 5rem;
    }
}

/* --------------- Large phones / small tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 1.5rem;
        position: relative;
        position: fixed;
    }

    .header_logo {
        margin-right: 0;
    }

    .header_toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header_nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        gap: 2rem;
        padding: 6rem 2rem 2rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        transition: transform 0.35s ease;
        z-index: 20;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
    }

    .header_nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: #0e84aa;
        cursor: pointer;
        padding: 0.5rem;
    }

    .header_nav.active {
        transform: translateX(0);
    }

    .header_overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 15;
    }

    .header_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    #Home {
        padding: 2rem;
    }

    .hero_content {
        width: 100%;
        padding: 3rem 2rem;
        margin-top: 5rem;
    }

    .hero_content-title,
    .hero_content-highlight {
        font-size: 2.5rem;
    }

    /* Hero image stays as the background but now fills the
       whole section edge-to-edge (no side insets) */
    .hero_content-image {
        padding: 0 2rem;
    }

    .hero_content-image img {
        object-position: center;
    }

    #Services,
    #Über-mich,
    #Kontakt {
        padding: 5rem 0;
    }

    .services_content,
    .über-mich_info {
        text-align: center;
    }

    .services_cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }

    .über-mich_items {
        flex-direction: column;
        margin: 1.2rem 2rem;
        padding: 3rem 2rem;
    }

    .kontakt_author {
        grid-template-columns: 1fr;
        margin: 0 2rem;
    }

    .footer_copy-rights {
        margin: 4rem 2rem 0;
        justify-content: center;
        text-align: center;
    }
}

/* -------------------------------- Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    .header_logo img {
        width: 10rem;
    }

    .header_nav {
        gap: 1.5rem;
        font-size: 1.5rem;
    }

    .header_nav li:last-child {
        border-width: 6px;
    }

    #Home {
        padding: 1.5rem;
    }

    .hero_content {
        padding: 3rem 2rem;
        margin-top: 5rem;
    }

    .hero_content-title,
    .hero_content-highlight {
        font-size: 2.1rem;
    }

    .hero_content-link-one,
    .hero_content-link-two {
        padding: 1rem 1.4rem;
        margin: 0.5rem 0;
    }

    .hero_content-link-one {
        margin-right: 1rem;
    }

    /* Full-bleed hero background on phones */
    .hero_content-image img {
        border-radius: 0;
    }

    .services_content,
    .über-mich_info {
        text-align: center;
    }

    .services_cards {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .über-mich_items {
        margin: 1.2rem 1.5rem;
        padding: 2.5rem 1.5rem;
    }

    .kontakt_author {
        margin: 0 1.5rem;
    }

    .footer_copy-rights {
        margin: 3rem 1.5rem 0;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
}

/* ----------------------------------Cookies banner */
@media screen and (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }

    .cookie-banner-text {
        flex: 1 1 auto;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

    .cookie-banner-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}