@charset "UTF-8";

body {
    background-color: #FFF7ED;
    color: #222222;
    font-family: 'Quicksand Variable', sans-serif;
    font-weight: 400 !important;
    padding-top: 80px;
    overscroll-behavior-y: none;
}

@media (min-width: 768px) {
    body {
        padding-top: 140px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

/* Latin-ext (Polnisch) */
@font-face {
    font-family: 'Quicksand Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url('../fonts/quicksand-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Latin (Standard) */
@font-face {
    font-family: 'Quicksand Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 300 700;
    src: url('../fonts/quicksand-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Der Hauptinhaltsbereich ("main") */
main {
    margin-top: 30px; 
    position: relative;
    z-index: 1;      
}

/* Navigationsleiste */
.navbar {
    z-index: 1000;
    align-items: flex-end;
    min-height: 100px;
}

.navbar-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    font-weight: 500 !important;
}

/* Aktiver Menüpunkt (und Hover) */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    font-weight: 600 !important;
}

/* ---------- Premium Hamburger Morphing Animation ---------- */

/* Container für die 3 Linien */
.animated-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0;
    cursor: pointer;
}

/* Grundstil der 3 Linien */
.animated-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #222222;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

/* Die exakte Position der 3 Linien untereinander */
.animated-icon span:nth-child(1) { top: 0px; }
.animated-icon span:nth-child(2) { top: 8px; }
.animated-icon span:nth-child(3) { top: 16px; }

/* * DIE ANIMATION ZUM 'X' */

/* Oberer Strich dreht sich um 135 Grad nach rechts unten */
.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

/* Mittlerer Strich wird unsichtbar und schiebt sich nach links weg */
.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

/* Unterer Strich dreht sich um -135 Grad nach links oben */
.navbar-toggler[aria-expanded="true"] .animated-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Aktiver Zustand und Hover für den Kontakt-Button */
.btn-outline-dark.active,
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #212529 !important;
    border-color: #212529 !important;
}

.btn-outline-dark.active {
    font-weight: 600 !important;
}

/* Heller Hintergrund für Footer (oder ehemals Navbar) */
.bg-custom-light {
    background-color: #bcd0c5 !important;
}

/* ---------- Neue Styles für den Senden-Button ---------- */
.btn-primary {
    background-color: #bcd0c5 !important;
    border-color: #bcd0c5 !important; /* Rahmen in gleicher Farbe wie Hintergrund */
    color: #212529 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #9fb3a8 !important;
    border-color: #9fb3a8 !important;
    color: #212529 !important;
}

/* Schiebt das Profilbild auf Desktop exakt auf die Höhe des ersten Absatzes */
@media (min-width: 768px) {
    .profile-img-offset {
        margin-top: 7.3rem; 
    }
}

/* Verhindert das einfache Kopieren von Adressdaten */
.protection {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: left;
}

/* 1. Verhindert das Hüpfen endgültig und bombensicher */
html {
    overflow-y: scroll; 
    scrollbar-width: thin;
    scrollbar-color: #bcd0c5 transparent; 
}

/* 2. Für Chrome, Edge und Safari: Der hübsche Scrollbalken */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent; 
}

::-webkit-scrollbar-thumb {
    background-color: #bcd0c5; 
    border-radius: 10px;       
    border: 3px solid #ffffff; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: #9ab4a8; 
}

/* Automatische Silbentrennung für lange Wörter */
.text-hyphens {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Sanfter Hover-Effekt für die Karten */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}