@charset "utf-8";

/****************************************************/
/** STYLE.CSS 3.0                                  **/
/****************************************************/
/*
  Projekt: MCGS
  Version: 3.0

  Ziel:
  - Gemeinsames, klar gegliedertes CSS-System für
    MCGS und Ornamenti.
  - Zusammengehörige Komponenten stehen in gemeinsamen
    Hauptkapiteln.
  - Projektspezifische Regeln bleiben in Abschnitt 99.
  - Die Reihenfolge der wirksamen CSS-Regeln wurde
    gegenüber Version 2.3 nicht verändert.

  Inhaltsübersicht:
  01. Design-System
  02. Grundlagen
      02.1 Typografie
      02.2 Links & Rückmeldungen
  03. Navigation
      03.1 Header-Navigation
      03.2 Responsive Navigation
      03.3 Footer-Navigation
      03.4 Breadcrumb-Navigation
  04. Inhaltsnavigation
      04.1 Pagination
  05. Interaktive Komponenten
      05.1 Slider
  06. Datendarstellung
      06.1 Tabellen
      06.2 Tabellensortierung
  07. Formulare & Aktionen
      07.1 Formulare
      07.2 Buttons
  08. Inhalte & Medien
      08.1 Inhalte, Sektionen & Artikelboxen
      08.2 Bilder
      08.3 Grid-System
      08.4 Galerie
      08.5 Video-Embeds
  09. Schwebende Oberflächen
      09.1 Scroll-to-Top
      09.2 Cookie-Banner
  10. Hilfsmittel & Integrationen
      10.1 Icons
      10.2 TinyMCE-Anpassungen
  99. Projektspezifische Erweiterungen
      99.1 News
*/

/****************************************************/
/** 01. Design-System                              **/
/****************************************************/
:root {
  /* Größe */
  --max-width: 1200px;

  /* Corporate Design */
  --color-brand: #152982;                   /* Hauptfarbe (Header, Buttons) */
  --color-brand-hover: #007BFF;             /* Hover für Brand-Elemente */

  --color-link: #006699;                    /* Standardlinks */
  --color-link-hover: #DD6900;              /* Link-Hover */
  --color-link-visited: #5493B4;            /* Besuchte Links */

  --color-footer: #333;                     /* Footer, Dropdown-Menüs */
  --color-footer-text: #fff;                /* Text im Footer */
  --color-navigation-background-dark: #333; /* Dropdown- und mobile Navigation */
  --color-navigation-text: #fff;            /* Text in der Navigation */
  --color-navigation-text-hover: #DD6900;   /* Text-Hover in der Navigation */
  --color-label: #006699;                   /* Formularbeschriftungen */

  /* Oberflächen */
  --color-background: #fff;                           /* Seitenhintergrund */
  --color-surface: #ebebeb;                           /* Karten, Boxen und Hover */
  --color-border: #ccc;                               /* Rahmen */
  --color-progress-background: #ccc;                  /* Hintergrund Fortschrittsanzeige */
  --color-progress: #333;                             /* Fortschrittsanzeige */
  --color-button-secondary-background: #ccc;          /* Sekundärer Button */
  --color-button-secondary-background-hover: #ebebeb; /* Hover sekundärer Button */

  --color-button-text: #fff;                        /* Text auf Buttons */
  --color-overlay: rgba(0, 0, 0, 0.5);              /* Seiten-Overlay */
  --color-slider-control: rgba(0, 0, 0, 0.6);       /* Slider-Steuerung */
  --color-slider-control-hover: rgba(0, 0, 0, 0.8); /* Hover Slider-Steuerung */

  /* Textfarben */
  --color-text: #333;           /* Standardtext */
  --color-text-light: #bbb;     /* Sekundärtext */
  --color-separator: #ccc;      /* Trennzeichen */
  --color-icon: #ccc;           /* Inaktive Icons */
  --color-icon-active: #DD6900; /* Aktive Icons */

  /* Statusfarben */
  --color-error: #B54A42;
  --color-error-background: #FFC7CE;

  --color-success: #5E7D4B;
  --color-success-background: #C6EFCE;

  /* Neutrale Farben */
  --color-white: #fff;
  --color-black: #000;

  /* Textgrößen */
  --text-size7:  0.7rem;
  --text-size8:  0.8rem;

  /* Abstände */
  --spacing4: 4px;
  --spacing8: 8px;
  --spacing10: 10px;
  --spacing16: 16px;
  --spacing20: 20px;
  --spacing40: 40px;
  --spacing60: 60px;

  /* Rundungen */
  --radius4: 4px;
  --radius6: 6px;
  --radius10: 10px;
  --radius14: 14px;

  /* Schatten */
  --shadow4: 0 4px 10px rgba(0,0,0,.10);

  /* Animationen */
  --transition15: .15s ease;
  --transition4: .4s ease;

  /* Allgemeine Komponenten */
  --border-default: 1px solid var(--color-border);
  --radius-default: var(--radius6);
  --shadow-default: var(--shadow4);

  /* Formulare */
  --form-container-width: 500px;
  --form-label-width: 150px;
  --form-control-width: 200px;
  --form-control-height: 43px;
  --form-control-padding: var(--spacing10);
  --form-row-gap: 5px;
  --form-label-padding-top: 11px;

  /* Buttons */
  --button-padding: 12px;
}
/****************************************************/
/** 02. Grundlagen                                 **/
/****************************************************/
* {
  box-sizing: border-box;
}

