/* =============================================
   MALERMEISTER MENKEN – Shared Stylesheet
   Farbschema: Original Blau/Weiß, modernisiert
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Open+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  background: #f5f7f9;
  color: #2a3a4a;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ════════════════════════════════════
   VARIABLES
════════════════════════════════════ */
:root {
  --blue-deep:    #253f5a; /* Dark navy – headings, header border */
  --blue-mid:     #3a6080; /* Medium blue – links, accents, rules */
  --blue-light:   #6090b0; /* Light blue – hover states, borders */
  --blue-pale:    #ccdde8; /* Pale blue – SVG fills, decorative */
  --blue-ultra:   #edf3f8; /* Near-white blue – card backgrounds, tags */
  --sky:          #8ab0c8; /* Sky blue – icon fills in dark sections */
  --white:        #ffffff; /* Pure white */
  --off-white:    #f5f7f9; /* Page background, form inputs */
  --border:       #ccd8e0; /* Default border color */
  --text-dark:    #1a2530; /* Primary headings */
  --text-mid:     #3a4f60; /* Body text */
  --text-soft:    #6a7f90; /* Muted/secondary text */
  --accent:       #c86820; /* Orange CTA – buttons, highlights */
  --accent-dark:  #a85015; /* Darker orange – hover state for accent */
  --green-ok:     #2e8a4e; /* Success/confirmation color */
  --max-w:        1040px;  /* Max content width */
  --r:            6px;     /* Default border radius */
  --shadow:       0 2px 14px rgba(50,80,100,.09);  /* Subtle card shadow */
  --shadow-md:    0 6px 28px rgba(50,80,100,.13);  /* Elevated card shadow */
}

/* ════════════════════════════════════
   LAYOUT
════════════════════════════════════ */
.wrap      { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.page-body { flex: 1; }
.section   { padding: 3.5rem 0; }
.section-alt { background: var(--blue-ultra); }

/* ════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════ */
h1,h2,h3,h4 { color: var(--text-dark); line-height: 1.25; }
h1 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem,3vw,1.85rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p  { font-size: .96rem; color: var(--text-mid); }

.eyebrow {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: .5rem;
}
.rule {
  width: 40px; height: 3px;
  background: var(--blue-mid);
  border-radius: 2px;
  margin: .9rem 0 1.4rem;
}
.rule-accent { background: var(--accent); }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn {
  display: inline-block; text-decoration: none;
  padding: .75rem 1.8rem; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 3px 12px rgba(224,120,48,.3);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,120,48,.35); }
.btn-blue {
  background: var(--blue-mid); color: #fff;
  box-shadow: 0 3px 12px rgba(36,104,168,.25);
}
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,.75); color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-outline {
  border: 2px solid var(--blue-mid); color: var(--blue-mid);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-mid); color: #fff; transform: translateY(-2px); }

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
#site-header {
  background: var(--white);
  border-bottom: 3px solid #334f6a;
  position: sticky; top: 0; z-index: 300;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: .65rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* ── Logo ── */
