/* ===== FONTS ===== */
@font-face {
    font-family: 'Thanksgiving';
    src: url('Thanksgiving.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sharkbit';
    src: url('Sharkbit%20demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --salmon:       #E86E5A;
    --salmon-light: #F4A090;
    --salmon-pale:  #FEF0ED;
    --green-dark:   #0D2C18;
    --green-mid:    #1A4226;
    --green-accent: #2D7848;
    --white:        #FAF8F5;
    --off-white:    #F2EDE6;
    --black:        #1A1A1A;
    --gray:         #6A6660;
    --gray-light:   #EDE8E2;
    /* legacy aliases so game-UI still works */
    --yellow:       var(--salmon);
    --yellow-light: var(--salmon-light);
    --text-light:   var(--white);
    --text-muted:   #A8A29A;
    --card-bg:      #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--green-dark);
    color: var(--black);
    overflow-x: hidden;
}

body.game-active {
    cursor: none;
}

body.game-active #swatter-blocker {
    cursor: none;
}

body.game-active .pest {
    cursor: none;
}

/* Website-Überschriften: Sharkbit */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sharkbit', sans-serif;
    letter-spacing: 0.39em;
    font-weight: 400;
}

/* Game-UI-Texte bleiben Fredoka One (bubbly gaming) */
.bonus-effect,
.hit-effect,
.autsch-effect,
#game-over-title,
#final-score {
    font-family: 'Fredoka One', cursive !important;
}

/* ===== CUSTOM CURSOR ===== */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-8px, -4px) rotate(-20deg);
    transition: transform 0.08s ease;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
}

#cursor.swat {
    transform: translate(-8px, -4px) rotate(10deg) scale(0.85);
}

#cursor.hidden {
    display: none;
}

/* ===== MOBILE SWATTER TOGGLE ===== */
#swatter-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--yellow);
    background: rgba(13, 43, 26, 0.92);
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

#swatter-toggle.inactive {
    background: rgba(80, 20, 20, 0.92);
    border-color: #cc4444;
}

/* Nur auf Touch-Geräten anzeigen */
@media (hover: none) and (pointer: coarse) {
    #swatter-toggle {
        display: flex;
    }
    /* Kein Custom-Cursor auf Touch */
    #cursor, #hand-cursor {
        display: none !important;
    }
}

/* ===== SCORE ===== */
#score-display {
    background: rgba(13, 44, 24, 0.88);
    border: 1.5px solid rgba(232,110,90,0.50);
    border-radius: 30px;
    padding: 8px 18px;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

#score {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--salmon);
    letter-spacing: 1px;
}

/* ===== AUTSCH HAND EFFECT ===== */
.autsch-effect {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 2.8rem;
    font-family: 'Fredoka One', cursive;
    text-align: center;
    line-height: 1.2;
    transform: translate(-50%, -110%);
    color: #ff4455;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000;
    animation: autsch-pop 1.1s ease-out forwards;
    white-space: nowrap;
}

#hand-cursor.hand-bitten {
    animation: hand-shake 0.15s ease-in-out infinite;
}

@keyframes hand-shake {
    0%   { transform: translate(-40%, -40%) rotate(-8deg); }
    50%  { transform: translate(-40%, -40%) rotate(8deg);  }
    100% { transform: translate(-40%, -40%) rotate(-8deg); }
}

@keyframes autsch-pop {
    0%   { opacity: 1; transform: translate(-50%, -110%) scale(0.5); }
    25%  { opacity: 1; transform: translate(-50%, -130%) scale(1.3); }
    100% { opacity: 0; transform: translate(-50%, -180%) scale(1);   }
}

/* ===== GAME HUD (unter Header) ===== */
#game-hud {
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

#health-display-inner {
    pointer-events: none;
}

#health-img {
    height: 44px;
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.15s ease;
}

#health-img.hurt {
    animation: health-hurt 0.4s ease;
}

