@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
    	body {
    		font-family: "Roboto Condensed", sans-serif;
    		margin:auto;
    		line-height:150%;
    		display:flex;
    	}

      /* Abstände */
        h1, h2, h3, h4, h5, h6 {
            margin-top: 30px;
            margin-bottom:15px;
            line-height:150%;
        }

        /* Zähler für die verschiedenen Überschriften-Ebenen definieren */
        h1 {
            counter-reset: h2counter; /* Setzt den Zähler für h2 zurück */
            counter-increment: h1counter; /* Zählt h1 hoch */
            display: block;
            border-bottom:2px solid #000;
            font-weight:500;
            text-transform: uppercase;
            margin-top:60px;
        }

        h2 {
            counter-reset: h3counter; /* Setzt den Zähler für h3 zurück */
            counter-increment: h2counter; /* Zählt h2 hoch */
            font-weight:400;
        }

        h3 {
            counter-reset: h4counter; /* Setzt den Zähler für h4 zurück */
            counter-increment: h3counter; /* Zählt h3 hoch */
            font-weight:400;
        }

        h4 {
            counter-increment: h4counter; /* Zählt h4 hoch */
            font-weight:400;
            margin-bottom:5px;
        }

        h5 {
            font-size: 15px;
            font-weight:600;
            margin-bottom:5px;
            text-transform: uppercase;
        }

        h1 + p,h2 + p,h3 + p,h4 + p,h5 + p,h6 + p {
        	margin-top:5px;
        }

        .h1, .h2{
        	display: block;
            font-weight:500;
            text-transform: uppercase;
            font-size:2em;
            line-height:1em;
            margin-bottom:10px;
        }

        .h2{
        	font-weight:400;
        	font-size:1.5em;
        }


        /* Formatierung und Nummerierung */
        h1::before {
            content: counter(h1counter) ". ";
            font-weight: 500;
        }

        h2::before {
            content: counter(h1counter) "." counter(h2counter) ". ";
            font-weight:400;
        }

        h3::before {
            content: counter(h1counter) "." counter(h2counter) "." counter(h3counter) ". ";
            font-weight:400;
        }

        h4::before {
            content: counter(h1counter) "." counter(h2counter) "." counter(h3counter) "." counter(h4counter) ". ";
            font-weight:400;
        }

        ol > li{
        	margin-bottom:10px;
        }

        .header {
		    position: fixed;
		    top: 0;
		    left: 0;
		    width: 100%;
		    display: flex;
		    justify-content: space-between;
		    align-items: center;
		    background-color: #f9f9f9;
		    padding: 0px 20px;
		    color: #fff;
		    z-index: 1000;
		    border-bottom:1px solid #ccc;
		}

		.logo {
		    height: 40px;
		    margin-right:auto;
		}

		.title {
		    font-size: 24px;
		    color: #666;
		    padding-right: 40px;
		    font-weight: 300;
		}

		.horizontal-list{
			display: flex;
			flex-wrap:wrap;
		}

		.horizontal-list li{
			min-width:280px;
		}

        .help-box{
        	margin: 30px 0;
        }

        .help-box-heading{
        	background-color: #00445c;
			color: #fff;
			font-weight: bold;
			text-transform: uppercase;
			padding: 20px 20px 30px 20px;
			display: inline-block;
			margin-bottom: -20px;
			z-index: 1;
        }

        .help-box-content{
        	display: block;
        	color:#00445c;
        	background-color:#afcad3;
        	border:2px solid #00445c;;
        	padding:20px 20px;
        	margin-left:20px;
        	z-index:2;
        	position: relative;
        }

        .help-box-content li{
        	margin:10px 0;
        }

        .hero{
        	text-align: center;
        	margin:5% auto 15% auto;

        }

        .hero img{
        	margin: 30px auto;
        	width:80%;
        }

        .main-title{
        	font-size:30px;
        }

        .product-name{
        	font-size:40px;
        	margin-bottom:10px;
        	line-height:120%;
        }

        img{
        	margin:10px 0;
        	border-radius:10px;
        	max-width:100%;
        }

        img.small{
        	transform: scale(0.5);
    		transform-origin: top left; /* Passt die Position des Bilds an */
        }

        img.full-width{
        	width:100%;
        }

        .bottom-logo{
        	width:200px;
        	height:auto;
        }

        .container {
    		display: flex;
    		flex-wrap: wrap;
    		gap:0 20px;
    		margin-bottom:25px;
		}

		.section-1-6{
			width: calc(16.666% - 10px);
			box-sizing: border-box;
		}

		.section-2-6{
			width: calc(33.333% - 10px);
			box-sizing: border-box;
		}

		.section-3-6 {
    		width: calc(50% - 10px);
    		box-sizing: border-box;
		}

		.section-4-6{
			width: calc(66.666% - 10px);
			box-sizing: border-box;
		}

		.section-5-6{
			width: calc(83.333% - 21px);
			border-left:1px solid #cecece;
			padding-left:10px;
		}

		.section-5-6 .section-5-6 {
    		border: none;
		}

		.section-6-6{
			width: 100%;
		}

		.shadow{
			box-shadow: 0 0 10px 10px rgba(0,0,0,0.1);
		}

		.important{
			border-left: 2px solid #00445C;
			color: #00445c;
			background-color: rgba(57, 118, 148, 0.1);
			padding: 20px 20px;
			border-radius: 0px 10px 10px 0;
		}

		.important:before{
			content: "";
			position: absolute;
			background-image: url("../images/warning.png");
			display: block;
			width: 30px;
			height: 30px;
			margin-left: -60px;
			background-size: 30px;
			margin-top: -20px;
		}

		.button{
			background-color: #000;
			color: #fff;
			padding: 10px;
			border-radius: 4px;
			text-decoration: none;
			font-weight: bold;
		}


		.button:hover{
			background-color: #3e3e3e;
		}

		#toc-container {
		    position: sticky; /* Macht die Sidebar sticky */
		    top: 60px; /* Abstand vom oberen Rand */
		    width: 350px; /* Breite des Inhaltsverzeichnisses */
		    max-height: calc(100vh - 40px); /* Maximalhöhe für die Sidebar */
		    overflow-y: auto; /* Scrollbar für Überlauf */
		    background-color: #f9f9f9; /* Hintergrundfarbe */
		    padding: 20px; /* Innenabstand */
		    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Schatten für besseren Kontrast */
		    z-index: 10; /* Damit es über anderen Inhalten liegt */
		    box-sizing: border-box; /* Inkludiere Padding und Border in die Breite */
		    padding-bottom:60px;
		    flex-shrink:0;
			}

		#toc {
            background: #f9f9f9;
            margin:0;
        }

		#toc:hover{
			cursor: pointer;
		}

		#toc ul {
		    list-style: none;
		    padding-left: 0;
		    overflow: hidden;
		    transition: max-height 0.4s ease-out;
		    margin:0;
		}
        #toc a {
            text-decoration: none;
            color: #000;
        }
        #toc a:hover {
            text-decoration: underline;
        }

		#toc ul.visible {
		    max-height: none; /* Nichts setzen, wenn es sichtbar ist */
		}

        .toc-h1 {
		    font-weight: bold;
		    text-transform: uppercase;
		    font-size: 1em;
		    margin: 15px 0 0 5px;
		    border-bottom: 1px solid #bfbfbf;
		}

		.toc-h2 {
		    font-weight: 500;
		    margin: 0px 0 0 0;
		    font-size:.9em;
		}

		.toc-h3 {
		    margin: 0px 0 0 0;
		    font-size:.9em;
		}

		.toc-h4 {
		    font-weight: 300;
		    font-size:.8em;
		}

		.main {
		    flex: 1; /* Nimmt den restlichen Platz ein */
		    margin-left: 20px; /* Abstand zwischen Sidebar und Hauptinhalt */
		    padding: 5%;
    		max-width: 1200px;
    		margin:auto;
    		min-width:0;
		}

		#toc-toggle{
			display: none;
		}

		iframe.video{
			aspect-ratio: 16 / 9; 
			width: 100%;
		}

		@media (max-width: 976px) {
    		body{
    			flex-direction: column;
    		}

    		img {
    			border-radius:5px;
    		}

		    .hero {
		        text-align: center;
		        margin: 15vh auto;
		        /* height: 100vh; */
		        display: flex;
		        flex-direction: column;
		        justify-content: center;
		    }

    		.section-1-6, .section-2-6, .section-3-6, .section-4-6, .section-5-6, .section-6-6{
        		width: 100%;
        		border:none;
        		padding-left:0;
    		}

    		.important{
    			margin-left:35px;
    			border-radius: 0px 5px 5px 0;
    		}

    		.important:before{
    			margin-left: -50px;
				background-size: 20px;
				width: 20px;
				height: 20px;
    		}

    		 #toc-container {
		        position: sticky; /* Macht die Sidebar sticky */
		        top: 60px; /* Abstand vom oberen Rand, unterhalb des Headers */
		        width: 100%;
		        max-height: calc(100vh - 60px); /* Maximalhöhe für die Sidebar abzüglich Header */
		        overflow-y: auto; /* Scrollbar für Überlauf */
		        background-color: #f9f9f9;
		        z-index: 10;
		        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Schatten für besseren Kontrast */
		        padding:0;
		        flex-shrink:0;
		    }

		    #toc {
		        padding: 0px 10px;
		        max-height: 0;
		        overflow-y: auto;
		        transition: opacity 1s ease, max-height 0.4s ease-out;
		        padding-top:45px;
		    }

		    #toc ul{
		    	transition: opacity 1s ease;
		    	opacity: 0;
		    	padding-bottom:60px;
		    }

		    #toc-toggle {
		        position:fixed;
		        top:60px;
		        width:100%;
		        display: block;
		        text-align: center;
		        font-weight: bold;
		        cursor: pointer;
		        padding: 10px;
		        background: #f1f1f1;
		        color: #333;
		        border-bottom: 1px solid #ccc;
		        font-weight:400;
		        z-index:9;
		    }

		    #toc.visible ul{
		    	opacity:1;
		    }

		}

		.toc-collapsible {
		    overflow: hidden;
		    max-height: 0;
		    transition: max-height 0.3s ease, opacity 0.3s ease;
		    opacity: 0;
		}

		.toc-collapsible.expanded {
		    max-height: 500px; /* Ein ausreichend hoher Wert */
		    opacity: 1;
		}

		.instrument-section {
  max-width: 100%;
}

