/* Meine Styles */
html { 
  height: 100%!important; }

body {
  display: flex !important;
  flex-direction: column !important;
  height: 100%!important; 
}

main {
  flex-shrink: 0 !important;
}

main > .container:first-child {
  margin-top: 15px;
  padding: 60px 15px 0;
}

.cursor-pointer {
    cursor: pointer;
}

.thumbnail {
  width: 80px;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  position: relative;
  z-index: 1;
}

/*** Login ***/
.login-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.login-img {
    background: url('../images/login_image.png') center/cover no-repeat;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

/*** Upload-Images ***/
.card-img-top {
    height: 150px;
    object-fit: cover;
}

.card-img-top:hover {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#leafletMap { 
  height: 300px; 
  width: 100%; 
  border-radius: 8px; 
  border: 1px solid #ddd; 
  margin-top: 15px;
}

.service-card {
    border:1px solid #e5e7eb;
    border-radius:12px;
    transition:all .2s ease;
}

.service-card:hover {
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.service-card img {
    max-height:140px;
    object-fit:contain;
    opacity:0.9;
}

.project-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.12);
}

.project-card .badge {
    font-weight: 500;
}

.btn-w-werk {
    background-color: #FF7F0F;
    border-color: #FF7F0F;
    color: #fff;
}

.btn-w-werk:hover {
    background-color: #e96f00;
    border-color: #e96f00;
    color: #fff;
}

#corporate-customers,
#private-customers {
    scroll-margin-top: 100px;
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    transition: all .2s ease;
}

.contact-form .form-control:focus {
    border-color: #FF7F0F;
    box-shadow: 0 0 0 3px rgba(255,127,15,0.15);
}

.contact-form .input-group-text {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-right: none;
    color: #6c757d;
    border-radius: 10px 0 0 10px;
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .maxw-800 { max-width: 800px; }
    .maxw-640 { max-width: 640px; }
}


.ww-navbar {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.ww-brand {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.ww-brand:hover {
    color: #111;
    opacity: 0.9;
}

.ww-navbar-toggler {
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
}

.ww-nav-link {
    color: #333;
    border-radius: 999px;
    padding: 0.65rem 0.95rem !important;
    transition: all 0.2s ease;
    font-weight: 500;
}

.ww-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
}

.ww-nav-link.active {
    background: #111;
    color: #fff !important;
    font-weight: 600;
}

.ww-lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    color: #333;
    background: rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.ww-lang-switch:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}

.ww-account-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    color: #222;
    background: rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ww-account-link:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #111;
}

.ww-btn-primary {
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 600;
}

.ww-btn-ghost {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    color: #333;
    transition: all 0.2s ease;
}

.ww-btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
}

body {
    padding-top: 92px;
}

@media (max-width: 991.98px) {
    .ww-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    }

    .ww-nav-link {
        border-radius: 14px;
    }
}

.ww-footer {
    padding: 1.25rem 0 2rem;
    background: transparent;
}

.ww-footer-inner {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

.ww-footer-copy {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.ww-footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    color: #222;
    font-size: 0.98rem;
}

.ww-footer-brand strong {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ww-footer-separator {
    color: #999;
}

.ww-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.ww-footer-links .nav-item {
    flex: 0 0 auto;
}

.ww-footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;

    width: 160px;
    height: 38px;
    padding: 0 14px;

    text-decoration: none;
    color: #444;
    background: rgba(0,0,0,0.04);
    border-radius: 999px;

    font-size: 0.9rem;
    white-space: nowrap;
    transition: all .2s ease;
}

.ww-footer-link:hover {
    background: rgba(0,0,0,0.08);
    color: #111;
}

@media (max-width: 767.98px) {
    .ww-footer-inner {
        border-radius: 20px;
        padding: 1rem;
    }

    .ww-footer-brand {
        font-size: 0.95rem;
    }

    .ww-footer-links {
        justify-content: center;
    }
}


.career-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-radius: 18px;
    padding-left: 20px;
    padding-right: 20px;
}

.career-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 56px;
}

.career-timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, #FF7F0F 0%, #ffd2a3 100%);
    border-radius: 3px;
}

.career-step {
    position: relative;
    margin-bottom: 26px;
}

.career-step::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: #FF7F0F;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,127,15,0.15);
    z-index: 2;
}

.career-year {
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #FF7F0F;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.career-text {
    background: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    line-height: 1.55;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.career-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border-color: #d8dee7;
}

.career-text strong {
    color: #0F172A;
}

/* Start der Selbstständigkeit */

.career-self {
    position: relative;
}

.career-self .career-year {
    font-size: 1rem;
    font-weight: 800;
}

.career-self .career-text {
    border-left: 5px solid #FF7F0F;
    background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
    position: relative;
}

/* Subtimeline innerhalb der Selbstständigkeit */

.career-sub {
    margin-left: 60px;
    position: relative;
}

.career-sub::before {
    left: -38px;
}

.career-sub::after {
    content: "";
    position: absolute;
    left: -32px;
    top: -26px;
    bottom: 0px;
    width: 2px;
    background: rgba(255,127,15,0.25);
}

.career-sub .career-text {
    border-left: 3px solid rgba(255,127,15,0.25);
}

/* Mobile */

@media (max-width: 767.98px) {
    .career-section {
        padding-left: 12px;
        padding-right: 12px;
        border-radius: 14px;
    }

    .career-timeline {
        padding-left: 0;
    }

    .career-timeline::before {
        display: none;
    }

    .career-step {
        margin-bottom: 18px;
    }

    .career-step::before {
        display: none;
    }

    .career-sub {
        margin-left: 0;
    }

    .career-sub::after {
        display: none;
    }

    .career-self::after {
        display: none;
    }

    .career-self .career-text::after {
        display: none;
    }

    .career-year {
        margin-bottom: 6px;
    }

    .career-text {
        padding: 14px 16px;
        border-radius: 12px;
    }
}