/* ZED-Elektrotechnik – gemeinsames Layout aller Seiten
   Anlehnung an das bisherige Xara-Design: weiß, Times New Roman,
   graue Menüleiste, graue Fußleiste, Logo links, Z-Symbol rechts. */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: #2B2B2B;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.45;
}

.seite {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 0 0;
}

/* Kopf: Logo links, Symbol rechts */
.kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 45px 30px 4px 0;
}
.kopf .logo { display: block; width: 497px; max-width: 70%; height: auto; margin-bottom: 7px; }
.kopf .symbol { display: block; width: 72px; height: 72px; flex: none; }

/* Menüleiste */
.menue {
  background: #CCCCCC;
  margin-right: 30px;
}
.menue ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: flex;
  flex-wrap: wrap;
}
.menue li { margin: 0 70px 0 0; }
.menue a, .menue span {
  display: block;
  padding: 16px 6px 14px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #000000;
  text-decoration: none;
}
.menue a:hover, .menue a:focus-visible { text-decoration: underline; }
.menue [aria-current="page"] { font-weight: bold; }

/* Inhalt */
main {
  padding: 30px 30px 60px 10px;
  min-height: 560px;
}
h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 22px;
}
h2 {
  font-size: 17px;
  font-weight: bold;
  margin: 30px 0 8px;
}
p { margin: 0 0 18px; }

/* Leistungs- und Kundenlisten mit großzügigem Zeilenabstand wie bisher */
.liste {
  list-style: none;
  margin: 0;
  padding: 0;
}
.liste li { margin: 0 0 22px; }
.liste.eng li { margin: 0 0 6px; }

.block { margin: 0 0 30px; }
.block p { margin: 0; }

a { color: #2B2B2B; }
.pdf { font-style: italic; }

.hinweis { font-size: 13px; margin-top: 40px; }

/* Überschrift nur für Vorleseprogramme und Suchmaschinen */
.visuell-weg {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* AGB / Datenschutz: kleinere Schrift, lange Texte */
.recht { font-size: 15px; line-height: 1.5; max-width: 860px; }
.recht h2 { font-size: 18px; margin: 40px 0 14px; }
.recht h2:first-child, .recht .visuell-weg + h2 { margin-top: 0; }
.recht h3 { font-size: 15px; margin: 22px 0 6px; }
.recht ul { padding-left: 22px; margin: 0 0 18px; }
.recht li { margin: 0 0 6px; }

/* Fußleiste */
.fuss {
  background: #CCCCCC;
  color: #4C4C4C;
  font-size: 12px;
  line-height: 1.35;
  padding: 10px 10px 14px;
  margin-right: 30px;
}
.fuss p { margin: 0; }
.fuss .frei { margin-top: 14px; }

/* Tablet und Handy */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .kopf { padding: 24px 16px 6px; }
  .kopf .symbol { width: 56px; height: 56px; }
  .menue, .fuss { margin-right: 0; }
  .menue ul { padding: 0 10px; justify-content: space-between; }
  .menue li { margin: 0; }
  .menue a, .menue span { padding: 12px 6px; font-size: 12.5px; }
  main { padding: 26px 16px 40px; min-height: 0; }
  .liste li { margin-bottom: 16px; }
  .recht { font-size: 15px; }
  .fuss { padding: 12px 16px 16px; }
}

@media (max-width: 359px) {
  .menue ul { padding: 0 4px; }
  .menue a, .menue span { padding: 12px 3px; font-size: 11px; letter-spacing: .02em; }
}

@media print {
  .menue { display: none; }
  main { min-height: 0; }
}
