/* abc, 2026 bko*/
/* ==========================================
   1. STRUKTUR & GLOBALER SEITEN-WRAPPER 
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.chronik-page #abc {
  grid-template-columns: minmax(0, 1fr);}
body {
  margin: 0;
  padding: 0;
   font-family: Arial, sans-serif;
  display: flex;
  justify-content: center; /* Zentriert die gesamte Webseite auf PC-Monitoren */
  align-items: flex-start;
  min-height: 100vh;
    }

.global-page-container {
  width: 100%;
  max-width: 1280px;      /* Hält das Layout auf PC exakt auf dieser Breite zusammen */
  position: relative;     /* Der feste Ankerpunkt für das Hamburger-Icon */
  background:#ffffff;
}

/* ==========================================
   2. HEADER 1 (6 Bilder waagerecht)
   ========================================== */
#header1 {
  width: 100%;
  height: 200px !important;
  position: relative;
}
.global-page-container > .hamburger-box {
  position: absolute;
  top: auto;
  bottom: 10px;
  left: 10px;
}

#header1 .image-container {
  display: block !important;
  width: 100%;
  height: 200px !important;
}

#header1 .image-container img.imgbox {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  max-width: none !important;
  flex: none !important;
  object-fit: cover;
  object-position: center 46%;
}

/* HAMBURGER-BOX: Unabhängig fixiert an der Unterkante von Bild 1 */
.hamburger-box {
  position: absolute;
  top: 165px;           /* Setzt das Icon auf dem PC perfekt an die Unterkante von Bild 1*/ 
  left: 10px;           /* 10px Abstand von links */
  z-index: 2500;        /* Höher als die Bilder, damit es immer klickbar bleibt */
  width: 110px;         /* Genug Breite, damit Text + Striche nebeneinander passen */
  height: 15px;
}

.hamburger {
  background: transparent; 
  border: none;
  cursor: pointer;
  width: 140px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hamburger-label {
  font-size: 16px;
  color: #ffffff;       /* Transparentes Design mit weißer Schrift */
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), -1px -1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap; 
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar {
  width: 28px;
  height: 3px;
  background: #ffffff;  /* Weiße Striche */
  display: block;
  border-radius: 2px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   3. OVERLAY-MENÜ
   ========================================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: auto;font-size: 14px;
  width: 130px;
  height: auto;
  background: #B7FBB9; 
  z-index: 3000;
  display: none;        /* Standardmäßig unsichtbar – blockiert keine Klicks mehr */
}

/* Wird vom JavaScript aktiv geschaltet */
.menu-overlay.active {
  display: block; 
}

/* Der eigentliche anthrazitfarbene Menükasten links */
.menu-content {
  width: 130px;
  height: auto;
  background: #B7FBB9;          
  border-right: 2px solid #444444;
  box-shadow: 4px 0 15px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:5px 20px 5px 20px;
  background:#B7FBB9;           
  border-bottom: 2px solid #589B42;
}

.menu-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;               
}

.menu-close {
  font-size: 16px;
  cursor: pointer;
  color: #000;                
  font-weight: bold;
}

.menu-main {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}

.menu-main > li {
  background: #B7FBB9;            
  border-bottom: 1px solid #3a3a3a;
}

.menu-main > li a,
.sub-toggle {
  text-decoration: none;
  color:#000;                
  cursor: pointer;
  font-size: 12px;
  display: block;
  width: 100%;
  padding:5px 20px 5px 20px;
  background: none;
  border: none;
  text-align: left;
}

.menu-main > li:hover {
  background:#B7FBB9;  
}

.submenu {
  display: none;
  padding-left: 5px;
  background: #D8FEDA;          
  list-style: none;
}

.submenu.open {
  display: block;
}

.submenu li {
  border-bottom: 1px solid #282828;
}

.submenu li a {
 padding:5px ;
  font-size: 12px;
  color: #000;                
  text-decoration: none;
  display: block;
}

.submenu li a:hover {
  color: #000;               
  background: #D8FEDA;
}
#overlayMenu .menu-main > li > ul.submenu.open {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
}
/* Menülinks als Buttons mit 1 px Abstand */
.menu-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: transparent;  /*#589B42;*/
}

.menu-main > li {
  border: 0;
  background: transparent;
}

.menu-main > li > a,
.menu-main > li > .sub-toggle {
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #589B42;
  border-radius: 8px;
  background: #B7FBB9;
}

/* Untermenübuttons etwas kleiner, ebenfalls mit 1 px Abstand */
.submenu.open {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 0 2px 8px;
  background: transparent;
}

.submenu li {
  border: 0;
  background: transparent;
}

.submenu li a {
  box-sizing: border-box;
  padding: 4px 12px;
  border: 1px solid #589B42;
  border-radius: 6px;
  background: #D8FEDA;
  font-size: 11px;
}
@media (max-width: 700px) {
  .menu-overlay {
    left: 2px !important;
  }
}
/* ==========================================
   4. HEADER 2 (Orchideen-Schriftzug)#FFFFAA;
   ========================================== */
#header2 {
  width: 100%;
  height: 60px;
   background:#45243C ;
  display: flex;
  justify-content: center;
  align-items: center;
}

#header2 h1 {
  font-family: 'Playfair Display', Georgia, serif;
 color:	#FFF8E8;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 1px;
  font-style: italic;
}
 
 
/* ======================================================
    Header 3: Überschrift, Erklärung und Spaltennamen */
========================================================= */

#header3 {
  position: sticky;
  top: calc(var(--nomen-h1-height) + var(--nomen-h2-height));
  z-index: 28;
  width: 700px;
  height:60px;
  box-sizing: border-box;
   padding: 2px 10px 8px;
  display: flex;
  flex-direction: column;
 /* align-items: center;*/
 background:#CEFFCE;
   margin: 0;
  color: #000;
  font-family: Georgia, serif;
  
}

 #wort-legende {
  display: flex;
  flex-direction: column;
  align-items: center; 
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
}

 .botanisch {
  color: #000;
}

.hybriden {
  color: #000;
}

#word-zeile2{
  font-weight: bold;
  line-height: 1.2;
 display: flex;
  
}
.gattung{font-size: 14px;color:blue;
  margin-left:10px;
	}
.abkuerzung{font-size: 14px;color:blue;
 padding-left:60px;
	}
.kreuzung{font-size: 14px;color:blue;
   padding-left:80px;
}

 .wort-spalten span:nth-child(3) {
  justify-self: center;
}

 h4{ text-align:justify;font-size:12px; }
h5{text-align:center;font-size:10px;} 


/* ==========================================
   6. CONTENT Bild- und Textbox
   ========================================== */
#content {
  width: 100%;
   padding: 20px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
 background:#CEFFCE;}
     
.content-image-box {
  width: 600px;
  height: 450px;
  flex: 0 0 500px; /* Hält die Box auf PC starr auf 500x370px */
  /*overflow: hidden;*/
}
.content-img {
  width: 100%;margin: 40px 0px 0px 0px;
  height: 100%;
  object-fit: cover; 
  display: block;
  border: none;
}
.content-text-box {
  flex: 1;
  min-width: 0;
  font-size:14px;
     margin:0px;width:1024px;height: auto; 
    margin-left:auto;margin-right:auto;
     width:1024px;
}


#spezial {
  position: fixed;
  top: 350px;
  left: max(8px, calc((100vw - 1280px) / 2 + 8px));
  z-index: 20;
  width: 144px;
  height:60px;
  margin: 0;
  padding: 0;
  transform: none;
  background: transparent;
}

