/* GEMIO – gemio-hausverwaltung.de
   Farben & Typografie aus dem Designvorschlag "GEMIO Coming Soon". */

:root {
  --bg: #faf6ef;
  --surface: #fffdf8;
  --line: #e9dfce;
  --line-strong: #e0d3ba;
  --ink: #1d1d1f;
  --ink-dark: #2b2721;
  --muted: #6b6558;
  --gold-text: #7d6a45;
  --gold-accent: #a08a5c;
  --gold: #D6C4A0;
  --gold-light: #EADFC6;
  --navy: #141d30;
  --green: #2e6a4c;
  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(90,74,40,.04), 0 8px 22px rgba(90,74,40,.05);
  --shadow-img: 0 14px 34px rgba(90,74,40,.16);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.011em;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { color: #5f5033; }
button, input { font: inherit; }

:focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink-dark); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--gold-text); text-transform: uppercase; margin: 0;
}

h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(27px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 12px 0 0; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 13px; border: none;
  font-weight: 700; font-size: 15.5px; cursor: pointer; text-align: center;
  transition: filter .15s ease, background .15s ease, transform .15s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink-dark);
  box-shadow: 0 6px 16px rgba(140,115,60,.22);
}
.btn-gold:hover { filter: brightness(.97); color: var(--ink-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.24); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Header ---------- */
.site-header { padding-block: 26px; }
.site-header .container { display: flex; align-items: center; gap: 16px; }
.site-header .logo img { height: 54px; width: auto; }
.site-header .spacer { flex: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 8px 15px; font-size: 13px; font-weight: 700; color: var(--gold-text); white-space: nowrap;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #C4AC7C; animation: pulse 2.4s ease-in-out infinite; }

/* ---------- Hero ---------- */
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
  padding-top: 22px;
}
.hero-copy { animation: fadeUp .5s ease both; }
.hero h1 {
  font-size: clamp(42px, 6vw, 64px); line-height: 1.04; font-weight: 800;
  letter-spacing: -.035em; margin: 18px 0 0;
}
.hero h1 span { color: var(--gold-accent); }
.hero .eyebrow { letter-spacing: .2em; }
.hero p.intro { font-size: 17.5px; line-height: 1.55; color: var(--muted); max-width: 520px; margin: 22px 0 0; }

.notify { margin-top: 30px; max-width: 480px; }
.notify-row { display: flex; flex-wrap: wrap; gap: 10px; }
.notify input[type="email"] {
  flex: 1; min-width: 220px; padding: 15px 17px;
  border: 1px solid var(--line-strong); border-radius: 13px;
  font-size: 15.5px; background: var(--surface); color: var(--ink); outline: none;
}
.notify input[type="email"]:focus { border-color: #C4AC7C; box-shadow: 0 0 0 3px rgba(196,172,124,.22); }
.notify input[aria-invalid="true"] { border-color: #b4553f; }
.notify .hint { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.notify .error { font-size: 13px; color: #b4553f; margin: 8px 0 0; }

.notify-done {
  margin-top: 30px; max-width: 480px; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid #d9e6dc; border-radius: 16px; padding: 18px 20px;
  animation: popIn .3s ease both;
}
.notify-done .check {
  width: 42px; height: 42px; border-radius: 50%; background: #e8f0ea; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.notify-done strong { display: block; font-size: 15.5px; }
.notify-done span { font-size: 13.5px; color: var(--muted); }

.collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  animation: popIn .55s ease both;
}
.collage img { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-img); }
.collage .tall { grid-row: span 2; height: 360px; }
.collage .short { height: 174px; }

/* ---------- Durchsage (Teaser-Band) ---------- */
.announce { padding-block: 76px 0; }
.announce-box {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff; border-radius: 24px;
  padding: 56px 48px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end;
}
.announce-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(214,196,160,.16), transparent 46%),
    radial-gradient(130% 100% at 50% 120%, rgba(0,0,0,.5), transparent 62%);
}
.announce-box > * { position: relative; }
.announce .eyebrow { color: var(--gold); letter-spacing: .26em; }
.announce .hook {
  font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04;
  margin: 18px 0 0;
}
.announce .hook .later { position: relative; display: inline-block; color: rgba(255,255,255,.5); }
.announce .hook .later::after {
  content: ""; position: absolute; left: 0; top: 54%; height: 5px; width: 100%;
  background: var(--gold); border-radius: 4px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1) .35s;
}
.announce.is-visible .hook .later::after { transform: scaleX(1); }
.announce .punch { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -.05em; color: var(--gold); line-height: 1; margin: 0; }
.announce .punch-sub { color: rgba(255,255,255,.78); font-size: 17px; margin: 14px 0 0; }
.announce .punch-wrap { opacity: 0; transform: translateY(16px); transition: opacity .6s ease 1s, transform .6s ease 1s; }
.announce.is-visible .punch-wrap { opacity: 1; transform: none; }

/* ---------- Sektionen ---------- */
.section { padding-block: 76px; }
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px; margin-top: 34px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-card);
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; background: #f3ecdc; color: var(--gold-text);
  display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800;
}
.card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 0; letter-spacing: -.015em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 7px 0 0; }

