/* ============================================================
   Malerbetrieb Jörg Jager – Losheim am See
   Farbwelt: frisches Petrolblau, Weiß, Anthrazit, Akzent Gelb
   Schriften: Sora (Überschriften), Inter (Fließtext)
   ============================================================ */

:root {
  --petrol: #0f6f6c;      /* Primärfarbe */
  --petrol-dark: #0a4d4b; /* Hover */
  --ink: #1e2a2a;         /* Text / dunkle Sektion */
  --paper: #f6f9f8;       /* heller Hintergrund */
  --white: #ffffff;
  --accent: #f2b036;      /* Akzent: Farbtupfer Gelb */
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

img { max-width: 100%; height: auto; display: block; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.text-balance { text-wrap: balance; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 600;
  color: var(--petrol); margin-bottom: 0.6rem;
}
.lead { font-size: 1.12rem; margin: 1rem 0 1.6rem; max-width: 34rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 42, 42, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.brand-swatch {
  width: 1.6rem; height: 1.6rem; border-radius: 6px;
  background: linear-gradient(135deg, var(--petrol) 60%, var(--accent) 60%);
}
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-list a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover { color: var(--petrol); }
.nav-cta { background: var(--petrol); color: var(--white) !important; padding: 0.55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--petrol-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero-grid { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.hero-content { flex: 1 1 26rem; }
.hero-media { flex: 1 1 22rem; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(15, 111, 108, 0.5); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 0.7rem; flex-wrap: wrap; list-style: none; margin-top: 1.4rem; }
.hero-badges li {
  background: var(--white); border: 1px solid rgba(30, 42, 42, 0.1);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; font-weight: 500;
}
.hero-badges li::before { content: "✓ "; color: var(--petrol); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 0.98rem; font-family: inherit;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: background 0.25s, color 0.25s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-dark); }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: var(--white); }

/* Sektionen */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .eyebrow { color: var(--accent); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; border: 1px solid rgba(30, 42, 42, 0.07);
  border-top: 4px solid var(--petrol);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -20px rgba(15, 111, 108, 0.4); }
.card-icon { width: 2.6rem; height: 2.6rem; color: var(--petrol); margin-bottom: 1rem; }
.card-icon svg { width: 100%; height: 100%; }
.card p { font-size: 0.95rem; }

/* Split */
.split { display: flex; gap: 3rem; align-items: flex-start; flex-wrap: wrap; }
.split-text { flex: 1 1 26rem; }
.note { font-size: 0.88rem; opacity: 0.75; margin-top: 0.8rem; }

.benefit-list { flex: 1 1 18rem; list-style: none; display: grid; gap: 1rem; }
.benefit-list li {
  background: var(--paper); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; border-left: 4px solid var(--accent);
  font-size: 0.96rem;
}

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 2rem; list-style: none; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.4rem; border: 1px solid rgba(30, 42, 42, 0.07); }
.step-num {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--petrol); color: var(--white);
  font-family: "Sora", sans-serif; font-weight: 600; margin-bottom: 0.9rem;
}
.step p { font-size: 0.93rem; }

/* Kontakt */
.contact-list { font-style: normal; margin-top: 1rem; display: grid; gap: 0.8rem; }
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  flex: 1 1 22rem; background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem;
}
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.7rem 0.9rem;
  border: 1px solid rgba(30, 42, 42, 0.2); border-radius: 8px;
  background: var(--paper);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.form-status { font-size: 0.9rem; min-height: 1.2em; color: var(--petrol-dark); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(246, 249, 248, 0.12); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; font-size: 0.9rem; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--white); padding: 1.2rem 4%;
    border-bottom: 1px solid rgba(30, 42, 42, 0.1);
    display: none;
  }
  .nav-list.open { display: flex; }
  .hero { padding-top: 2.5rem; }
  .section { padding: 3rem 0; }
}