body {
  background: var(--color-background) url(images/logo_background.png) repeat;
  color: var(--color-text);
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

pre {
  font-family: inherit;
  line-height: inherit;
}

header,
main,
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-white);
  border-left: 1px solid var(--color-brand);
  border-right: 1px solid var(--color-brand);
  padding: var(--spacing10);
}

.main_popup {
  border: 1px solid var(--color-brand);
}

header {
  border-top: 1px solid var(--color-brand);
  border-bottom: none;
  color: var(--color-brand);
  padding: 0;
}

footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
  text-align: center;
  border-top: none;
}

footer a {
  color: var(--color-footer-text);
  font-size: var(--text-size8);
  text-decoration: none;
}

.img-fullwidth {
  width: 100%;
  height: auto;
}

.einzeilig {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
/****************************************************/
/** 02.1 Typografie                                **/
/****************************************************/
.hint7 {
  font-size: var(--text-size7);
}

.hint8 {
  font-size: var(--text-size8);
}
/****************************************************/
/** 02.2 Links & Rückmeldungen                     **/
/****************************************************/
a {
  color: var(--color-link);
  text-decoration: none;
  /* Automatischer Umbruch langer Links */
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color var(--transition15);
}

a:visited {
  color: var(--color-link-visited);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

a:active {
  color: var(--color-link);
}

.fehlerbox,
.erfolgbox {
  border: 1px solid;
  border-radius: var(--radius4);
  margin-bottom: 1em;
  padding: var(--spacing10);
}

.fehlerbox ul,
.fehlerbox ul li,
.erfolgbox ul,
.erfolgbox ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fehlerbox {
  background: var(--color-error-background);
  border-color: var(--color-error);
  color: var(--color-error);
}

.erfolgbox {
  background: var(--color-success-background);
  border-color: var(--color-success);
  color: var(--color-success);
}
/****************************************************/
/** 03.1 Header-Navigation                         **/
/****************************************************/
nav {
  background: var(--color-brand);
  color: var(--color-navigation-text);
  position: relative;
  z-index: 1001;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing10) var(--spacing20);
}

.menu-toggle,
.close-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-navigation-text);
  cursor: pointer;
  display: none;
}

.menu {
  display: flex;
  gap: var(--spacing10);
  list-style: none;
}

.menu li {
  list-style: none;
  position: relative;
}

.menu a {
  color: var(--color-navigation-text);
  text-decoration: none;
  padding: var(--spacing10);
  display: flex;
  align-items: center;
/* Keine Verwendung bei MCGS
  border-radius: var(--radius-default);
*/
  transition: background var(--transition15), color var(--transition15), transform var(--transition15);

}

.menu a:hover {
  color: var(--color-navigation-text-hover);
/* Keine Verwendung bei MCGS
  background: var(--color-brand-hover);
*/
  transform: translateY(-1px);
}

.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-navigation-background-dark);
  min-width: 200px;                /* Dropdown Breite */
  padding: 0 var(--spacing10);     /* Optional für mehr Abstand */
  border-radius: var(--radius4);   /* Optional für optische Verbesserung */
}

.menu li:hover ul {
  display: block;
}

.menu i {
  margin-right: var(--spacing8);
  width: 16px;
  text-align: center;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-overlay);
  z-index: 1000;
}

.overlay.active {
  display: block;
}
/****************************************************/
/** 03.2 Responsive Navigation                     **/
/****************************************************/
@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: var(--color-navigation-background-dark);
    flex-direction: column;
    margin: 0;
    padding: var(--spacing60) var(--spacing20);
    transform: translateX(100%);
    transition: transform var(--transition4);
    overflow-y: auto;
  }

  .menu.active {
    transform: translateX(0);
  }

  .menu li ul {
    position: static;
  }

  .menu li.show-submenu > ul {
    display: block;
  }

  .close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }
}
/****************************************************/
/** 03.3 Footer-Navigation                         **/
/****************************************************/