@keyframes health-hurt {
    0%   { transform: scale(1);    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5)) brightness(1); }
    30%  { transform: scale(1.25); filter: drop-shadow(2px 2px 8px red) brightness(2); }
    100% { transform: scale(1);    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5)) brightness(1); }
}

#health-img.heal {
    animation: health-heal 0.4s ease;
}

@keyframes health-heal {
    0%   { transform: scale(1);    }
    30%  { transform: scale(1.3);  filter: drop-shadow(2px 2px 8px #ff88aa) brightness(1.8); }
    100% { transform: scale(1);    }
}

/* ===== GAME OVER SCREEN ===== */
/* ===== MOSQUITO ALERT ===== */
@keyframes mosquito-alert-bar {
    0%   { opacity: 0; }
    12%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes mosquito-alert-text {
    0%   { transform: scale(0.75); }
    15%  { transform: scale(1.04); }
    30%  { transform: scale(1);    }
    100% { transform: scale(1);    }
}

/* ===== WIN SCREEN ===== */
#win-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#win-screen.visible {
    display: flex;
    pointer-events: all;
    cursor: default !important;
    background: rgba(10, 44, 20, 0.88);
    animation: game-over-appear 0.6s ease forwards;
}

#win-title {
    font-family: 'Fredoka One', cursive !important;
    font-size: clamp(4rem, 12vw, 9rem);
    color: var(--salmon);
    text-shadow:
        0 0 40px rgba(232,110,90,0.8),
        0 0 80px rgba(232,110,90,0.4),
        4px 4px 0 rgba(0,0,0,0.5);
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 20px;
}

#win-score {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: rgba(255,255,255,0.85);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 0;
}

#win-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(250,248,245,0.88);
    margin-top: 16px;
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

#win-ok-btn {
    background: #FFD700;
    color: var(--green-dark);
    border: none;
    padding: 14px 52px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255,215,0,0.4);
    transition: background 0.2s, transform 0.15s;
}

#win-ok-btn:hover {
    background: #FFE44D;
    transform: translateY(-2px);
}

/* ===== GAME OVER SCREEN ===== */
#game-over-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    transition: background 0.4s ease;
}

#game-over-screen.visible {
    display: flex;
    pointer-events: all;
    cursor: default !important;
    background: rgba(10, 30, 16, 0.82);
    animation: game-over-appear 0.6s ease forwards;
}

@keyframes game-over-appear {
    0%   { opacity: 0; transform: scale(0.88); }
    100% { opacity: 1; transform: scale(1); }
}

#game-over-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(250,248,245,0.88);
    margin-top: 16px;
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

#game-over-ok-btn {
    background: var(--salmon);
    color: #fff;
    border: none;
    padding: 14px 52px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(232,110,90,0.45);
    transition: background 0.2s, transform 0.15s;
}

#game-over-ok-btn:hover {
    background: var(--salmon-light);
    transform: translateY(-2px);
}

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

#game-over-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(4rem, 12vw, 9rem);
    color: #fff;
    text-shadow:
        0 0 40px rgba(232,110,90,0.9),
        0 0 80px rgba(232,110,90,0.5),
        4px 4px 0 rgba(0,0,0,0.6);
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 20px;
}

#final-score {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: rgba(255,255,255,0.85);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* ===== SPIEL BEENDEN BUTTON (unten zentriert) ===== */
#end-game-btn {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9997;
    background: var(--salmon);
    color: #fff;
    border: none;
    padding: 11px 32px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#end-game-btn:hover {
    background: var(--salmon-light);
    box-shadow: 0 6px 28px rgba(232,110,90,0.5);
}

#end-game-btn.hidden {
    display: none;
}

/* ===== SPIEL STARTEN BUTTON ===== */
#start-game-btn {
    display: none;
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    pointer-events: all;
    cursor: pointer;
    background: var(--salmon);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(232,110,90,0.4);
    transition: background 0.2s, transform 0.15s;
}

#start-game-btn:hover {
    background: var(--salmon-light);
    transform: translateX(-50%) translateY(-2px);
}

