/*
Theme Name:   Anselm-Künle GmbH
Theme URI:    https://anselm-kuenle.de
Description:  Das Website-Theme der Anselm-Künle GmbH aus Mahlberg: klar, persönlich und handwerklich geradlinig – so wie der Betrieb selbst. Es stellt die Leistungen in Heizung, Sanitär, Solar und Baublechnerei, die ausgeführten Projekte und den direkten Draht zum Team in den Mittelpunkt, in kräftigem Anselm-Rot und auf jedem Gerät gut lesbar.
Author:       RJ Mediendesign
Author URI:   https://rj-mediendesign.de
Version:      1.0.16
Requires at least: 6.4
Requires PHP: 8.1
License:      GPL-2.0-or-later
Text Domain:  anselm-kuenle
*/

/* ==========================================================================
   Schriften (lokal)
   ========================================================================== */
@font-face{font-family:"Roboto";font-style:normal;font-weight:100 900;font-display:swap;src:url("assets/fonts/roboto-normal-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Roboto";font-style:italic;font-weight:100 900;font-display:swap;src:url("assets/fonts/roboto-italic-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url("assets/fonts/fa-solid-900.woff2") format("woff2")}

/* ==========================================================================
   Farben (aus dem Elementor-Kit)
   ========================================================================== */
:root{
	--ak-red-dark:#AD0B36;
	--ak-red:#DA053A;
	--ak-pink:#F9E9E8;
	--ak-secondary:#54595F;
	--ak-text:#7A7A7A;
	--ak-black:#000;
	--ak-gradient:linear-gradient(90deg,#AD0B36 0%,#DA053A 100%);
	--ak-gradient-bg:linear-gradient(75deg,#AD0B36 0%,#DA053A 100%);
	--ak-container:1140px;
}

/* ==========================================================================
   Basis (Hello-Reset + Kit)
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{line-height:1.15;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:#333;font-family:Arial,Helvetica,sans-serif;font-size:1rem;line-height:1.5;font-weight:400;-webkit-font-smoothing:antialiased;
	display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.ak-main{flex:1 0 auto;display:block}
h1,h2,h3,h4,h5,h6{margin:.5rem 0 1rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}
p{margin:0 0 .9rem}
a{background:transparent;text-decoration:none;color:#c36}
a:hover{color:#336}
img{border-style:none;height:auto;max-width:100%;vertical-align:middle}
ul{margin:0;padding:0;list-style:none}
button{font-family:inherit}
.screen-reader-text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;width:auto;height:auto;margin:0;padding:10px 16px;clip:auto;background:#fff;color:#000;font-weight:700}

.ak-container{width:100%;max-width:var(--ak-container);margin-left:auto;margin-right:auto}
.ak-section{width:100%}
/* Absätze am Ende eines Textblocks ohne Abstand (wie Elementor) */
.ak-intro__text > :last-child,.ak-about__text > :last-child,.ak-leistungen__text > :last-child,.ak-about__sub > :last-child,.ak-contact__label > :last-child,.ak-tiles p:last-child,.ak-footer__copy > :last-child{margin-bottom:0}

/* Hilfsklassen aus dem Kit */
.ueberschrift_rot{background:-webkit-linear-gradient(90deg,#AD0B36 0%,#DA053A 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.text_bereich{text-align:justify;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:8 3 3;hyphenate-limit-lines:2}

/* Abschnittsüberschrift (Typografie „3169f66“: 40px, 600, Großbuchstaben) */
.ak-title{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin:0 0 20px;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:40px;font-weight:600;line-height:1;text-transform:uppercase;text-align:center;color:var(--ak-red-dark)}

/* ==========================================================================
   Icons (SVG-Maske, Farbe wechselbar) + Font Awesome (Adresse)
   ========================================================================== */
.ak-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:9px;border-radius:10%;background:var(--ak-pink);color:var(--ak-red);font-size:18px;line-height:1;transition:background .3s ease,color .3s ease}
.ak-icon__glyph{display:block;width:18px;height:18px;background-color:currentColor;-webkit-mask:var(--ak-icon) center/contain no-repeat;mask:var(--ak-icon) center/contain no-repeat}
.ak-icon .fas{font-family:"Font Awesome 5 Free";font-weight:900;font-style:normal;font-size:18px;line-height:1;display:block;width:18px;text-align:center;-webkit-font-smoothing:antialiased}

/* Sanftes Scrollen zu Ankern; Abstand für den fixierten Header */
html{scroll-behavior:smooth}
section[id],[id].ak-section{scroll-margin-top:143px}
.admin-bar .ak-header{top:32px}
.admin-bar section[id],.admin-bar [id].ak-section{scroll-margin-top:175px}
@media (max-width:782px){.admin-bar .ak-header{top:46px}.admin-bar section[id],.admin-bar [id].ak-section{scroll-margin-top:189px}}
@media (max-width:600px){.admin-bar .ak-header{top:0}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ==========================================================================
   Header (sticky)
   ========================================================================== */
.ak-header{position:sticky;top:0;z-index:100;background:#fff}
.ak-header__inner{display:flex;flex-direction:row;align-items:stretch;max-width:var(--ak-container);margin:0 auto;padding:10px 0}
.ak-header__logo{display:flex;flex-direction:column;justify-content:center;width:22%;flex:0 0 22%}
.ak-header__logo a{display:block}
.ak-header__logo img{display:block;width:202px;max-width:100%;height:auto}
.ak-header__nav{display:flex;flex-direction:column;justify-content:center;align-items:stretch;flex:1 1 auto;min-width:0}

.ak-nav{position:relative;width:100%}
.ak-nav__toggle{display:none}
.ak-nav .ak-menu{display:flex;flex-direction:row;justify-content:flex-end;align-items:stretch}
.ak-nav .menu-item{position:relative;display:block}
.ak-nav .ak-nav__link[role=button]{cursor:pointer}
.ak-nav .ak-nav__link{display:flex;align-items:center;padding:13px 20px;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.5px;color:#333;white-space:nowrap;transition:all .3s ease}
.ak-nav .menu-item > .ak-nav__link:hover,
.ak-nav .menu-item > .ak-nav__link:focus-visible,
.ak-nav .ak-nav__link.is-active,
.ak-nav .menu-item:hover > .ak-nav__link{color:#C0073A}
.ak-nav__arrow{display:inline-block;width:0;height:0;margin-left:10px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #333;-webkit-text-fill-color:initial;transition:border-color .3s ease}
.ak-nav .menu-item:hover > .ak-nav__link .ak-nav__arrow,.ak-nav .menu-item.is-open > .ak-nav__link .ak-nav__arrow{border-top-color:#C0073A}

/* Dropdown (Desktop) – roter Verlauf, Pfeil schiebt beim Hover ein */
.ak-nav .sub-menu{position:absolute;top:calc(100% + 10px);left:0;z-index:99;width:240px;padding:8px 0;border-radius:10px;background:linear-gradient(160deg,#AD0B36 0%,#DA053A 100%);box-shadow:0 18px 40px rgba(173,11,54,.35);
	opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease,visibility .25s}
.ak-nav .sub-menu::before{content:"";position:absolute;top:-7px;left:30px;width:16px;height:16px;border-radius:3px;background:#B30A38;transform:rotate(45deg)}
.ak-nav .sub-menu::after{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.ak-nav .menu-item-has-children:hover > .sub-menu,
.ak-nav .menu-item-has-children:focus-within > .sub-menu,
.ak-nav .menu-item-has-children.is-open > .sub-menu{opacity:1;visibility:visible;transform:none}
.ak-nav .sub-menu li{position:relative;background:none}
.ak-nav .sub-menu li:not(:last-child){border-bottom:1px solid rgba(255,255,255,.14)}
.ak-nav .sub-menu .ak-nav__link{display:flex;justify-content:space-between;align-items:center;padding:13px 22px;font-size:14px;font-weight:600;letter-spacing:.8px;color:#fff;-webkit-text-fill-color:#fff;background:none;white-space:normal;transition:background .2s ease,padding .2s ease}
.ak-nav .sub-menu .ak-nav__link::after{content:"\2192";opacity:0;transform:translateX(-8px);transition:opacity .2s ease,transform .2s ease}
.ak-nav .sub-menu .ak-nav__link:hover,
.ak-nav .sub-menu .ak-nav__link:focus-visible,
.ak-nav .sub-menu .ak-nav__link.is-active{background:rgba(0,0,0,.14);color:#fff;-webkit-text-fill-color:#fff;padding-left:28px}
.ak-nav .sub-menu .ak-nav__link:hover::after,
.ak-nav .sub-menu .ak-nav__link:focus-visible::after,
.ak-nav .sub-menu .ak-nav__link.is-active::after{opacity:1;transform:none}
.ak-nav .sub-menu li:first-child .ak-nav__link{border-radius:10px 10px 0 0}
.ak-nav .sub-menu li:last-child .ak-nav__link{border-radius:0 0 10px 10px}

/* ==========================================================================
   Startseite
   ========================================================================== */
/* Hero */
.ak-hero{background-image:var(--ak-gradient-bg)}
.ak-hero__grid{display:grid;grid-template-columns:2fr 1.5fr;grid-template-rows:repeat(1,1fr)}
.ak-hero__text{display:flex;flex-direction:column;justify-content:center;padding:47px}
.ak-hero__title{margin:0;padding:0 0 20px;font-family:Arial,Helvetica,sans-serif;font-size:57px;font-weight:700;line-height:63px;color:#fff}
.ak-hero__sub{margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:25px;font-weight:700;line-height:1;color:#fff}
.ak-hero__image{min-width:0}
.ak-hero__image img{display:block;width:100%;height:100%;object-fit:cover}

/* Einleitung */
.ak-intro .ak-container{padding:60px 0}
.ak-intro__text{margin:0 60px;font-size:24px;font-style:italic;font-weight:400;color:var(--ak-secondary)}

/* Aufruf-Band */
.ak-cta{background-image:var(--ak-gradient-bg)}
.ak-cta__inner{padding-top:20px;padding-bottom:20px}
.ak-cta__title{margin:0 0 20px;padding:0;font-size:29px;font-weight:700;line-height:1;text-align:center;color:#fff}
.ak-cta__title a{color:#fff}
.ak-cta__sub{margin:0;padding:10px 0 0;font-size:26px;font-weight:400;line-height:1;text-align:center;color:#fff}

/* Leistungen */
.ak-leistungen{padding:60px 0 30px}
.ak-leistungen .ak-title{margin-bottom:20px}
.ak-leistungen__sub{margin:10px 0 30px;padding:0;font-size:26px;font-weight:600;line-height:1;text-align:center;color:#000}
.ak-leistungen__text{width:80%;max-width:80%;margin:10px auto 20px;font-size:24px;font-weight:400;text-align:center;color:var(--ak-secondary)}
.ak-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin:30px 0 50px}
.leistung_kachel{position:relative;display:flex;flex-direction:column;min-height:230px;border-radius:5px;border:3px solid transparent;
	background:linear-gradient(#fff,#fff) padding-box,linear-gradient(#fff,#fff) border-box;
	box-shadow:0 0 10px 0 rgba(0,0,0,.14);color:inherit;cursor:pointer;
	transition:transform .3s cubic-bezier(.25,1,.5,1),background .3s ease;will-change:transform}
div.leistung_kachel{cursor:default}
.leistung_kachel:hover{transform:scale(1.03);background:linear-gradient(#fff,#fff) padding-box,var(--ak-gradient) border-box}
.leistung_kachel .ak-icon{align-self:flex-start;margin:20px 0 20px 10px}
.leistung_kachel:hover .ak-icon{background:var(--ak-gradient);color:#fff}
.leistung_kachel h3{margin:15px 0 35px 10px;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:600;line-height:1;color:#000}
.leistung_kachel:hover .leistung_text{background:var(--ak-gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.leistung_kachel p{margin:0 0 10px 10px;font-family:Arial,Helvetica,sans-serif;font-weight:500;color:var(--ak-secondary)}
.leistung_kachel h3{margin-bottom:15px}
/* Elementor: Überschrift 15px unten + 20px Widget-Abstand = 35px bis zum Text → hier über Absatz-Abstand */
.leistung_kachel h3 + p{margin-top:20px}

/* Über uns */
.ak-about{background-image:var(--ak-gradient-bg)}
.ak-about__inner{padding-top:60px}
.ak-about__title{margin:0 0 20px;padding:0;font-size:40px;font-weight:600;line-height:1;text-transform:uppercase;text-align:center;color:#fff}
.ak-about__sub{margin:10px 0 20px;font-size:26px;font-weight:600;text-align:center;color:#fff}
.ak-about__image{margin:10px 0 20px}
.ak-about__image img{display:block;width:100%;height:394px;object-fit:cover;object-position:center center}
.ak-about__text{padding:30px 50px 40px;font-size:18px;font-weight:500;color:#fff}

/* Kontakt */
.ak-contact{padding-top:60px}
.ak-contact .ak-title{margin-bottom:20px;color:var(--ak-red-dark)}
.ak-contact__grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:100px;margin:10px 0 50px;padding:0 40px}
.ak-contact__label{margin:10px 0 20px;font-weight:600;color:#000}
.ak-contact__label--map{margin-left:10px}
.ak-contact__info{display:flex;flex-direction:column}
.ak-map{margin-bottom:24px;border-radius:8px;overflow:hidden}
.ak-map iframe{display:block;width:100%;height:300px;border:0}
.ak-address{display:flex;flex-direction:column;margin:0;padding:6px 0;list-style:none;background:#fff;border:1px solid #eee;border-radius:8px;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.ak-address li + li{border-top:1px solid #f1f1f1}
.ak-address__row{display:flex;align-items:center;gap:16px;padding:14px 20px;color:inherit;text-decoration:none;transition:background .25s ease}
.ak-address__row:hover,.ak-address__row:focus-visible{background:#fdf6f6;color:inherit}
.ak-address__row .ak-icon{flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:8px}
.ak-address__text{display:flex;flex-direction:column;gap:3px;min-width:0}
.ak-address__label{font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#9a9a9a}
.ak-address__value{font-size:16px;font-weight:600;color:#333;overflow-wrap:anywhere;transition:color .25s ease}
.ak-address__row:hover .ak-address__value{color:#C0073A}
.ak-address__row:hover .ak-icon{background:var(--ak-gradient);color:#fff}

/* Formular (Elementor-Optik) */
.ak-form{display:flex;flex-wrap:wrap;margin:0 -5px;font-family:Arial,Helvetica,sans-serif}
.ak-form__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ak-field{padding:0 5px;margin-bottom:15px;display:flex;flex-direction:column;position:relative}
.ak-field--full{width:100%}
.ak-field--half{width:50%}
.ak-field label{padding-bottom:0;font-size:inherit;font-weight:500;line-height:1.4;color:#000000A8}
.ak-field input[type=text],.ak-field input[type=email],.ak-field input[type=tel],.ak-field textarea{width:100%;min-height:33px;padding:4px 12px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4;color:#1f2124;background:#fff;border:2px solid #53535347;border-radius:5px;vertical-align:middle}
.ak-field textarea{min-height:0;resize:vertical}
.ak-field input:focus,.ak-field textarea:focus{outline:0;border-color:#AD0B36}
.ak-field--check label{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#000000A8}
.ak-field--check input{margin:4px 0 0;flex:0 0 auto}
.ak-field--submit{margin-bottom:0}
.ak-button{display:block;width:100%;padding:12px 24px;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1;font-weight:400;text-align:center;color:#fff;background:var(--ak-gradient);border:0;border-radius:3px;cursor:pointer;transition:all .3s ease}
.ak-button:hover,.ak-button:focus{color:#fff;filter:brightness(1.08)}
.ak-button[disabled]{opacity:.6;cursor:wait}
.ak-field__error{margin-top:4px;font-size:12px;color:#DA053A}
.ak-form__message{width:100%;margin:15px 5px 0;padding:0;font-size:14px;line-height:1.4}
.ak-form__message.is-success{color:#2d7a3e}
.ak-form__message.is-error{color:#DA053A}

/* ==========================================================================
   Partner
   ========================================================================== */
.ak-partner .ak-container{padding-top:60px;padding-bottom:30px}
.ak-partner__grid{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr);gap:40px;margin-top:60px}
.ak-partner .ak-title{margin-bottom:0}
.ak-partner__card{display:flex;flex-direction:column;border:2px solid #A7A7A799;border-radius:5px;box-shadow:-2px 2px 6px 0 rgba(0,0,0,.41);padding:40px 0 10px;background:#fff;transition:border-radius .3s ease}
.ak-partner__card:hover{border-radius:0}
.ak-partner__card--intro{justify-content:center;padding:90px 30px 70px;background-image:var(--ak-gradient)}
.ak-partner__card--intro p{margin:0;font-size:30px;font-weight:700;line-height:1.5;text-align:center;color:#fff}
.ak-partner__name{margin:0 0 50px;font-size:25px;font-weight:600;text-align:center;color:#000}
.ak-partner__img{margin:0 0 50px}
.ak-partner__img img{display:block;width:var(--w,60%);margin:0 auto}
.ak-partner__desc{margin:10px 0 30px 10px;font-size:20px;font-weight:600;text-align:center;color:var(--ak-secondary)}
.ak-partner__card > :last-child{margin-bottom:0}

/* ==========================================================================
   Kategorie-Seiten / Projekte
   ========================================================================== */
.ak-archive .ak-container{padding-top:60px;padding-bottom:40px}
.ak-archive .ak-title{margin-bottom:0}
.ak-loop{display:grid;grid-template-columns:1fr;row-gap:40px;margin-top:0}
.ak-loop__item{display:flex;flex-direction:column;margin-bottom:20px;min-width:0}
.unterkategorie{display:none;margin:0 0 40px;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:26px;font-weight:600;line-height:1;text-align:center;color:#000}
.ak-loop__title{max-width:100%;overflow-wrap:anywhere;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin:0 0 10px 42px;padding:0 0 5px;font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:500;line-height:1em;color:var(--ak-text)}
.ak-loop__item[hidden]{display:none}
.unterkategorie-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px 0 40px;max-width:100%;padding:0 20px}
.unterkategorie-tab{flex-shrink:0;padding:8px 16px;border:2px solid #555;border-radius:20px;background:#fff;color:#555;font-family:Arial,sans-serif;font-size:14px;line-height:1.5;white-space:nowrap;cursor:pointer;transition:all .2s ease}
.unterkategorie-tab.active,.unterkategorie-tab:hover{border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,var(--ak-gradient) border-box;color:#DA053A}
.ak-empty{text-align:center;color:var(--ak-secondary)}

/* ==========================================================================
   Textseiten (Impressum, Datenschutz)
   ========================================================================== */
.ak-page .ak-container{padding-top:0}
.ak-page__content{padding:30px 0;font-family:"Roboto",Arial,sans-serif;font-weight:400;color:var(--ak-text)}
.ak-page__content h1{font-size:2.5rem}
.ak-page__content h2{font-size:2rem}
.ak-page__content h3{font-size:1.75rem}
.ak-page__content h4{font-size:1.5rem}
.ak-page__content a{color:#c36}

/* ==========================================================================
   Footer
   ========================================================================== */
.ak-footer{background:#414141;border-top:4px solid var(--ak-red-dark);flex-shrink:0;color:#fff}
.ak-footer__inner{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;max-width:var(--ak-container);margin:0 auto;padding:36px 20px}
.ak-footer__logo{justify-self:start}
.ak-footer__logo img{display:block;width:111px;height:auto}
.ak-footer__copy{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:1.5;text-align:center;color:#fff}
.ak-footer__copy a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;transition:color .2s ease}
.ak-footer__nav{justify-self:end}
.ak-footer__nav .ak-menu{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.ak-footer__nav .ak-nav__link{display:inline;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:600;line-height:1.4;color:#fff;transition:color .2s ease}
.ak-footer__copy a:hover,.ak-footer__copy a:focus-visible,.ak-footer__nav .ak-nav__link:hover,.ak-footer__nav .ak-nav__link:focus-visible{color:var(--ak-red)}

/* Slider-Zeile hat in der Kachel-Ansicht keinen Überlauf */
.slider-force-full{min-width:0}

/* ==========================================================================
   Tablet (bis 1024px)
   ========================================================================== */
@media (max-width:1024px){
	.ak-header__logo{margin-left:70px}
	.ak-header__logo img{width:100%}
	.ak-header__nav{align-items:flex-end}
	.ak-nav{position:static;width:auto;margin-right:70px}
	.ak-nav__toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;width:34px;height:34px;padding:0 7px;border:0;border-radius:3px;background:rgba(0,0,0,.05);cursor:pointer}
	.ak-nav__toggle span{display:block;height:3px;border-radius:1px;background:#33373d}
	.ak-nav__toggle{background:none}
	.ak-nav__toggle span{transition:transform .2s ease,opacity .2s ease}
	.ak-nav.is-open .ak-nav__toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
	.ak-nav.is-open .ak-nav__toggle span:nth-child(2){opacity:0}
	.ak-nav.is-open .ak-nav__toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
	.ak-nav__list{position:absolute;top:100%;left:0;right:0;z-index:99;width:100%;max-height:calc(100vh - 100px);overflow-y:auto;background:linear-gradient(160deg,#AD0B36 0%,#DA053A 100%);box-shadow:0 18px 40px rgba(0,0,0,.18);transform:scaleY(0);transform-origin:top;transition:transform .25s ease}
	.ak-nav.is-open .ak-nav__list{transform:scaleY(1)}
	.ak-nav .ak-menu{display:block}
	.ak-nav .ak-menu > li{background:none}
	.ak-nav .ak-menu > li:not(:last-child){border-bottom:1px solid rgba(255,255,255,.15)}
	.ak-nav .menu-item > .ak-nav__link{justify-content:space-between;padding:16px 24px;font-size:15px;font-weight:700;letter-spacing:.8px;color:#fff;-webkit-text-fill-color:#fff;background:none;white-space:normal}
	.ak-nav .menu-item > .ak-nav__link:hover,.ak-nav .menu-item:hover > .ak-nav__link,.ak-nav .ak-nav__link.is-active{background:rgba(0,0,0,.14);color:#fff;-webkit-text-fill-color:#fff}
	.ak-nav__arrow,.ak-nav .menu-item:hover > .ak-nav__link .ak-nav__arrow,.ak-nav .menu-item.is-open > .ak-nav__link .ak-nav__arrow{border-top-color:#fff;transition:transform .2s ease}
	.ak-nav .menu-item.is-open > .ak-nav__link .ak-nav__arrow{transform:rotate(180deg)}
	.ak-nav .sub-menu{position:static;display:none;width:auto;padding:0;border-radius:0;background:rgba(0,0,0,.16);box-shadow:none;opacity:1;visibility:visible;transform:none}
	.ak-nav .sub-menu::before,.ak-nav .sub-menu::after{display:none}
	.ak-nav .menu-item.is-open > .sub-menu{display:block}
	.ak-nav .sub-menu li:not(:last-child){border-bottom:1px solid rgba(255,255,255,.1)}
	.ak-nav .sub-menu .ak-nav__link,.ak-nav .sub-menu li .ak-nav__link{padding:13px 24px 13px 40px;font-size:14px;border-radius:0}
	.ak-nav .sub-menu .ak-nav__link::after{opacity:.5;transform:none}
	.ak-nav .sub-menu .ak-nav__link:hover,.ak-nav .sub-menu .ak-nav__link.is-active{padding-left:40px;background:rgba(0,0,0,.18)}
	.ak-nav .sub-menu .ak-nav__link:hover::after{opacity:1}

	.ak-hero__text{padding:25px}
	.ak-hero__title{font-size:40px;line-height:1.3em}
	.ak-hero__sub{font-size:22px;line-height:1.3em}
	.ak-intro .ak-container{padding:30px 0}
	.ak-leistungen{padding:40px 0 20px}
	.ak-tiles{grid-template-columns:repeat(2,1fr);margin:30px 0 20px;padding:0 20px}
	.ak-about__inner{padding-top:40px}
	.ak-about__image img{height:100%}
	.ak-contact{padding-top:40px}
	.ak-contact__grid{column-gap:20px;padding:0 20px}
	.ak-partner .ak-container{padding-top:40px;padding-left:20px;padding-right:20px}
	.ak-page .ak-container{padding-left:20px;padding-right:20px}
	.unterkategorie-tab{white-space:normal;max-width:100%;text-align:center}
	.ak-partner__grid{grid-template-columns:1fr;grid-template-rows:auto}
	.ak-partner__card{min-height:268px;justify-content:center;padding:15px;margin-bottom:0}
	.ak-partner__card--intro{padding:15px}
	.ak-partner__card--intro p{font-size:23px}
	.ak-partner__name{margin-bottom:20px;font-size:20px}
	.ak-partner__img{margin-bottom:20px}
	.ak-partner__desc{margin:0;font-size:18px}
	.ak-loop__title{margin:0 40px 10px;font-size:16px;line-height:1.5em}
	/* Leistungskacheln: gleichmäßige, kompaktere Abstände */
	.leistung_kachel{min-height:0;padding-bottom:22px}
	.leistung_kachel .ak-icon{margin:18px 0 14px 10px}
	.leistung_kachel h3{margin:0 10px 10px 10px}
	.leistung_kachel h3 + p{margin-top:0}
	.leistung_kachel p{margin-bottom:0}
	.unterkategorie{display:block;margin-bottom:20px}
}

/* ==========================================================================
   Mobil (bis 767px)
   ========================================================================== */
@media (max-width:767px){
	:root{--ak-h-size:30px}
	.ak-title,.ak-about__title{font-size:30px}
	.ak-leistungen__sub,.ak-about__sub,.unterkategorie{font-size:22px}

	.ak-header__logo{width:37%;flex:0 0 37%;margin-left:20px}
	.ak-header__nav{width:50%;flex:0 0 50%;align-items:flex-end;justify-content:center}
	.ak-nav{margin-right:0}

	.ak-hero__grid{grid-template-columns:1fr}
	.ak-hero__text{padding:20px}
	.ak-hero__title{font-size:37px;line-height:1.2em}
	.ak-hero__sub{font-size:22px;line-height:1.2em;text-align:start}
	.ak-intro .ak-container{padding:30px 0}
	.ak-intro__text{margin:0 15px;font-size:18px;text-align:start}
	.ak-cta__inner{padding-top:30px;padding-bottom:30px}
	.ak-cta__title{font-size:20px}
	.ak-cta__sub{font-size:18px}
	.ak-leistungen{padding:30px 0}
	.ak-leistungen__sub{margin:15px 0 30px}
	.ak-leistungen__text{width:auto;max-width:none;margin:10px 20px 20px;font-size:16px;text-align:center}
	.ak-tiles{grid-template-columns:1fr;gap:20px;margin-top:20px}
	.leistung_kachel p{margin-right:10px}
	.ak-about{padding-top:30px}
	.ak-about__inner{padding-top:0}
	.ak-partner .ak-container{padding-top:30px}
	.ak-about__sub{margin:15px 15px 30px}
	.ak-about__text{padding:20px 10px 30px 15px;font-size:16px;text-align:start}
	.ak-contact{padding-top:30px}
	.ak-contact__grid{grid-template-columns:1fr;margin-top:20px;padding:0 10px}
	.ak-contact__info{padding:20px 0}
	.ak-icon .fas{font-size:16px}
	.ak-field--half{width:100%}
	.ak-archive .ak-container{padding-top:30px}
	.ak-loop{margin-top:20px}
	.ak-loop__title{margin:0 20px 12px}
	.unterkategorie-tabs{margin:14px 0 30px}
	.ak-page__content{padding:20px 0 30px}
	.ak-page__content h1{font-size:2rem;margin:.5rem 0 .75rem}
	.ak-page__content h2{font-size:1.5rem;margin:1.25rem 0 .6rem}
	.ak-page__content h3{font-size:1.25rem;margin:1rem 0 .5rem}
	.ak-page__content h4{font-size:1.1rem;margin:.9rem 0 .5rem}
	.ak-page__content{overflow-wrap:break-word}
	.unterkategorie{margin-bottom:16px}
	.ak-title{margin-bottom:16px}
	.ak-partner__grid{margin-top:30px;gap:24px}

	.ak-footer__inner{grid-template-columns:1fr;justify-items:center;gap:18px;padding:30px 20px}
	.ak-footer__logo,.ak-footer__nav{justify-self:center}
	.ak-footer__logo img{width:110px}
	.ak-footer__nav .ak-menu{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px 22px}
}
