/*
Theme Name: GeneratePress Child – Akaygun
Theme URI: https://akaygun.de
Description: Child-Theme von GeneratePress für die Website von Akaygun (Sonnenschutz & Raumausstattung in Hamburg). Dienstleistungs-/Anfrage-Website mit Design und Content-Seiten.
Author: Akaygun
Author URI: https://akaygun.de
Template: generatepress
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-child
Tags: e-commerce, custom-colors, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   Eigenes Design ab hier.
   Globale Variablen, damit Farben/Typo zentral steuerbar bleiben.
   ========================================================================= */
:root {
	/* Farbwelt: Sand/Beige + Logo-Blau (Navy #233e73) + warmer Gold-Akzent –
	   markenkonform zum Logo, wohnlich & vertrauenswürdig. */
	--ak-color-primary: #233e73;        /* Logo-Blau (Buttons, Akzente) */
	--ak-color-primary-dark: #192c52;   /* Hover / dunkler Hintergrund */
	--ak-color-accent: #b07d4b;         /* warmes Sand-Gold für Highlights */
	--ak-color-text: #2a2a24;           /* fast-schwarz, warm */
	--ak-color-muted: #6b6b60;          /* Sekundärtext */
	--ak-color-light: #f3efe7;          /* Sand/Creme – Sektions-Hintergrund */
	--ak-color-bg: #faf8f3;             /* heller Beige-Grundton */
	--ak-color-white: #ffffff;

	--ak-radius: 8px;
	--ak-maxwidth: 1200px;
	--ak-gap: clamp(1rem, 3vw, 2rem);
}

/* =========================================================================
   Header / Logo
   ========================================================================= */
/* Wortmarke enthält bereits den Namen -> Text-Titel + Tagline ausblenden. */
.site-branding .main-title,
.site-branding .site-description {
	display: none;
}
/* Logo-Höhe steuern (Bild ist hochauflösend, CSS skaliert es scharf). */
.site-header .site-logo img {
	height: 46px;
	width: auto;
	max-width: none;
}
@media (max-width: 768px) {
	.site-header .site-logo img { height: 38px; }
}

/* =========================================================================
   Navigation – modern & minimalistisch
   ========================================================================= */
.main-navigation .main-nav > ul > li > a {
	position: relative;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .005em;
	color: var(--ak-color-text);
}

/* dezenter Hover-/Aktiv-Unterstrich (unten am Header) */
.main-navigation .main-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--ak-color-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s ease;
}
.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* kein grauer Hover-Kasten – nur Farbwechsel */
.main-navigation .main-nav ul li > a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
	background: transparent;
	color: var(--ak-color-primary);
}

/* etwas mehr Luft zwischen den Punkten */
.main-navigation .main-nav > ul > li > a {
	padding-left: 1.1em;
	padding-right: 1.1em;
}

/* Dropdowns (Untermenüs) dezent abrunden */
.main-navigation ul ul {
	border-radius: var(--ak-radius);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(25,44,82,.12);
}

/* =========================================================================
   Startseite – Sektionen
   ========================================================================= */

/* GeneratePress legt .site-content als Flex-Container an (für Sidebar).
   Auf unseren Sektions-Templates stapeln wir voll-breit (siehe body-Klasse). */
.ak-fullwidth #content.site-content {
	display: block;
	padding: 0;
}

.ak-section { padding: clamp(3rem, 7vw, 5.5rem) var(--ak-gap); }
.ak-inner { max-width: var(--ak-maxwidth); margin-inline: auto; }
.ak-section--light { background: var(--ak-color-light); }

.ak-eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 600;
	color: var(--ak-color-accent);
	margin: 0 0 .5rem;
}
.ak-section h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	color: var(--ak-color-primary-dark);
	margin: 0 0 1rem;
}

/* Buttons */
.ak-btn {
	display: inline-block;
	padding: .85em 1.6em;
	border-radius: var(--ak-radius);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color .2s ease, color .2s ease, transform .1s ease;
}
.ak-btn:active { transform: translateY(1px); }
.ak-btn--primary { background: var(--ak-color-primary); color: var(--ak-color-white); }
.ak-btn--primary:hover { background: var(--ak-color-primary-dark); color: var(--ak-color-white); }
.ak-btn--ghost {
	background: transparent;
	color: var(--ak-color-primary-dark);
	box-shadow: inset 0 0 0 2px var(--ak-color-primary);
}
.ak-btn--ghost:hover { background: var(--ak-color-primary); color: var(--ak-color-white); }

