/* ami-europe.de – Übergangsseite „im Umbau“. Farben aus dem Logo (Blau #0082FF, Orange #FF4500),
   die betriebsseiten-Karte in deren Markenfarben (Anthrazit, Cyan). Schrift Inter, lokal. */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blau: #0082ff;
  --orange: #ff4500;
  --text: #16202c;
  --text-weich: #586272;
  --hinter: #f3f5f8;
  --karte: #ffffff;
  --linie: #e1e6ed;
  --anthrazit: #1b1e21;
  --cyan: #00ccd4;
  --rund: 20px;
  --schatten: 0 1px 2px rgba(16, 24, 40, 0.05), 0 18px 40px -18px rgba(16, 24, 40, 0.22);
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1100px 380px at 50% -140px, rgba(0, 130, 255, 0.09), transparent 70%),
    var(--hinter);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.rahmen { width: min(1080px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  z-index: 10;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Kopf */
.kopf { padding-block: 28px 4px; }
.kopf__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopf__logo { display: block; }
.kopf__logo img { width: clamp(132px, 20vw, 196px); }
.kopf__logo:focus-visible { outline: 2px solid var(--blau); outline-offset: 6px; border-radius: 6px; }
.umbau {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--karte);
  color: var(--text-weich);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.umbau__punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.14);
}

/* Inhalt */
.inhalt { flex: 1; padding-block: 28px 64px; }
.hinweis {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--text-weich);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.1875rem);
}

.karten {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.karte {
  position: relative;
  overflow: hidden;
  border-radius: var(--rund);
  box-shadow: var(--schatten);
}

/* Karte Messestand */
.karte--messe {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linie);
  background: var(--karte);
}
.karte__bild { aspect-ratio: 1020 / 604; background: #e8ecf1; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__text { padding: 22px 26px 26px; border-top: 3px solid var(--blau); }
.karte__marke {
  color: var(--blau);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.karte__text h2 {
  margin-top: 6px;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Karte betriebsseiten.de */
.karte--bs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 34px 30px;
  background: linear-gradient(160deg, #23292e, var(--anthrazit) 62%);
  color: #fff;
}
.karte--bs::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #474e55; /* dezentes Grau statt Cyan (Wunsch Bartosch) */
}
.karte__bs-logo { width: min(250px, 100%); }
.karte__bs-text { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); font-weight: 600; line-height: 1.35; }
.knopf {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--cyan);
  color: #08171a;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.knopf:hover { filter: brightness(1.08); }
.knopf:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  background: var(--karte);
  color: var(--text-weich);
  font-size: 0.9375rem;
  padding-block: 20px;
}
.fuss__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.fuss__nav { display: flex; gap: 20px; }
.fuss__nav a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.fuss__nav a[aria-current='page'] { color: var(--blau); }

/* Rechtsseiten */
.recht { max-width: 760px; }
.recht h1 {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  hyphens: auto;
  overflow-wrap: break-word;
}
.recht h1 + * { margin-top: 24px; }
.recht p { line-height: 1.65; overflow-wrap: anywhere; }
.recht p + p { margin-top: 14px; }
.recht h2 {
  margin-top: 40px;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.recht h3 { margin-top: 26px; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.recht h2 + p,
.recht h3 + p,
.recht h2 + h3 { margin-top: 10px; }
/* Links in Rechtstexten dauerhaft farbig und unterstrichen (Vorgabe Händlerbund) */
.recht a { color: var(--blau); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .karten { grid-template-columns: 1fr; }
  .karte--bs { padding: 28px 24px; }
}
@media (max-width: 400px) {
  .umbau { padding: 6px 11px; font-size: 0.8125rem; }
}