/* Tabs */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-buttons button {
  background: #eee;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.tab-buttons button:hover {
  background: #ddd;
}

.tab-buttons button.active {
  background: #333;
  color: white;
}

/* Tabs content */
.tab-content {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Table wrapper for scrolling */
.responsive-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table styling */
.articulation-table {
  border-collapse: separate; /* angepasst */
  border-spacing: 0;         /* Abstand zwischen Zellen entfernen */
  width: 100%;
  min-width: 1200px;
  font-size: 0.9rem;
}

.articulation-table th,
.articulation-table td {
  padding: 0.5rem 0.75rem;
  border: .5px solid #ddd;
  text-align: center;
  white-space: nowrap;
  background-clip: padding-box; /* wichtig für Sticky-Rahmen */
}

/* Sticky header */
.articulation-table thead th {
  position: sticky;
  top: 0;
  background: #fafafa;
  z-index: 3; /* über Sticky-Spalte */
}

/* Sticky erste Spalte */
.articulation-table th:first-child,
.articulation-table td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  border-right: .5px solid #ddd; /* fester rechter Rand */
}

/* Linke obere Zelle (erste Kopfzelle) */
.articulation-table thead th:first-child {
  z-index: 4; /* muss höher sein als andere Kopfzellen */}

@media (max-width: 976px) {
  .main{
  	max-width:100%;
  	padding:5%;
  	margin:0;
  }

  .articulation-table {
    font-size: 0.8rem;
    min-width: 100%;
    width: 100%;
    display: block;
    overflow-x: auto;
    table-layout: auto;
  }

  .articulation-table th,
  .articulation-table td {
    white-space: nowrap;
    word-break: break-word;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-buttons button {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 480px) {

	h1{
		font-size:1.4em;
		line-height:1em;
	}

	.horizontal-list li{
				min-width:180px;
	}
	 .title{
	 	font-size:16px;
	 }

	 .product-name{
	 	font-size:26px;
	 }
}
