/* ════════════════════════════════════════════════════════════
   Fusszeile: globaler Theme-Builder-Footer "fusszeile"
   (werkzeuge/divi/fusszeile.mjs). Nacht-Band, vier Spalten, darunter
   Linie mit Copyright, Fussmenue und "Design by geh-online".
   Kontrast auf #16131c: Text #ddd7e3 (13,0:1), Weiss (18,4:1), Licht #f2b630 (10,1:1).
   Schrift mindestens 16 px, Links mit mindestens 44 px Klickhoehe.
   ════════════════════════════════════════════════════════════ */

.ehc-fuss{ background:var(--gh-nacht, #16131c); color:#ddd7e3; }
.ehc-fuss{ row-gap:0 !important; gap:0 !important; }
.ehc-fuss .et_pb_row{ padding:0; margin-top:0; margin-bottom:0; }

/* Spalten: keine Eigenabstaende, damit alles auf der Inhaltskante beginnt */
.ehc-fuss__spalte{ padding:0 !important; min-width:0; row-gap:0 !important; gap:0 !important; }
.ehc-fuss .et_pb_module{ margin-left:0; margin-right:0; }

/* Ueberschriften der Spalten */
.ehc-fuss .ehc-fuss__titel .et_pb_module_header,
.ehc-fuss .ehc-fuss__titel h2{
	font-size:1.5rem !important; line-height:1.15 !important; letter-spacing:0;
	color:#fff !important; margin:0 !important; padding:0 !important;
}

/* Text und Links */
.ehc-fuss .ehc-fuss__text, .ehc-fuss .ehc-fuss__text .et_pb_text_inner{
	color:#ddd7e3; font-size:1.0625rem; line-height:1.6;
}
.ehc-fuss .ehc-fuss__text p{ margin:0; padding:0; }
.ehc-fuss .ehc-fuss__titel{ margin-bottom:.75rem !important; }
.ehc-fuss .ehc-fuss__text p + p{ margin-top:.5rem; }
.ehc-fuss .ehc-fuss__text a,
.ehc-fuss .ehc-fuss__menue a{
	color:#fff; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em;
	overflow-wrap:anywhere;
}
.ehc-fuss .ehc-fuss__text a:hover,
.ehc-fuss .ehc-fuss__menue a:hover{ color:#fff; text-decoration-thickness:2px; }
.ehc-fuss a:focus-visible{ outline:3px solid #f2b630 !important; outline-offset:3px; border-radius:3px; }

/* Klickflaeche: jeder Link mindestens 44 px hoch */
.ehc-fuss .ehc-fuss__text a{ display:inline-flex; align-items:center; min-height:44px; }
.ehc-fuss .ehc-fuss__etikett{ display:block; font-size:1rem; color:#ddd7e3; line-height:1.3; margin-bottom:-4px; }
.ehc-fuss .ehc-fuss__etikett + a{ min-height:44px; }

/* Aktionslinks in Licht, fett */
.ehc-fuss .ehc-fuss__text a.ehc-fuss__aktion{ color:#fff; font-weight:700; text-decoration-color:rgba(255,255,255,.6); }
.ehc-fuss .ehc-fuss__text a.ehc-fuss__aktion:hover{ color:#fff; text-decoration-color:#fff; }

/* Erste Zeile der Link-Spalte buendig mit den Textzeilen daneben (der Link ist 44 px hoch, der Text sitzt mittig) */
.ehc-fuss .ehc-fuss__links p:first-child{ margin-top:-9px; }
.ehc-fuss .ehc-fuss__links p + p{ margin-top:0; }

/* Soziale Links: kleines Symbol vor dem Text, per Maske in Textfarbe (kein Bild, kein Fremdskript) */
.ehc-fuss .ehc-fuss__facebook, .ehc-fuss .ehc-fuss__instagram{ gap:.6rem; }
.ehc-fuss .ehc-fuss__facebook::before, .ehc-fuss .ehc-fuss__instagram::before{
	content:""; flex:none; width:1.25rem; height:1.25rem; background:currentColor;
	-webkit-mask:var(--ehc-symbol) center/contain no-repeat; mask:var(--ehc-symbol) center/contain no-repeat;
}
.ehc-fuss .ehc-fuss__facebook{ --ehc-symbol:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13.5 21v-8h2.7l.4-3.2h-3.1V7.8c0-.9.3-1.5 1.6-1.5h1.7V3.4c-.3 0-1.3-.1-2.4-.1-2.4 0-4.1 1.5-4.1 4.2v2.3H7.5V13h2.8v8z'/></svg>"); }
.ehc-fuss .ehc-fuss__instagram{ --ehc-symbol:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7.5 3h9A4.5 4.5 0 0 1 21 7.5v9a4.5 4.5 0 0 1-4.5 4.5h-9A4.5 4.5 0 0 1 3 16.5v-9A4.5 4.5 0 0 1 7.5 3zm0 1.8a2.7 2.7 0 0 0-2.7 2.7v9a2.7 2.7 0 0 0 2.7 2.7h9a2.7 2.7 0 0 0 2.7-2.7v-9a2.7 2.7 0 0 0-2.7-2.7zM12 7.8a4.2 4.2 0 1 1 0 8.4 4.2 4.2 0 0 1 0-8.4zm0 1.8a2.4 2.4 0 1 0 0 4.8 2.4 2.4 0 0 0 0-4.8zm4.6-3.1a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/></svg>"); }

/* Untere Zeile: Linie, links Copyright + Menue, rechts Credit */
.ehc-fuss .ehc-fuss__unten{ margin-top:40px; border-top:1px solid rgba(221,215,227,.28); padding-top:12px; }
.ehc-fuss .ehc-fuss__unten-spalte{
	padding:0 !important; display:flex !important; flex-flow:row wrap; align-items:center;
	justify-content:flex-start; gap:0 32px;
}
.ehc-fuss .ehc-fuss__unten-spalte > .et_pb_module{ margin:0 !important; width:auto; flex:0 0 auto; }
.ehc-fuss .ehc-fuss__copy p{ white-space:nowrap; }
.ehc-fuss .ehc-fuss__unten-spalte > .ehc-fuss__credit{ margin-left:auto !important; }
.ehc-fuss .ehc-fuss__credit p{ white-space:nowrap; }

/* Fussmenue: Menue-Modul als schlichte Linkzeile, ohne Hamburger */
.ehc-fuss .ehc-fuss__menue.et_pb_menu{ background:none; padding:0; flex:1 1 auto; }
/* Auf Seiten mit Theme-Builder-Koerper (.et-db: Produkt, Chronik, 404) setzt Divi
   das Menue-Modul ueber eine ID-Regel auf Weiss und Links auf Logo-Rot. */
.et-db #et-boc .et-l .ehc-fuss__menue.et_pb_menu{ background:none !important; }
.et-db #et-boc .et-l .ehc-fuss .ehc-fuss__text a,
.et-db #et-boc .et-l .ehc-fuss .ehc-fuss__menue a{ color:#fff !important; }
.ehc-fuss .ehc-fuss__menue .et_pb_row, .ehc-fuss .ehc-fuss__menue .et_pb_menu_inner_container{ padding:0; width:auto; }
.ehc-fuss .ehc-fuss__menue .et_pb_menu__wrap{ display:block; }
.ehc-fuss .ehc-fuss__menue .et_pb_menu__menu{ display:block !important; }
.ehc-fuss .ehc-fuss__menue .et_mobile_nav_menu, .ehc-fuss .ehc-fuss__menue .mobile_nav{ display:none !important; }
.ehc-fuss .ehc-fuss__menue .et_pb_menu__search-container, .ehc-fuss .ehc-fuss__menue .et_pb_menu__icon{ display:none !important; }
.ehc-fuss .ehc-fuss__menue nav, .ehc-fuss .ehc-fuss__menue ul.et-menu{ display:flex !important; flex-wrap:wrap; align-items:center; gap:0 28px; }
.ehc-fuss .ehc-fuss__menue, .ehc-fuss .ehc-fuss__menue nav, .ehc-fuss .ehc-fuss__menue ul.et-menu{ margin:0 !important; padding:0 !important; }
.ehc-fuss .ehc-fuss__menue ul.et-menu > li{ margin:0 !important; padding:0 !important; }
.ehc-fuss .ehc-fuss__menue ul.et-menu > li > a{
	display:inline-flex !important; align-items:center; min-height:44px; padding:0 !important;
	font-size:1rem !important; font-weight:400; color:#fff !important; opacity:1 !important;
}
.ehc-fuss .ehc-fuss__menue ul.et-menu > li > a:hover{ color:#fff !important; text-decoration-thickness:2px; }
.ehc-fuss .ehc-fuss__menue ul.et-menu > li.current-menu-item > a{ text-decoration:underline; }

/* Sicherheitsgurt: der Standard-Footer des Themes darf neben dem Theme-Builder-Footer nie erscheinen */
body.et-tb-has-footer #main-footer{ display:none; }

/* Wird die Zeile zu eng: Copyright links und Credit rechts oben, die Menuezeile darunter */
@media (max-width: 1240px){
	.ehc-fuss .ehc-fuss__copy{ order:1; }
	.ehc-fuss .ehc-fuss__credit{ order:2; }
	.ehc-fuss .ehc-fuss__menue.et_pb_menu{ order:3; flex:0 0 100%; }
	.ehc-fuss .ehc-fuss__menue ul.et-menu{ gap:0 16px; }
}

/* Tablet: zwei mal zwei */
@media (max-width: 980px){
	.ehc-fuss{ padding-top:56px !important; }
	.ehc-fuss .ehc-fuss__unten{ margin-top:40px; }
}

/* Handy: eine Spalte, untere Zeile untereinander */
@media (max-width: 767px){
	.ehc-fuss{ padding-top:48px !important; padding-bottom:16px !important; }
	.ehc-fuss .ehc-fuss__unten-spalte{ flex-direction:column; flex-wrap:nowrap; align-items:flex-start; gap:0; }
	.ehc-fuss .ehc-fuss__unten-spalte > .ehc-fuss__credit{ margin-left:0 !important; order:3; align-self:flex-end; }
	.ehc-fuss .ehc-fuss__menue.et_pb_menu{ order:2; flex:0 0 auto; width:100%; }
	.ehc-fuss .ehc-fuss__copy p{ white-space:normal; }
	.ehc-fuss .ehc-fuss__menue ul.et-menu{ gap:0 24px; }
}
