/* F-4594 Musterseite Malermeister – schlicht, handyfest, Schrift ab 18 px. Willi, 24.10.2026 */
:root {
  --grund: #fbfaf7;
  --text: #22252a;
  --leise: #5b6068;
  --akzent: #f2b705;
  --dunkel: #1f3a5f;
  --linie: #e3e0d8;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; } /* 18 px Grundschrift */
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; border-radius: 6px; }
a { color: var(--dunkel); }

.muster {
  background: #c62828;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 10px 16px;
}

.kopf {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.marke {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dunkel);
  text-decoration: none;
  line-height: 1.2;
}
.marke small { font-size: 1rem; font-weight: 400; color: var(--leise); }
.pinsel { display: inline-block; width: 40px; height: 6px; background: var(--akzent); border-radius: 3px; margin-bottom: 6px; }
.anruf {
  background: var(--akzent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

.menue {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 10px 16px;
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.menue a { text-decoration: none; padding: 8px 0; font-weight: 600; color: var(--text); }
.menue a[aria-current="page"] { color: var(--dunkel); border-bottom: 3px solid var(--akzent); }

main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 40px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 16px; color: var(--dunkel); }
h2 { font-size: 1.3rem; margin: 28px 0 8px; color: var(--dunkel); }

.held { display: grid; gap: 20px; align-items: center; }
.held h1 { font-size: 2.2rem; }
.knopf {
  display: inline-block;
  background: var(--dunkel);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 8px;
  margin-top: 8px;
}
.knopf.hell { background: #fff; color: var(--dunkel); border: 2px solid var(--dunkel); }
.knopf.gross { display: block; text-align: center; font-size: 1.15rem; padding: 18px; margin: 12px 0; }

.drei { display: grid; gap: 16px; margin-top: 32px; }
.drei div { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: 4px 18px 12px; }
.band { margin-top: 32px; background: var(--dunkel); color: #fff; border-radius: 8px; padding: 20px; font-size: 1.15rem; }
.band span { display: block; font-size: 1rem; opacity: .85; margin-top: 6px; }

.karten { display: grid; gap: 20px; }
.karten article { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: 12px 12px 4px; }
.karten h2 { margin-top: 14px; }
.liste { padding-left: 1.2em; }
.liste li { margin: 6px 0; }

.galerie { display: grid; gap: 20px; margin: 20px 0; }
.galerie figure { margin: 0; }
.galerie figcaption { color: var(--leise); margin-top: 6px; }
.breit { margin-bottom: 16px; }
.hinweis { background: #fff4d6; border-left: 5px solid var(--akzent); padding: 12px 16px; border-radius: 4px; }
.kontakt { max-width: 480px; }

.fuss { background: #ece9e1; padding: 24px 16px; color: var(--leise); }
.fuss > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.fuss p { margin: 6px auto; }
.fuss details { margin: 12px auto; }
.fuss summary { cursor: pointer; font-weight: 600; }
.fuss .klein { font-size: 1rem; }

@media (min-width: 720px) {
  .held { grid-template-columns: 1.1fr 1fr; }
  .drei { grid-template-columns: repeat(3, 1fr); }
  .karten { grid-template-columns: repeat(3, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .kontakt { display: flex; gap: 16px; max-width: none; }
  .knopf.gross { flex: 1; }
}


/* Meister-Cockpit Bar */
.cockpit-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  border-top: 3px solid #d97706;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.cockpit-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cockpit-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cockpit-icon { font-size: 24px; }
.cockpit-badge {
  background: #15803d;
  color: #dcfce7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}
.cockpit-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cockpit-btn {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.cockpit-btn:hover { background: #334155; }
.cockpit-btn-highlight {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #d97706;
  color: #ffffff;
}
.cockpit-btn-highlight:hover { filter: brightness(1.1); }
.cockpit-btn-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}
.cockpit-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cockpit-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.cockpit-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}