/* ===== NAV RESTART BUTTON ===== */
/* Im HUD positioniert, pointer-events explizit erlauben */
#restart-nav-btn {
    display: none;
    pointer-events: all;
    cursor: pointer;
    background: var(--salmon);
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(232,110,90,0.4);
    white-space: nowrap;
}

#restart-nav-btn.visible {
    display: block;
    animation: fade-in 0.5s ease;
}

#restart-nav-btn:hover {
    background: var(--salmon-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,110,90,0.5);
}

/* ===== SWATTER BLOCKER ===== */
#swatter-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 8999;
    display: block;
    cursor: default;
}

/* ===== PEST CONTAINER ===== */
#pest-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9000;
    overflow: visible;
}

/* ===== PESTS ===== */
.pest {
    position: absolute;
    pointer-events: all;
    cursor: auto;
    user-select: none;
    display: inline-block;
    transition: none;
    line-height: 1;
    will-change: transform, left, top;
}

/* ---- FLY animations ---- */

.pest-fly {
    padding: 18px;
    margin: -18px;
    animation: fly-bob 0.65s ease-in-out infinite alternate;
}

@keyframes fly-bob {
    0%   { transform: translateY(0px);  }
    100% { transform: translateY(-5px); }
}


/* ---- MOSQUITO hit zone ---- */
.pest-mosquito {
    padding: 22px;
    margin: -22px;
}

/* ---- COCKROACH animations ---- */

/* Legs alternate: group A lifts while group B pushes down, then swap */
.roach-legs-a {
    animation: roach-step-a 0.18s ease-in-out infinite;
}

.roach-legs-b {
    animation: roach-step-b 0.18s ease-in-out infinite;
}

@keyframes roach-step-a {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-3px);  }
}

@keyframes roach-step-b {
    0%, 100% { transform: translateY(-3px); }
    50%       { transform: translateY(0px);  }
}

.pest.dying {
    animation: fall-down 0.7s ease-in forwards;
    pointer-events: none;
}

@keyframes fall-down {
    0%   { opacity: 1; transform: rotate(0deg) scale(1.3); }
    30%  { opacity: 1; transform: rotate(-30deg) scale(1.1); }
    100% { opacity: 0; transform: rotate(-90deg) translateY(120px) scale(0.6); }
}

.pest.dying-roach {
    animation: fall-roach 0.8s ease-in forwards;
    pointer-events: none;
}

@keyframes fall-roach {
    0%   { opacity: 1; transform: translateY(0px);   }
    100% { opacity: 0; transform: translateY(400px);  }
}

/* ===== BONUS EFFECT ===== */
.bonus-effect {
    position: absolute;
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: #ffe033;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000;
    pointer-events: none;
    z-index: 9002;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    animation: bonus-pop 3.2s ease-out forwards;
    line-height: 1.2;
}

.bonus-effect span {
    display: block;
    font-size: 1rem;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.bonus-heart {
    font-size: 1.1rem !important;
    color: #ff88aa !important;
}

@keyframes bonus-pop {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.4) rotate(-6deg); }
    10%  { opacity: 1; transform: translate(-50%, -70%) scale(1.4) rotate(3deg);  }
    70%  { opacity: 1; transform: translate(-50%, -90%) scale(1.1) rotate(0deg);  }
    100% { opacity: 0; transform: translate(-50%, -120%) scale(1) rotate(0deg);   }
}

/* ===== HIT EFFECT ===== */
.hit-effect {
    position: absolute;
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: var(--yellow);
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000;
    pointer-events: none;
    animation: hit-pop 0.6s ease-out forwards;
    white-space: nowrap;
    z-index: 9001;
}

@keyframes hit-pop {
    0%   { opacity: 1; transform: translate(-50%, -50%) scale(0.5) rotate(-5deg); }
    40%  { opacity: 1; transform: translate(-50%, -70%) scale(1.3) rotate(3deg); }
    100% { opacity: 0; transform: translate(-50%, -100%) scale(1) rotate(0deg); }
}

