/* ========== SKIP LINK (WCAG 2.4.1) ========== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    padding: 12px 24px;
    background: #28a745;
    color: white !important;
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

#address {
    padding-bottom: 2rem;
}
#footer {
    padding-top: 10px;
}


.bg-footer {
    background-color: #343a40;
}
@media screen and (max-width: 599px){
  .hidemdup, .hide599down {
  display: none;
}
}
@media screen and (min-width: 600px){
  .hidesmdown, .hide600up {
  display: none;
}
}
@media screen and (min-width: 768px){
  .hide768up {
  display: none;
}
}
@media screen and (min-width: 1024px){
  .hide1024up {
  display: none;
}
}
@media screen and (min-width: 1280px){
  .hide1280up {
  display: none;
}
}
@media screen and (min-width: 1440px){
  .hide1440up {
  display: none;
}
}
footer a {
	text-decoration: none !important;
	color: white !important;
}
footer a:hover {
	
	color: #0F80FF !important;
}
#cr-line {
	padding: 1em;
}
@media and screen (min-width: 768px) {

}
footer p {
	font-size: calc(13px + 0.1vw)
}
.copyright-line {
	padding: calc(14px + 0.1vw) 0;
}
.copyright-line ul li {
	list-style: none;
	display: inline;
	font-size: calc(14px + 0.1vw)
}
.pad-marg-0 {
	padding: 0;
	margin: 0
}
ul.cp-right {
padding-right: 40px;
}
footer ul {
	padding-bottom: 0;
	margin-bottom: 0;
}
@media screen and (max-width: 767px){
ul.cp-right ul.cp-left {
	text-align: center;
	}
}
@media screen and (max-width: 375px){
	#copyright-line2, #copyright-line3 {
	font-size: 13px;
	}
}
@media screen and (max-width: 330px){
	#copyright-line2, #copyright-line3 {
	font-size: 12px;
	}
}

@media screen and (max-width: 767px){
	#footer-md {
		display: none;
	}
}

/* Sticky CTA is now at top (under navbar), no footer padding needed */
@media screen and (min-width: 768px){
	#footer-sm {
		display: none;
	}
}
@media screen and (min-width: 1024px){
	#arbeitsumfeld-text-bigger p{
		font-size: calc(16px + 0.3vw);
		margin-right: ;
	}
}
@media screen and (min-width: 1280px){
	#arbeitsumfeld-text-bigger p {
		margin-right: 8vw;
	}
}
.map-arbeitsgebiet, .logo-qualicert {
	max-height: 200px;
}
@media screen and (max-width: 1023px){
	.logo-qualicert img {
		width: 150px;
	}
}
.license-osm a, .license-osm a:hover {
	color: transparent !important;
}

/* Verwandte Themen im Footer - Vertikale Liste */
.footer-related-list {
	padding: 0;
}

/* Überschrift zentriert */
.footer-related-list p.text-bigger {
	text-align: center;
}