/* --- Hero --- */
.ak-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 60vh, 620px);
	padding: clamp(3rem, 7vw, 6rem) var(--ak-gap);
	background-color: var(--ak-color-primary-dark);
	background-size: cover;
	background-position: center 20%;
	color: var(--ak-color-white);
}
.ak-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(25,44,82,.78) 0%, rgba(25,44,82,.45) 60%, rgba(25,44,82,.25) 100%);
}
.ak-hero__inner { position: relative; max-width: 640px; }
.ak-hero h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 1.1;
	margin: 0 0 1rem;
	color: var(--ak-color-white);
}
.ak-hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 0 0 1.8rem; opacity: .95; }
.ak-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.ak-hero .ak-btn--ghost { color: var(--ak-color-white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.ak-hero .ak-btn--ghost:hover { background: var(--ak-color-white); color: var(--ak-color-primary-dark); }

/* --- Slider-Basis (Kategorien & Bewertungen) --- */
.ak-slider {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;          /* Firefox */
	-ms-overflow-style: none;       /* alte Edge */
	cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ak-slider::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.ak-slider.is-dragging { cursor: grabbing; }
.ak-slider.is-dragging a { pointer-events: none; } /* kein versehentlicher Klick beim Ziehen */
.ak-slider__track {
	display: flex;
	width: max-content;
}

/* Kategorie-Karten im Slider */
.ak-cat-slider { margin-top: 2rem; }
.ak-cat-slider .ak-cat {
	flex: 0 0 auto;
	width: 300px;
	margin-right: var(--ak-gap); /* Abstand inkl. letzter Karte -> nahtloser Loop */
}
@media (max-width: 480px) {
	.ak-cat-slider .ak-cat { width: 260px; }
}

/* --- Kategorie-Kachel --- */
.ak-cat {
	position: relative;
	display: block;
	border-radius: var(--ak-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ak-color-primary);
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(25,44,82,.08);
}
.ak-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ak-cat:hover img { transform: scale(1.05); }
.ak-cat__label {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.2rem 1rem .9rem;
	background: linear-gradient(to top, rgba(25,44,82,.85), transparent);
	color: var(--ak-color-white);
	font-weight: 600;
	font-size: 1.15rem;
}
.ak-cat__count { display: block; font-size: .8rem; font-weight: 400; opacity: .85; }

/* --- Service --- */
.ak-service__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
.ak-service__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--ak-radius); }
.ak-service ul { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.ak-service li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.ak-service li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--ak-color-primary);
	font-weight: 700;
}
@media (max-width: 760px) {
	.ak-service__grid { grid-template-columns: 1fr; }
}

/* --- Showroom --- */
.ak-showroom__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
.ak-showroom__list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.ak-showroom__list li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.ak-showroom__list li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--ak-color-primary);
	font-weight: 700;
}
.ak-showroom__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ak-showroom__card {
	background: var(--ak-color-light);
	border-radius: var(--ak-radius);
	padding: clamp(1.5rem, 4vw, 2rem);
	border: 1px solid #e7ded0;
}
.ak-showroom__card h3 { margin: 0 0 1rem; color: var(--ak-color-primary-dark); font-size: 1.2rem; }
.ak-showroom__addr { line-height: 1.6; margin: 0 0 1rem; }
.ak-showroom__hint { font-size: .95rem; color: var(--ak-color-muted); margin: 0 0 1rem; }
.ak-showroom__tel {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--ak-color-primary);
	text-decoration: none;
}
.ak-showroom__tel:hover { color: var(--ak-color-primary-dark); }
@media (max-width: 820px) {
	.ak-showroom__grid { grid-template-columns: 1fr; }
}
/* Karte sitzt jetzt in der "So finden Sie uns"-Box */
.ak-showroom__map { margin-top: 1.2rem; }
.ak-showroom__map iframe {
	display: block;
	width: 100%;
	height: 200px;
	border-radius: var(--ak-radius);
	filter: grayscale(.15);
}