#menulinks ul {
  position: static;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  list-style: none;
}

#menulinks ul li,
#menulinks ul li[style] {
  position: static !important;
  float: none;
  width: auto;
  height: 27px;
  margin: 0;
  padding: 0;
  border: 1px solid #00a900;
  border-radius: 4px;
  background: rgba(0, 153, 0, 0.12);
  text-align: center;
  font-size: 16px;
}

#menulinks ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #111;
  line-height: 25px;
  text-decoration: none;
}

#menulinks ul li:last-child {
  grid-column: 3;
}

#menulinks ul li a:hover,
#menulinks ul li a:focus {
  background: #00a900;
  color: #fff;
}

a.anchor { display:block;text-decoration:none; } /* anker  */

table{ position:absolute;left:0px;width:684px; top:140px;font-size:12px;font-weight:bold;  }
table td  { background: #ffffec; }
table tr:nth-child(odd) td { background: #ccffcc; }  
td{	height:20px; padding:2px 0 2px 2px;	}
th{font-weight:bold;font-size:16px;color:#0000FF; text-align:left;}



div.table { display:table; border-collapse:collapse;top:100px; }
div.tr { display:table-row;}
div.td { display:table-cell; padding:5px; }	
 
h1{color:#006600;text-align:center;}
 h2{ color:#006600;text-align:center; }
 h3{color:#33ff00;}
 h4{ color:#006600;text-align:justify;font-size:16px; }
h5{color:#000000;text-align:center;font-size:12px;} 

 a:link,a:visited {color:#FFF;text-decoration:none;}
   a:hover{color:#D6D6D6;text-decoration:none;}



.back-to-top-button {
  display: inline-block;
  padding:5px;margin-left:10px;
  background-color: #009900; /* Deine Wunschfarbe */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-family: sans-serif;
  font-weight: bold;font-size: 12px; 
 
}
  .back-to-top-button:hover {
   color:#D6D6D6; /* Dunklere Farbe beim Drüberfahren */
}
/* ==========================================
   7. FOOTER 
   ========================================== */
#footer {
  position: relative;
  z-index: 1000;
  width: 100%;
  min-height: 30px;
  background:#45243C !important;
    display: flex;
  align-items: center;
  padding: 0 40px;
  text-align:right;float:right;
  right: 0 !important;
    bottom: 0 !important;
}


#footer a,
#footer a:visited {
  color: #fff;
  margin-right: 5px;
  text-decoration: none;
}

#footer a:hover {
  color: #D6D6D6;
  text-decoration: none;
}
/* ==========================================
   7. PROPORTIONALE SKALIERUNG (Mobilgeräte)
   ========================================== */
@media (max-width: 1280px) {
  #header1 {
    height: auto;
  }
  
  body:has(#abc1) .hamburger-box {
    top: calc(16.666vw - 32px);
    left: 10px;
  }

  
   /* Hält das weiße Icon mobil bündig an der Unterkante von Bild 1 */
  .hamburger-box {
    top: calc(16.666vw - 32px); 
    left: 10px;
    width: 95px; 
  }
  .hamburger-label {
    font-size: 13px;
  }
  .bar {
    width: 22px;
    height: 3px;
  }
  .bars {
    gap: 3px;
  }

  #header2 h1 {
    font-size: 25px;
  }
  
  .content-image-box {
    width: 100%;
    flex: 0 0 55%;
    height: auto;
    aspect-ratio: 500 / 370;
  }
}

@media (max-width: 768px) {
  #header2 {
    height: auto;font-size: 12px;
    padding: 15px 10px;
  }
  #header2 h1 {
    font-size: 16px;
    white-space: normal;
  }
  #content {
    flex-direction: column;
    gap: 20px;
  }
  .content-image-box {
    width: 100%;
    flex: 0 0 100%;
  }
  
   .back-to-top-button {
  display: inline-block;
  padding:5px;Margin:10px;
  background-color: #009900; /* Deine Wunschfarbe */
color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-family: sans-serif;
  font-weight: bold;font-size: 12px; 
 
}

  .back-to-top-button:hover {
  color:#D6D6D6; /* Dunklere Farbe beim Drüberfahren */
}
}
/*========================================================*/
/* ==========================================
   NOMENKLATUR: responsive Buchstabenliste
   ========================================== */
body:has(#abc1) {
  background: #A99489;
}

body:has(#abc1) .global-page-container {
  min-height: 100vh;
  background: #CEFFCE;
}

body:has(#abc1) #header3 {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 60px;
  height: 60px;
  padding: 8px 12px;
   background-color: #CEFFCE;
}

body:has(#abc1) #header3 h5 {
  margin: 2px 0;
  line-height: 1.25;
}

body:has(#abc1) #header3 h5:last-of-type {
  word-spacing: 0.3em;
}

body:has(#abc1) #content {
  display: block;
  width: 100%;
  padding: 12px 12px 24px;
   background-color: #CEFFCE;
}

body:has(#abc1) .content-image-box {
  width: auto;
  height: auto;
  flex: none;
  overflow: visible;
}
/*____________________________*/
#spezial {
  position: fixed;
  top: 350px;
  left: max(8px, calc((100vw - 1280px) / 2 + 8px));
  z-index: 20;
  width: 144px;
  height:60px;
  margin: 0;
  padding: 0;
  transform: none;
  background: transparent;
}

#menulinks ul {
  position: static;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  list-style: none;
}


#menulinks ul li[style] {
  position: static !important;
  float: none;
  width: auto;
  height: 27px;
  margin: 0;
  padding: 0;
  border: 1px solid #00a900;
  border-radius: 4px;
  background: rgba(0, 153, 0, 0.12);
  text-align: center;
  font-size: 16px;
}

#menulinks ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #111;
  line-height: 25px;
  text-decoration: none;
}

#menulinks ul li:last-child {
  grid-column: 3;
}

#menulinks ul li a:hover,
#menulinks ul li a:focus {
  background: #00a900;
  color: #fff;
}


#abc1,
#box1,
#box11 {
  position: static;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  background: #ffffec;
}

#box11 {
  overflow-x: auto;
}

#abc1 table {
  position: static;
  width: 100%;
  min-width: 580px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}

/* Die neun unbenannten Leerzeilen bleiben im HTML und werden nur optisch eingeklappt. */
#abc1 table tr:nth-of-type(n + 2):nth-of-type(-n + 10) {
  display: none;
}

#abc1 table tr#A,
#abc1 table tr#A td {
  height: 1px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1px;
}

#abc1 table col:nth-child(1) { width: 21%; }
#abc1 table col:nth-child(2) { width: 13%; }
#abc1 table col:nth-child(3) { width: 66%; }

#abc1 table td,
#abc1 table th {
  overflow-wrap: anywhere;
  padding: 3px 5px;
}

#abc1 tr[id] {
  scroll-margin-top: calc(var(--nomen-h1-height) + var(--nomen-h2-height) + 86px);
}

@media (min-width: 701px) and (max-width: 1124px) {
  #abc1,
  #box1,
  #box11 {
    max-width: calc(100vw - 324px);
  }
}


@media (max-height: 640px) and (min-width: 701px) {
  #spezial {
    top: auto;
    bottom: 8px;
  }
}

/* Header 1, 2 und 3 bleiben beim Scrollen als gestapelte Leiste sichtbar. */
body:has(#abc1) {
  --nomen-h1-height: min(200px, 16.666vw);
  --nomen-h2-height: 60px;
  --nomen-h3-height: 60px;
}

