/*
Theme Name: iDea - Clean & Powerful Bootstrap Theme
Author: HtmlCoder
Author URI: http://www.htmlcoder.me
Author e-mail: htmlcoder.me@gmail.com
Version: 1.2.0 
Created: August 2014
License URI: http://support.wrapbootstrap.com/
File Description: Place here your custom CSS styles
*/

/* ==========================================================================
   Footer – Social Links
   style.css setzt feste 45px + 5px Margin pro Icon = 295px bei 6 Icons.
   Die col-md-3-Spalte bietet nur 212–262px -> letztes Icon bricht um.
   Fix: Flexbox mit fluiden, quadratischen Buttons statt fester Breite.
   ========================================================================== */

.footer-content .social-links {
	display: flex;
	flex-wrap: wrap; /* Sicherheitsnetz fuer sehr schmale Viewports */
	gap: 5px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.footer-content .social-links li {
	flex: 1 1 auto; /* Items teilen sich die Breite gleichmaessig */
	min-width: 28px; /* Mindest-Zielgroesse WCAG 2.2 (2.5.8 AA) */
	max-width: 45px; /* Originalgroesse als Obergrenze */
	margin: 0;
}

.footer-content .social-links li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1; /* haelt die Buttons quadratisch */
	font-size: clamp(0.875rem, 1.4vw, 1.25rem);
	text-decoration: none; /* kein Unterstrich bei Hover/Focus */
}

.footer-content .social-links li a:hover,
.footer-content .social-links li a:focus {
	text-decoration: none;
}

.footer-content .social-links li a i {
	line-height: 1; /* neutralisiert line-height: 44px aus style.css */
}

/* Sichtbarer Fokus fuer Tastaturnutzer (WCAG 2.4.7 AA) */
.footer-content .social-links li a:focus-visible {
	outline: 2px solid #e30613;
	outline-offset: 2px;
}

/* Fallback ohne aspect-ratio (Safari < 15) */
@supports not (aspect-ratio: 1 / 1) {
	.footer-content .social-links li a {
		position: relative;
		height: 0;
		padding-bottom: 100%;
	}
	.footer-content .social-links li a i {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}