/* ============================================================
   H. Golabeck — Hausmeisterservice & Handwerk Münster
   Theme: Light | Accent: Steel Blue
   ============================================================ */

:root {
  --accent:        #2563a8;
  --accent-dark:   #1a4a82;
  --accent-light:  #dbeafe;
  --bg:            #ffffff;
  --bg-alt:        #f4f6f9;
  --text:          #1a1e2e;
  --text-muted:    #5a6478;
  --border:        #e2e8f0;
  --white:         #ffffff;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.13);
  --radius:        8px;
  --radius-lg:     14px;
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:    0.22s ease;
  --max-w:         1160px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

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

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-header h2 { margin-bottom: .75rem; color: var(--text); }
.section-cta { text-align: center; margin-top: 44px; }

/* ---- BUTTONS ---- */
.btn-premium,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-premium {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-premium:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { color: var(--accent); }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: .2rem;
}
.main-nav a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-cta { font-size: .85rem; padding: .5rem 1.2rem; white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #f0f5fc 0%, #e8eef8 50%, #f4f6f9 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(37,99,168,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(37,99,168,.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero h1 { color: var(--text); margin-bottom: 1.2rem; }
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- USP STRIP ---- */
.usp-strip {
  background: var(--accent);
  padding: 28px 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--white);
}
.usp-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .85;
}
.usp-item strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.usp-item p { font-size: .82rem; color: rgba(255,255,255,.8); margin: 0; }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: .5rem; color: var(--text); }
.service-card p { font-size: .9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.card-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-link:hover { color: var(--accent-dark); }

/* ---- ABOUT TEASER ---- */
.about-teaser { background: var(--bg-alt); }
.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-teaser-text h2 { margin-bottom: 1rem; color: var(--text); }
.about-teaser-text p { margin-bottom: 1.5rem; }
.check-list { margin-bottom: 1.8rem; }
.check-list li {
  padding: .4rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: .92rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
  top: .55rem;
}
.visual-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.stat-block { text-align: center; }
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .82rem; color: var(--text-muted); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 56px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: .5rem; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1rem; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-banner .btn-premium {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.cta-banner .btn-premium:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--accent-dark);
}
.cta-banner .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}

/* ---- FOOTER ---- */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.75);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer-col p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: .4rem;
}
.footer-col a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-col a:hover { color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: var(--white); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #f0f5fc 0%, #e8eef8 100%);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--text); margin-bottom: .75rem; }
.page-hero p { font-size: 1.05rem; max-width: 580px; }

/* ---- LEISTUNGEN PAGE ---- */
.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-block.reverse { direction: rtl; }
.leistung-block.reverse > * { direction: ltr; }
.leistung-text .eyebrow { margin-bottom: .4rem; }
.leistung-text h2 { margin-bottom: 1rem; color: var(--text); }
.leistung-text p { margin-bottom: 1rem; line-height: 1.7; }
.leistung-list { margin: 1rem 0 1.5rem; }
.leistung-list li {
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  font-size: .9rem;
  color: var(--text-muted);
}
.leistung-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .72rem;
  top: .55rem;
}
.leistung-visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.leistung-visual-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.feature-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin: .2rem .2rem .2rem 0;
}

/* ---- ABOUT PAGE ---- */
.team-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
}
.value-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 1rem; }
.value-card h3 { margin-bottom: .6rem; color: var(--text); }
.value-card p { font-size: .88rem; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story-text h2 { margin-bottom: 1rem; color: var(--text); }
.about-story-text p { margin-bottom: 1rem; }
.timeline { margin: 1.5rem 0; }
.timeline-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.tl-dot {
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
}
.tl-body strong { display: block; color: var(--text); margin-bottom: .2rem; }
.tl-body p { font-size: .88rem; margin: 0; }
.about-story-visual {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}
.about-story-visual h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.3rem; }
.cert-list li {
  padding: .45rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.cert-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  top: .58rem;
}

/* ---- REFERENZEN PAGE ---- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-card-header {
  background: var(--accent);
  padding: 28px 24px;
  color: var(--white);
}
.ref-card-header h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .3rem; }
.ref-tag { font-size: .78rem; color: rgba(255,255,255,.75); }
.ref-card-body { padding: 24px; }
.ref-card-body p { font-size: .88rem; line-height: 1.65; margin-bottom: 1rem; }
.ref-meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.ref-meta span { display: flex; align-items: center; gap: .3rem; }
.stars { color: var(--accent); font-size: .85rem; letter-spacing: 1px; }

.testimonials { background: var(--bg-alt); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.testimonial-author strong { display: block; font-size: .88rem; color: var(--text); }
.testimonial-author span { font-size: .8rem; color: var(--text-muted); }
.t-stars { color: var(--accent); font-size: .9rem; margin-bottom: .75rem; }

/* ---- BLOG PAGE ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.5);
}
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 100px;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-card-body h3 { font-size: 1rem; margin-bottom: .6rem; color: var(--text); line-height: 1.35; }
.blog-card-body p { font-size: .86rem; line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: .78rem; color: var(--text-muted); }

/* ---- KONTAKT PAGE ---- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.kontakt-info h2 { margin-bottom: 1rem; color: var(--text); }
.kontakt-info p { margin-bottom: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cd-icon { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.cd-body strong { display: block; font-size: .85rem; color: var(--text); margin-bottom: .15rem; }
.cd-body a, .cd-body span { font-size: .9rem; color: var(--text-muted); }
.cd-body a:hover { color: var(--accent); }
.opening-hours { margin-top: .5rem; }
.oh-row { display: flex; justify-content: space-between; font-size: .85rem; padding: .25rem 0; border-bottom: 1px solid var(--border); }
.oh-row:last-child { border-bottom: none; }
.oh-row span { color: var(--text-muted); }
.oh-row strong { color: var(--text); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.5rem; color: var(--text); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .75rem; }

/* ---- IMPRESSUM / DATENSCHUTZ ---- */
.legal-section { padding: 64px 0; }
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--text); }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--text); }
.legal-content p, .legal-content li { font-size: .92rem; line-height: 1.75; color: var(--text-muted); margin-bottom: .75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content a { color: var(--accent); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 52px; }

  .main-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--white); padding: 24px; z-index: 999; overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .5rem; }
  .main-nav a { display: block; padding: .75rem 1rem; font-size: 1rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .usp-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 32px; }
  .visual-box { grid-template-columns: 1fr 1fr; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .team-values { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .leistung-block { grid-template-columns: 1fr; }
  .leistung-block.reverse { direction: ltr; }
  .ref-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .visual-box { grid-template-columns: 1fr; }
}
