body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

p {
  margin-bottom: 1rem;
}

.titel {
  font-family: 'Outfit', sans-serif;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.titel h3 {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.update-info {
  font-size: 14px;
  color: #64748b;
}

.menu {
  font-size: 14px;
  margin-bottom: 2rem;
}

.menu-link {
  border: 1px solid rgb(36, 59, 59);
  border-radius: 3px;
  padding: 3px;
}

#img {
  object-fit: cover;
  object-position: 0 -550px;

  width: 1500px;
  height: 500px;
}

table {
  font-size: 0.75rem !important;
}

tr:nth-child(even) {background-color: #f2f2f2;}
tr:hover {background-color: #e7b79741;}

a:link {
    text-decoration: none;
  }
  
  a:visited {
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  a:active {
    text-decoration: underline;
  }

.straf-1b {
  background: rgba(0, 220, 130, 0.5);
}

.straf-6b {
  background: rgb(0,220,130,0.5);
}

.oeff-1 {
  background: rgba(120, 190, 245, 0.5);
}

.oeff-2 {
  background: rgb(75, 172, 246, 0.5);
}

.ziv-4 {
  background: rgba(235, 246, 75, 0.3);
}

.ziv-5 {
  background: rgb(235, 246, 75, 0.4);
}

.soz-8 {
  background: rgba(246, 75, 89, 0.25);
}

.soz-9 {
  background: rgb(246, 54, 69, 0.3);
}

.hervorhebung {
  background: blanchedalmond;
}

.luzern-bezug {
  background: rgba(92, 92, 190, 0.2);
}

.classic-straf-1b {
  background: lightblue;
}

.classic-straf-6b {
  background: rgb(0,220,130);
}

.grayout {
    opacity: 0.6; /* Real browsers */
    filter: alpha(opacity = 60); /* MSIE */
}

/* Premium Markdown Styling - Editorial Look */
.markdown-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #1e293b;
    max-width: 780px; /* Improved readability width */
    margin: 2rem auto 4rem;
    font-family: 'Inter', sans-serif;
    padding: 3rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.markdown-content h1, 
.markdown-content h2, 
.markdown-content h3, 
.markdown-content h4 {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.markdown-content h1 {
    font-size: 1.6rem; /* Balanced size */
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.markdown-content h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
}

.markdown-content h3 {
    font-size: 1.15rem;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.markdown-content p {
    margin-bottom: 1.5rem;
}

.markdown-content ul, 
.markdown-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.markdown-content li {
    margin-bottom: 0.75rem;
}

.markdown-content blockquote {
    border-left: 4px solid #3b82f6;
    background-color: #eff6ff;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e40af;
    position: relative;
}

.markdown-content blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: 'Outfit', serif;
}

.markdown-content code {
    background-color: #f1f5f9;
    color: #e11d48;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
}

.markdown-content pre {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    overflow-x: auto;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.markdown-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-weight: normal;
}

.markdown-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.markdown-content th {
    background-color: #f8fafc;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-family: 'Outfit', sans-serif;
}

.markdown-content td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.markdown-content tr:last-child td {
    border-bottom: none;
}

.markdown-content tr:nth-child(even) {
    background-color: #fafbfc;
}

.markdown-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 4rem 0;
}

.markdown-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}


.markdown-content a:hover {
    border-bottom-color: #2563eb;
    color: #1d4ed8;
}

/* Executive Summary Styling */
.executive-summary, .markdown-content blockquote.executive-summary {
    background-color: #f0f7ff !important;
    border: 1px solid #cce3ff !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    margin-bottom: 2.5rem !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08) !important;
    position: relative !important;
    border-left: 6px solid #3b82f6 !important;
    font-style: normal !important;
    color: inherit !important;
}

.executive-summary h4, .markdown-content blockquote.executive-summary h4 {
    margin-top: 0 !important;
    color: #1e40af !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.executive-summary h4::before, .markdown-content blockquote.executive-summary h4::before {
    content: '⚖️';
    font-size: 1.4rem;
}

.executive-summary p, .executive-summary li, .markdown-content blockquote.executive-summary p, .markdown-content blockquote.executive-summary li {
    color: #1e3a8a;
    font-size: 1.05rem;
}

.executive-summary ul, .markdown-content blockquote.executive-summary ul {
    margin-bottom: 0;
}