/* ===== HEADER / NAV ===== */
header, header * {
    cursor: default !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 44, 24, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 110, 90, 0.25);
}

nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--salmon);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul a {
    text-decoration: none;
    color: rgba(250,248,245,0.75);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--salmon);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(232,110,90,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 100%,  rgba(45,120,72,0.25) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 10% 70%,   rgba(232,110,90,0.10) 0%, transparent 60%),
        #0D2C18;
    padding: 80px 24px;
}

.hero-content {
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero h1 br + * ,
.hero h1 {
    /* accent the last word in salmon */
}

.hero p {
    font-size: 1.15rem;
    color: rgba(250,248,245,0.70);
    line-height: 1.9;
    margin-bottom: 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    background: var(--salmon);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 16px 44px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(232,110,90,0.35);
}

.btn:hover {
    background: var(--salmon-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(232,110,90,0.45);
}

.hero .btn {
    background: transparent;
    color: #fff;
    border: 2px solid var(--salmon);
    box-shadow: none;
}

.hero .btn:hover {
    background: var(--salmon);
    box-shadow: 0 8px 28px rgba(232,110,90,0.4);
}

/* ===== SERVICES ===== */
.services {
    padding: 110px 32px;
    max-width: 1140px;
    margin: 0 auto;
    background: var(--off-white);
}

.services h2,
.about h2,
.contact h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--green-dark);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.3px;
}

/* Salmon underline accent under section headings */
.services h2::after,
.about h2::after,
.contact h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--salmon);
    margin: 14px auto 48px;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--green-dark);
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.75;
}

/* ===== ABOUT ===== */
.about {
    background: var(--green-dark);
    padding: 110px 32px;
}

.about h2 {
    color: var(--white) !important;
}

.about h2::after {
    background: var(--salmon) !important;
}

.about-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    color: rgba(250,248,245,0.68);
    line-height: 1.95;
    margin-bottom: 60px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border: 1px solid rgba(232,110,90,0.25);
    border-radius: 16px;
    overflow: hidden;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 160px;
    padding: 40px 20px;
    border-right: 1px solid rgba(232,110,90,0.20);
}

.stat:last-child { border-right: none; }

.stat strong {
    font-size: 2.6rem;
    color: var(--salmon);
    letter-spacing: -1px;
}

.stat span {
    font-size: 0.82rem;
    color: rgba(250,248,245,0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== CONTACT ===== */
.contact {
    padding: 110px 32px;
    max-width: 1060px;
    margin: 0 auto;
    background: var(--off-white);
}

.contact h2 {
    color: var(--green-dark) !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-light);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item strong {
    color: var(--salmon);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-item span {
    color: var(--black);
    font-size: 0.98rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
    background: var(--off-white);
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--black);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    cursor: text;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--salmon);
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

/* ===== GRAVEYARD ===== */
#graveyard {
    position: relative;
    width: 100%;
    min-height: 220px;
    background: var(--green-dark);
    border-top: 2px solid rgba(232,110,90,0.15);
    overflow: visible;
}

#graveyard .pest {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    animation: none !important;
    transition: none !important;
}

/* ===== FOOTER ===== */
footer {
    background: var(--green-dark);
    text-align: center;
    padding: 28px;
    color: rgba(250,248,245,0.45);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(232,110,90,0.15);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {

    /* Nav: Links ausblenden, nur Logo */
    nav ul {
        display: none;
    }
    nav {
        padding: 16px 20px;
    }

    /* Game HUD: kompakter */
    #game-hud {
        gap: 10px;
        top: 72px;
    }
    #health-img {
        height: 32px;
    }
    #restart-nav-btn {
        font-size: 0.68rem;
        padding: 7px 14px;
    }
    #start-game-btn {
        top: 72px;
        font-size: 0.75rem;
        padding: 9px 22px;
    }

    /* End-game-btn: höher wegen iOS-Toolbar */
    #end-game-btn {
        bottom: 80px;
        font-size: 0.75rem;
        padding: 10px 24px;
    }

    /* Hero */
    .hero {
        padding: 60px 20px;
    }
    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }
    .hero p {
        font-size: 0.95rem;
    }

    /* Services */
    .services {
        padding: 70px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* About */
    .about {
        padding: 70px 20px;
    }
    .stats {
        flex-wrap: wrap;
        gap: 0;
    }
    .stat {
        min-width: 50%;
        padding: 20px 16px;
    }

    /* Contact */
    .contact {
        padding: 70px 20px;
    }

    /* Abschnitt-Überschriften */
    h2 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
}