.split {
  border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr;
}
.split img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.split .panel { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.split .panel p { margin: 14px 0 0; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; font-weight: 600; }
.checklist li::before { content: "✓"; color: var(--gold-accent); font-weight: 800; flex-shrink: 0; }

.roadmap .card { box-shadow: none; }
.roadmap .phase { display: flex; align-items: center; gap: 9px; }
.roadmap .phase i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.roadmap .phase span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.roadmap h3 { margin-top: 12px; }
.roadmap .done { background: #f0f5f1; border-color: #d9e6dc; }
.roadmap .done i { background: var(--green); } .roadmap .done span { color: var(--green); }
.roadmap .now { background: #f7f1e3; }
.roadmap .now i { background: var(--gold-accent); animation: pulse 2.4s ease-in-out infinite; } .roadmap .now span { color: var(--gold-text); }
.roadmap .next i { background: #a8a093; } .roadmap .next span { color: var(--muted); }

/* ---------- Kontakt ---------- */
.cta-wrap { padding-bottom: 20px; }
.cta {
  background: var(--ink-dark); border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff;
}
.cta img { height: 56px; width: auto; margin: 0 auto; }
.cta h2 { margin-top: 26px; }
.cta p { font-size: 16.5px; color: #cfc8bb; line-height: 1.55; margin: 14px auto 0; max-width: 520px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cta .btn { font-size: 16px; padding: 15px 26px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 28px 40px; font-size: 12.5px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 20px 60px; }
.legal article {
  max-width: 760px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(24px, 5vw, 48px);
}
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; margin: 10px 0 24px; line-height: 1.1; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal h3 { font-size: 16px; margin: 20px 0 0; }
.legal p, .legal li { color: #3f3a31; font-size: 15px; line-height: 1.65; }
.legal .todo { background: #fff3cd; border-radius: 4px; padding: 0 4px; color: #6b4e00; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: 14px; }

/* ---------- Animationen ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popIn  { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse  { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .announce .punch-wrap { opacity: 1; transform: none; }
  .announce .hook .later::after { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .container, .split, .announce-box { grid-template-columns: 1fr; }
  .collage .tall { height: 260px; }
  .collage .short { height: 124px; }
  .section { padding-block: 54px; }
  .announce { padding-block: 54px 0; }
  .announce-box { padding: 40px 24px; }
  .split img { min-height: 220px; max-height: 300px; }
  .split .panel { padding: 28px; }
  .cta { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .site-header .logo img { height: 44px; }
  .badge { padding: 7px 12px; font-size: 12px; }
  .notify .btn { width: 100%; }
}