.footer-nav {
  background: var(--color-footer);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing10);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing10);
}

.footer-nav ul li a {
  color: var(--color-footer-text);
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: var(--color-footer-text);
  text-decoration: underline;
}

@media (max-width: 350px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 5px;
  }

  .footer-nav ul li a {
    display: inline-block;
    width: auto;
  }
}

footer p {
  margin: var(--spacing10) 0 0;
  font-size: 0.9em;
  color: var(--color-text-light);
}
/****************************************************/
/** 03.4 Breadcrumb-Navigation                     **/
/****************************************************/
.breadcrumb {
  font-size: var(--text-size8);
  padding: var(--spacing10);
  color: var(--color-text-light);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--color-link);
}

.breadcrumb .sep {
  margin: 0 5px;
  color: var(--color-separator);
}
/****************************************************/
/** 04.1 Pagination                                **/
/****************************************************/
.pagination {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-bottom: 0.5em;
}

.pagination > *:first-child {
  justify-self: start;
}

.pagination > *:last-child {
  justify-self: end;
}
/****************************************************/
/** 05.1 Slider                                    **/
/****************************************************/
.slider-container {
  max-width: 600px;
  margin: var(--spacing20) auto;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform var(--transition4);
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
  /* Standard-Bildstil überschreiben */
  border-radius: 0;
  box-shadow: none;
  max-width: none;
  height: auto;
}

.nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 var(--spacing16);
  opacity: 0;
  transition: opacity var(--transition4);
  pointer-events: none;
}

.slider-container:hover .nav-buttons {
  opacity: 1;
}

.nav-buttons button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-slider-control);
  color: var(--color-button-text);
  border: none;
  cursor: pointer;
  font-size: 20px;
  pointer-events: all;
  transition: background-color var(--transition4);
}

.nav-buttons button:hover {
  background-color: var(--color-slider-control-hover);
}

.progress-container {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing10);
  gap: 6px;
}

.progress-bar {
  width: 50px;
  height: 4px;
  background-color: var(--color-progress-background);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-progress);
  transition: none;
}
/****************************************************/
/** 06.1 Tabellen                                  **/
/****************************************************/
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 0 solid var(--color-border);
  padding: var(--spacing10);
  text-align: left;
}

/* Klickbare Zeilen */
tr.clickable {
  cursor: pointer;
  position: relative;
}

/* Hover-Effekt */
tr.clickable:hover {
  background-color: var(--color-surface);
}

@media screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  tr {
    border: 0 solid var(--color-border);
    margin-bottom: var(--spacing16);
    padding: var(--spacing10);
  }

  td {
    border: none;
    border-bottom: 1px dotted var(--color-border);
    position: relative;
    padding-left: 0;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    left: 10px;
    position: absolute;
    top: 10px;
  }
}
/****************************************************/
/** 06.2 Tabellensortierung                        **/
/****************************************************/
.sortierung a {
  text-decoration: none;
  color: var(--color-link);
}

.sortierung a:hover {
  text-decoration: none;
  color: var(--color-link-hover);
}

.sortierung th {
  border-bottom: 1px dotted var(--color-border);
}

.sortierung i {
  color: var(--color-icon);
}

.sortierung i.active {
  color: var(--color-icon-active);
}
/****************************************************/
/** 07.1 Formulare                                 **/
/****************************************************/

/* === Standardformulare === */
.form_container {
  max-width: var(--form-container-width);
  margin: 0 auto;
  padding: 0 var(--spacing10);
}

/* === Edit-Formulare === */
.form_container_edit {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing10);
}

/* === Grunddesign der Formularfelder === */
.form_field {
  border: var(--border-default);
  border-radius: var(--radius-default);
  background-color: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition4);
}

/* === Eingabefelder === */
.form_input,
.form_textarea,
.form_select {
  margin-bottom: var(--spacing16);
  padding: var(--form-control-padding);
}

.form_input {
  width: 100%;
}

.form_input[type="date"] {
  width: var(--form-control-width);
}

.form_textarea {
  width: 100%;
  height: 150px;
  resize: both;
}

.form_select {
  width: var(--form-control-width);
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23666"><polygon points="4,6 8,10 12,6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 35px;
}

/* === Auswahlgruppen === */
.form_choice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing10);
  min-height: var(--form-control-height);
  padding: var(--form-control-padding);
  width: var(--form-control-width);
}