body:has(#abc1) #header1 .image-container {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

body:has(#abc1) #header1 .image-container img.imgbox {
  display: block !important;
  width: 16.666% !important;
  height: 100% !important;
  max-width: none !important;
  flex: 0 0 16.666% !important;
  object-fit: cover;
}
body:has(#abc1) #header1 {
  position: sticky;
  top: 0;
  z-index: 14;
  height: var(--nomen-h1-height);
}

body:has(#abc1) .hamburger-box {
  position: fixed;
  top: 165px;
  left: max(10px, calc((100vw - 1280px) / 2 + 10px));
  z-index: 2500;
}

body:has(#abc1) #header1 .image-container {
  height: 100%;
}

body:has(#abc1) #header1 .image-container .imgbox {
  height: 100%;
  width: 16.666%;
  flex: 0 0 16.666%;
  object-fit: cover;
}

body:has(#abc1) #header2 {
  position: sticky;
  top: var(--nomen-h1-height);
  z-index: 13;
  height: var(--nomen-h2-height);
  padding: 0 10px;
   background-color: #CEFFCE;
}

body:has(#abc1) #header3 {
  top: calc(var(--nomen-h1-height) + var(--nomen-h2-height));
  height:60px;
    box-sizing: border-box;
  z-index: 12;
}
@media (max-width: 700px) {
  body:has(#abc1) {
    --nomen-h1-height: 16.666vw;
  }

  body:has(#abc1) #header2 h1 {
    font-size: clamp(12px, 4vw, 16px);
    white-space: nowrap;
  }

 body:has(#abc1) #header3 {
    height: 60px;
    min-height: 60px;
    padding: 5px 8px;
  }

  body:has(#abc1) #header3 h5 {
    font-size: 10px;
    white-space: nowrap;
  }

  #menulinks ul li:last-child {
    grid-column: auto;
    grid-row: auto;
  }
}
/* Responsive Layoutkorrekturen für die Orchideen-Abkürzungsliste */
body:has(#abc1) .global-page-container {
  width: min(100%, 1280px);
  max-width: 1280px;
  overflow: visible;
}