/* --- Sterne (Bewertungen) --- */
.ak-stars { display: inline-flex; gap: 2px; font-size: 1.05rem; line-height: 1; }
.ak-star { color: #d9d2c4; }
.ak-star.is-full { color: #f5b315; }

/* --- Bewertungen --- */
.ak-reviews__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin: .5rem 0 1.6rem;
}
.ak-reviews__score { font-size: 1.8rem; font-weight: 800; color: var(--ak-color-primary-dark); line-height: 1; }
.ak-reviews__summary .ak-stars { font-size: 1.2rem; }
.ak-reviews__count { display: inline-flex; align-items: center; gap: .4rem; color: var(--ak-color-muted); font-weight: 600; }
.ak-reviews__link { margin-left: auto; padding: .6em 1.1em; }
@media (max-width: 600px) { .ak-reviews__link { margin-left: 0; } }

/* Bewertungs-Karten im Slider */
.ak-reviews-slider .ak-review {
	flex: 0 0 auto;
	width: 340px;
	margin-right: var(--ak-gap); /* Abstand inkl. letzter Karte -> nahtloser Loop */
}
@media (max-width: 480px) {
	.ak-reviews-slider .ak-review { width: 280px; }
}

.ak-review {
	background: var(--ak-color-white);
	border-radius: var(--ak-radius);
	padding: 1.1rem 1.25rem;
	margin: 0;
	box-shadow: 0 6px 20px rgba(25,44,82,.06);
	display: flex;
	flex-direction: column;
}
.ak-review .ak-stars { font-size: .95rem; }
.ak-review__text {
	margin: .55rem 0 .9rem;
	line-height: 1.5;
	color: var(--ak-color-text);
	font-size: .9rem;
	flex: 1;
	/* auf 4 Zeilen begrenzen -> einheitlich kompakte Höhe */
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ak-review__meta { display: flex; align-items: center; gap: .6rem; }
.ak-review__avatar {
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--ak-color-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .95rem;
	flex: 0 0 auto;
}
.ak-review__person { display: flex; flex-direction: column; }
.ak-review__name { font-weight: 700; color: var(--ak-color-text); }
.ak-review__date { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--ak-color-muted); }

/* --- CTA-Band --- */
.ak-cta {
	background: var(--ak-color-primary-dark);
	color: var(--ak-color-white);
	text-align: center;
}
.ak-cta h2 { color: var(--ak-color-white); }
.ak-cta p { font-size: 1.1rem; opacity: .9; margin: 0 0 1.6rem; }
.ak-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.ak-cta .ak-btn--ghost { color: var(--ak-color-white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.ak-cta .ak-btn--ghost:hover { background: var(--ak-color-white); color: var(--ak-color-primary-dark); }
.ak-cta__phone { font-size: 1.4rem; font-weight: 700; color: var(--ak-color-accent); text-decoration: none; }

/* =========================================================================
   Kontaktseite
   ========================================================================= */
.ak-contact__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	color: var(--ak-color-primary-dark);
	margin: 0 0 .8rem;
}
.ak-contact__lead { max-width: 60ch; color: var(--ak-color-muted); margin: 0 0 2.5rem; font-size: 1.1rem; }

.ak-contact__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
@media (max-width: 820px) {
	.ak-contact__grid { grid-template-columns: 1fr; }
}

/* --- Formular --- */
.ak-form__row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.ak-form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) {
	.ak-form__cols { grid-template-columns: 1fr; }
}
.ak-form label { font-weight: 600; margin-bottom: .35rem; color: var(--ak-color-text); }
.ak-form input,
.ak-form select,
.ak-form textarea {
	width: 100%;
	padding: .75em .9em;
	border: 1px solid #d6cfc2;
	border-radius: var(--ak-radius);
	background: var(--ak-color-white);
	font: inherit;
	color: var(--ak-color-text);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ak-form input:focus,
.ak-form select:focus,
.ak-form textarea:focus {
	outline: none;
	border-color: var(--ak-color-primary);
	box-shadow: 0 0 0 3px rgba(35,62,115,.15);
}
.ak-form textarea { resize: vertical; }
.ak-form .ak-btn { margin-top: .5rem; cursor: pointer; border: 0; }
.ak-form__hint { font-size: .85rem; color: var(--ak-color-muted); margin: .8rem 0 0; }

/* Honeypot: für Menschen unsichtbar */
.ak-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hinweisboxen */
.ak-alert {
	padding: 1rem 1.2rem;
	border-radius: var(--ak-radius);
	margin-bottom: 1.5rem;
	border-left: 4px solid;
}
.ak-alert--success { background: #eaf3ec; border-color: var(--ak-color-primary); color: var(--ak-color-primary-dark); }
.ak-alert--error   { background: #fbeceb; border-color: #c0392b; color: #8c2a20; }

/* --- Kontaktdaten-Box --- */
.ak-contact__info {
	background: var(--ak-color-light);
	padding: clamp(1.5rem, 4vw, 2rem);
	border-radius: var(--ak-radius);
}
.ak-contact__info h2 { margin: 0 0 1.2rem; font-size: 1.3rem; color: var(--ak-color-primary-dark); }
.ak-contact__block { margin: 0 0 1.1rem; line-height: 1.6; }
.ak-contact__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ak-color-muted); margin-bottom: .15rem; }
.ak-contact__info a { color: var(--ak-color-primary-dark); font-weight: 600; text-decoration: none; }
.ak-contact__info a:hover { text-decoration: underline; }
.ak-contact__note { font-size: .95rem; color: var(--ak-color-muted); margin: 1.5rem 0 0; }

/* Footer-Rechts-Links */
.ak-footer-legal { display: block; margin-top: .4rem; font-size: .9rem; opacity: .85; }
.ak-footer-legal a { color: inherit; text-decoration: none; }
.ak-footer-legal a:hover { text-decoration: underline; }

/* =========================================================================
   Rechtliche Seiten (Impressum, Datenschutz …)
   ========================================================================= */
.ak-legal .ak-inner { max-width: 800px; }
.ak-legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ak-color-primary-dark); margin: 0 0 1.5rem; }
.ak-legal h2 { font-size: 1.2rem; color: var(--ak-color-primary-dark); margin: 2rem 0 .5rem; }
.ak-legal p { line-height: 1.7; margin: 0 0 1rem; }
.ak-legal a { color: var(--ak-color-primary); }
.ak-legal__note {
	margin-top: 2.5rem;
	padding: 1rem 1.2rem;
	background: var(--ak-color-light);
	border-left: 4px solid var(--ak-color-accent);
	border-radius: var(--ak-radius);
	font-size: .95rem;
	color: var(--ak-color-muted);
}