@media (max-width: 420px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .stat {
        min-width: 100%;
    }
}

/* ===== LIVING ROOM BACKGROUND — deaktiviert ===== */

#room-bg {
    display: none;
}

/* Wood ceiling strip */
#room-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 7vh;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 59px,
            rgba(0,0,0,0.07) 59px,
            rgba(0,0,0,0.07) 60px
        ),
        linear-gradient(to bottom, #B47028 0%, #C88432 100%);
    z-index: 2;
}

/* Warm honey wood floor */
#room-bg::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 63%;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 99px,
            rgba(0,0,0,0.055) 99px,
            rgba(0,0,0,0.055) 100px
        ),
        linear-gradient(to bottom, #C89040 0%, #B07A28 100%);
    z-index: 1;
    box-shadow: inset 0 5px 14px rgba(0,0,0,0.13);
}

/* Sunlight flood from window across wall & floor */
.lamp-glow {
    position: absolute;
    top: 6vh;
    left: 18%;
    width: 64%;
    height: 90%;
    background:
        radial-gradient(ellipse at 50% 5%,
            rgba(255,230,130,0.38) 0%,
            rgba(255,220,100,0.18) 30%,
            transparent 68%);
    z-index: 3;
    pointer-events: none;
}

/* Diagonal sunbeam left */
.lamp-cord {
    position: absolute;
    top: 6vh;
    left: 14%;
    width: 32%;
    height: 60%;
    background: linear-gradient(
        135deg,
        rgba(255,240,160,0.13) 0%,
        transparent 60%
    );
    z-index: 3;
    transform-origin: top left;
}

/* Diagonal sunbeam right */
.lamp-shade {
    position: absolute;
    top: 6vh;
    right: 14%;
    width: 32%;
    height: 60%;
    background: linear-gradient(
        225deg,
        rgba(255,240,160,0.10) 0%,
        transparent 60%
    );
    z-index: 3;
}

/* Sektionen — sauber, keine Transparenz mehr */

/* ---- BASEBOARD ---- */
.room-baseboard {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 14px;
    background: #DDD0B8;
    border-top: 2px solid #C4B098;
    z-index: 4;
}

/* ---- LARGE CENTRAL WINDOW ---- */
.room-window {
    position: absolute;
    top: 7vh;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(280px, 52vw, 780px);
    height: clamp(200px, 54vh, 520px);
    /* Outside view: bright sky + green garden */
    background:
        radial-gradient(ellipse at 50% 30%,
            rgba(255,255,255,0.95) 0%,
            #D8EEC4 35%,
            #A8D878 65%,
            #78B848 100%);
    border: 8px solid #F0EDE4;
    border-radius: 4px 4px 0 0;
    box-shadow:
        0 0 0 3px #D8D0BC,
        0 0 60px 20px rgba(255,230,100,0.35),
        inset 0 0 30px rgba(255,255,220,0.25);
    z-index: 5;
}

/* Bright light wash over glass */
.window-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.65) 0%,
        rgba(255,250,220,0.20) 40%,
        transparent 100%
    );
}

