/* Farver og mål samlet ét sted, så de kan afstemmes med Hexihost. */
:root {
  --bg: #23272e;
  --surface: #2b3038;
  --border: #3a404a;
  --text: #f5efe9;
  --text-muted: #a3a9b2;
  --accent: #ea6a5a;
  --accent-hover: #f4a97c;
  --accent-text: #23272e;
  --radius: 14px;
  --max-width: 1040px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section-title {
  margin: 0 0 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
}

/* Hero */
.hero {
  padding: 120px 0 88px;
  text-align: center;
}

.hero__logo {
  width: auto;
  height: 72px;
  margin-bottom: 28px;
}

.hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__tagline {
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
}

/* Brands */
.brands {
  padding: 0 0 104px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.brand-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg);
  border-radius: calc(var(--radius) - 4px);
}

.brand-card__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.brand-card__name {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 650;
}

.brand-card__text {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
  text-decoration: none;
}

/* Galleri – bruges først når sektionen aktiveres i index.html */
.gallery {
  padding: 0 0 104px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery__grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  font-style: normal;
}

.footer__info strong {
  color: var(--text);
}

.footer__copyright {
  margin: 20px 0 0;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 64px;
  }

  .footer__info {
    flex-direction: column;
  }
}

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