/* ============================================================
   Tschmel — Wärme- & Energietechnik
   Theme styles (extracted from original index.html <style>)
   ============================================================ */

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #FBF8F2; color: #0F1216; }

.font-serif, .font-display {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Section divider lines like the reference */
.hairline { border-top: 1px solid rgba(11, 30, 63, 0.10); }
.hairline-dark { border-top: 1px solid rgba(255, 255, 255, 0.10); }

/* Eyebrow label with bullet */
.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(11, 30, 63, 0.55);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.55); }
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #F4A52A;
    border-radius: 9999px;
    margin-right: 10px;
    transform: translateY(-2px);
}

/* Orange terminal dot after headlines */
.dot::after {
    content: '.';
    color: #F4A52A;
    margin-left: 0.04em;
}

/* Heat wave SVG animations */
@keyframes rise {
    0%   { transform: translateY(0)    scaleY(1);   opacity: 0; }
    15%  { opacity: 0.9; }
    100% { transform: translateY(-110px) scaleY(1.1); opacity: 0; }
}
.wave path { animation: rise 4s ease-in infinite; transform-origin: 50% 100%; }
.wave .w1 { animation-delay: 0s;   }
.wave .w2 { animation-delay: 0.7s; }
.wave .w3 { animation-delay: 1.4s; }
.wave .w4 { animation-delay: 2.1s; }
.wave .w5 { animation-delay: 2.8s; }

@keyframes pulse-fin {
    0%, 100% { fill: #F4A52A; }
    50%      { fill: #FBE4BD; }
}
.fin { animation: pulse-fin 2.4s ease-in-out infinite; }
.fin:nth-child(2) { animation-delay: 0.2s; }
.fin:nth-child(3) { animation-delay: 0.4s; }
.fin:nth-child(4) { animation-delay: 0.6s; }
.fin:nth-child(5) { animation-delay: 0.8s; }
.fin:nth-child(6) { animation-delay: 1.0s; }

/* Soft grid background pattern (premium / technical feel) */
.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}

.btn-primary {
    background: #F4A52A;
    color: #0B1E3F;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .2s ease;
    border: 1px solid #F4A52A;
}
.btn-primary:hover {
    background: #D98C12;
    border-color: #D98C12;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: inherit;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid currentColor;
    opacity: .85;
    transition: all .2s ease;
}
.btn-ghost:hover { opacity: 1; transform: translateY(-1px); }

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #F4A52A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* Active page indicator — only colour, no underline (underline reserved for hover) */
.nav-link--active {
    color: #F4A52A;
}

.service-card { transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -30px rgba(11, 30, 63, 0.35);
}
.service-card:hover .service-arrow { transform: translateX(4px); }
.service-arrow { transition: transform .25s ease; }

.vorteil-icon {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 165, 42, 0.12);
    color: #D98C12;
    flex-shrink: 0;
}

/* Mobile drawer nav links */
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color .2s ease, padding-left .2s ease;
}
.mobile-nav-link:hover {
    color: #F4A52A;
    padding-left: 4px;
}
.mobile-nav-link--active {
    color: #F4A52A;
    border-left: 2px solid #F4A52A;
    padding-left: 12px;
}
.mobile-nav-sublink {
    transition: color .2s ease, padding-left .2s ease;
}
.mobile-nav-sublink:hover {
    padding-left: 4px;
}

/* Mobile drawer state classes (toggled by JS) */
#mobile-nav-drawer.is-open {
    transform: translateX(0);
}
#mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}