/* =========================================
   MIETMOP.DE – Stylesheet
   ========================================= */
:root {
  --blue:        #1a3a5c;
  --blue-light:  #2a5a8c;
  --blue-pale:   #e8f0f8;
  --yellow:      #f5c300;
  --yellow-dark: #d4a700;
  --white:       #ffffff;
  --gray-light:  #f4f6f8;
  --gray:        #6b7280;
  --text:        #1f2937;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --shadow:      none;
  --shadow-lg:   none;
  --radius:      12px;
  --radius-sm:   6px;
  --ease:        0.25s ease;
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue-light); }
ul { list-style: none; }

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

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--blue); margin-bottom: 12px; }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
h4 { font-size: 0.9rem; font-weight: 700; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow-dark);
  margin-bottom: 6px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--blue);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { border-bottom-color: #c8d6e4; }

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { flex-shrink: 0; }
.logo-miet { color: var(--blue); }
.logo-mop  { color: var(--blue); }
.logo-de   { color: var(--yellow-dark); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.nav-links a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}
.nav-cta { margin-left: 8px; padding: 9px 18px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--blue);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.88) 0%, rgba(26,58,92,0.60) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 24px;
  color: var(--white);
  max-width: 700px;
}
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--yellow); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== LEISTUNGEN / CARDS ===== */
.leistungen { background: var(--gray-light); }
.leistungen .container > h2,
.leistungen .container > p { text-align: center; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-pale); }
.card-featured { border: 2px solid var(--yellow); }
.card-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--yellow); color: var(--blue);
  font-size: 0.75rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-list { margin-top: 16px; }
.card-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.card-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--yellow-dark); font-weight: 700;
}

/* ===== USP SECTION ===== */
.usp-section { background: var(--white); }
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.usp-text > p { color: var(--text-muted); margin-bottom: 28px; }
.usp-list { display: flex; flex-direction: column; gap: 18px; }
.usp-list li { display: flex; gap: 14px; align-items: flex-start; }
.usp-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.usp-list strong { display: block; color: var(--blue); font-weight: 700; }
.usp-list span { font-size: 0.88rem; color: var(--text-muted); }
.usp-image img {
  border-radius: var(--radius);
  width: 100%; height: 380px;
  object-fit: cover;
}

/* ===== PREISE ===== */
.preise-section { background: var(--blue); }
.preise-section .section-label { color: rgba(245,195,0,0.75); }
.preise-section h2 { color: var(--white); text-align: center; }

.preise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 400px));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.preis-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: transform var(--ease);
}
.preis-card:hover { transform: translateY(-4px); }
.preis-card h3 { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.preis-card-featured {
  background: var(--yellow);
  border-color: var(--yellow);
}

.preis-amount {
  display: flex; align-items: baseline;
  justify-content: center; gap: 4px;
  margin-bottom: 12px;
  color: var(--yellow);
}
.preis-big  { font-size: 3rem; font-weight: 900; line-height: 1; }
.preis-unit { font-size: 0.95rem; font-weight: 600; }
.preis-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.preis-sub { font-size: 0.82rem; margin-top: 6px; color: rgba(255,255,255,0.7); font-weight: 500; }

.preis-card-featured h3,
.preis-card-featured p       { color: var(--blue); }
.preis-card-featured .preis-amount { color: var(--blue); }
.preis-card-featured .preis-sub    { color: var(--blue); }
.preise-hint { text-align: center; margin-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ===== GALERIE ===== */
.galerie-section { background: var(--gray-light); }
.galerie-section .container > h2 { text-align: center; }

.galerie-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 160px);
  gap: 14px;
  margin-top: 48px;
}
.galerie-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
}
.galerie-item-large { grid-row: 1 / 4; }
.galerie-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.galerie-item:hover img { transform: scale(1.04); }
.galerie-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,58,92,0.8));
  color: var(--white);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== STANDORT KARTE ===== */
#standort-karte {
  height: 380px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  border: 1.5px solid var(--border);
  z-index: 0;
}

/* ===== STANDORT ===== */
.standort-section { background: var(--white); }
.standort-section h2 { margin-bottom: 4px; }
.standort-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.standort-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
}
.standort-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.standort-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.standort-card-header strong { font-size: 1.1rem; color: var(--blue); }
.standort-nr {
  width: 28px; height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
}
.standort-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text); }
.standort-tel {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  min-height: 1.4em;
}
.standort-tel:hover { color: var(--blue-light); }
.standort-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.88rem;
}

/* ===== KONTAKT ===== */
.kontakt-section { background: var(--gray-light); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.kontakt-info h3 { margin-bottom: 8px; }
.kontakt-info > p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
.kontakt-detail {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.kontakt-detail a { color: var(--text); font-weight: 600; }
.kontakt-detail a:hover { color: var(--blue); }
.kontakt-icon { font-size: 1.2rem; }

.kontakt-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1.5px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
}
.form-group textarea { resize: vertical; }
.form-hinweis {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 10px; text-align: center;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--blue); color: rgba(255,255,255,0.75); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 60px 24px;
}
.footer-logo { margin-bottom: 10px; }
.footer-logo .logo-miet,
.footer-logo .logo-mop  { color: #fff; }
.footer-logo .logo-de   { color: var(--yellow); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-links a:hover { color: var(--yellow); }

.footer-contact p { font-size: 0.88rem; line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--yellow); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: 1fr; gap: 40px; }
  .usp-image { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px; }
}

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

  /* Mobile Nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Hero */
  .hero-content { padding: 56px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Galerie */
  .galerie-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .galerie-item-large { grid-row: auto; }
  .galerie-item img { min-height: 200px; }

  /* Standort */
  .standort-cards { grid-template-columns: 1fr; }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .kontakt-form { padding: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .cards-grid, .preise-grid { grid-template-columns: 1fr; }
  .standort-cards { grid-template-columns: 1fr; max-width: 100%; }
}

/* ===== SUBPAGES (Impressum, Datenschutz, Danke) ===== */
.impressum-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px 80px;
}
.impressum-content h1 { margin-bottom: 8px; }
.impressum-content h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 10px; }
.impressum-content h3 { font-size: 1.05rem; margin-top: 28px; margin-bottom: 6px; }
.impressum-content p  { color: #374151; margin-bottom: 12px; font-size: 0.95rem; }
.impressum-content a  { color: var(--blue); }
.impressum-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 32px;
}
.back-link:hover { color: var(--blue-light); }

.danke-page {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.danke-box { max-width: 520px; }
.danke-icon { font-size: 4rem; margin-bottom: 24px; }
.danke-box h1 { margin-bottom: 16px; }
.danke-box p { color: var(--gray); margin-bottom: 32px; font-size: 1.05rem; }