/* =========================================================================
   Soziale Medien – schlanke Leiste
   ========================================================================= */
.ak-social {
	padding: 1.1rem var(--ak-gap);
	background: var(--ak-color-light);
	border-top: 1px solid #e7ded0;
}
.ak-social__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: .6rem 1.2rem;
}
.ak-social__label {
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .82rem;
	color: var(--ak-color-muted);
}
.ak-social__icons { display: flex; align-items: center; gap: .6rem; }
.ak-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--ak-color-primary-dark);
	background: var(--ak-color-white);
	box-shadow: 0 2px 8px rgba(25,44,82,.08);
	transition: transform .15s ease, color .2s ease, background-color .2s ease;
}
.ak-social__icon:hover { transform: translateY(-2px); color: #fff; }
.ak-social__icon--instagram:hover { background: #e1306c; }
.ak-social__icon--facebook:hover  { background: #1877f2; }
.ak-social__icon--tiktok:hover    { background: #010101; }

/* =========================================================================
   Schwebender WhatsApp-Button
   ========================================================================= */
.ak-wa {
	position: fixed;
	right: clamp(14px, 3vw, 26px);
	bottom: clamp(14px, 3vw, 26px);
	z-index: 999;
	display: inline-flex;
	align-items: center;
	height: 58px;
	padding: 0 8px;
	border-radius: 29px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(37,211,102,.45);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ak-wa:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37,211,102,.55); }
.ak-wa__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
}
.ak-wa__label {
	max-width: 0;
	white-space: nowrap;
	font-weight: 700;
	font-size: .95rem;
	opacity: 0;
	transition: max-width .35s ease, opacity .25s ease, padding .35s ease;
}
/* Label beim Hover/Fokus ausklappen (Desktop) */
@media (hover: hover) {
	.ak-wa:hover .ak-wa__label,
	.ak-wa:focus-visible .ak-wa__label {
		max-width: 220px;
		opacity: 1;
		padding-right: .9rem;
	}
}
/* sanfter Auftritt + dezenter Puls beim Laden */
.ak-wa { animation: ak-wa-in .4s ease both; }
@keyframes ak-wa-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.ak-wa { animation: none; }
	.ak-wa, .ak-wa__label { transition: none; }
}

/* =========================================================================
   Referenzen-Seite
   ========================================================================= */
.ak-ref-intro h1 {
	font-size: clamp(1.9rem, 4.5vw, 2.8rem);
	color: var(--ak-color-primary-dark);
	margin: 0 0 1rem;
	line-height: 1.15;
}
.ak-ref-lead { max-width: 70ch; font-size: 1.12rem; line-height: 1.7; color: var(--ak-color-muted); margin: 0; }
.ak-ref-regions {
	max-width: 70ch;
	line-height: 1.8;
	color: var(--ak-color-text);
	background: var(--ak-color-white);
	border-left: 4px solid var(--ak-color-accent);
	border-radius: var(--ak-radius);
	padding: 1rem 1.2rem;
}
.ak-ref-subhead { margin: 2rem 0 .8rem; color: var(--ak-color-primary-dark); font-size: 1.2rem; }
.ak-ref-services {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: .6rem 1.2rem;
}
.ak-ref-services li {
	position: relative;
	padding-left: 1.8rem;
	font-weight: 600;
	color: var(--ak-color-text);
}
.ak-ref-services li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--ak-color-primary);
	font-weight: 700;
}

