/* Übersicht der Entwürfe und Logo-Ideen, nur während der Entwurfsphase. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f4f6f8;
  color: #16212e;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

main {
  max-width: 78rem;
  margin-inline: auto;
  padding: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.intro {
  margin: 0.8rem 0 2.5rem;
  max-width: 40rem;
  color: #536071;
}

ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border: 1px solid #d2d9e1;
}

h2 {
  margin: 1rem 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 600;
}

a:hover h2,
a:focus-visible h2 {
  color: #1d5b86;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid #1d5b86;
  outline-offset: 4px;
}

p {
  margin: 0;
  color: #536071;
}

.section-title {
  margin: 4.5rem 0 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-final {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2rem 3rem;
  margin-block: 1.25rem 0.5rem;
}

.logo-final img {
  display: block;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;  /* die Vorschau-Regel oben (8:5) würde die Logos verzerren */
  border: 0;
}

.logo-final img:first-child { width: min(100%, 22rem); }
.logo-final img:nth-child(2) { width: min(100%, 15rem); }
.logo-final img:nth-child(3) { width: 4rem; }

.logos {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
  gap: 2rem 1.5rem;
}

.logos img {
  aspect-ratio: 1 / 1;
}

h3 {
  margin: 0.8rem 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.logos p {
  font-size: 0.95rem;
}

.note {
  margin-top: 3rem;
  font-size: 0.92rem;
}

.note a {
  color: #1d5b86;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