.form_choice label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing4);
  cursor: pointer;
  margin: 0;
}

/* === Native Auswahlfelder === */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-brand);
  cursor: pointer;
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* === Anzeigeelemente === */
.form_display {
  background-color: var(--color-surface);
  padding: var(--form-control-padding);
}

/* === Fokuszustände === */
.form_input:focus,
.form_textarea:focus,
.form_select:focus {
  border-color: var(--color-brand);
  outline: none;
}

.form_choice:focus-within {
  border-color: var(--color-brand);
}

/* === Grid-Layout der Edit-Formulare === */
.form_container_edit .form_input,
.form_container_edit .form_textarea,
.form_container_edit .form_select {
  margin-bottom: 0;
}

.form_group {
  display: grid;
  grid-template-columns: var(--form-label-width) 1fr;
  gap: var(--form-row-gap) 0;
  margin-bottom: var(--spacing16);
}

.form_label {
  color: var(--color-label);
  padding-top: var(--form-label-padding-top);
}

.form_input_group {
  width: 100%;
}

.form_hint {
  color: var(--color-text-light);
  font-size: var(--text-size8);
}

/* === Responsive Anpassungen === */
@media (max-width: 600px) {
  .form_group {
    grid-template-columns: 1fr;
  }

  .form_label {
    padding-top: 0;
    width: 100%;
  }
}
/****************************************************/
/** 07.2 Buttons                                   **/
/****************************************************/
.button,
.button_del,
.button_prev {
  border: none;
  border-radius: var(--radius-default);
  cursor: pointer;
  font-size: 1rem;
  margin-top: var(--spacing16);
  padding: var(--button-padding);
  transition: background var(--transition15), color var(--transition15);
}

.button {
  background: var(--color-brand);
  color: var(--color-button-text);
}

.button:hover {
  background: var(--color-brand-hover);
}

.button_del {
  background: var(--color-error-background);
  color: var(--color-error);
}

.button_del:hover {
  background: var(--color-error);
  color: var(--color-button-text);
}

.button_prev {
  background: var(--color-button-secondary-background);
  color: var(--color-brand);
}

.button_prev:hover {
  background: var(--color-button-secondary-background-hover);
}
/****************************************************/
/** 08.1 Inhalte, Sektionen & Artikelboxen         **/
/****************************************************/
.art {
  display: block;                    /* Standard für Container-Elemente */
  width: 100%;                       /* nimmt volle verfügbare Breite ein */
  margin-bottom: var(--spacing20);   /* Abstand zu folgendem Block */
}

.sec {
  background: var(--color-white);   /* optional, für sauberen Kontrast */
  border: var(--border-default);
  padding: 5px;
  border-radius: var(--radius-default);
}

.ftr {
  text-align: right;
  font-size: var(--text-size7);
  margin-top: var(--spacing10);
  color: var(--color-text-light);
}
/****************************************************/
/** 08.2 Bilder                                    **/
/****************************************************/
/* Responsive Bilder */
img {
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-default);
  display: block;
  max-width: 100%;
  height: auto;
}

/* Link auf Bildgröße begrenzen */
a.colorbox {
  display: inline-block;
}
/****************************************************/
/** 17. Gridboxen                                  **/
/****************************************************/
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), 1fr);
  gap: var(--spacing10);
  width: 100%;
}

.grid_edit {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), 1fr);
  gap: var(--spacing4) var(--spacing10);
  width: 100%;
}

/* Gewünschte Anzahl an Spalten */
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }

/* Responsive Breakpoints: reduziert die Spaltenanzahl automatisch */
/* 5 → 4 → 3 → 2 → 1 */
@media (max-width: 1100px) { .grid--5 { --cols: 4; } }
@media (max-width: 768px)  { .grid--5 { --cols: 3; } }
@media (max-width: 600px)  { .grid--5 { --cols: 2; } }
@media (max-width: 480px)  { .grid--5 { --cols: 1; } }

/* 4 → 3 → 2 → 1 */
@media (max-width: 1100px) { .grid--4 { --cols: 3; } }
@media (max-width: 768px)  { .grid--4 { --cols: 2; } }
@media (max-width: 600px)  { .grid--4 { --cols: 1; } }

/* 3 → 2 → 1 */
@media (max-width: 1100px) { .grid--3 { --cols: 2; } }
@media (max-width: 600px)  { .grid--3 { --cols: 1; } }

/* 2 → 1 */
@media (max-width: 600px)  { .grid--2 { --cols: 1; } }
/****************************************************/
/** 08.4 Galerie                                   **/
/****************************************************/
figure.bild {
  margin: 5px;
  text-align: center;
}

