/*
Theme Name: DMH Globus E-Voucher
Theme URI: https://www.dmh.ch/
Author: DIRECT MAIL HOUSE AG
Author URI: https://www.dmh.ch/
Description: Reduziertes, responsives Projekt-Theme für das Globus E-Voucher-Portal von DIRECT MAIL HOUSE AG. Native WordPress-Anmeldung und visuelle Integration des E-Voucher-Plugins.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.3
Text Domain: dmh-globus-voucher
Tags: one-column
*/

/* Gemeinsame Gestaltung. Keine externen Schriftarten oder Ressourcen. */
:root {
  --dmh-ink: #191918;
  --dmh-paper: #f6f4f0;
  --dmh-white: #fff;
  --dmh-muted: #625e57;
  --dmh-line: #d8d4cc;
  --dmh-gold: #776141;
  --dmh-gold-light: #bca681;
  --dmh-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dmh-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body.dmh-site {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--dmh-paper);
  color: var(--dmh-ink);
  font: 16px/1.65 var(--dmh-sans);
  -webkit-font-smoothing: antialiased;
}
.dmh-site a { color: var(--dmh-ink); text-underline-offset: .2em; }
.dmh-site a:focus-visible, .dmh-site button:focus-visible {
  outline: 2px solid var(--dmh-gold);
  outline-offset: 4px;
}
.dmh-site img { max-width: 100%; height: auto; }
.dmh-site .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.dmh-site .screen-reader-text:focus {
  clip: auto; clip-path: none; width: auto; height: auto;
  position: fixed; left: 12px; top: 12px; z-index: 100000;
  background: #fff; padding: 12px 20px;
}
.dmh-site-header {
  background: var(--dmh-white);
  border-bottom: 1px solid var(--dmh-line);
  padding: 24px clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dmh-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  text-decoration: none;
}
.dmh-brand-name { font-size: 23px; line-height: 1; letter-spacing: .16em; font-weight: 600; }
.dmh-brand-divider { height: 24px; width: 1px; background: var(--dmh-line); }
.dmh-brand-product { font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.dmh-site-meta { color: var(--dmh-muted); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.dmh-site-main { flex: 1; }
.dmh-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: max(570px, calc(100svh - 154px));
}
.dmh-entry-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(44px, 8vw, 124px);
}
.dmh-kicker {
  color: var(--dmh-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.dmh-entry h1, .dmh-prose h1 {
  font: 400 clamp(38px, 5vw, 67px)/1.08 var(--dmh-serif);
  letter-spacing: -.038em;
  margin: 0 0 24px;
}
.dmh-entry-copy > p:not(.dmh-kicker) {
  max-width: 440px;
  color: var(--dmh-muted);
  margin: 0 0 32px;
}
.dmh-site .dmh-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 54px; min-width: 220px; padding: 13px 22px;
  background: var(--dmh-ink); color: #fff;
  border: 1px solid var(--dmh-ink); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .045em;
  transition: background-color .16s, color .16s;
}
.dmh-site .dmh-cta:hover { background: #3a3834; }
.dmh-entry .dmh-entry-note { margin-top: 24px; color: var(--dmh-muted); font-size: 12px; }
.dmh-art {
  overflow: hidden; position: relative; isolation: isolate;
  display: grid; place-items: center;
  background: #242321;
  color: #fff; padding: 56px 26px;
  min-height: 360px;
}
.dmh-art::before {
  content: ""; position: absolute; inset: 18px; border: 1px solid #6c6252;
  pointer-events: none; z-index: -1;
}
.dmh-art-content { text-align: center; width: min(100%, 540px); }
.dmh-art-caption {
  margin-top: 38px; color: #d1c4af;
  letter-spacing: .20em; font-size: 10px; font-weight: 500; text-transform: uppercase;
}
.dmh-art-image {
  display: block; width: 100%; height: auto;
  border: 1px solid #827665;
}
.dmh-site-footer {
  background: #fff; padding: 21px clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--dmh-line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
  color: var(--dmh-muted); font-size: 12px; line-height: 1.5;
}
.dmh-site-footer a { color: var(--dmh-muted); }
.dmh-prose { max-width: 880px; padding: 55px 24px 72px; margin: auto; overflow-wrap: anywhere; }
.dmh-prose h1 { font-size: clamp(32px, 4vw, 48px); }
.dmh-prose h2, .dmh-prose h3 { line-height: 1.3; }
.dmh-prose table { border-collapse: collapse; width: 100%; }
.dmh-prose th, .dmh-prose td { padding: 10px; border: 1px solid var(--dmh-line); text-align: left; }
.dmh-prose input:not([type=checkbox]):not([type=radio]), .dmh-prose textarea, .dmh-prose select { max-width: 100%; font: inherit; }
@media (max-width: 760px) {
  .dmh-site-header { padding: 20px 22px; }
  .dmh-site-meta { display: none; }
  .dmh-brand-name { font-size: 20px; }
  .dmh-entry { grid-template-columns: 1fr; min-height: 0; }
  .dmh-entry-copy { padding: 60px 26px; }
  .dmh-art { min-height: 300px; }
  .dmh-art-content { width: min(100%, 540px); }
}
@media (prefers-reduced-motion: reduce) {
  .dmh-site .dmh-cta { transition: none; }
}

/* Optionales Mediathek-Logo, ohne die übrige Masthead-Struktur zu verändern. */
.dmh-site .dmh-portal-logo {
  display: block; width: auto; height: auto;
  max-width: min(180px, 40vw); max-height: 42px; object-fit: contain;
}
.dmh-entry h1, .dmh-entry-copy > p, .dmh-entry-note { overflow-wrap: anywhere; }
