/* EZplus Kundenformular – Seitenlayout (Spezifikation Abschnitte 4, 7) */

.ez-inhalt { max-width: var(--inhalt-breite); margin: 0 auto; padding: 0 var(--seitenrand); }

/* Header */
.ez-header { background: var(--weiss); border-bottom: 1px solid var(--rahmen); }
.ez-header .ez-inhalt {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 68px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.ez-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--blau); }
.ez-logo img { height: 36px; width: auto; }
.ez-logo__wortmarke { font: 700 26px/36px var(--font-display); letter-spacing: -.01em; }
.ez-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.ez-nav a { text-decoration: none; color: var(--blau); font: 600 14px/20px var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding: 12px 0; display: inline-block; }
.ez-nav a:hover { text-decoration: underline; }

/* Sprachauswahl oben rechts (wie www.ezplus.de) */
.ez-header__rechts { display: flex; align-items: center; gap: 6px; }
.ez-sprache { display: flex; align-items: center; gap: 8px; font: 500 15px/20px var(--font-display); color: var(--schwarz); }
.ez-sprache label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.ez-sprache svg { stroke: currentColor; fill: none; stroke-width: 1.8; }
.ez-sprache__auswahl {
  min-width: 190px; height: 36px; padding: 0 30px 0 10px; border: 1px solid var(--rahmen-input); border-radius: 2px;
  background: var(--weiss); font: 400 16px/20px var(--font-body); color: var(--schwarz);
}
.ez-sprache__auswahl:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
@media (max-width: 599px) {
  .ez-header__rechts { margin-left: auto; }
  .ez-sprache__auswahl { min-width: 0; flex: 0 1 200px; }
}
/* Google-Übersetzer: Leiste und Hervorhebungen ausblenden, Seite nicht verschieben */
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; }

/* Seitenkopf */
.ez-seitenkopf { background: var(--blau); color: var(--weiss); padding: 48px 0; }
.ez-seitenkopf .label-s { display: block; margin-bottom: 12px; color: var(--weiss); }
.ez-seitenkopf p { margin: 12px 0 0; max-width: 760px; font: 400 16px/26px var(--font-body); }

/* Hauptbereich */
.ez-haupt { padding: var(--space-5) 0 64px; }
.ez-haupt .ez-inhalt { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: flex-start; }
.ez-formular { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ez-seitenleiste { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: var(--space-3); }
@media (max-width: 899px) {
  .ez-seitenleiste { max-width: none; }
}

/* Aktionen */
.ez-aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) {
  .ez-aktionen .ez-button { width: 100%; }
}

/* Footer */
/* Footer – wie www.ezplus.de */
.ez-footer { position: relative; background: var(--blau); color: var(--weiss); font: 500 16px/26px var(--font-display); }
.ez-footer a { color: var(--weiss); text-decoration: none; }
.ez-footer a:hover { text-decoration: underline; }
.ez-footer a:focus-visible { outline: 2px solid var(--weiss); outline-offset: 2px; }
.ez-footer__inhalt {
  max-width: 1320px; margin: 0 auto; padding: 64px var(--seitenrand) 72px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px;
}
.ez-footer__spalte { display: flex; flex-direction: column; gap: 56px; }
.ez-footer h2 { margin: 0 0 24px; font: 600 18px/26px var(--font-display); letter-spacing: .05em; text-transform: uppercase; }
.ez-footer p { margin: 0; }
.ez-footer__logos { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; align-items: center; }
.ez-footer__logos img { display: block; max-width: 100%; max-height: 56px; width: auto; height: auto; }
.ez-footer__leiste { background: var(--blau-hover); }
.ez-footer__leiste-inhalt {
  max-width: 1320px; margin: 0 auto; padding: 16px var(--seitenrand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.ez-footer__social { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ez-footer__social img { display: block; width: 28px; height: 28px; }
.ez-nach-oben {
  position: absolute; top: -38px; right: max(var(--seitenrand), calc((100% - 1320px) / 2 + 24px));
  width: 52px; height: 38px; background: var(--blau-hover); display: flex; align-items: center; justify-content: center;
}
.ez-nach-oben svg { width: 26px; height: 26px; stroke: var(--weiss); stroke-width: 2.5; fill: none; }
@media (max-width: 1119px) { .ez-footer__inhalt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .ez-footer__inhalt { grid-template-columns: 1fr; padding: 48px var(--seitenrand) 56px; }
  .ez-footer__spalte { gap: 40px; }
}

/* Administration: volle Seitenbreite */
.ez-admin .ez-inhalt { max-width: none; padding-left: 40px; padding-right: 40px; }
@media (max-width: 599px) { .ez-admin .ez-inhalt { padding-left: var(--seitenrand); padding-right: var(--seitenrand); } }

/* Mobil */
@media (max-width: 599px) {
  :root { --seitenrand: 16px; }
  .ez-seitenkopf { padding: 32px 0; }
  .ez-kachel { padding: var(--space-2); }
}