body:has(#abc1) #header1 .image-container {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

body:has(#abc1) #header1 .image-container img.imgbox {
  display: block !important;
  width: 16.666% !important;
  height: 100% !important;
  max-width: none !important;
  flex: 0 0 16.666% !important;
  object-fit: cover;
}
body:has(#abc1) #header1 {
  position: sticky !important;
  top: 0 !important;
  z-index: 30;
  height: var(--nomen-h1-height);
}

body:has(#abc1) #header2 {
  position: sticky !important;
  top: var(--nomen-h1-height) !important;
  z-index: 29;
  height: var(--nomen-h2-height);
}

body:has(#abc1) #header3 {
  position: sticky !important;
  top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
  z-index: 28;
  width: min(800px, calc(100% - 324px));
  height: var(--nomen-h3-height);
  min-height: var(--nomen-h3-height);
  margin-left: max(0px, calc((100% - min(800px, 100vw - 324px)) / 2));
  padding: 4px 0;
}

body:has(#abc1) .hamburger-box {
  position: fixed;
  top: calc(var(--nomen-h1-height) - 35px);
  bottom: auto;
  left: max(10px, calc((100vw - 1280px) / 2 + 10px));
  z-index: 2500;
}

body:has(#abc1) #wort-legende {
  line-height: 1.05;
}

body:has(#abc1) #word-zeile2 {
  display: grid;
  grid-template-columns: 21% 13% 66%;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}

body:has(#abc1) #word-zeile2 .gattung,
body:has(#abc1) #word-zeile2 .abkuerzung,
body:has(#abc1) #word-zeile2 .kreuzung {
  margin: 0;
  padding: 0;
}

body:has(#abc1) #word-zeile2 .kreuzung {
  padding-left: 12px;
}

body:has(#abc1) #footer {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  min-height: 30px;
}

@media (min-width: 701px) and (max-width: 1280px) {
  body:has(#abc1) #header2 h1 {
    font-size: clamp(16px, 1.6vw, 21px);
    white-space: nowrap;
  }
}

@media (min-width: 1281px) {
  body:has(#abc1) .global-page-container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #header3 {
    width: 100%;
    margin-left: 0;
    padding: 4px 8px;
  }

  body:has(#abc1) #header2 h1 {
    font-size: clamp(13px, 3.6vw, 16px);
  }

  body:has(#abc1) #content {
    display: flex;
    flex-direction: column;
    padding: 12px 8px 24px;
  }

  body:has(#abc1) .content-image-box {
    display: contents;
  }

  body:has(#abc1) #abc1 {
    order: 1;
    width: 100%;
  }

  body:has(#abc1) #spezial {
    position: static;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 12px 0 0;
    padding: 0;
    background: transparent;
  }

  body:has(#abc1) #menulinks {
    width: 100%;
    overflow-x: auto;
  }

  body:has(#abc1) #menulinks ul {
    display: grid;
    grid-template-columns: repeat(13, 27px);
    grid-auto-rows: 27px;
    gap: 4px;
    width: max-content;
    margin: 0;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    width: 27px;
    height: 27px;
  }

  body:has(#abc1) #menulinks ul li a {
    line-height: 25px;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto;
    grid-row: auto;
  }
}


/* Nachkorrektur: Bildhöhe, mobile Navigation und Fußzeile */
body:has(#abc1) #header1 {
  height: var(--nomen-h1-height) !important;
  min-height: 0;
}

body:has(#abc1) #header1 .image-container {
  height: 100% !important;
  min-height: 0;
}

body:has(#abc1) #header1 .image-container img.imgbox:only-child {
  width: 100% !important;
  flex: 0 0 100% !important;
  height: 100% !important;
  object-position: center 46%;
}

body:has(#abc1) .hamburger-box {
  position: fixed !important;
  top: calc(var(--nomen-h1-height) - 27px) !important;
  bottom: auto !important;
  left: max(8px, calc((100vw - 1280px) / 2 + 8px)) !important;
  z-index: 2500 !important;
}

body:has(#abc1) #footer {
  display: flex !important;
  position: relative !important;
  visibility: visible !important;
  clear: both;
  width: 100%;
  min-height: 36px;
  margin-top: 0;
  z-index: 40;
}

@media (max-width: 700px) {
  body:has(#abc1) #word-zeile2 {
    grid-template-columns: 21% 13% 66%;
    min-width: 0;
  }

  body:has(#abc1) #word-zeile2 .kreuzung {
    padding-left: 30px;
  }

  body:has(#abc1) #content {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
  }

  body:has(#abc1) .content-image-box {
    display: contents !important;
  }

  body:has(#abc1) #abc1 {
    order: 1 !important;
  }

  body:has(#abc1) #spezial {
    display: block !important;
    position: static !important;
    order: 2 !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    overflow: visible;
    background: transparent !important;
  }

  body:has(#abc1) #menulinks {
    display: block !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body:has(#abc1) #menulinks ul {
    grid-template-columns: repeat(13, 27px) !important;
    grid-auto-rows: 27px;
    gap: 4px;
    width: max-content;
    height: 58px;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    margin: 0;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Breite Bildschirme: Seitenlayout bleibt auf 1280 px begrenzt */
body:has(#abc1) {
  background: #fff !important;
}

body:has(#abc1) .global-page-container {
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #CEFFCE;
}

@media (min-width: 1281px) {
  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #content,
  body:has(#abc1) #footer {
    width: 100%;
    max-width: 100%;
  }

  body:has(#abc1) #header2 h1 {
    font-size: 20.48px;
  }
}


/* Handyansicht: ABC-Menü bleibt als zweireihige Leiste sichtbar */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    padding-bottom: 70px;
  }

  body:has(#abc1) #content {
    padding-bottom: 76px;
  }

  body:has(#abc1) #abc1 table {
    font-size: 11px;
  }

  body:has(#abc1) #spezial {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    order: initial !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 8px 7px !important;
    background: rgba(206, 255, 206, 0.98) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18);
    z-index: 100 !important;
  }

  body:has(#abc1) #menulinks {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body:has(#abc1) #menulinks ul {
    grid-template-columns: repeat(13, 27px) !important;
    grid-auto-rows: 27px;
    gap: 4px;
    height: 58px;
    width: max-content;
    margin: 0 auto;
  }
}

/* Tabellenbreite bleibt unabhängig von Fenster- und Schriftgröße konstant */
body:has(#abc1) #abc1,
body:has(#abc1) #box1 {
  width: 100%;
  min-width: 0;
}

body:has(#abc1) #box11 {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

body:has(#abc1) #abc1 table {
  width: 800px !important;
  min-width: 800px !important;
  max-width: none !important;
  table-layout: fixed !important;
}

body:has(#abc1) #abc1 table col:nth-child(1) { width: 21%; }
body:has(#abc1) #abc1 table col:nth-child(2) { width: 13%; }
body:has(#abc1) #abc1 table col:nth-child(3) { width: 66%; }

/* Tabelle vollständig sichtbar, ohne horizontales Scrollen */
body:has(#abc1) #content {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 0;
}

body:has(#abc1) .content-image-box {
  display: contents !important;
}

body:has(#abc1) #abc1 {
  order: 1 !important;
  width: min(100%, 1020px) !important;
  max-width: min(100%, 1020px) !important;
  margin: 0 auto !important;
}

body:has(#abc1) #box1,
body:has(#abc1) #box11 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

body:has(#abc1) #abc1 table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

body:has(#abc1) #abc1 table td,
body:has(#abc1) #abc1 table th {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Das ABC-Menü steht am Ende der Liste unmittelbar vor der Fußzeile. */
body:has(#abc1) #spezial {
  display: block !important;
  position: static !important;
  order: 2 !important;
  inset: auto !important;
  width: 144px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 10px auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}

@media (min-width: 701px) and (max-width: 1124px) {
  body:has(#abc1) #abc1 {
    width: min(1020px, calc(100vw - 24px)) !important;
    max-width: min(1020px, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #content {
    padding: 12px 8px 0 !important;
  }

  body:has(#abc1) #abc1 {
    width: 100% !important;
    max-width: 100% !important;
  }

  body:has(#abc1) #box11 {
    overflow-x: visible !important;
  }

  body:has(#abc1) #spezial {
    position: static !important;
    width: min(399px, 100%) !important;
    margin: 10px auto 0 !important;
  }

  body:has(#abc1) #menulinks {
    overflow: visible !important;
  }

  body:has(#abc1) #menulinks ul {
    grid-template-columns: repeat(13, 27px) !important;
    grid-auto-rows: 27px;
    gap: 4px;
    width: max-content;
    height: 58px;
    margin: 0 auto;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Ab Tabletbreite: normales ABC-Menü links, Tabelle daneben */
@media (min-width: 701px) {
  body:has(#abc1) #spezial {
    position: fixed !important;
    top: max(8px, min(350px, calc(100vh - 190px))) !important;
    right: auto !important;
    bottom: auto !important;
    left: max(8px, calc((100vw - 1280px) / 2 + 8px)) !important;
    order: initial !important;
    width: 144px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 20 !important;
  }

  body:has(#abc1) #menulinks ul {
    grid-template-columns: repeat(5, 1fr) !important;
    grid-auto-rows: 27px;
    width: 144px;
    height: auto;
    margin: 0;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: 27px !important;
    margin: 0;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: 3 !important;
    grid-row: auto !important;
  }

  body:has(#abc1) #abc1 {
    order: 1 !important;
    width: min(1020px, calc(100% - 150px)) !important;
    max-width: none !important;
    margin: 0 0 0 150px !important;
  }

  body:has(#abc1) #header3 {
    width: min(1020px, calc(100% - 174px)) !important;
    margin-left: 162px !important;
  }
}

/* Handy: ABC-Z-Leiste bleibt bis zur Desktopbreite am Viewportrand sichtbar */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    padding-bottom: 70px;
  }

  body:has(#abc1) #content {
    padding-bottom: 76px !important;
  }

  body:has(#abc1) #spezial {
    display: block !important;
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    order: initial !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 8px 7px !important;
    background: rgba(206, 255, 206, 0.98) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18) !important;
    z-index: 1000 !important;
  }

  body:has(#abc1) #menulinks {
    display: block !important;
    width: 100%;
    overflow: visible !important;
  }

  body:has(#abc1) #menulinks ul {
    display: grid !important;
    grid-template-columns: repeat(13, minmax(0, 1fr)) !important;
    grid-auto-rows: 27px;
    gap: 3px;
    width: 100% !important;
    max-width: 100%;
    height: 57px;
    margin: 0 auto;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    display: block !important;
    position: static !important;
    width: auto !important;
    min-width: 0;
    height: 27px !important;
    margin: 0;
  }

  body:has(#abc1) #menulinks ul li a {
    line-height: 25px;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Oberhalb 1280 px bleibt die gesamte Seite im 1280-px-Raster zentriert. */
@media (min-width: 1281px) {
  body:has(#abc1) .global-page-container {
    width: 1280px !important;
    min-width: 1280px;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #content,
  body:has(#abc1) #footer {
    width: 100% !important;
    max-width: 100% !important;
  }

  body:has(#abc1) {
    --nomen-h1-height: 200px;
  }
}

/* Am Seitenende sitzt die feste Handy-Leiste direkt über dem Footer. */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    padding-bottom: 0 !important;
  }

  body:has(#abc1) #spezial {
    bottom: 36px !important;
  }

  body:has(#abc1) #footer {
    min-height: 36px;
    position: relative;
    z-index: 40;
  }
}

/* Handy-Leiste bündig an der unteren Bildschirmkante */
@media (max-width: 700px) {
  body:has(#abc1) #spezial {
    bottom: 0 !important;
  }
}

/* Platz für die feste Handy-Leiste nach dem Footer freihalten */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    padding-bottom: 70px !important;
  }
}

/* Handy: Footer unten fixiert, ABC-Menü direkt darüber */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    padding-bottom: 0 !important;
  }

  body:has(#abc1) #content {
    padding-bottom: 108px !important;
  }

  body:has(#abc1) #spezial {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 36px !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 8px 6px !important;
    background: rgba(206, 255, 206, 0.98) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18) !important;
    z-index: 1000 !important;
  }

  body:has(#abc1) #menulinks {
    width: 100%;
    overflow: visible !important;
  }

  body:has(#abc1) #menulinks ul {
    display: grid !important;
    grid-template-columns: repeat(13, minmax(0, 1fr)) !important;
    grid-auto-rows: 26px;
    justify-items: center;
    gap: 3px;
    width: 100% !important;
    max-width: 100%;
    height: 55px;
    margin: 0 auto;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 26px;
    min-width: 0;
    height: 26px !important;
    margin: 0;
    padding: 0;
    justify-self: center;
  }

  body:has(#abc1) #menulinks ul li a {
    line-height: 24px;
  }

  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body:has(#abc1) #footer {
    display: flex !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 36px;
    min-height: 36px;
    margin: 0 !important;
    z-index: 1001 !important;
  }
}

/* Footer bleibt in allen Größen am unteren Bildschirmrand sichtbar */
body:has(#abc1) .global-page-container {
  padding-bottom: 0;
}

body:has(#abc1) #content {
  padding-bottom: 36px;
}

body:has(#abc1) #footer {
  display: flex !important;
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: 0 !important;
  left: max(0px, calc((100vw - 1280px) / 2)) !important;
  width: min(100vw, 1280px) !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  z-index: 1001 !important;
}

@media (max-width: 700px) {
  body:has(#abc1) #content {
    padding-bottom: 108px !important;
  }

  body:has(#abc1) #menulinks ul {
    gap: 0 !important;
  }
}

/* Handy-Tasten: exakt nebeneinander, ohne horizontalen Zwischenraum */
@media (max-width: 700px) {
  body:has(#abc1) #menulinks ul {
    display: grid !important;
    grid-template-columns: repeat(13, minmax(0, 1fr)) !important;
    grid-auto-rows: 26px !important;
    column-gap: 0 !important;
    row-gap: 3px !important;
    width: min(100%, 338px) !important;
    height: 55px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body:has(#abc1) #menulinks ul li,
  body:has(#abc1) #menulinks ul li[style] {
    width: 100% !important;
    max-width: none !important;
    height: 26px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #menulinks ul {
    row-gap: 0 !important;
    height: 52px !important;
  }
}

/* Handy: Headerbild der Nomenklaturseite über die volle Seitenbreite. */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    width: 100vw !important;
    max-width: 1280px !important;
  }

  body:has(#abc1) #header1,
  body:has(#abc1) #header1 .image-container {
    width: 100% !important;
    max-width: none !important;
  }

  body:has(#abc1) #header1 .image-container img.imgbox:only-child {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
  }
}

/* Einheitliche Header-1-Höhe auf allen Ansichten: 200 px */
#header1,
#header1 .image-container,
#header1 .image-container img.imgbox {
  height: 200px !important;
  min-height: 200px !important;
}
#header1 .image-container img.imgbox {
  max-height: 200px !important;
}
body:has(#abc1) {
  --nomen-h1-height: 200px !important;
}
body:has(#abc1) #header1,
body:has(#abc1) #header1 .image-container,
body:has(#abc1) #header1 .image-container img.imgbox {
  height: 200px !important;
  min-height: 200px !important;
}
body:has(#abc1) #header1 .image-container img.imgbox {
  max-height: 200px !important;
}

/* Header 1: stufenlos von 92 px bei 320 px bis 200 px bei 1280 px. */
:root {
  --header1-fluid-height: clamp(92px, calc(11.25vw + 56px), 200px);
}
#header1,
#header1 .image-container,
#header1 .image-container img.imgbox {
  height: var(--header1-fluid-height) !important;
  min-height: var(--header1-fluid-height) !important;
}
#header1 .image-container img.imgbox {
  max-height: var(--header1-fluid-height) !important;
}
.hamburger-box,
.global-page-container > .hamburger-box {
  top: calc(var(--header1-fluid-height) - 35px) !important;
  bottom: auto !important;
}
@media (min-width: 701px) and (max-width: 1280px) {
  .content-image-box img,
  .content-text-box img,
  .content-img,
  .weather-display img,
  .weather-chart img,
  .weather-year-chart img {
    min-width: 320px !important;
  }
}body:has(#abc1) {
  --nomen-h1-height: var(--header1-fluid-height) !important;
}
body:has(#abc1) #header1,
body:has(#abc1) #header1 .image-container,
body:has(#abc1) #header1 .image-container img.imgbox {
  height: var(--header1-fluid-height) !important;
  min-height: var(--header1-fluid-height) !important;
}
body:has(#abc1) #header1 .image-container img.imgbox {
  max-height: var(--header1-fluid-height) !important;
}

/* Header 2 folgt derselben stufenlosen Skalierung wie Header 1. */
:root {
  --header-fluid-scale: clamp(0.46, calc(5.625vw + 0.28), 1);
  --header2-base-height: 60px;
  --header2-fluid-height: calc(var(--header2-base-height) * var(--header-fluid-scale));
}
#header2 {
  height: var(--header2-fluid-height) !important;
  min-height: var(--header2-fluid-height) !important;
  padding-block: 0 !important;
  box-sizing: border-box;
}
#header2 h1 {
  font-size: clamp(14px, calc(46px * var(--header-fluid-scale)), 46px) !important;
  line-height: 1.05;
}
#header2.headline-with-logos {
  grid-template-columns: minmax(23px, calc(50px * var(--header-fluid-scale))) minmax(0, 1fr) minmax(23px, calc(50px * var(--header-fluid-scale))) !important;
  gap: calc(10px * var(--header-fluid-scale)) !important;
  padding-inline: calc(20px * var(--header-fluid-scale)) !important;
}
#header2.headline-with-logos img {
  width: calc(50px * var(--header-fluid-scale)) !important;
  height: calc(50px * var(--header-fluid-scale)) !important;
}body:has(#abc1) {
  --nomen-h2-height: calc(60px * var(--header-fluid-scale)) !important;
}
body:has(#abc1) #header2 {
  height: var(--nomen-h2-height) !important;
  min-height: var(--nomen-h2-height) !important;
  padding-block: 0 !important;
}

/* Feste, breit unterstützte calc()-Formeln für Header 2 und Logos. */
:root {
  --header2-fluid-height: clamp(27.6px, calc(3.375vw + 16.8px), 60px);
  --header2-logo-size: clamp(23px, calc(2.8125vw + 14px), 50px);
  --header2-gap: calc(0.5625vw + 2.8px);
  --header2-pad: calc(1.125vw + 5.6px);
}
#header2 h1 {
  font-size: clamp(14px, calc(2.5875vw + 12.88px), 46px) !important;
}
#header2.headline-with-logos,
#header2 .headline-with-logos {
  grid-template-columns: minmax(23px, var(--header2-logo-size)) minmax(0, 1fr) minmax(23px, var(--header2-logo-size)) !important;
  gap: var(--header2-gap) !important;
  padding-inline: var(--header2-pad) !important;
}
#header2.headline-with-logos img,
#header2 .headline-with-logos img {
  width: var(--header2-logo-size) !important;
  height: var(--header2-logo-size) !important;
}body:has(#abc1) {
  --nomen-h2-height: var(--header2-fluid-height) !important;
}

/* Header-2-Schrift schrumpft auf Tablet- und Handybreiten stärker. */
#header2 h1,
#header2 > span {
  font-size: clamp(14px, calc(3.333vw + 3.333px), 46px) !important;
  line-height: 1.05 !important;
}
/* Footer bleibt im Grenzbereich auf die Seitenbreite begrenzt. */
@media (min-width: 1125px) {
  body:has(#abc1) #footer {
    left: max(0px, calc((100% - 1280px) / 2)) !important;
    right: auto !important;
    width: min(100%, 1280px) !important;
  }
}
/* Direkt oberhalb 1125 px setzt die bisherige Maximalbreite weich fort. */
@media (min-width: 1125px) and (max-width: 1280px) {
  body:has(#abc1) #abc1 {
    width: clamp(800px, calc(141.026vw - 785.13px), 1020px) !important;
    max-width: clamp(800px, calc(141.026vw - 785.13px), 1020px) !important;
    min-width: 0 !important;
    margin: 0 0 0 150px !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #header3 {
    width: clamp(788px, calc(141.026vw - 797.13px), 1008px) !important;
    max-width: clamp(788px, calc(141.026vw - 797.13px), 1008px) !important;
    margin-left: 162px !important;
    box-sizing: border-box !important;
  }
}
/* Ab 1280 px bleibt das Orchideen-Layout exakt auf 1280 px stehen. */
@media (min-width: 1280px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    background: #fff !important;
    overflow-x: clip !important;
  }

  body:has(#abc1) {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  body:has(#abc1) .global-page-container {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    background: #CEFFCE !important;
    overflow: visible !important;
  }

  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #content,
  body:has(#abc1) #footer {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: 1280px !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #header1,
  body:has(#abc1) #header1 .image-container,
  body:has(#abc1) #header1 .image-container img.imgbox {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
  }

  body:has(#abc1) #header2 {
    height: 60px !important;
    min-height: 60px !important;
    background: #6FCE6C !important;
  }

  body:has(#abc1) #header3 {
    width: 1008px !important;
    max-width: 1008px !important;
    margin-left: 162px !important;
  }

  body:has(#abc1) #content {
    display: block !important;
    padding: 12px 12px 36px !important;
    background: #CEFFCE !important;
  }

  body:has(#abc1) #content > .content-image-box {
    display: contents !important;
  }

  body:has(#abc1) #spezial {
    position: fixed !important;
    top: max(8px, min(350px, calc(100vh - 190px))) !important;
    right: auto !important;
    bottom: auto !important;
    left: max(8px, calc((100vw - 1280px) / 2 + 8px)) !important;
    width: 144px !important;
    max-width: 144px !important;
    margin: 0 !important;
    z-index: 30 !important;
  }

  body:has(#abc1) #abc1 {
    position: static !important;
    width: 1020px !important;
    min-width: 1020px !important;
    max-width: 1020px !important;
    margin: 0 0 0 150px !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11,
  body:has(#abc1) #abc1 table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #abc1 table {
    table-layout: fixed !important;
  }

  body:has(#abc1) #abc1 td,
  body:has(#abc1) #abc1 th {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body:has(#abc1) #footer {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    left: max(0px, calc((100vw - 1280px) / 2)) !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    z-index: 1001 !important;
  }
}

/* Footer richtet sich nach der nutzbaren Breite einschließlich Scrollleiste. */
@media (min-width: 701px) {
  body:has(#abc1) #footer {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    left: max(0px, calc((100% - 1280px) / 2)) !important;
    width: min(1280px, 100%) !important;
    min-width: 0 !important;
    max-width: 1280px !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
    z-index: 1001 !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #word-zeile2 .gattung {
    transform: translateX(2ch);
  }
}

/* Hauptmenü Buttons   */

#overlayMenu .menu-main > li {
  background: transparent !important;
  border: 0 !important;
}

#overlayMenu .menu-main > li > a.menu-link,
#overlayMenu .menu-main > li > .sub-toggle {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: #B7FBB9 !important;
  border: 1px solid #589B42 !important;
  border-radius: 8px !important;
}

/* Keine untere Scrollleiste  */
@media (max-width: 700px) {
  body:has(#abc1) .global-page-container {
    width: 100% !important;
  }

  body:has(#abc1) #spezial,
  body:has(#abc1) #footer {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
  }
}

/* Grüner Menühintergrund weg*/
.menu-overlay,
.menu-content {
  background: transparent !important;
}

/* Header 3: lesbare Schriftgrößen, getrennt nach Desktop und Handy */
@media (min-width: 701px) {
  body:has(#abc1) #header3 > h5:first-of-type {
    font-size: 13px !important;
  }

  body:has(#abc1) #header3 #word-zeile2 {
    display: grid !important;
    grid-template-columns: 21% 13% 66% !important;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  body:has(#abc1) #header3 #word-zeile2 > span {
    font-size: 15px !important;
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #header3 > h5:first-of-type {
    font-size: 11px !important;
  }

  body:has(#abc1) #header3 #word-zeile2 {
    display: grid !important;
    grid-template-columns: 21% 13% 66% !important;
  }

  body:has(#abc1) #header3 #word-zeile2 > span {
    font-size: 11px !important;
    white-space: nowrap;
  }
}

/* Abkürz. rückt um die halbe Breite des eigenen Wortes nach rechts. */
body:has(#abc1) #header3 #word-zeile2 .abkuerzung {
  justify-self: start !important;
  width: max-content !important;
  transform: translateX(50%) !important;
}

/* Vollmodus: innere Tabellenboxen bleiben innerhalb des 1280-px-Rasters. */
@media (min-width: 1280px) {
  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  body:has(#abc1) #abc1 table {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* Mobile: fixiere die drei Kopfbereiche als durchgängigen Stapel. */
@media (max-width: 700px) {
  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #header3 {
    position: fixed !important;
    right: 0 !important;
    left: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #header1 {
    top: 0 !important;
    z-index: 1003 !important;
  }

  body:has(#abc1) #header2 {
    top: var(--nomen-h1-height) !important;
    z-index: 1002 !important;
  }

  body:has(#abc1) #header3 {
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 5px 8px !important;
    z-index: 1001 !important;
  }

  body:has(#abc1) #content {
    padding-top: calc(var(--nomen-h1-height) + var(--nomen-h2-height) + 72px) !important;
  }
}

/* Die HTML-Zeile ist ungeteilt; Pseudoelemente erhalten die zwei Schriftfarben. */
body:has(#abc1) #header3 > h5:first-of-type {
  display: flex !important;
  justify-content: center;
  gap: 0.35em;
  color: transparent !important;
  font-size: 0 !important;
  white-space: nowrap;
}

body:has(#abc1) #header3 > h5:first-of-type::before,
body:has(#abc1) #header3 > h5:first-of-type::after {
  display: inline-block;
  font-size: 13px;
  line-height: inherit;
}

body:has(#abc1) #header3 > h5:first-of-type::before {
  content: "Rot = botanische Gattungen";
  color: #c00000;
}

body:has(#abc1) #header3 > h5:first-of-type::after {
  content: "Schwarz = Hybridgattungen";
  color: #000;
}

/* Footer verwendet die normale h5-Schriftgröße. */
body:has(#abc1) #footer h5 {
  font-size: 12px !important;
}

/* Vollmodus: Tabelle und Boxen bleiben im 1280-px-Seitenraster. */
@media (min-width: 1280px) {
  body:has(#abc1) #content {
    width: 1280px !important;
    overflow: clip !important;
  }

  body:has(#abc1) #abc1 {
    position: relative !important;
    inset: auto !important;
    width: min(1020px, calc(100% - 150px)) !important;
    min-width: 0 !important;
    max-width: 1020px !important;
    margin: 0 0 0 150px !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11 {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  body:has(#abc1) #abc1 table {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #header3 > h5:first-of-type::before,
  body:has(#abc1) #header3 > h5:first-of-type::after {
    font-size: 11px;
  }
}

/* Gemeinsamer Abstand zwischen den beiden Textteilen in Header 3, Zeile 1. */
body:has(#abc1) #header3 > h5:first-of-type {
  gap: 20px !important;
}

/* Die Spaltennamen der zweiten Zeile sind schwarz. */
body:has(#abc1) #header3 #word-zeile2 > span {
  color: #000 !important;
}

/* Leere Tabellenzeilen am Anfang zuverlässig ausblenden. */
body:has(#abc1) #abc1 table tr:nth-of-type(n + 2):nth-of-type(-n + 10) {
  display: none !important;
}

/* Den Tabelleninhalt nicht an der Unterkante des Inhaltsbereichs abschneiden. */
@media (min-width: 1280px) {
  body:has(#abc1) #content {
    overflow: visible !important;
  }
}

/* Handy: vertikales Seitenscrollen freihalten und den Kopfstapel berücksichtigen. */
@media (max-width: 700px) {
  body:has(#abc1) {
    display: block !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  body:has(#abc1) #content {
    position: fixed !important;
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height) + 60px) !important;
    right: 0 !important;
    bottom: 100px !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 12px 8px 110px !important;
    z-index: 5 !important;
  }

  body:has(#abc1) #abc1,
  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11,
  body:has(#abc1) #abc1 table {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Im Vollmodus bleiben die inneren Boxen und die Liste sicher im 1280-px-Raster. */
@media (min-width: 1280px) {
  body:has(#abc1) #content,
  body:has(#abc1) .content-image-box {
    box-sizing: border-box !important;
    max-width: 1280px !important;
  }

  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11 {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Restore the left edge of the list to the column-heading grid. */
  body:has(#abc1) #abc1 #box1 {
    position: static !important;
    transform: none !important;
  }

  body:has(#abc1) #abc1 table {
    position: static !important;
    left: auto !important;
  }

  body:has(#abc1) #abc1 {
    margin-left: -10px !important;
  }
}

/* Footer übernimmt die h5-Schriftgröße auch für seine Links. */
body:has(#abc1) #footer h5,
body:has(#abc1) #footer h5 a {
  font-size: 12px !important;
}

body:has(#abc1) #abc1 .back-to-top-button {
  display: inline-block !important;
  position: relative !important;
  z-index: 1002 !important;
  margin: 8px 10px 48px !important;
}

@media (max-width: 700px) {
  body:has(#abc1) #abc1 .back-to-top-button {
    margin: 4px 10px 0 !important;
    padding: 7px 10px !important;
  }

  body:has(#abc1) #content {
    padding-bottom: 0 !important;
  }

  body:has(#abc1) #abc1 #box11 {
    background: transparent !important;
  }

  body:has(#abc1) #abc1,
  body:has(#abc1) #abc1 #box1 {
    background: transparent !important;
  }
}

/* Vollmodus: die Kopfzeilen bleiben beim Scrollen fest am Seitenraster. */
@media (min-width: 1280px) {
  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #header3 {
    position: fixed !important;
    width: 1280px !important;
    max-width: 1280px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #header1 {
    top: 0 !important;
    left: max(0px, calc((100vw - 1280px) / 2)) !important;
    height: var(--nomen-h1-height) !important;
    z-index: 1003 !important;
  }

  body:has(#abc1) #header2 {
    top: var(--nomen-h1-height) !important;
    left: max(0px, calc((100vw - 1280px) / 2)) !important;
    height: var(--nomen-h2-height) !important;
    z-index: 1002 !important;
  }

  body:has(#abc1) #header3 {
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
    left: max(0px, calc((100vw - 1280px) / 2 + 162px)) !important;
    width: 1008px !important;
    max-width: 1008px !important;
    height: var(--nomen-h3-height) !important;
    z-index: 1001 !important;
  }

  body:has(#abc1) #content {
    padding-top: calc(var(--nomen-h1-height) + var(--nomen-h2-height) + var(--nomen-h3-height) + 12px) !important;
  }
}

/* Keep document scrolling on the viewport instead of the body flex item. */
html {
  height: auto !important;
  overflow-y: auto !important;
}

body:has(#abc1) {
  height: auto !important;
  overflow-y: visible !important;
}

body:has(#abc1) .global-page-container {
  flex: 0 0 auto !important;
}

/* Force black in browsers that also apply text-fill colors. */
body:has(#abc1) #header3 #word-zeile2 > span,
body:has(#abc1) #header3 #word-zeile2 > span.gattung,
body:has(#abc1) #header3 #word-zeile2 > span.abkuerzung,
body:has(#abc1) #header3 #word-zeile2 > span.kreuzung {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}



/* Anpassung an die bestehende, unveränderte nomen.html. */

/* Spaltenüberschriften folgen den tatsächlichen Tabellen-Spalten. */
body:has(#abc1) #header3 #word-zeile2 {
  display: grid !important;
  grid-template-columns: 44% 13% 43% !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}
body:has(#abc1) #header3 #word-zeile2 > span {
  justify-self: start !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  white-space: nowrap !important;
}
body:has(#abc1) #abc1 table col:nth-child(1) {
  width: 44% !important;
}
body:has(#abc1) #abc1 table col:nth-child(2) {
  width: 13% !important;
}
body:has(#abc1) #abc1 table col:nth-child(3) {
  width: 43% !important;
}

/* Vollmodus: Liste und Kopf bleiben innerhalb des 1280-px-Rasters. */
@media (min-width: 1280px) {
  body:has(#abc1) #abc1 {
    position: static !important;
    transform: none !important;
    width: 1020px !important;
    min-width: 0 !important;
    max-width: 1020px !important;
    margin: 0 0 0 150px !important;
  }

  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11,
  body:has(#abc1) #abc1 table {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body:has(#abc1) #abc1 table {
    display: table !important;
    table-layout: fixed !important;
  }
}

/* Handy: Dokument scrollt normal; A–Z steht direkt nach dem Listenende. */
@media (max-width: 700px) {
  html,
  body:has(#abc1),
  body:has(#abc1) .global-page-container {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #CEFFCE !important;
  }

  body:has(#abc1) #header1,
  body:has(#abc1) #header2,
  body:has(#abc1) #header3 {
    position: fixed !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(#abc1) #header1 {
    top: 0 !important;
    z-index: 1003 !important;
  }
  body:has(#abc1) #header2 {
    top: var(--nomen-h1-height) !important;
    z-index: 1002 !important;
  }
  body:has(#abc1) #header3 {
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
    height: 60px !important;
    min-height: 60px !important;
    z-index: 1001 !important;
  }

  body:has(#abc1) #content {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: calc(var(--nomen-h1-height) + var(--nomen-h2-height) + 72px) 8px 0 !important;
    box-sizing: border-box !important;
    background: #CEFFCE !important;
  }

  body:has(#abc1) #content > .content-image-box {
    display: contents !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  body:has(#abc1) #abc1,
  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11 {
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body:has(#abc1) #abc1 table {
    display: table !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    table-layout: fixed !important;
  }

  body:has(#abc1) #spezial {
    display: block !important;
    position: static !important;
    inset: auto !important;
    order: 2 !important;
    width: min(399px, 100%) !important;
    max-width: 399px !important;
    height: auto !important;
    margin: 8px auto 0 !important;
    padding: 0 0 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  body:has(#abc1) #menulinks {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
  }
  body:has(#abc1) #menulinks ul {
    display: grid !important;
    grid-template-columns: repeat(13, 27px) !important;
    grid-auto-rows: 27px !important;
    gap: 3px !important;
    width: max-content !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  body:has(#abc1) #menulinks ul li:last-child {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body:has(#abc1) #abc1 .back-to-top-button {
    display: inline-block !important;
    margin: 8px 8px 0 !important;
    position: relative !important;
    z-index: 10 !important;
  }

  body:has(#abc1) #footer {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 36px !important;
    margin: 0 !important;
    float: none !important;
    z-index: 40 !important;
  }
}
/* Korrektur für die unveränderte nomen.html nach screen6/screen7. */
body:has(#abc1) #wort-legende .botanisch {
  color: #c00000 !important;
  -webkit-text-fill-color: #c00000 !important;
}
body:has(#abc1) #wort-legende .hybriden {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
body:has(#abc1) #word-zeile2 {
  display: grid !important;
  grid-template-columns: 44% 13% 43% !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}
body:has(#abc1) #word-zeile2 > span {
  justify-self: start !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  white-space: nowrap !important;
}
body:has(#abc1) #abc1 table col:nth-child(1) { width: 44% !important; }
body:has(#abc1) #abc1 table col:nth-child(2) { width: 13% !important; }
body:has(#abc1) #abc1 table col:nth-child(3) { width: 43% !important; }

@media (min-width: 1280px) {
  body:has(#abc1) #header3 {
    position: fixed !important;
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
    left: max(0px, calc((100vw - 1280px) / 2 + 162px)) !important;
    width: 1008px !important;
    max-width: 1008px !important;
    height: var(--nomen-h3-height) !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    box-sizing: border-box !important;
    background: #CEFFCE !important;
    z-index: 1001 !important;
  }

  body:has(#abc1) #abc1 {
    position: static !important;
    transform: none !important;
    width: 1020px !important;
    min-width: 0 !important;
    max-width: 1020px !important;
    margin: 0 0 0 150px !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #content {
    padding-bottom: 120px !important;
  }

  body:has(#abc1) #header3 {
    position: fixed !important;
    top: calc(var(--nomen-h1-height) + var(--nomen-h2-height)) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    box-sizing: border-box !important;
    background: #CEFFCE !important;
    z-index: 1001 !important;
  }

  body:has(#abc1) #word-zeile2 {
    grid-template-columns: 44% 13% 43% !important;
    margin: 0 !important;
  }

  /* A–Z-Menü direkt über der festen Fußzeile sichtbar halten. */
  body:has(#abc1) #spezial {
    display: block !important;
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 36px !important;
    left: 0 !important;
    order: initial !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 8px 7px !important;
    background: rgba(206, 255, 206, 0.98) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18) !important;
    z-index: 1000 !important;
  }

  body:has(#abc1) #menulinks ul {
    display: grid !important;
    grid-template-columns: repeat(13, 27px) !important;
    grid-auto-rows: 27px !important;
    gap: 3px !important;
    width: max-content !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  body:has(#abc1) #footer {
    display: flex !important;
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    float: none !important;
    background:#45243C ;
    z-index: 1001 !important;
  }

  body:has(#abc1) #footer h5,
  body:has(#abc1) #footer h5 a {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 12px !important;
  }
}

/* A–Z-Menü bleibt auch am Listenanfang sichtbar und überlagert die Tabelle. */
@media (max-width: 700px) {
  body:has(#abc1) #spezial {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 36px !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 9999 !important;
  }
}

/* Letzte Ausrichtung: Header 3 und Tabelle verwenden dasselbe 1020-px-Raster. */
@media (min-width: 1280px) {
  body:has(#abc1) #header1,
  body:has(#abc1) #header2 {
    left: max(0px, calc((100% - 1280px) / 2)) !important;
  }

  body:has(#abc1) #header3 {
    left: max(0px, calc((100% - 1280px) / 2 + 162px)) !important;
    width: 1020px !important;
    max-width: 1020px !important;
  }

  body:has(#abc1) #header3 #word-zeile2 {
    width: 100% !important;
    grid-template-columns: 44% 13% 43% !important;
  }
}

@media (max-width: 700px) {
  body:has(#abc1) #header3 #word-zeile2 {
    width: 100% !important;
    grid-template-columns: 44% 13% 43% !important;
  }

  body:has(#abc1) #header3 #word-zeile2 > span {
    justify-self: start !important;
    transform: none !important;
  }
}

/* Tabellenmaße aus nomen.html auf Handy und Vollmodus respektieren. */
body:has(#abc1) #abc1 table {
  table-layout: auto !important;
}
body:has(#abc1) #abc1 table col:nth-child(1) {
  width: 15% !important;
}
body:has(#abc1) #abc1 table col:nth-child(2) {
  width: 5px !important;
}
body:has(#abc1) #abc1 table col:nth-child(3) {
  width: 80% !important;
}

/* Header 3: erste Spalte 15 %, Abkürzung nach ihrem Wortmaß, danach Kreuzung. */
body:has(#abc1) #header3 #word-zeile2 {
  display: grid !important;
  grid-template-columns: 15% max-content minmax(0, 1fr) !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}
body:has(#abc1) #header3 #word-zeile2 > span {
  justify-self: start !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  white-space: nowrap !important;
}

/* Tabellenbasis laut aktuellem colgroup in nomen.html. */
body:has(#abc1) #abc1 table {
  width: 100% !important;
  table-layout: auto !important;
}
body:has(#abc1) #abc1 table col:nth-child(1) {
  width: 18% !important;
}
body:has(#abc1) #abc1 table col:nth-child(2) {
  width: 10px !important;
}
body:has(#abc1) #abc1 table col:nth-child(3) {
  width: 72% !important;
}
/* Vollmodus: Header 3-Wörter gezielt verschieben, Abkürzung stehen lassen. */
@media (min-width: 1280px) {
  body:has(#abc1) #header3 #word-zeile2 .gattung {
    transform: translateX(2ch) !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .abkuerzung {
    transform: none !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .kreuzung {
    transform: translateX(20ch) !important;
  }

  /* Header 2: gewünschte dunkle Violettfarbe auch im Vollmodus erzwingen. */
  body:has(#abc1) #header2 {
    background: #45243C !important;
    background-color: #45243C !important;
  }

  /* Den hellen Leerstreifen am Tabellenende einfärben und verkürzen. */
  body:has(#abc1) #abc1,
  body:has(#abc1) #abc1 #box1,
  body:has(#abc1) #abc1 #box11 {
    height: auto !important;
    min-height: 0 !important;
    background: #CEFFCE !important;
  }

  body:has(#abc1) #abc1 .back-to-top-button {
    margin: 8px 10px 0 !important;
  }
}

/* Headerkorrekturen für breite Fenster unter 1280 px und Feinschliff Vollmodus. */
@media (min-width: 701px) {
  body:has(#abc1) #header2 {
    background: #45243C !important;
    background-color: #45243C !important;
  }

  body:has(#abc1) #header3 #word-zeile2 .gattung {
    transform: translateX(2ch) !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .abkuerzung {
    transform: translateX(2ch) !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .kreuzung {
    transform: translateX(20ch) !important;
  }
}

/* Ausschließlich Handy: Header 3-Wortabstände und Header-2-Farbe. */
@media (max-width: 700px) {
  body:has(#abc1) #header2 {
    background: #45243C !important;
    background-color: #45243C !important;
  }

  body:has(#abc1) #header3 #word-zeile2 .gattung {
    transform: translateX(2ch) !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .abkuerzung {
    transform: translateX(-5ch) !important;
  }
  body:has(#abc1) #header3 #word-zeile2 .kreuzung {
    transform: translateX(20ch) !important;
  }
}

/* Handy: Abkürzung mittig über der zweiten Tabellenspalte platzieren. */
@media (max-width: 700px) {
  body:has(#abc1) #header3 #word-zeile2 {
    position: relative !important;
  }

  body:has(#abc1) #header3 #word-zeile2 .abkuerzung {
    position: absolute !important;
    top: 0 !important;
    left: 18% !important;
    width: calc(10px + 7ch) !important;
    text-align: center !important;
    transform: none !important;
  }
}

/* Header2-Schrift skaliert fließend über alle Fenstergrößen wie in style0.css. */
#header2 h1,
#header2 > span {
  font-size: clamp(14px, calc(1.667vw + 8.667px), 46px) !important;
  white-space: nowrap !important;
}

/* Einheitliche Footer-Farbe */
#footer, footer { background:#45243C !important;}
