/* =========================================================================
   Gebäudereinigung Rendsburg — Modern Redesign Stylesheet
   Self-contained, no Bootstrap dependency.
   ========================================================================= */

/* --- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.2; color: var(--dark); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* --- Tokens -------------------------------------------------------------- */
:root {
  --brand:        #0EA5E9;          /* sky-500 */
  --brand-dark:   #0369A1;          /* sky-700 */
  --brand-soft:   #E0F2FE;          /* sky-100 */
  --accent:       #10B981;          /* emerald-500 */
  --accent-dark:  #047857;          /* emerald-700 */
  --dark:         #0F172A;          /* slate-900 */
  --text:         #334155;          /* slate-700 */
  --muted:        #64748B;          /* slate-500 */
  --line:         #E2E8F0;          /* slate-200 */
  --bg:           #FFFFFF;
  --bg-soft:      #F8FAFC;          /* slate-50 */
  --bg-grey:      #F1F5F9;          /* slate-100 */
  --shadow-sm:    0 1px 2px rgba(15,23,42,.06);
  --shadow-md:    0 10px 25px -12px rgba(15,23,42,.18);
  --shadow-lg:    0 25px 50px -12px rgba(15,23,42,.18);
  --radius-sm:    8px;
  --radius:       16px;
  --radius-lg:    24px;
  --container:    1180px;
  --header-h:     84px;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.85); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: #fff; }