/* Galerie-Block aus dem Editor dezent abrunden */
.ak-ref-gallery__content img { border-radius: var(--ak-radius); }
.ak-ref-gallery__content .wp-block-gallery { margin-top: 1.5rem; }
.ak-ref-gallery__content > p:first-child:last-child {
	color: var(--ak-color-muted);
}

/* =========================================================================
   Instagram-Sektion
   ========================================================================= */
.ak-ig__intro { color: var(--ak-color-muted); margin: 0 0 1.8rem; font-size: 1.05rem; }
.ak-ig__intro a { color: var(--ak-color-primary); font-weight: 600; text-decoration: none; }
.ak-ig__intro a:hover { text-decoration: underline; }
.ak-ig-slider { margin-top: 1.5rem; }
.ak-ig-slider .ak-ig__item {
	flex: 0 0 auto;
	width: 280px;
	margin-right: var(--ak-gap); /* Abstand inkl. letzter Karte -> nahtloser Loop */
}

/* Schlanke Reel-Karte: oben Profilzeile, darunter nur das Cover mit Play */
.ak-ig-card {
	background: var(--ak-color-white);
	border-radius: var(--ak-radius);
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(25,44,82,.08);
	display: flex;
	flex-direction: column;
}
.ak-ig-card__top {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem .75rem;
}
.ak-ig-card__avatar { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; }
.ak-ig-card__user {
	flex: 1;
	min-width: 0;
	font-weight: 600;
	font-size: .85rem;
	color: var(--ak-color-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ak-ig-card__follow {
	flex: 0 0 auto;
	font-size: .8rem;
	font-weight: 700;
	color: var(--ak-color-primary);
	text-decoration: none;
	white-space: nowrap;
}
.ak-ig-card__follow:hover { text-decoration: underline; }
.ak-ig-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	background: #000;
}
.ak-ig-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-ig-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}
.ak-ig-card__media:hover .ak-ig-card__play { transform: scale(1.08); }
@media (max-width: 480px) {
	.ak-ig-slider .ak-ig__item { width: 250px; }
}

/* =========================================================================
   Randloses / breiteres Layout (Header + Inhalt voll-breit)
   ========================================================================= */
/* Header über die volle Breite, Logo & Navi näher an die Ränder */
.inside-header {
	max-width: 100%;
	padding-left: clamp(1rem, 4vw, 3.5rem);
	padding-right: clamp(1rem, 4vw, 3.5rem);
}
/* Inhalts-Container randlos: jede GeneratePress-Begrenzung aufheben,
   damit Hero & Sektionen wirklich bis an die Bildschirmränder gehen. */
