/*
 * MOBIS bold look (2026-11)
 * Loaded after modern.css. Removing the <link> to this file restores the
 * look of the design-modern branch. Typography stays as in the original
 * (Roboto, uppercase headings); this file only adds the hero treatment,
 * the organic team photos and the tinted contact band.
 */

/* ---------- Hero: subtle zoom, eyebrow label, soft curve ---------- */
header {
    position: relative;
    overflow: hidden;
    background-image: none;
    background-color: #2a1a0a;
}
header:before {
    content: "";
    position: absolute;
    top: -2%;
    right: -2%;
    bottom: -2%;
    left: -2%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, .40) 100%), url(../img/header-bg.jpg);
    background-size: cover;
    background-position: center;
    animation: mobis-zoom 40s ease-in-out infinite alternate;
    z-index: 0;
}
header:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 480 0 960 0 1440 70 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
    z-index: 1;
}
header .container {
    position: relative;
    z-index: 2;
}
@keyframes mobis-zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.03); }
}
.intro-text .intro-lead-in {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 9px 20px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    text-shadow: none;
}
@media (min-width: 768px) {
    .intro-text .intro-lead-in {
        font-size: 15px;
    }
}

/* ---------- WER: organic, slowly morphing photo shapes ---------- */
.team-member img {
    border-radius: 62% 38% 46% 54% / 55% 46% 54% 45%;
    box-shadow: 18px 18px 0 0 rgba(255, 174, 51, .28);
    animation: mobis-blob 14s ease-in-out infinite alternate;
}
.row > .col-sm-6:nth-child(2) .team-member img {
    animation-delay: -7s;
}
@keyframes mobis-blob {
    0%   { border-radius: 62% 38% 46% 54% / 55% 46% 54% 45%; }
    50%  { border-radius: 42% 58% 60% 40% / 45% 60% 40% 55%; }
    100% { border-radius: 55% 45% 38% 62% / 60% 40% 60% 40%; }
}
.team-member h2 {
    margin-top: 34px;
}
.team-member p.text-muted {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

/* ---------- Kontakt: warm tinted band ---------- */
#Kontakt {
    background: linear-gradient(135deg, #fff7ea 0%, #ffe8c4 100%);
}

/* ---------- Respect users who turned animations off ---------- */
@media (prefers-reduced-motion: reduce) {
    header:before,
    .team-member img {
        animation: none;
    }
}

/* ---------- Advent calendar badge (shown by script in index.html) ---------- */
.advent-badge {
    position: fixed;
    top: 110px;
    right: 24px;
    z-index: 1029;               /* just below the navbar (1030) */
    width: 170px;
    padding: 14px 14px 12px;
    background: #fff;
    border: 3px solid var(--brand);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    text-align: center;
    transform: rotate(-4deg);
    transition: transform .25s;
    animation: mobis-wiggle 1s ease-in-out 1.2s 2;
}
.advent-badge:hover {
    transform: rotate(0deg) scale(1.05);
}
.advent-badge-link,
.advent-badge-link:hover,
.advent-badge-link:focus {
    display: block;
    color: var(--ink);
    text-decoration: none;
}
.advent-badge-link img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}
.advent-badge-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.advent-badge-cta {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}
.advent-badge-link:hover .advent-badge-cta {
    text-decoration: underline;
}
.advent-badge-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 22px;
    line-height: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    cursor: pointer;
}
.advent-badge-close:hover {
    color: var(--ink);
}
@keyframes mobis-wiggle {
    0%, 100% { transform: rotate(-4deg); }
    25%      { transform: rotate(4deg); }
    50%      { transform: rotate(-6deg); }
    75%      { transform: rotate(2deg); }
}
/* collapsed state: small round button with the tree */
.advent-mini {
    position: fixed;
    top: 110px;
    right: 24px;
    z-index: 1029;
    width: 64px;
    height: 64px;
    padding: 8px;
    border: 3px solid var(--brand);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: transform .2s;
    animation: mobis-pop .3s ease-out;
}
.advent-mini:hover {
    transform: scale(1.1);
}
.advent-mini img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@keyframes mobis-pop {
    from { transform: scale(.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@media (max-width: 767px) {
    .advent-badge {
        top: 76px;
        right: 12px;
        width: 112px;
        padding: 8px 8px 6px;
        border-radius: 14px;
    }
    .advent-badge-title {
        font-size: 11px;
        letter-spacing: .02em;
    }
    .advent-badge-cta {
        display: none;
    }
    .advent-mini {
        top: 76px;
        right: 12px;
        width: 50px;
        height: 50px;
        padding: 6px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .advent-badge,
    .advent-mini {
        animation: none;
    }
}
