:root {
  --bg: #ffffff;
  --text: #333333;
  --subtext: #555555;
  --muted: rgba(0, 0, 0, 0.7);
  --brand: #c20000;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-up: 0 -10px 14px -14px rgba(0, 0, 0, 0.35);
  --shadow-down: 0 10px 14px -14px rgba(0, 0, 0, 0.35);
  --header-side: 245px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-down);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  min-height: 72px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-search {
  display: flex;
  justify-content: flex-end;
}

.header-info {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.header-search-input {
  width: var(--header-side);
  max-width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 1rem;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.burger {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  cursor: pointer;
}

.burger-lines {
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  background:
    linear-gradient(var(--subtext), var(--subtext)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--subtext), var(--subtext)) 0 50%/100% 2px no-repeat,
    linear-gradient(var(--subtext), var(--subtext)) 0 100%/100% 2px no-repeat;
}

.burger:hover {
  background: #f2f2f2;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-link {
  display: block;
  width: 100%;
  padding: 14px 18px;
  color: #aaa;
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  background: transparent;
  text-align: left;
}

.mobile-link:hover {
  color: var(--brand);
  text-decoration: none;
}

.mobile-search {
  padding: 0 18px 14px;
}

.mobile-search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(2px);
  display: none;
  z-index: 80;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 95%);
  margin: 0 auto;
  background: #fff;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 90;
  max-height: 78vh;
  overflow: auto;
  padding: 8px 10px 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.sheet.open {
  transform: translateY(0);
}

.sheet-backdrop.open {
  display: block;
}

.sheet::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  margin: 8px auto 10px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 2px 6px;
  position: relative;
  margin-bottom: 6px;
}

.sheet-header b {
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  color: var(--brand);
  text-align: center;
}

.sheet-close {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 2px;
  top: calc(50% - 10px);
  transform: translateY(-50%);
}

.sheet-close:hover {
  background: #f6f6f6;
}

 .sq-soft-panel {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 16px;
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
 }

 #duelPickerList .kiqc-extender-item.sq-status-privat {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.08);
 }

 #duelPickerList .kiqc-extender-item.sq-status-privat:hover {
  border-color: rgba(37, 99, 235, 0.38);
  background: rgba(37, 99, 235, 0.12);
 }

 #duelPickerList .kiqc-extender-item.sq-status-live {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
 }

 #duelPickerList .kiqc-extender-item.sq-status-live:hover {
  border-color: rgba(22, 163, 74, 0.38);
  background: rgba(22, 163, 74, 0.12);
 }

 .sq-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
 }

 .sq-sidepanel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  box-shadow: var(--shadow-down);
 }

 @media (max-width: 980px) {
  .sq-two-col {
    grid-template-columns: 1fr;
  }
  .sq-sidepanel {
    position: static;
    max-height: none;
  }
 }

.sheet-group {
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.sheet-group-title {
  padding: 7px 10px;
  background: #fff;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.1px;
  font-size: 0.92rem;
}

.sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-weight: 600;
  color: #aaa;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.sheet-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-weight: 600;
  color: #aaa;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sheet-item:hover {
  background: #fff;
  color: var(--brand);
  text-decoration: none;
}

.sheet-subitem:hover {
  background: #fff;
  color: var(--brand);
  text-decoration: none;
}

.sheet-item:last-child {
  border-bottom: none;
}

.sheet-subitem:last-child {
  border-bottom: none;
}

.chev {
  color: #999;
  font-weight: 900;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.header-info-icon {
  height: 46px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  color: #aaa;
  font-weight: 600;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a,
.nav .nav-link {
  font-weight: 600;
  color: #aaa;
  font-size: 1rem;
}

.nav a {
  padding: 4px 6px;
  border-radius: 10px;
  white-space: nowrap;
  line-height: 1.0;
}

.nav a:hover,
.nav .nav-link:hover {
  color: var(--brand);
  text-decoration: none;
}

.nav a.active {
  color: var(--text);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  padding: 4px 6px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #aaa;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.0;
}

.nav-link[aria-expanded="true"] {
  color: var(--text);
}

.nav-item.has-dropdown .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item.has-dropdown .nav-toggle::after {
  content: none;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-down);
  padding: 8px;
  display: none;
  z-index: 40;
}

.nav-item.open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 0.95rem;
  color: #aaa;
  font-weight: 600;
}