.logo-link {
  text-decoration: none;
  display: flex; align-items: center;
  flex-shrink: 0;
}
.logo-text .brand {
  font-family: 'Dancing Script', cursive;
  font-size: 2.1rem; line-height: 1;
  background: linear-gradient(90deg, #c0392b 0%, #e74c3c 15%, #e67e22 30%, #f1c40f 45%, #27ae60 62%, #2980b9 78%, #8e44ad 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.logo-text .sub {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); display: block; margin-top: .1rem;
}

/* ── Nav ── */
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav a {
  font-size: .84rem; font-weight: 600; color: var(--text-mid);
  text-decoration: none; padding: .38rem .78rem; border-radius: var(--r);
  transition: color .2s, background .2s; white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { color: var(--blue-mid); background: var(--blue-ultra); }
.site-nav a.active { font-weight: 700; }
.site-nav .nav-cta {
  background: var(--accent); color: #fff !important;
  margin-left: .35rem; padding: .42rem 1rem;
}
.site-nav .nav-cta:hover { background: var(--accent-dark); }

/* ── Hamburger ── */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .35rem; }
.burger span { width: 23px; height: 2px; background: var(--blue-deep); display: block; border-radius: 2px; transition: .28s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav ── */
.mob-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding: .8rem 1.5rem 1.25rem; }
.mob-nav.open { display: flex; }
.mob-nav a {
  font-size: .95rem; font-weight: 600; color: var(--text-mid);
  text-decoration: none; padding: .6rem 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mob-nav a:last-child { border: none; }
.mob-nav a:hover, .mob-nav a.active { color: var(--blue-mid); }

/* ════════════════════════════════════
   PAGE HERO BANNER (Unterseiten)
════════════════════════════════════ */
.page-banner {
  background: linear-gradient(110deg, #223348 0%, #334f6a 60%, #4a6a85 100%);
  padding: 2.4rem 0 2rem;
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: .3rem; }
.page-banner p  { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .75rem; color: rgba(255,255,255,.6);
  margin-bottom: .6rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ════════════════════════════════════
   CARDS
════════════════════════════════════ */
.card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--blue-ultra);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 21px; height: 21px; fill: var(--blue-mid); }

/* ════════════════════════════════════
   CHECK LIST
════════════════════════════════════ */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .92rem; color: var(--text-mid);
}
.check-list li::before { content: '✓'; color: var(--blue-mid); font-weight: 700; flex-shrink: 0; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
#site-footer {
  background: #1e2f3f;
  padding: 2.5rem 0 1.2rem;
  margin-top: auto;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem;
}
.fc h4 {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: .9rem;
}
.fc .brand-footer {
  font-family: 'Dancing Script', cursive; font-size: 1.35rem;
  background: linear-gradient(
    90deg,
    #b90000 0%,
    #d90000 10%,
    #ff6f00 20%,
    #f5c400 35%,
    #5bcf45 65%,
    #28a8cc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.fc p { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.65; }
.flinks { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.flinks a { font-size: .84rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.flinks a:hover { color: #fff; }
.fci-list { display: flex; flex-direction: column; gap: .6rem; }
.fci {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .83rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s;
}
.fci:hover { color: #fff; }
.fci svg { width: 14px; height: 14px; fill: var(--sky); flex-shrink: 0; margin-top: 3px; }

/* ── Footer bottom bar ── */
.footer-bottom {
  max-width: var(--max-w); margin: 1.8rem auto 0; padding: 1rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.2rem; }
.footer-bottom-links a { font-size: .75rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ════════════════════════════════════
   CONTACT STRIP
════════════════════════════════════ */
.contact-strip {
  background: #334f6a;
  padding: .7rem 0;
}
.contact-strip-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
}
.cs-item {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: color .2s;
}
.cs-item:hover { color: #fff; }
.cs-item svg { width: 15px; height: 15px; fill: rgba(255,255,255,.7); flex-shrink: 0; }
.cs-item img, .fci img { width: 15px; height: 15px; display: block; flex-shrink: 0; }
/* ════════════════════════════════════
   CTA BAND (geteilt)
════════════════════════════════════ */
.cta-band {
  background: linear-gradient(110deg, #223348 0%, #334f6a 100%);
  padding: 2.8rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p  { color: rgba(255,255,255,.75); margin: 0; font-size: .93rem; }

/* ════════════════════════════════════
   ANIMATIONEN
════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu  { animation: fadeUp .55s ease both; }
.d1  { animation-delay: .07s; }
.d2  { animation-delay: .15s; }
.d3  { animation-delay: .25s; }
.d4  { animation-delay: .38s; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media(max-width:860px){
  .site-nav { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .contact-strip { display: none; }
}
@media(max-width:580px){
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
  .wrap { padding: 0 1.2rem; }
}

/* ════════════════════════════════════
   REGIONSSEITEN (lokale SEO-Landingpages)
════════════════════════════════════ */

/* ── Service-Leistungs-Raster ── */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.loc-card h3 {
  color: var(--blue-deep);
  font-size: .92rem;
  margin-bottom: .5rem;
}
.loc-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .25rem;
}
.loc-card ul li {
  font-size: .82rem;
  color: var(--text-soft);
  padding-left: .9rem;
  position: relative;
}
.loc-card ul li::before {
  content: '✓';
  color: var(--blue-mid);
  font-weight: 700;
  position: absolute; left: 0;
}

/* ── Stadtteile-Liste ── */
.stadtteile-box {
  background: var(--blue-ultra);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-mid);
  border-radius: var(--r);
  padding: 1.4rem 1.6rem;
  margin-top: 2rem;
}
.stadtteile-box h3 { color: var(--blue-deep); margin-bottom: .75rem; }
.stadtteile-box ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .4rem .75rem;
}
.stadtteile-box ul li {
  font-size: .88rem; color: var(--text-mid);
  padding-left: .9rem; position: relative;
}
.stadtteile-box ul li::before {
  content: '›';
  color: var(--blue-mid);
  font-weight: 700;
  position: absolute; left: 0;
}

/* ── Intro-Karte ── */
.loc-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.loc-intro p { color: var(--text-mid); line-height: 1.75; margin-bottom: .8rem; }
.loc-intro p:last-child { margin: 0; font-weight: 600; color: var(--blue-mid); }