/* Eyebrow / pill labels */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Section heading */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 17px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(14,165,233,.55);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 14px 28px -10px rgba(3,105,161,.55); }
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(16,185,129,.5);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-outline {
  background: transparent; color: var(--dark);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* --- Top bar ------------------------------------------------------------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  font-size: 13.5px;
  padding: 10px 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info i { color: var(--brand); margin-right: 6px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar-social a:hover { background: var(--brand); }

/* --- Header / Navigation ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(15,23,42,.18); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.logo-text { font-weight: 800; color: var(--dark); font-size: 18px; letter-spacing: -0.01em; }
.logo-text small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav > li { position: relative; }
.nav a {
  display: inline-block; padding: 12px 14px;
  color: var(--dark); font-weight: 500; font-size: 15px;
  border-radius: 8px;
}
.nav a:hover, .nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav .submenu {
  position: absolute; left: 0; top: 100%;
  min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.nav > li:hover > .submenu, .nav > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { display: block; padding: 10px 14px; font-size: 14.5px; border-radius: 8px; }
.nav .submenu a:hover { background: var(--bg-grey); color: var(--brand-dark); }
.has-sub > a::after {
  content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  margin-left: 6px; font-size: 11px; opacity: .6;
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 600; }
.header-phone i { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: inline-flex; align-items: center; justify-content: center; }
.header-phone span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }

.menu-toggle {
  display: none;
  background: var(--bg-grey); border: none; border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--dark); font-size: 18px;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(16,185,129,.14), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 18px; color: var(--text); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.hero-trust strong { color: var(--dark); font-size: 24px; display: block; line-height: 1; margin-bottom: 4px; }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--bg-grey);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  background: #fff; border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge i { font-size: 22px; }
.hero-badge.b1 { left: -28px; top: 12%; }
.hero-badge.b2 { right: -28px; bottom: 12%; }
.hero-badge .icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.hero-badge.b1 .icon { background: var(--brand-soft); color: var(--brand-dark); }
.hero-badge.b2 .icon { background: rgba(16,185,129,.15); color: var(--accent-dark); }
.hero-badge strong { display: block; color: var(--dark); font-size: 16px; line-height: 1.2; }
.hero-badge span { color: var(--muted); font-size: 13px; }

/* --- Quick info strip ---------------------------------------------------- */
.info-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: -50px; position: relative; z-index: 2;
}
.info-strip > div { padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.info-strip > div + div { border-left: 1px solid var(--line); }
.info-strip i { width: 46px; height: 46px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-size: 18px; }
.info-strip strong { display: block; color: var(--dark); font-weight: 700; font-size: 15px; }
.info-strip p { margin: 0; color: var(--muted); font-size: 14px; }

/* --- About / 2-col with image ------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(28px, 3.5vw, 40px); }
.split-image { position: relative; }
.split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }
.split-image .badge-experience {
  position: absolute; left: -24px; bottom: -24px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-experience strong { font-size: 40px; line-height: 1; font-weight: 800; }
.badge-experience span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; opacity: .95; }

.checklist { margin: 18px 0 26px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist .ck-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(16,185,129,.12); color: var(--accent-dark);
}
.checklist strong { display: block; color: var(--dark); font-weight: 700; margin-bottom: 2px; }
.checklist p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* --- Service cards ------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-grey);
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .thumb-icon {
  position: absolute; left: 20px; bottom: -22px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
}
.service-card .body { padding: 36px 26px 26px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.service-card .more { color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.service-card .more i { margin-left: 4px; transition: transform .2s ease; }
.service-card:hover .more i { transform: translateX(4px); }

/* --- Process steps ------------------------------------------------------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--brand-soft), var(--brand), var(--accent));
  z-index: 0;
}
.step {
  position: relative; z-index: 1; text-align: center;
  background: var(--bg-soft);
  padding: 36px 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand-dark);
  font-weight: 800; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --- Feature blocks ------------------------------------------------------ */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.feature:nth-child(2n) .ico { background: rgba(16,185,129,.12); color: var(--accent-dark); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --- CTA banner ---------------------------------------------------------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin: 0; font-size: clamp(24px, 3vw, 34px); max-width: 700px; }
.cta-banner p { margin: 8px 0 0; opacity: .92; max-width: 700px; }

/* --- Contact form -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info h2 { font-size: clamp(28px, 3.5vw, 40px); }
.contact-info .lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.contact-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-list strong { display: block; color: var(--dark); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.contact-list a { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--brand-dark); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { position: relative; }
.form-field label {
  position: absolute; left: 14px; top: 14px;
  font-size: 14px; color: var(--muted); pointer-events: none;
  transition: all .15s ease;
  background: transparent; padding: 0 6px;
}
.form-control {
  width: 100%; padding: 18px 14px 12px;
  font-size: 15px; font-family: inherit;
  background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--dark);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,165,233,.15); }
textarea.form-control { resize: vertical; min-height: 130px; padding-top: 22px; }
.form-field input.form-control:focus + label,
.form-field input.form-control:not(:placeholder-shown) + label,
.form-field textarea.form-control:focus + label,
.form-field textarea.form-control:not(:placeholder-shown) + label {
  top: -8px; font-size: 12px; color: var(--brand-dark); background: #fff; font-weight: 600;
}
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-messages {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  font-size: 14.5px; display: none;
}
.form-messages.is-success { background: rgba(16,185,129,.12); color: var(--accent-dark); border: 1px solid rgba(16,185,129,.3); }
.form-messages.is-error   { background: rgba(239,68,68,.1);   color: #B91C1C;       border: 1px solid rgba(239,68,68,.25); }
.hp-field { position: absolute; left: -10000px; top: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { color: var(--muted); font-size: 13px; margin: 0; max-width: 320px; }

/* --- Page header (sub pages) -------------------------------------------- */
.page-header {
  position: relative;
  padding: 100px 0 80px;
  background-color: var(--dark);
  background-image: var(--ph-image, url('../img/generated/ph-about.svg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(32px, 4.5vw, 50px); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.85); max-width: 660px; margin: 0 auto; font-size: 17px; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; color: rgba(255,255,255,.7); font-size: 14px; margin-top: 18px; }
.breadcrumb a { color: rgba(255,255,255,.95); }
.breadcrumb i { font-size: 10px; opacity: .6; }

/* --- Legal pages typography --------------------------------------------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; margin-top: 36px; }
.legal-content h3 { font-size: 18px; margin-top: 28px; color: var(--dark); }
.legal-content p { color: var(--text); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 22px; letter-spacing: .02em; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
}
.footer-grid p { margin-bottom: 14px; font-size: 14.5px; line-height: 1.7; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--brand); }
.footer-logo img { height: 50px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin-top: 10px;
}
.footer-list li { padding: 6px 0; font-size: 14.5px; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; }
.footer-list a::before { content: "›"; color: var(--brand); }
.footer-contact li { display: flex; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.footer-contact i { color: var(--brand); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-bottom {
  margin-top: 60px; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* --- Scroll to top ------------------------------------------------------- */
.scroll-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease;
  z-index: 60;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--brand-dark); }

/* --- Reveal-on-scroll animation ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Mobile menu drawer ------------------------------------------------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 80;
  background: #fff;
  transform: translateX(100%); transition: transform .3s ease;
  padding: 24px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-drawer-close { background: var(--bg-grey); border: none; width: 44px; height: 44px; border-radius: 10px; font-size: 18px; color: var(--dark); }
.mobile-nav li a { display: block; padding: 14px 0; font-size: 17px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--line); }
.mobile-nav li a:hover { color: var(--brand-dark); }
.mobile-sub { padding-left: 14px; }
.mobile-sub a { font-weight: 400 !important; font-size: 15px !important; color: var(--muted) !important; padding: 10px 0 !important; border-bottom: none !important; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  /* Hide the "Angebot anfordern" button next to the burger on mobile/tablet */
  .header-cta > .btn { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero { padding: 60px 0 70px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .info-strip { grid-template-columns: 1fr; margin-top: -30px; }
  .info-strip > div + div { border-left: none; border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .badge-experience { width: 130px; height: 130px; left: auto; right: -10px; bottom: -10px; }
}
@media (max-width: 560px) {
  .topbar-info { gap: 12px; font-size: 12.5px; }
  .topbar-social { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .steps, .features, .features.cols-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-badge { display: none; }
}
