/* ============================================================
   Dachdeckerrei Rau – Stylesheet
   Reines CSS, keine Frameworks. Läuft auf jedem Webhosting.
   ============================================================ */

:root {
  --dark: #17191d;
  --darker: #101216;
  --darkest: #0b0d10;
  --accent: #f97316;
  --accent-dark: #ea6a0a;
  --text: #26282e;
  --muted: #5c6470;
  --border: #e5e7eb;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 18, 22, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 18, 22, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--darkest);
  color: #b9bec7;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent); }
.topbar .tb-right { display: flex; gap: 18px; }
.tb-hide-mobile { display: inline-flex; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 25, 29, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #26282e;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 48px; height: 48px; object-fit: contain; }
.logo-name { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.3px; line-height: 1.15; }
.logo-name em { color: var(--accent); font-style: normal; }
.logo-sub { font-size: 11.5px; color: #9aa1ab; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a,
.nav-menu > li > button.dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: #dfe3e8;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: color 0.15s;
}
.nav-menu > li > a:hover,
.nav-menu > li > button.dropbtn:hover,
.nav-menu > li > a.active { color: var(--accent); }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--dark);
  border: 1px solid #2c2f36;
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #dfe3e8;
  border-radius: 8px;
}
.dropdown a:hover { background: #23262c; color: var(--accent); }
.dropdown a.dd-all {
  margin-top: 6px;
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  font-weight: 700;
}
.dropdown a.dd-all:hover { background: rgba(249,115,22,0.22); }
.dropbtn .chev { transition: transform 0.2s; font-size: 11px; }
.has-dropdown.open .dropbtn .chev { transform: rotate(180deg); }

.nav-cta {
  margin-left: 14px;
  padding: 11px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(249,115,22,0.3);
}
.nav-cta:hover { background: var(--accent-dark); }

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}
.burger svg { width: 26px; height: 26px; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--dark);
  border-top: 1px solid #26282e;
  padding: 14px 20px 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 11px 12px;
  color: #dfe3e8;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }
.mobile-menu .mm-label {
  padding: 12px 12px 4px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6b7280;
}
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,13,16,0.93) 0%, rgba(11,13,16,0.72) 45%, rgba(11,13,16,0.35) 100%);
}
.hero .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 100px;
  padding-bottom: 100px;
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(249,115,22,0.55);
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { margin-top: 22px; font-size: 17.5px; color: #d3d8de; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  font-size: 14px;
  color: #c4cad2;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.hero-mascot { flex-shrink: 0; }
.hero-mascot img { width: 300px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }

/* ---------- Page Hero (Unterseiten) ---------- */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero.with-img .page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero.with-img .page-hero-overlay {
  position: absolute; inset: 0; background: rgba(11,13,16,0.72);
}
.page-hero .container { position: relative; }
.page-hero .kicker {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}
.page-hero .kicker a:hover { text-decoration: underline; }
.page-hero h1 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 760px;
}
.page-hero p { margin-top: 14px; color: #c9cfd7; max-width: 640px; font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--dark); color: #fff; }

.kicker {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}
.h2 {
  margin-top: 8px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.section-dark .h2 { color: #fff; }
.center { text-align: center; }
.center .h2, .center p { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 48px; }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 640px; }
.section-dark .section-head p { color: #b7bdc6; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16,18,22,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; flex: 1; }
.card-body h3 { font-size: 18px; font-weight: 800; }
a.card:hover .card-body h3 { color: var(--accent); }
.card-body p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.card-meta {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ---------- Value boxes (dark) ---------- */
.value-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2d33;
  border-radius: var(--radius);
  padding: 26px;
}
.value-box .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(249,115,22,0.15);
  color: var(--accent);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.value-box h3 { font-size: 16.5px; font-weight: 800; color: #fff; }
.value-box p { margin-top: 8px; font-size: 14px; color: #a9b0ba; line-height: 1.6; }

/* value boxes light */
.value-box.light { background: #fff; border-color: var(--border); box-shadow: 0 2px 8px rgba(16,18,22,0.05); }
.value-box.light h3 { color: var(--text); }
.value-box.light p { color: var(--muted); }
.value-box.light .num { background: rgba(249,115,22,0.1); }

/* ---------- Team / image blocks ---------- */
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.float-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--dark);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: -34px;
  margin-left: 20px;
  position: relative;
  max-width: 340px;
}
.float-badge img { width: 64px; height: 64px; object-fit: contain; }
.float-badge .fb-name { font-size: 22px; font-weight: 800; color: var(--accent); }
.float-badge .fb-sub { font-size: 13px; color: #c2c8d0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
}
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 800;
  color: var(--accent);
}
.text-link:hover { gap: 12px; }
.text-link { transition: gap 0.2s; }

.lead-text { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.lead-text + .lead-text { margin-top: 16px; }

/* ---------- CTA Band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .ov { position: absolute; inset: 0; background: rgba(11,13,16,0.84); }
.cta-band .container {
  position: relative;
  padding-top: 84px;
  padding-bottom: 84px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-band svg { width: 42px; height: 42px; color: var(--accent); }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; max-width: 640px; }
.cta-band p { color: #c9cfd7; max-width: 520px; }
.cta-box {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 30px;
  text-align: center;
  margin-top: 56px;
}
.cta-box h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.cta-box p { color: #b7bdc6; max-width: 560px; margin: 12px auto 0; }
.cta-box .btn { margin-top: 24px; }

/* ---------- Service detail ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.point-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 14.5px;
  font-weight: 600;
}
.point-card svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }

.sidebar-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.sidebar-card img { width: 110px; margin: 0 auto; }
.sidebar-card h3 { margin-top: 14px; font-size: 18px; font-weight: 800; }
.sidebar-card p { margin-top: 8px; font-size: 14px; color: #b7bdc6; }
.sidebar-card .btn { margin-top: 16px; }
.sidebar-card .btn-outline-light { margin-top: 10px; }

.sidebar-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.sidebar-box h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sidebar-box h3 svg { width: 18px; height: 18px; color: var(--accent); }
.hours-list { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.hours-list li b { color: var(--text); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d4d8de;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-grid textarea { resize: vertical; min-height: 140px; }
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  grid-column: 1 / -1;
}
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.privacy-check a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.form-success {
  margin-top: 24px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 24px;
}
.form-success strong { color: #c2410c; }
.form-success p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.info-card h3 { font-size: 17px; font-weight: 800; }
.info-list { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.info-list li { display: flex; gap: 12px; margin-bottom: 16px; }
.info-list svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-list a:hover { color: var(--accent); }

.quote-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.quote-card img { width: 96px; margin: 0 auto; }
.quote-card p { margin-top: 12px; font-size: 14px; color: #b7bdc6; }
.quote-card .who { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--accent); }

/* ---------- Mascot page ---------- */
.mascot-img { width: min(340px, 70%); margin: 0 auto; filter: drop-shadow(0 24px 44px rgba(16,18,22,0.25)); }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: var(--muted); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
.legal p + p { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--darkest); color: #9aa1ab; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 44px;
  padding: 64px 0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-brand .fb1 { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand .fb1 em { color: var(--accent); font-style: normal; }
.footer-brand .fb2 { font-size: 12px; color: #8a919b; }
.footer-grid > div > p { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.footer-grid h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid #22252b;
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: #6b7280;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating Mascot ---------- */
.mascot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.mascot-bubble {
  display: none;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px 18px 4px 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
}
.mascot-bubble.open { display: block; }
.mascot-bubble .mb-title { font-weight: 800; color: var(--text); }
.mascot-bubble p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.mascot-bubble .btn { margin-top: 12px; padding: 10px 18px; font-size: 13.5px; }
.mascot-btn {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
  padding: 2px;
}
.mascot-btn:hover { transform: scale(1.06); }
.mascot-btn img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.mascot-btn .dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-mascot { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .burger { display: block; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .points-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero .container { padding-top: 70px; padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .tb-hide-mobile { display: none; }
  .float-badge { margin-left: 0; }
}