.ak-fullwidth #page,
.ak-fullwidth #content,
.ak-fullwidth #primary,
.ak-fullwidth .site-content,
.ak-fullwidth .content-area {
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
/* Lesetexte/Inhalte innerhalb der Sektionen bleiben angenehm breit (zentriert) */
:root {
	--ak-maxwidth: 1480px;
}

/* =========================================================================
   Über-uns-Seite
   ========================================================================= */
.ak-about-intro h1 {
	font-size: clamp(1.9rem, 4.5vw, 2.8rem);
	color: var(--ak-color-primary-dark);
	line-height: 1.15;
	margin: 0 0 1rem;
}
.ak-about-lead { max-width: 70ch; font-size: 1.12rem; line-height: 1.7; color: var(--ak-color-muted); margin: 0 0 1.5rem; }
.ak-about-lead strong { color: var(--ak-color-text); }

.ak-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--ak-gap);
	margin-top: 2rem;
}
.ak-value {
	background: var(--ak-color-white);
	border-radius: var(--ak-radius);
	padding: 1.6rem;
	box-shadow: 0 4px 14px rgba(25,44,82,.05);
}
.ak-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ak-color-primary);
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: .8rem;
}
.ak-value h3 { margin: 0 0 .4rem; color: var(--ak-color-primary-dark); font-size: 1.15rem; }
.ak-value p { margin: 0; color: var(--ak-color-muted); line-height: 1.6; }

/* =========================================================================
   Google-Maps Consent (Karte erst auf Klick)
   ========================================================================= */
.ak-map { border-radius: var(--ak-radius); overflow: hidden; }
.ak-map__consent {
	background: var(--ak-color-light);
	border: 1px solid #e7ded0;
	border-radius: var(--ak-radius);
	padding: 1.3rem 1.2rem;
	text-align: center;
}
.ak-map__consent p { margin: 0 0 .9rem; color: var(--ak-color-muted); font-size: .9rem; line-height: 1.5; }
.ak-map__load { cursor: pointer; border: 0; }
.ak-map__note { font-size: .8rem; margin: .9rem 0 0; }
.ak-map__note a { color: var(--ak-color-primary); text-decoration: none; }
.ak-map__note a:hover { text-decoration: underline; }
.ak-map iframe { display: block; border-radius: var(--ak-radius); }

/* =========================================================================
   Cookie-Consent-Banner
   ========================================================================= */
.ak-consent {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 1000;
	background: var(--ak-color-white);
	border-top: 1px solid #e7ded0;
	box-shadow: 0 -6px 24px rgba(25,44,82,.15);
	padding: 1rem var(--ak-gap);
}
.ak-consent[hidden] { display: none; }
.ak-consent__inner {
	max-width: var(--ak-maxwidth);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .8rem 1.5rem;
}
.ak-consent__text { flex: 1 1 320px; margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ak-color-text); }
.ak-consent__text a { color: var(--ak-color-primary); font-weight: 600; }
.ak-consent__options { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: .2rem 0; }
.ak-consent__options label { font-size: .88rem; color: var(--ak-color-text); display: inline-flex; align-items: center; gap: .4rem; }
.ak-consent__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.ak-consent .ak-btn { padding: .6em 1.15em; font-size: .9rem; cursor: pointer; border: 0; }
.ak-consent .ak-btn--ghost { border: 0; }
@media (max-width: 600px) {
	.ak-consent .ak-btn { flex: 1 1 auto; text-align: center; }
}

/* Cookie-Banner: „Einstellungen"-Toggle mit Pfeil */
.ak-consent__toggle {
	background: none;
	border: 0;
	color: var(--ak-color-muted);
	font: inherit;
	font-size: .9rem;
	cursor: pointer;
	padding: .6em .4em;
	display: inline-flex;
	align-items: center;
	gap: .3em;
}
.ak-consent__toggle:hover { color: var(--ak-color-primary); }
.ak-consent__arrow { transition: transform .2s ease; }
.ak-consent.is-open .ak-consent__arrow { transform: rotate(180deg); }
.ak-consent__accept { font-weight: 700; }

/* Rechtstexte (Datenschutz-Generator): Listen & Zwischenüberschriften */
.ak-legal h3 { font-size: 1.05rem; color: var(--ak-color-primary-dark); margin: 1.5rem 0 .5rem; }
.ak-legal ul { margin: 0 0 1rem 1.2rem; line-height: 1.7; }
.ak-legal ul li { margin-bottom: .4rem; }
.ak-legal .index, .ak-legal .m-elements, .ak-legal .glossary { font-size: .95rem; }
.ak-legal .seal { margin-top: 2rem; font-size: .85rem; }