/* Horizontal window bar */
.window-cross-h {
    position: absolute;
    top: 55%;
    left: 0; right: 0;
    height: 8px;
    background: #F0EDE4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Vertical window bar (center) */
.window-cross-v {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 8px;
    background: #F0EDE4;
    transform: translateX(-50%);
    box-shadow: 1px 0 3px rgba(0,0,0,0.10);
}

/* Extra vertical pane lines via pseudo */
.window-cross-v::before,
.window-cross-v::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 8px;
    background: #F0EDE4;
    box-shadow: 1px 0 3px rgba(0,0,0,0.10);
}
.window-cross-v::before { left: clamp(-80px, -14vw, -120px); }
.window-cross-v::after  { left: clamp(72px,  14vw,  112px); }

/* White linen curtains flanking the window */
.curtain.left,
.curtain.right {
    position: absolute;
    top: -8px;
    width: clamp(28px, 5vw, 70px);
    height: calc(100% + 16px);
    background: linear-gradient(to right,
        rgba(255,253,245,0.96) 0%,
        rgba(245,240,225,0.80) 60%,
        rgba(235,228,210,0.40) 100%);
    z-index: 6;
}
.curtain.left  { left:  calc(-1 * clamp(32px, 5.5vw, 75px)); border-radius: 3px 0 0 3px; }
.curtain.right { right: calc(-1 * clamp(32px, 5.5vw, 75px)); border-radius: 0 3px 3px 0; }

/* ---- BOOKSHELF (right side, tall) ---- */
.room-shelf {
    position: absolute;
    top: 7vh;
    right: 0;
    width: clamp(100px, 14vw, 220px);
    /* floor to ceiling */
    bottom: 0;
    background: #B87832;
    box-shadow: -4px 0 16px rgba(0,0,0,0.18);
    z-index: 4;
}

/* Shelf outer frame sides */
.shelf-side.left {
    position: absolute;
    left: 0;
    top: 0; bottom: 0;
    width: 12px;
    background: #A06820;
}
.shelf-side.right {
    position: absolute;
    right: 0;
    top: 0; bottom: 0;
    width: 10px;
    background: #985E18;
}

