/* Goldfever Grundbesitz GmbH – Startseite
   Markenfarben aus dem bestehenden Auftritt übernommen. */

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-900: #00381a;
  --green: #004a22;
  --olive: #94a267;
  --olive-soft: #eef1e6;
  --gold: #efc033;
  --gold-soft: #f8edc8;
  --ink: #2f2f2e;
  --muted: #5b5b59;
  --line: #e4e2da;
  --paper: #ffffff;
  --sand: #faf8f2;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(0, 40, 18, .06), 0 8px 28px rgba(0, 40, 18, .08);
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--green); line-height: 1.18; font-weight: 500; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: .9rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--green { background: var(--green); color: #e9efe6; }
.section--green h2, .section--green h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--green-900); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: #f5cf5a; }
.btn--ghost { border-color: currentColor; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--green); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--olive-soft); color: var(--green); }
.nav .btn { margin-left: 10px; padding: .6em 1.15em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--green); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
  .brand img { width: 170px; }
}

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; min-height: min(86vh, 760px); display: grid; align-items: end; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,40,18,.88) 0%, rgba(0,56,26,.7) 45%, rgba(0,56,26,.15) 100%), linear-gradient(0deg, rgba(0,30,14,.5), transparent 50%); }
.hero .wrap { padding: clamp(96px, 14vw, 160px) 0 clamp(48px, 7vw, 80px); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: -44px auto 0; position: relative; z-index: 2; box-shadow: var(--shadow); }
.facts li { background: #fff; padding: 22px 24px; }
.facts strong { display: block; color: var(--green); font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: .95rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; margin-top: -28px; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .split figure:not(.duo) img { aspect-ratio: 16 / 11; } }

.split figure.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; max-width: 520px; justify-self: center; }
.split figure.duo img { aspect-ratio: auto; height: auto; }
.split figure.duo img:first-child { margin-bottom: 48px; }
.quote { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 28px 0; font-size: 1.15rem; color: var(--green); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--olive-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.steps li { counter-increment: s; border-top: 2px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(s); display: block; font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: var(--olive); margin-bottom: 6px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }


/* Mieter */
.contact-tiles { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
.tile { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px 22px; color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.tile:hover { background: rgba(255,255,255,.13); border-color: var(--gold); }
.tile .icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--green-900); display: grid; place-items: center; }
.tile .icon svg { width: 22px; height: 22px; }
.tile small { display: block; color: #cfdacb; font-size: .85rem; letter-spacing: .04em; }
.tile strong { font-weight: 500; font-size: 1.15rem; overflow-wrap: break-word; }
.mieter-list { margin-top: 28px; color: #dfe7db; }
.mieter-list .ticks li::before { background-color: rgba(255,255,255,.9); }
.zuhause { font-size: 1.05rem; color: #cfdacb; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.zuhause b { color: var(--gold); font-weight: 500; }


/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.1rem; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { position: relative; isolation: isolate; color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.cta picture, .cta picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,40,18,.94), rgba(0,56,26,.78) 60%, rgba(0,56,26,.45)); }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.88); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.cta-contacts { list-style: none; display: grid; gap: 14px; }
.cta-contacts a { color: #fff; text-decoration: none; font-size: 1.15rem; }
.cta-contacts a:hover { text-decoration: underline; }
.cta-contacts small { display: block; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--green-900); color: #c9d4c5; font-size: .95rem; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { width: 170px; }
address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.nav a[aria-current="page"] { color: var(--green); background: var(--olive-soft); }
.nav a.btn[aria-current="page"] { background: var(--gold); color: var(--green-900); }
.page-hero { background: var(--green); color: #e9efe6; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.85); margin: 0; }

.prose > * { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; color: var(--ink); margin: 1.5em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--green); font-weight: 600; }
.note { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h2 { font-size: 1.3rem; margin-bottom: .8em; }
.info-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin: 1.4em 0 .4em; }
.info-card p { margin: 0; }
.hours { list-style: none; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 4px 0; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfccc2; border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,74,34,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 14px 16px; font-weight: 500; }
.form-status.is-ok { background: #e6f2ea; color: var(--green); }
.form-status.is-error { background: #fbeaea; color: #8a1c1c; }
.form-status.is-info { background: var(--gold-soft); color: var(--green-900); }
.form button[type="submit"] { justify-self: start; border: 0; cursor: pointer; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Fußbereich: Button im Link-Stil */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }

/* Cookie-Hinweis in den Markenfarben */
#cc-main { --cc-font-family: var(--font); --cc-btn-primary-bg: var(--green); --cc-btn-primary-border-color: var(--green); --cc-btn-primary-hover-bg: var(--green-900); --cc-btn-primary-hover-border-color: var(--green-900); --cc-btn-secondary-bg: #fff; --cc-btn-secondary-border-color: var(--green); --cc-btn-secondary-color: var(--green); --cc-btn-secondary-hover-bg: var(--olive-soft); --cc-btn-secondary-hover-color: var(--green); --cc-btn-secondary-hover-border-color: var(--green); --cc-primary-color: var(--green); --cc-secondary-color: var(--ink); --cc-toggle-on-bg: var(--green); --cc-toggle-readonly-bg: #c9c4b8; --cc-link-color: var(--green); --cc-btn-border-radius: 999px; --cc-modal-border-radius: 16px; --cc-cookie-category-block-bg: var(--sand); --cc-cookie-category-block-border: var(--line); --cc-separator-border-color: var(--line); --cc-footer-bg: var(--sand); --cc-footer-border-color: var(--line); }
@media print { .site-header, .site-footer, #cc-main { display: none !important; } }