figure.bild img {
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-default);
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--transition4);
}

figure.bild img:hover {
  transform: scale(1.02);
}

figure.bild figcaption {
  font-size: var(--text-size8);
  margin: 5px 0;
  color: var(--color-text-light);
}

/* === Responsive Anpassungen === */
@media (max-width: 992px) {
  .galerie-container.columns-4,
  .galerie-container.columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .galerie-container.columns-4,
  .galerie-container.columns-3,
  .galerie-container.columns-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .galerie-container {
    grid-template-columns: 1fr;
  }
}
/****************************************************/
/** 08.5 Video-Embeds                              **/
/****************************************************/
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing16);
  padding: var(--spacing16);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--color-black);
  border-radius: var(--radius-default);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    padding: var(--spacing8);
  }
}
/****************************************************/
/** 09.1 Scroll-to-Top                             **/
/****************************************************/
.scroll-to-top {
  position: fixed;
  bottom: var(--spacing40);
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-brand);
  color: var(--color-button-text);
  font-size: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1000;
  transition: opacity var(--transition4), transform var(--transition4), background-color var(--transition4);
  box-shadow: var(--shadow-default);
}

.scroll-to-top i {
  margin: auto;
}

.scroll-to-top:hover {
  background-color: var(--color-brand-hover);
  color: var(--color-button-text);
  transform: scale(1.1);
  text-decoration: none;
}
/****************************************************/
/** 09.2 Cookie-Banner                             **/
/****************************************************/
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  background: var(--color-white);
  color: var(--color-text);
  padding: 1.5rem;
  width: 90%;
  max-width: 400px;
  border: var(--border-default);
  border-radius: var(--radius-default);
  box-shadow: var(--shadow-default);
  text-align: center;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all var(--transition4);
}

#cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

#cookie-banner.hide {
  transform: translateX(-50%) translateY(200%);
  opacity: 0;
}

#cookie-banner h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--color-brand);
}

#cookie-banner a {
  color: var(--color-link);
  text-decoration: underline;
}

.cookie-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing10);
  margin-top: 1rem;
}

.cookie-buttons .secondary {
  background: var(--color-button-secondary-background);
  color: var(--color-brand);
}

.cookie-buttons .secondary:hover {
  background: var(--color-button-secondary-background-hover);
}

/* === Responsive Anpassungen === */
@media (max-width: 600px) {
  .cookie-buttons {
    grid-template-columns: 1fr;
  }
}
/****************************************************/
/** 10.1 Icons                                     **/
/****************************************************/
/*
  Font-Familie und font-weight müssen zum Icon-Stil passen (z.B. solid, regular, brands).
  Solid Icons:  font-weight: 900 und Font Awesome 6 Free
  Regular Icons:  font-weight: 400 und Font Awesome 6 Free
  Brand Icons:  Font Awesome 6 Brands
*/

.fa-solid {
  margin-right: 0.3em;
}

.icon-car::before,
.icon-file::before,
.icon-image::before,
.icon-mail::before,
.icon-pdf::before,
.icon-lock::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.3em;
}

.icon-car::before {
  content: "\f1b9";
}

.icon-file::before {
  content: "\f15b";
}

.icon-image::before {
  content: "\f302";
}

.icon-mail::before {
  content: "\f0e0";
}

.icon-pdf::before {
  content: "\f1c1";
}

.icon-lock::before {
  content: "\f023";
}
/****************************************************/
/** 10.2 TinyMCE-Anpassungen                       **/
/****************************************************/
.tox-tinymce {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius6) !important;
}

/****************************************************/
/** 99. Projektspezifische Erweiterungen           **/
/****************************************************/
/****************************************************/
/** 99.1 News                                      **/
/****************************************************/
/* Text und Pokal nebeneinander */
.news-sec-header {
  display: grid;
  grid-template-columns: 1fr 200px; /* Text flexibel, Bild fix */
  gap: 1rem;                        /* Abstand zwischen Text und Bild */
  align-items: start;               /* Bild und Text oben ausrichten */
}

/* Textbereich */
.news-sec-text {
  width: 100%;
}

/* Pokalbereich */
.news-pokal-wrapper {
  width: 200px;
}

.news-pokal-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Responsive Anpassungen === */
@media (max-width: 600px) {
  .news-sec-header {
    grid-template-columns: 1fr; /* einspaltig */
    justify-items: start;       /* Bild und Text links */
  }

  .news-pokal-wrapper {
    margin-bottom: 10px;
    width: auto;                /* weiter fix, optional: 100% */
  }
}
