/* ==========================================================================
   EMC Home of Data – Landingpage "Ticketsystem nicht mehr verfügbar"
   Farben und Schrift entsprechen dem CI von www.emc-homeofdata.de
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Light.woff2") format("woff2");    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.woff2")  format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2");   font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2");     font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --emc-blue:        #1c3465;
  --emc-blue-dark:   #142748;
  --emc-navy:        #0a1326;   /* MuCon-X Dunkelblau */
  --emc-magenta:     #d20c4c;
  --emc-magenta-dark:#6d0d2c;
  --emc-pink:        #ff1f9e;
  --emc-text:        #4b4b50;
  --emc-text-light:  #717171;
  --emc-bg:          #f0f0f0;   /* EMC-Hellgrau */
  --emc-surface:     #ffffff;
  --emc-line:        #e9e9e9;
  /* EMC-Farbverlauf: 45°, Rotanteil max. 30 % */
  --emc-gradient:    linear-gradient(135deg, #d20c4c 0%, #1c3465 30%);
  --emc-gradient-light: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
  --radius:          6px;
  --shadow:          0 10px 30px rgba(28, 52, 101, 0.10);
  --container:       1100px;
  --gutter:          16px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--emc-text);
  background: var(--emc-bg);
}

main { flex: 1 0 auto; }

a { color: var(--emc-magenta); text-decoration: none; }
a:hover { color: var(--emc-blue); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header ----------------------------------------------------------------- */
.site-header {
  background: var(--emc-surface);
  border-bottom: 1px solid var(--emc-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header__logo img { display: block; width: 190px; height: auto; }
.site-header__link { font-size: 0.875rem; color: var(--emc-text-light); display: none; }
@media (min-width: 600px) { .site-header__link { display: inline; } }
.site-header__link:hover { color: var(--emc-magenta); }

/* Hero ------------------------------------------------------------------- */
.hero {
  background: var(--emc-gradient);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
/* Logomodul "Trapez" als Hintergrundelement (#000 / 40 %) */
.hero__trapez {
  position: absolute;
  right: -8%;
  height: 120px;
  width: 52%;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 24px 0 0 24px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  pointer-events: none;
}
.hero__trapez--1 { top: 10%; width: 48%; opacity: .9; }
.hero__trapez--2 { top: 48%; width: 58%; background: rgba(0, 0, 0, 0.18); }
.hero__trapez--3 { top: 86%; width: 40%; background: rgba(0, 0, 0, 0.12); }
@media (max-width: 819px) {
  .hero__trapez { width: 70%; height: 90px; }
  .hero__trapez--1 { top: -10px; }
  .hero__trapez--3 { display: none; }
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__title {
  margin: 20px 0 16px;
  max-width: 760px;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}
.hero__text {
  margin: 0;
  max-width: 720px;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

/* Karten ----------------------------------------------------------------- */
.options { margin-top: -32px; padding-bottom: 24px; }
.options__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 820px) {
  .options__grid { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--emc-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  border-top: 4px solid var(--emc-blue);
  display: flex;
  flex-direction: column;
}
.card--primary { border-top-color: var(--emc-magenta); }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(28, 52, 101, 0.08);
  color: var(--emc-blue);
  margin-bottom: 18px;
}
.card--primary .card__icon {
  background: rgba(210, 12, 76, 0.08);
  color: var(--emc-magenta);
}
.card__icon svg { width: 26px; height: 26px; }

.card__title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emc-blue);
}
.card__text { margin: 0 0 12px; }
.card__text--note a { font-weight: 700; color: var(--emc-blue); word-break: break-all; }
.card__text--note {
  padding: 12px 14px;
  border-left: 3px solid var(--emc-magenta);
  background: rgba(210, 12, 76, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
}

.card__contact,
.card__actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.card__mail {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--emc-blue);
  word-break: break-all;
}
.card__mail:hover { color: var(--emc-magenta); }

/* "@" der E-Mail-Adresse kommt aus dem Stylesheet (Spam-Schutz) ---------- */
.mail-at::before { content: "\0040"; }

/* Buttons (angelehnt an .btn der EMC-Website) --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--emc-magenta);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat;
}
.btn:hover { background: var(--emc-blue); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--emc-pink); outline-offset: 2px; }

.btn--ghost {
  background: transparent;
  color: var(--emc-blue);
  border-color: var(--emc-blue);
}
.btn--ghost:hover { background: var(--emc-blue); color: #fff; }
.btn--small { padding: 9px 14px; font-size: 0.8rem; }
.btn--small::after { display: none; }

/* Schritte --------------------------------------------------------------- */
.steps { padding: 40px 0 64px; }
.steps__title {
  margin: 0 0 24px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--emc-blue);
}
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 820px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); }
}
.steps__item {
  display: flex;
  gap: 14px;
  background: var(--emc-surface);
  border: 1px solid var(--emc-line);
  border-radius: var(--radius);
  padding: 20px;
}
.steps__item strong { color: var(--emc-blue); font-weight: 700; }
.steps__item p { margin: 4px 0 0; font-size: 0.95rem; }
.steps__num {
  flex: 0 0 44px;
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--emc-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px 0 0 6px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  padding-right: 6px;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--emc-blue);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.site-footer__brand { display: flex; align-items: center; gap: 18px; }
.site-footer__brand img { width: 120px; height: auto; display: block; opacity: .95; }
.site-footer__copy { margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__nav a { color: #fff; font-weight: 600; }
.site-footer__nav a:hover { color: var(--emc-pink); text-decoration: none; }

/* Barrierefreiheit ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