/* Three shelf planks evenly spaced */
.shelf-plank {
    position: absolute;
    left: 12px; right: 10px;
    height: 10px;
    background: linear-gradient(to bottom, #D4A050 0%, #C49040 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.20);
}
.shelf-plank.p1 { top: 22%; }
.shelf-plank.p2 { top: 47%; }
.shelf-plank.p3 { top: 72%; }

/* Books — dense and colorful */
.book {
    position: absolute;
    left: 14px;
    border-radius: 1px 3px 3px 1px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.18);
}
/* Row 1 — below p1 (between shelf top and p1) */
.book.bk1 { width: 14px; height: clamp(34px, 6vh, 60px); background: #4E8A98; top: 5%; }
.book.bk2 { width: 18px; height: clamp(30px, 5vh, 52px); background: #D46A40; left: 30px; top: 6%; }
.book.bk3 { width: 14px; height: clamp(36px, 6.5vh, 64px); background: #6AAA58; left: 50px; top: 4%; }
/* Row 2 — between p1 and p2 */
.book.bk4 { width: 16px; height: clamp(32px, 5.5vh, 56px); background: #9868A8; top: calc(22% + 16px); }
.book.bk5 { width: 14px; height: clamp(36px, 6vh, 58px);   background: #5888C0; left: 32px; top: calc(22% + 14px); }
.book.bk6 { width: 20px; height: clamp(28px, 4.5vh, 48px); background: #D4B040; left: 48px; top: calc(22% + 18px); }

/* ---- TRAILING VINES at top center (repurposed room-lamp) ---- */
.room-lamp {
    position: absolute;
    top: 5.5vh;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(200px, 44vw, 600px);
    height: 60px;
    z-index: 6;
    display: block; /* override flex */
}

/* Vine leaves via pseudo */
.room-lamp::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 28px 18px at 12% 80%, #5A9A38 50%, transparent 51%),
        radial-gradient(ellipse 24px 16px at 20% 40%, #6AAA48 50%, transparent 51%),
        radial-gradient(ellipse 30px 18px at 32% 85%, #4E9030 50%, transparent 51%),
        radial-gradient(ellipse 22px 14px at 40% 50%, #62A040 50%, transparent 51%),
        radial-gradient(ellipse 28px 18px at 50% 75%, #58983A 50%, transparent 51%),
        radial-gradient(ellipse 26px 16px at 60% 35%, #6AAA48 50%, transparent 51%),
        radial-gradient(ellipse 30px 20px at 70% 80%, #50923C 50%, transparent 51%),
        radial-gradient(ellipse 24px 15px at 80% 45%, #5E9E40 50%, transparent 51%),
        radial-gradient(ellipse 26px 17px at 90% 70%, #64A844 50%, transparent 51%);
}

/* Vine tendrils */
.room-lamp::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #4A8028;
}

/* ---- LARGE FLOOR PLANT (left of window) ---- */
.room-plant {
    position: absolute;
    bottom: 0;
    left: clamp(2vw, 6vw, 120px);
    width: clamp(80px, 10vw, 150px);
    height: clamp(160px, 36vh, 380px);
    z-index: 5;
}

.plant-pot {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: clamp(44px, 6vw, 80px);
    height: clamp(36px, 5vh, 65px);
    background: linear-gradient(to bottom, #D86840 0%, #B85020 100%);
    clip-path: polygon(6% 0%, 94% 0%, 82% 100%, 18% 100%);
}

.plant-leaf {
    position: absolute;
    background: #5A9838;
    border-radius: 0% 80% 0% 80%;
}

.plant-leaf.l1 {
    width: clamp(50px, 8vw, 110px);
    height: clamp(80px, 14vh, 160px);
    bottom: clamp(30px, 5vh, 65px);
    left: 40%;
    transform: rotate(-20deg);
    background: #529030;
    transform-origin: bottom left;
}
.plant-leaf.l2 {
    width: clamp(46px, 7vw, 100px);
    height: clamp(70px, 12vh, 140px);
    bottom: clamp(28px, 4.5vh, 60px);
    left: 0%;
    transform: rotate(-55deg);
    background: #68A840;
    transform-origin: bottom right;
}
.plant-leaf.l3 {
    width: clamp(42px, 6vw, 90px);
    height: clamp(65px, 11vh, 130px);
    bottom: clamp(32px, 5vh, 68px);
    left: 55%;
    transform: rotate(18deg);
    background: #5E9E38;
    transform-origin: bottom left;
}

/* ---- AREA RUG (under window, on floor) ---- */
.room-rug {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(220px, 40vw, 580px);
    height: clamp(50px, 7vh, 100px);
    background: linear-gradient(to bottom, #F0E8D4 0%, #E4D8C0 100%);
    border-radius: 50%;
    opacity: 0.70;
    box-shadow: 0 0 0 5px rgba(210,195,165,0.30);
    z-index: 3;
}

/* ---- DESK (left side, repurposing couch+table) ---- */
.room-couch {
    position: absolute;
    bottom: 18%;
    left: 2vw;
    width: clamp(100px, 14vw, 200px);
    height: clamp(50px, 8vh, 100px);
    z-index: 4;
}

/* Desk surface */
.couch-seat {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 12px;
    background: #B87830;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Desk legs */
.couch-back {
    position: absolute;
    bottom: 12px; left: 8%;
    width: 10px; height: 85%;
    background: #A06828;
    border-radius: 2px;
}
.couch-arm.left {
    position: absolute;
    bottom: 12px; right: 8%;
    width: 10px; height: 85%;
    background: #A06828;
    border-radius: 2px;
    /* reset */
    top: auto;
}
.couch-arm.right { display: none; }

/* Small monitor on desk */
.cushion.c1 {
    position: absolute;
    bottom: 12px;
    left: 25%;
    width: clamp(28px, 4vw, 52px);
    height: clamp(22px, 3.5vh, 44px);
    background: #2A2A2A;
    border-radius: 3px;
    border: 3px solid #3A3A3A;
}
.cushion.c2 { display: none; }

.room-table {
    display: none;
}
