/*
Theme Name: Kompass Fussballtor Net
Theme URI: https://fussballtor.net
Author: KOMPASS
Description: Schlankes Themen-Theme fuer fussballtor.net mit aktuellen Shopware-6-Verlinkungen.
Version: 2026.07.17
Text Domain: kompass-fussballtor-net
*/

:root {
  --ftn-red: #b51f3e;
  --ftn-red-dark: #8f1730;
  --ftn-ink: #152231;
  --ftn-muted: #5e6c7c;
  --ftn-line: #d9e0e8;
  --ftn-bg: #f4f6f8;
  --ftn-panel: #ffffff;
  --ftn-green: #16735f;
  --ftn-shadow: 0 12px 32px rgba(21, 34, 49, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ftn-ink);
  background: var(--ftn-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--ftn-red-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  background: var(--ftn-panel);
  border-bottom: 1px solid var(--ftn-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner,
.site-main,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ftn-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 96px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ftn-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus {
  color: #fff;
  background: var(--ftn-red);
}

.hero {
  background: linear-gradient(90deg, rgba(21, 34, 49, 0.94), rgba(21, 34, 49, 0.58)), url("/wp-content/uploads/torvorlage.jpg") center/cover;
  color: #fff;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d9f2ea;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
}

.hero p {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 19px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--ftn-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--ftn-red);
}

.button.secondary {
  background: #fff;
  color: var(--ftn-ink);
  border-color: #fff;
}

.site-main {
  padding: 46px 0 64px;
}

.section {
  margin: 0 0 42px;
}

.section > h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.lead {
  max-width: 860px;
  font-size: 18px;
  color: var(--ftn-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--ftn-panel);
  border: 1px solid var(--ftn-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ftn-shadow);
}

.card-body {
  padding: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p {
  margin: 0 0 16px;
  color: var(--ftn-muted);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.panel {
  background: var(--ftn-panel);
  border: 1px solid var(--ftn-line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--ftn-shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ftn-green);
  position: absolute;
  left: 4px;
  top: 9px;
}

.topic-header {
  background: var(--ftn-panel);
  border-bottom: 1px solid var(--ftn-line);
}

.topic-header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.topic-header h1 {
  color: var(--ftn-ink);
  font-size: clamp(32px, 4vw, 48px);
}

.article {
  background: var(--ftn-panel);
  border: 1px solid var(--ftn-line);
  border-radius: 8px;
  padding: 30px;
}

.article h2 {
  margin-top: 30px;
  font-size: 28px;
}

.article h2:first-child {
  margin-top: 0;
}

.shop-box {
  background: #f9edf1;
  border: 1px solid #efc9d2;
  border-radius: 8px;
  padding: 22px;
}

.site-footer {
  background: #111a24;
  color: #d9e0e8;
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding: 52px 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .nav a {
    padding: 8px 9px;
  }

  .article,
  .panel,
  .shop-box {
    padding: 18px;
  }
}