.nav-dropdown a:hover {
  background: transparent;
}

.header-spacer {
  height: 1px;
}

.main {
  flex: 1;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.section-divider-wide {
  width: min(1100px, calc(100% - 36px));
  margin: 22px auto;
  border-top: 1px solid #e5e7eb;
}

.hero {
  padding-top: 8px;
  text-align: center;
}

.kicker {
  font-size: 1rem;
  color: var(--subtext);
  margin: 0 0 10px 0;
}

h1 {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--brand);
  letter-spacing: -0.3px;
}

.subheadline {
  margin: 7px 0 9px;
  font-size: 1rem;
  color: var(--subtext);
  font-weight: 500;
}

.hero-logo {
  display: block;
  max-width: min(600px, 100%);
  height: auto;
  margin: 14px auto 18px;
}

.copy {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--subtext);
}

.copy strong {
  font-weight: 800;
}

 .HEADLINE_1_ROT {
  margin: 0;
  text-align: center;
 }

 .SUBLINE_1_GRAU {
  margin: 7px 0 9px;
  font-size: 1rem;
  color: var(--subtext);
  font-weight: 500;
  text-align: center;
 }

 .FLIESS_1_FETT {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--subtext);
  font-weight: 800;
  text-align: center;
 }

 .FLIESS_2_FETT {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--subtext);
  font-weight: 800;
  text-align: center;
 }

.actions {
  margin-top: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-up);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  column-gap: 14px;
  row-gap: 6px;
  flex-wrap: wrap;
  color: #aaa;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a {
  text-transform: none;
}

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

@media (max-width: 480px) {
  .footer-links a {
    font-size: 0.7rem;
  }

  .footer-right {
    font-size: 0.7rem;
  }
}

.footer-right {
  color: var(--subtext);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-up);
    margin-top: 14px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-links {
    justify-content: center;
    font-size: 0.82rem;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-right {
    font-size: 0.82rem;
  }

}

@media (max-width: 700px) {
  .footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-up);
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-links {
    justify-content: center;
    font-size: 0.82rem;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav {
    column-gap: 14px;
    row-gap: 2px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    justify-content: center;
    gap: 36px;
  }

  .nav {
    display: none;
  }
}

/* Large screen mode (e.g. large desktop / 4K): allow wider layout + slightly larger typography */
@media (min-width: 1800px) {
  .header-inner {
    max-width: 1400px;
  }

  .footer-inner {
    max-width: 1400px;
  }

  .container {
    max-width: 1150px;
  }

  .kicker {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  .subheadline {
    font-size: 1.1rem;
  }

  .copy {
    font-size: 1rem;
  }

  .hero-logo {
    max-width: min(760px, 100%);
  }

  .button {
    padding: 13px 18px;
  }
}

/* XLarge screen mode (e.g. 5K / ultrawide): stronger scaling */
@media (min-width: 2400px) {
  .header-inner {
    max-width: 1600px;
  }

  .footer-inner {
    max-width: 1600px;
  }

  .container {
    max-width: 1300px;
  }

  .kicker {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  .subheadline {
    font-size: 1.25rem;
  }

  .copy {
    font-size: 1.1rem;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .hero-logo {
    max-width: min(920px, 100%);
  }

  .header-search-input {
    font-size: 1.1rem;
  }

  .button {
    padding: 15px 22px;
  }
}

/* Compact mode for short viewports (e.g., 1366x768 with browser UI/taskbar) */
@media (max-height: 700px) {
  .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .container {
    padding-top: 12px;
    padding-bottom: 38px;
  }

  .kicker {
    margin-bottom: 6px;
  }

  .subheadline {
    margin: 10px 0 12px;
  }

  .hero-logo {
    max-width: min(520px, 100%);
    margin-bottom: 12px;
  }

  .actions {
    margin-top: 14px;
  }

  .footer-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