.related-links-list {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.related-links-list li {
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

.related-links-list li:last-child {
	border-bottom: none;
}

.related-links-list a {
	color: rgba(255,255,255,0.9) !important;
	font-size: 0.9rem;
	transition: color 0.2s ease-out;
	display: block;
	padding: 0.25rem 0;
	position: relative;
	letter-spacing: 0.3px;
	line-height: 1.4;
}

.related-links-list a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #28a745, #5cb85c);
	transition: width 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.related-links-list a:hover {
	color: #2ecc71 !important;
	text-shadow: 0 0 8px rgba(46, 204, 113, 0.25);
}

.related-links-list a:hover::after {
	width: 100%;
}

/* Keyboard Focus States (WCAG 2.4.7) - Enhanced */
.related-links-list a:focus {
	outline: 2px solid #28a745;
	outline-offset: 4px;
	border-radius: 4px;
}

.related-links-list a:focus-visible {
	outline: 2px solid #2ecc71;
	outline-offset: 4px;
	border-radius: 4px;
	box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}

/* Mobile Touch Feedback */
.related-links-list a:active {
	transform: scale(0.98);
}

@media screen and (max-width: 767px) {
	.footer-related-list {
		margin-top: 1rem;
	}

	.related-links-list {
		text-align: center;
	}
}

/* Kontakt-Links Animation (tel:, mailto:) */
footer a[href^="tel:"],
footer a[href^="mailto:"] {
	position: relative;
	transition: color 0.2s ease-out;
	display: inline-block;
}

footer a[href^="tel:"]::after,
footer a[href^="mailto:"]::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #28a745, #5cb85c);
	transition: width 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover {
	color: #2ecc71 !important;
	text-shadow: 0 0 8px rgba(46, 204, 113, 0.25);
}

footer a[href^="tel:"]:hover::after,
footer a[href^="mailto:"]:hover::after {
	width: 100%;
}

footer a[href^="tel:"]:focus,
footer a[href^="mailto:"]:focus {
	outline: 2px solid #28a745;
	outline-offset: 4px;
	border-radius: 4px;
}

footer a[href^="tel:"]:focus-visible,
footer a[href^="mailto:"]:focus-visible {
	outline: 2px solid #2ecc71;
	outline-offset: 4px;
	border-radius: 4px;
	box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}

/* Mobile Touch Feedback - Kontakt */
footer a[href^="tel:"]:active,
footer a[href^="mailto:"]:active {
	transform: scale(0.98);
}

/* Touch-Target Accessibility (WCAG 2.5.5 - min 44x44px) */
@media (pointer: coarse) {
	.nav-link,
	.navbar-toggler,
	footer a,
	.btn,
	a[href^="tel:"],
	a[href^="mailto:"] {
		min-height: 44px;
		min-width: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.navbar-nav .nav-link {
		padding: 12px 16px;
	}

	footer a {
		padding: 8px 4px;
	}
}

/* Navigation - prevent overflow on mobile */
.navbar {
	overflow-x: hidden;
}

.navbar-collapse {
	overflow-x: hidden;
}

/* Kompaktere Navigation auf kleinen Bildschirmen */
@media screen and (max-width: 767px) {
	.navbar-nav .nav-link {
		font-size: 0.95rem;
		padding: 0.5rem 1rem;
		white-space: nowrap;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.navbar-nav .nav-link {
		font-size: 0.85rem;
		padding: 0.5rem 0.6rem;
	}
}

/* ========== LANGUAGE SWITCHER (shared across all pages) ========== */
.lang-switcher {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 2px;
    margin-left: 15px;
}

.lang-switcher .lang-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #666;
    border-radius: 18px;
    transition: all 0.2s ease;
}

.lang-switcher .lang-btn:hover {
    color: #333;
    background: rgba(255, 255, 255, 0.7);
}

.lang-switcher .lang-btn.active {
    background: #28a745;
    color: white;
}

.lang-switcher .lang-btn.active:hover {
    background: #218838;
    color: white;
}

/* Focus states for language switcher (WCAG 2.1 AA) */
.lang-switcher .lang-btn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.lang-switcher .lang-btn:focus-visible {
    outline: 2px solid #2ecc71;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2);
}

.lang-switcher .lang-btn:focus:not(:focus-visible) {
    outline: none;
}

/* Navbar integration */
.navbar .lang-switcher {
    margin-left: auto;
}

@media (max-width: 767px) {
    .lang-switcher {
        margin: 10px auto;
        justify-content: center;
    }
}

/* Flag icons in language switcher */
.lang-switcher .flag-icon {
    width: 16px;
    height: 12px;
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 2px;
}

/* ========== FOOTER MOBILE FIXES ========== */
/* Override pointer:coarse touch-target rules for footer contact links */
@media screen and (max-width: 767px) {
  /* Tel/Mail Links: gleicher Zeilenabstand wie Text */
  #footer-sm .kontakt-links a[href^="tel:"],
  #footer-sm .kontakt-links a[href^="mailto:"] {
    min-height: auto !important;
    min-width: auto !important;
    display: inline !important;
    padding: 0 !important;
    line-height: inherit !important;
  }

  /* Kontakt-Links Block: kompakter Zeilenabstand */
  #footer-sm .kontakt-links p {
    line-height: 1.6;
  }
}

/* ========== COPYRIGHT LINE LINKS (Datenschutz/Impressum, Privacy/Legal) ========== */
/* Green hover underline animation - same style as related-links */
.copyright-line3 a,
.copyright-line a,
.cp-right a {
    position: relative;
    transition: color 0.2s ease-out;
}

.copyright-line3 a::after,
.copyright-line a::after,
.cp-right a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #5cb85c);
    transition: width 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.copyright-line3 a:hover,
.copyright-line a:hover,
.cp-right a:hover {
    color: #2ecc71 !important;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.25);
}

.copyright-line3 a:hover::after,
.copyright-line a:hover::after,
.cp-right a:hover::after {
    width: 100%;
}

/* Focus states for accessibility */
.copyright-line3 a:focus,
.copyright-line a:focus,
.cp-right a:focus {
    outline: 2px solid #28a745;
    outline-offset: 4px;
    border-radius: 4px;
}

.copyright-line3 a:focus-visible,
.copyright-line a:focus-visible,
.cp-right a:focus-visible {
    outline: 2px solid #2ecc71;
    outline-offset: 4px;
    border-radius: 4px;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}