/* FARBPALETTE AUS LOGO_FF_NEW + TWITCH LILA */
:root {
  --bg-base: #2B2E36;
  --bg-darker: #22252C;
  --bg-card: #333741;
  --border-subtle: #424754;
  
  --teal: #00A896;
  --teal-glow: rgba(0, 168, 150, 0.25);
  
  --coral: #FF4F5E;
  --coral-glow: rgba(255, 79, 94, 0.25);

  --twitch: #9146FF;         /* Originales Twitch-Lila */
  --twitch-glow: rgba(145, 70, 255, 0.35);
  
  --text-main: #F3F4F6;
  --text-muted: #A1A7B5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* FARB-HILFSKLASSEN */
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.text-twitch { color: var(--twitch); }
.dot-coral { color: var(--coral); }

.text-gradient {
  background: linear-gradient(90deg, var(--teal), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVIGATION */
.navbar {
  background-color: rgba(34, 37, 44, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
}

.nav-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--teal);
}

.nav-cta {
  color: var(--text-main) !important;
  border: 1px solid var(--coral);
  padding: 8px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background-color: rgba(255, 79, 94, 0.1);
}

.nav-cta:hover {
  background-color: var(--coral);
  color: #fff !important;
}

/* HERO SECTION */
.hero {
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--border-subtle);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 168, 150, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 79, 94, 0.09) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Kein Kasten mehr ums Banner, damit es transparent frei schwebt */
.hero-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.tech-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 14px;
}

.line-teal {
  width: 28px;
  height: 3px;
  background-color: var(--teal);
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* KANTIGE TECH-BUTTONS */
.btn-teal, .btn-coral {
  display: inline-block;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-teal {
  background-color: var(--teal);
  color: #15181E;
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--teal-glow);
}

.btn-coral {
  background-color: var(--coral);
  color: #FFFFFF;
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--coral-glow);
}

/* SEKTIONEN */
.section {
  padding: 80px 0;
}

.section-darker {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.section-num {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* GRID & TECH-KARTEN */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Einzelne Karte (für Twitch) über volle Breite oder sauber skaliert */
.grid-single {
  display: grid;
  grid-template-columns: 1fr;
}

.tech-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-left: 4px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, background-color 0.2s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.tech-card:hover {
  transform: translateY(-3px);
  background-color: #393E4A;
}

.border-teal { border-left-color: var(--teal); }
.border-coral { border-left-color: var(--coral); }
.border-twitch { border-left-color: var(--twitch); }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  background-color: rgba(0, 0, 0, 0.25);
}

.pill-teal { color: var(--teal); }
.pill-coral { color: var(--coral); }
.pill-twitch { color: #B98EFF; } /* Helles Twitch-Lila für optimale Lesbarkeit auf Dunkelgrau */

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.teal {
  background-color: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.status-dot.twitch {
  background-color: var(--twitch);
  box-shadow: 0 0 8px var(--twitch);
}

.tech-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.action-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-teal { color: var(--teal); }
.link-coral { color: var(--coral); }
.link-twitch { color: #B98EFF; }

/* KONTAKT PANEL */
.contact-panel {
  background-color: var(--bg-card);
  border-left: 4px solid var(--coral);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.contact-info h2 {
  font-size: 1.6rem;
  margin: 6px 0 10px;
}

.contact-info p {
  color: var(--text-muted);
  max-width: 540px;
}

/* FOOTER */
footer {
  padding: 32px 0;
  background-color: #1D1F25;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  nav ul {
    gap: 14px;
  }
}

/* ANKLICKBARE TECH-CARDS (KOMPLETT OHNE UNTERSTREICHUNG) */
a.tech-card,
a.tech-card:hover,
a.tech-card:focus,
a.tech-card h3,
a.tech-card p,
a.tech-card span {
  text-decoration: none !important;
  color: inherit;
}

a.tech-card {
  cursor: pointer;
}

.action-link {
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Farbgebung der Action-Links explizit erhalten */
.link-teal { color: var(--teal) !important; }
.link-coral { color: var(--coral) !important; }
.link-twitch { color: #B98EFF !important; }

/* Statt Unterstreichung: Pfeil bewegt sich beim Hover leicht nach rechts oben */
.action-link span {
  transition: transform 0.2s ease;
}

a.tech-card:hover .action-link span {
  transform: translate(3px, -3px);
}

a,
a:link,
a:visited,
a:hover,
a:active,
a * {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* PROGRESS-BAR / COUNTDOWN-SLIDER (PURE CSS) */
.progress-wrapper {
  max-width: 480px;
  margin: 0 auto 32px;
  text-align: left;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.progress-track {
  width: 100%;
  height: 14px;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  padding: 2px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.progress-fill {
  height: 100%;
  width: 15%; 
  background: linear-gradient(90deg, var(--teal), var(--coral));
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  position: relative;
  overflow: hidden;
  transition: width 0.6s ease;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 2.5s infinite;
}

.progress-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

.page-intro {
  padding: 48px 0 16px;
}

.page-intro h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.showcase-tile {
  background-color: var(--bg-card);
  border-left: 4px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, background-color 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.showcase-tile:hover {
  transform: translateY(-4px);
  background-color: #393E4A;
}

.showcase-tile.border-teal { border-left-color: var(--teal); }
.showcase-tile.border-coral { border-left-color: var(--coral); }
.showcase-tile.border-twitch { border-left-color: var(--twitch); }

.tile-main-link,
.tile-main-link:link,
.tile-main-link:visited,
.tile-main-link:hover,
.tile-main-link:active {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--text-main) !important;
  text-decoration: none !important;
}

.tile-main-link h3 {
  color: var(--text-main) !important;
}

.tile-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
}

.tile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.showcase-tile:hover .tile-image-wrap img {
  transform: scale(1.05);
}

.tile-content {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tile-content .pill {
  align-self: flex-start;
  margin-bottom: 12px;
}

.tile-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tile-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.tile-footer {
  padding: 12px 24px;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 700;
}