:root {
  --bg: #050816;
  --bg-light: #0b1020;
  --accent: #ffcc00;
  --accent-soft: rgba(255, 204, 0, 0.15);
  --text: #f5f5f5;
  --muted: #a0a6b8;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --transition-fast: 0.2s ease-out;
  --spacing: 1.5rem;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141b3a 0, #050816 60%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
}

.main {
  flex: 1;
}

.content {
  min-height: 100vh;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
}

/* -------------------------------------------------- */
/* HERO / HEADER                                      */
/* -------------------------------------------------- */

.hero {
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-inner {
  width: 100%;
  display: flex;
  align-items: start;
  flex-direction: column-reverse;
  gap: 2rem;
  justify-content: space-between;
}

.hero-brand {
  flex-shrink: 0;
}

.hero-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 35rem;
  color: var(--muted);
}

/* Button im Header */
.hero-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
  background var(--transition-fast);
}

.hero-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  background: #ffd633;
}

.main {
  flex: 1;
}

/* -------------------------------------------------- */
/* SECTION STYLES                                     */
/* -------------------------------------------------- */

.section {
  padding: 1rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section > * {
  width: 100%;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

/* -------------------------------------------------- */
/* CARDS / GRID                                       */
/* -------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing);
}

.card {
  position: relative;
  background: linear-gradient(145deg, var(--bg-light), #06091a);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
  border-color var(--transition-fast), background 0.25s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
}

.card:hover::before {
  opacity: 1;
}

/* Tag oben (z. B. "Eventtechnik") */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

/* LOGO in den Kacheln */
.card-logo-wrapper {
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: flex-start;
}

.card-logo {
  max-height: 60px;
  width: auto;
  display: block;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Link unten in der Karte */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.4);
  transition: gap var(--transition-fast), color var(--transition-fast),
  border-color var(--transition-fast);
}

.card-link::after {
  content: "↗";
  font-size: 0.85rem;
}

.card-link:hover {
  gap: 0.5rem;
  color: #ffd633;
  border-color: rgba(255, 214, 51, 0.7);
}

/* -------------------------------------------------- */
/* FOOTER                                             */
/* -------------------------------------------------- */

.footer {
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  flex: 1;
  max-height: 65px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -2px;
  height: 1px;
  background: #bcbaba;
  width: 96vw;
  max-width: 1400px;
}

.footer > div,
.footer > p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
  }

  .footer {

  }
}
