/* ortsseite.css – gemeinsame Gestaltung der Ortsseiten (Marsberg, Diemelstadt, Bad Arolsen, Korbach), 17.11.2026 */
:root {
    --wiesen-gruen: #52796F; --wiesen-hell: #84A98C; --wiesen-sehr-hell: #E8F0E9;
    --dunkel-gruen: #2F3E46; --akzent-orange: #B4513A; --orange-hell: #E07A5F;
    --hintergrund: #F4F6F4; --weiss: #FFFFFF; --border-color: #D1DCD9; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; font-family: 'Poppins', sans-serif; background: var(--hintergrund); color: var(--dunkel-gruen); line-height: 1.6; -webkit-text-size-adjust: 100%; }
body { padding-top: 64px; }
header { background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.logo { font-size: 1.45rem; font-weight: 700; color: var(--wiesen-gruen); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--akzent-orange); }
.back-link { color: var(--dunkel-gruen); text-decoration: none; font-weight: 600; font-size: 0.92rem; }

/* Kopfbereich mit Bild wie auf der Startseite */
.o-hero { position: relative; padding: clamp(60px, 8vw, 100px) 5% clamp(90px, 10vw, 130px); display: flex; justify-content: center; background: #2F3E46 url('images/hero.webp') center/cover no-repeat; }
.o-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,45,55,0.85), rgba(60,90,80,0.75)); }
.o-hero-content { position: relative; text-align: center; color: #fff; max-width: 720px; text-shadow: 0 4px 15px rgba(0,0,0,0.45); }
.o-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.2; margin: 0 0 12px 0; }
.o-hero p { font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 0 0 28px 0; }

.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 50px; font-weight: 700; text-decoration: none; text-shadow: none; white-space: nowrap; transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--akzent-orange); color: #fff; box-shadow: 0 8px 15px rgba(224,122,95,0.3); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.75); }

.container { max-width: 900px; margin: 0 auto 60px auto; padding: 0 20px; }
.card { background: var(--weiss); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid var(--border-color); }
.card-lift { position: relative; margin-top: -60px; z-index: 2; text-align: center; }
.card h2, .area-box h2 { margin: 0 0 14px 0; font-size: 1.25rem; color: var(--wiesen-gruen); }
.towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.towns li { background: var(--wiesen-sehr-hell); color: var(--wiesen-gruen); border-radius: 50px; padding: 5px 14px; font-size: 0.88rem; font-weight: 600; }
.small-note { margin: 14px 0 0 0; font-size: 0.88rem; color: #6b7678; }
.small-note.center { text-align: center; }
.small-note a { color: var(--wiesen-gruen); font-weight: 600; }

.sec-title { text-align: center; font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 48px 0 18px 0; color: var(--dunkel-gruen); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 16px); }
.feature { background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--border-color); padding: clamp(14px, 2vw, 22px) clamp(10px, 1.4vw, 16px); text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
.f-icon { width: clamp(44px, 5vw, 56px); height: clamp(44px, 5vw, 56px); border-radius: 50%; background: var(--wiesen-sehr-hell); display: flex; align-items: center; justify-content: center; font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 auto 10px auto; }
.feature strong { display: block; font-size: clamp(0.85rem, 1.1vw, 0.98rem); line-height: 1.3; margin-bottom: 4px; }
.feature span { display: block; font-size: clamp(0.76rem, 0.95vw, 0.85rem); color: #6b7678; line-height: 1.4; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 16px); }
.price { background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--border-color); border-top: 4px solid var(--wiesen-gruen); padding: clamp(14px, 2vw, 22px) 10px; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
a.price { display: block; color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.price:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.p-label { display: block; font-weight: 600; font-size: clamp(0.85rem, 1.1vw, 0.98rem); }
.price strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--wiesen-gruen); line-height: 1.2; margin: 4px 0; }
.p-sub { display: block; font-size: clamp(0.76rem, 0.95vw, 0.85rem); color: #6b7678; }

.area-box { max-width: 680px; margin: 48px auto 0 auto; background: var(--weiss); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 4px solid var(--wiesen-gruen); text-align: center; }
.area-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.area-form input { flex: 1; min-width: 0; padding: 12px 18px; border: 1px solid var(--border-color); border-radius: 50px; font-family: inherit; font-size: 0.95rem; outline: none; }
.area-form input:focus { border-color: var(--wiesen-gruen); }
.area-form button { background: var(--wiesen-gruen); color: #fff; border: none; border-radius: 50px; padding: 12px 22px; font-family: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.js-area-result { margin-top: 10px; font-weight: 600; font-size: 0.93rem; }
.area-cta { display: inline-block; margin-top: 6px; color: var(--akzent-orange); font-weight: 700; text-decoration: none; }

.o-cta { background: var(--wiesen-gruen); color: #fff; text-align: center; padding: 50px 5%; }
.o-cta h2 { margin: 0 0 8px 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.o-cta p { margin: 0 0 22px 0; opacity: 0.92; }

footer { background: var(--dunkel-gruen); color: rgba(255,255,255,0.8); text-align: center; padding: 35px 5%; font-size: 0.88rem; }
footer a { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
    .o-hero { background-image: url('images/hero-mobile.webp'); }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card { padding: 22px 18px; }
    .area-box { padding: 22px 18px; }
}
@media (max-width: 520px) {
    .prices { grid-template-columns: 1fr; }
    .area-form { flex-direction: column; }
    .ctas .btn { width: 100%; max-width: 320px; text-align: center; }
}
