/* Peter Rösgen Bedachungs GmbH – statische Seite, keine externen Ressourcen */
:root {
  --navy: #1f3a8a;
  --navy-dark: #0f1d4a;
  --navy-deep: #0a1433;
  --red: #d42a2a;
  --ink: #1b2233;
  --muted: #5b6478;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius: 14px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Logo-Schrift, selbst gehostet (Changa One, SIL Open Font License) */
@font-face { font-family: "Changa One"; src: url("fonts/changaone.woff2") format("woff2"); font-weight: 400; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--navy-dark); }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Platzhalter, die noch ausgefüllt werden müssen */
.ph { background: #fff3a6; color: #5a4a00; padding: 0 .3em; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
  font-size: 1rem; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b81f1f; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }

/* Topbar */
.topbar { background: var(--navy-deep); color: #cfd7ee; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .topjob { display: inline-flex; align-items: center; gap: .5em; }
.topbar .topjob b { background: var(--red); color: #fff; padding: .15em .6em; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.topbar .contact { display: flex; gap: 1.4rem; }
.topbar .contact a { display: inline-flex; gap: .4em; align-items: center; opacity: .9; }
.topbar svg { width: 14px; height: 14px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.logo svg { width: 54px; height: 40px; flex: none; }
.logo .name { display: flex; flex-direction: column; line-height: .95; font-family: "Changa One", var(--font); font-weight: 400; }
.logo .name strong { font-size: 2.05rem; font-weight: 400; color: #2d3b8e; letter-spacing: .005em; }
.logo .name span { font-size: 1.5rem; color: #111; letter-spacing: .005em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { color: #fff; padding: .7em 1.1em; }
.nav-toggle, .burger { display: none; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-deep) url("img/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,20,51,.92) 0%, rgba(15,29,74,.78) 45%, rgba(15,29,74,.25) 100%);
}
.hero .wrap { position: relative; padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 850; max-width: 14ch; }
.hero p { font-size: 1.15rem; color: #dbe2f5; max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.ribbon {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--red); color: #fff; font-weight: 800; letter-spacing: .02em;
  padding: .5em 1em; border-radius: 6px; transform: rotate(-2deg); margin-bottom: 1.4rem;
  box-shadow: 0 8px 24px rgba(212,42,42,.35); text-decoration: none;
}
.ribbon svg { width: 22px; height: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; font-size: .92rem; color: #c4cde6; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45em; }
.hero-trust svg { width: 18px; height: 18px; color: #fff; }

/* Page header (Unterseiten) */
.page-head { background: var(--navy-dark) center/cover no-repeat; color: #fff; position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,51,.93), rgba(15,29,74,.6)); }
.page-head .wrap { position: relative; padding-top: 4.5rem; padding-bottom: 4rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 850; }
.page-head p { color: #d4dbef; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.page-head .eyebrow { color: #ff8a8a; }

/* Sections */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 2.6rem; }

/* Leistungs-Kacheln */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,29,74,.12); }
.card .img { aspect-ratio: 16/10; background: var(--bg-soft) center/cover no-repeat; position: relative; }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; padding: .3em .7em; border-radius: 999px; letter-spacing: .06em; }
.card .body { padding: 1.3rem 1.4rem 1.5rem; }
.card h3 { color: var(--navy-dark); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Weitere Leistungen (Stichworte) */
.more { margin-top: 2.4rem; text-align: center; }
.more h3 { color: var(--navy-dark); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.more ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.more li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; font-size: .92rem; font-weight: 600; color: var(--navy-dark); }

/* Sturmschaden-Band */
.storm-band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: #fff; border: 2px solid var(--red); border-radius: 18px; padding: 1.6rem 1.8rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.storm-band .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; }
.storm-band .ico svg { width: 28px; height: 28px; }
.storm-band h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.storm-band p { margin: 0; color: var(--muted); }

/* Galerie mit Foto-Platzhaltern */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ph-img { margin: 0; aspect-ratio: 4/3; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, #e6eaf3 0 14px, #f1f4fa 14px 28px); border: 1px dashed #b9c3da; color: var(--muted); font-weight: 650; font-size: .92rem; }

/* Split-Abschnitte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft) center/cover no-repeat; position: relative; }
.split.reverse .media { order: 2; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Drohne */
.drone { background: var(--navy-dark); color: #fff; }
.drone h2 { color: #fff; }
.drone .lead { color: #c9d2ec; }
.drone .checks li::before { background-color: var(--red); }
.drone .media::after {
  content: "NEU"; position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff;
  font-weight: 850; letter-spacing: .1em; padding: .35em .8em; border-radius: 6px; font-size: .85rem;
}

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 1.6rem 1.2rem; text-align: center; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 850; color: var(--red); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Karriere-Banner */
.job-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.job-band h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; line-height: 1; }
.job-band p { color: #d1d9f0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.perks li { display: flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: .8rem 1rem; font-weight: 650; }
.perks .ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; }
.perks .ico svg { width: 20px; height: 20px; }
.perks em { font-style: normal; color: #ffd36b; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: inherit; }
a.contact-item:hover { border-color: var(--navy); }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-item strong { font-size: 1.08rem; color: var(--navy-dark); word-break: break-word; }
.notice { margin-top: 1.6rem; display: flex; gap: .9rem; align-items: flex-start; background: #fff7e6; border: 1px solid #f2d79b; border-radius: 12px; padding: 1rem 1.2rem; color: #6b4e00; font-size: .95rem; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .1em; }

/* Leistungen-Unterseite */
.service { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* Stellen */
.jobs { display: grid; gap: 1rem; }
.job { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: #fff; }
.job h3 { margin: 0 0 .2rem; color: var(--navy-dark); }
.job p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.steps div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: .8rem; }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal .hint { background: var(--bg-soft); border-left: 4px solid var(--red); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-deep); color: #aab4d2; font-size: .93rem; }
.footer .wrap { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; }
.footer .logo .name strong { color: #fff; }
.footer .logo .name span { color: #aab4d2; }
.footer h4 { color: #fff; margin: 0 0 .9rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer a { color: #dbe2f5; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .82rem; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .job-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar .contact a.mail { display: none; }
}
@media (max-width: 820px) {
  .burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--navy); }
  .burger svg { width: 26px; height: 26px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1.2rem; display: none;
    box-shadow: 0 16px 30px rgba(15,29,74,.1);
  }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--red); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .storm-band { grid-template-columns: 1fr; text-align: left; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .contact { display: none; }
  .logo .name strong { font-size: 1.75rem; }
  .logo .name span { font-size: 1.28rem; }
  .logo svg { width: 44px; height: 33px; }
  .hero-trust { gap: .8rem 1.4rem; }
}
