/*!
Theme Name: ITSulu Child - Alzinger
Theme URI: https://codlab.de/
Author: CodLab
Author URI: https://codlab.de/
Description: ITSulu Child Theme customized for Alzinger Recyclingtechnik. Palette: red #E30613, black #111, white.
Version: 1.0.1
License: GPL
License URI: http://www.gnu.org/licenses/gpl.html
Template: itsulu
Text Domain: itsulu-child
*/

:root {
  --alz-red: #E30613;
  --alz-red-dark: #B80510;
  --alz-red-light: #FF1F2E;
  --alz-black: #111111;
  --alz-dark: #1A1A1A;
  --alz-gray-900: #2A2A2A;
  --alz-gray-700: #4A4A4A;
  --alz-gray-500: #808080;
  --alz-gray-300: #CCCCCC;
  --alz-gray-100: #F4F4F4;
  --alz-white: #FFFFFF;
  --alz-accent: #E30613;
}

/* COLOR OVERRIDES (ITSulu orange -> Alzinger red) */
a, .mil-link, .mil-accent, .mil-text-accent,
.widget_categories ul li a:hover, .widget_archive ul li a:hover,
.widget_recent_entries ul li a:hover, .widget_meta ul li a:hover,
.widget_pages ul li a:hover, .widget_nav_menu ul li a:hover,
.widget_product_categories ul li a:hover, .footer-widgets a:hover {
  color: var(--alz-red);
}
a:hover { color: var(--alz-red-dark); }

.mil-btn, .mil-button, button.mil-btn,
input[type="submit"], .wpcf7-submit, .btn-primary,
.mil-button-primary, .mil-bg-accent, .mil-accent-bg {
  background-color: var(--alz-red) !important;
  border-color: var(--alz-red) !important;
  color: #fff !important;
  transition: background-color .2s ease, transform .2s ease;
}
.mil-btn:hover, .mil-button:hover, button.mil-btn:hover,
input[type="submit"]:hover, .wpcf7-submit:hover {
  background-color: var(--alz-red-dark) !important;
  border-color: var(--alz-red-dark) !important;
  transform: translateY(-2px);
}

.mil-top-panel .navigation__list > li > a:hover,
.mil-top-panel .navigation__list > li.current-menu-item > a,
.mil-top-panel .navigation__list > li.current_page_item > a,
.mil-top-panel .navigation__list > li.current-menu-ancestor > a { color: var(--alz-red); }

.mil-decoration-dots-accent { background-color: var(--alz-red); }
.preloader__double-bounce { background-color: var(--alz-red); }

h1, h2, h3, h4, h5, h6 { color: var(--alz-black); font-weight: 700; letter-spacing: -0.01em; }
h1, h2 { letter-spacing: -0.02em; }
body { color: var(--alz-gray-700); -webkit-font-smoothing: antialiased; }

/* HEADER + LOGO */
.alz-header, header.mil-top-position.mil-fixed { top: 0 !important; left: 0 !important; right: 0 !important; }
.alz-header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 30px rgba(0,0,0,0.04); }
/* Remove ITSulu's default 100px height so our padding controls it */
.alz-header .mil-top-panel { height: auto !important; box-shadow: none !important; }
.preloader { display: none !important; }
.alz-header .mil-top-panel { background: transparent !important; padding: 14px 0 !important; }
.alz-header .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.itsulu-logo, .alz-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.alz-logo__img { height: 48px !important; width: 48px !important; object-fit: contain; display: block; }
.alz-logo__wordmark { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: var(--alz-black); line-height: 1; }
.itsulu-logo .logo--large, .itsulu-logo .logo--small { display: none !important; }
.mil-extras { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: flex-end; }
.alz-header-cta { display: inline-flex; align-items: center; padding: 11px 22px; background: var(--alz-red); color: #fff !important; border-radius: 40px; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; transition: all .2s; }
.alz-header-cta:hover { background: var(--alz-red-dark); transform: translateY(-1px); }

/* NAVIGATION */
.mil-navigation { flex: 1; display: flex; justify-content: center; }
.navigation__list, .alz-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.navigation__list > li { position: relative; }
.navigation__list > li > a { display: inline-block; padding: 10px 16px; color: var(--alz-black); font-weight: 600; font-size: 14.5px; text-decoration: none; border-radius: 6px; transition: color .15s, background .15s; letter-spacing: -0.005em; }
.navigation__list > li > a:hover,
.navigation__list > li.current-menu-item > a,
.navigation__list > li.current_page_item > a,
.navigation__list > li.current-menu-ancestor > a { color: var(--alz-red); background: rgba(227,6,19,0.06); }
.navigation__list > li.menu-item-has-children > a::after,
.navigation__list > li.mil-has-children > a::after { content: ""; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; margin-bottom: 3px; transition: transform .2s; }

/* Submenu */
.navigation__list .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.12); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; border-top: 3px solid var(--alz-red); z-index: 9999; }
.navigation__list > li:hover > .sub-menu,
.navigation__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.navigation__list .sub-menu li { margin: 0; }
.navigation__list .sub-menu a { display: block; padding: 10px 14px; color: var(--alz-black); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 6px; transition: all .15s; line-height: 1.3; }
.navigation__list .sub-menu a:hover { background: var(--alz-red); color: #fff; transform: translateX(3px); }

/* Mobile toggle */
.alz-menu-btn, .mil-menu-btn { display: none; width: 40px; height: 40px; background: transparent; border: 2px solid var(--alz-black); border-radius: 50%; cursor: pointer; position: relative; flex-shrink: 0; padding: 0; }
.alz-menu-btn span, .mil-menu-btn span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 2px; background: var(--alz-black); transition: background .2s; }
.alz-menu-btn span::before, .alz-menu-btn span::after,
.mil-menu-btn span::before, .mil-menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--alz-black); transition: transform .25s ease; }
.alz-menu-btn span::before, .mil-menu-btn span::before { top: -6px; }
.alz-menu-btn span::after, .mil-menu-btn span::after { top: 6px; }
body.alz-nav-open .alz-menu-btn span, body.alz-nav-open .mil-menu-btn span { background: transparent; }
body.alz-nav-open .alz-menu-btn span::before, body.alz-nav-open .mil-menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.alz-nav-open .alz-menu-btn span::after, body.alz-nav-open .mil-menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
@media (max-width: 1100px) {
  .alz-header .container { gap: 20px; }
  .alz-header-cta { display: none; }
}
@media (max-width: 980px) {
  .alz-menu-btn, .mil-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .mil-navigation { display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; padding: 30px 24px; overflow-y: auto; z-index: 999; border-top: 1px solid rgba(0,0,0,0.08); justify-content: flex-start; }
  body.alz-nav-open .mil-navigation { display: block; }
  body.alz-nav-open { overflow: hidden; }
  .navigation__list, .alz-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .navigation__list > li { border-bottom: 1px solid rgba(0,0,0,0.06); }
  .navigation__list > li > a { padding: 16px 0; font-size: 16px; border-radius: 0; }
  .navigation__list > li.menu-item-has-children > a::after,
  .navigation__list > li.mil-has-children > a::after { float: right; margin-top: 10px; }
  .navigation__list .sub-menu { position: static; box-shadow: none; padding: 0 0 14px 16px; opacity: 1; visibility: visible; transform: none; border-top: none; display: none; }
  .navigation__list > li.alz-open > .sub-menu { display: block; }
  .navigation__list .sub-menu a { padding: 10px 0; }
  .navigation__list .sub-menu a:hover { background: transparent; color: var(--alz-red); transform: none; }
}
@media (max-width: 480px) {
  .alz-logo__wordmark { display: none; }
  .alz-logo__img { height: 40px !important; width: 40px !important; }
}

/* push body down for fixed header */
body { padding-top: 76px; }
.home .alz-hero,
.page-template-page-home .alz-hero,
.page-template-page-produkt .alz-hero,
.page-template-page-about .alz-hero,
.page-template-page-vertrieb .alz-hero,
.page-template-page-service .alz-hero,
.page-template-page-karriere .alz-hero,
.page-template-page-loesung .alz-hero,
.page-template-page-loesungen-overview .alz-hero,
.page-template-page-contact .alz-hero { margin-top: -76px; padding-top: 76px; box-sizing: border-box; }

/* Pull hero content below header zone */
.alz-hero__content { padding-top: 40px; }
.alz-hero__eyebrow { margin-top: 20px; }

/* HERO — full viewport width break-out */
.alz-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; background: var(--alz-black); width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; max-width: 100vw; }
.alz-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.alz-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.65) 100%); z-index: 2; }
.alz-hero__content { position: relative; z-index: 3; text-align: center; padding: 0 20px; max-width: 1100px; margin: 0 auto; }
.alz-hero__eyebrow { display: inline-block; padding: 8px 18px; border: 2px solid var(--alz-red); border-radius: 40px; color: #fff; background: rgba(227,6,19,0.15); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 26px; }
.alz-hero__title { color: #fff; font-size: clamp(38px, 6vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; text-shadow: 0 4px 30px rgba(0,0,0,0.4); word-wrap: break-word; }
.alz-hero__title em { font-style: normal; color: var(--alz-red-light); }
.alz-hero__title-sub { display: block; font-size: 0.45em; font-weight: 800; letter-spacing: -0.01em; margin-top: 8px; line-height: 1.1; }
.alz-hero__subtitle { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; max-width: 740px; margin: 0 auto 38px; color: rgba(255,255,255,0.9); font-weight: 400; }
.alz-hero__ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.alz-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; border-radius: 40px; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; transition: all .25s ease; cursor: pointer; line-height: 1; }
.alz-btn--primary { background: var(--alz-red); color: #fff !important; }
.alz-btn--primary:hover { background: var(--alz-red-dark); color: #fff !important; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(227,6,19,0.4); }
.alz-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.6); }
.alz-btn--ghost:hover { background: #fff; color: var(--alz-black) !important; border-color: #fff; }
.alz-btn--dark { background: var(--alz-black); color: #fff !important; }
.alz-btn--dark:hover { background: var(--alz-red); color: #fff !important; }

.alz-hero__scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 4; color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
@media (max-width: 960px) { .alz-hero__scroll { display: none; } }
.alz-hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, transparent 100%); animation: alz-scroll 2s ease-in-out infinite; }
@keyframes alz-scroll { 0%,100%{transform:scaleY(0.6);opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* SECTIONS */
.alz-section { padding: 120px 0; position: relative; }
.alz-section--dark { background: var(--alz-black); color: #fff; }
.alz-section--dark h1, .alz-section--dark h2, .alz-section--dark h3,
.alz-section--dark h4, .alz-section--dark h5, .alz-section--dark h6 { color: #fff; }
.alz-section--gray { background: var(--alz-gray-100); }
.alz-section__head { max-width: 780px; margin: 0 auto 70px; text-align: center; }
.alz-eyebrow { display: inline-block; color: var(--alz-red); font-size: 12px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 18px; position: relative; padding-left: 44px; }
.alz-eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 34px; height: 2px; background: var(--alz-red); transform: translateY(-50%); }
.alz-h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; }
.alz-lead { font-size: 18px; line-height: 1.65; color: var(--alz-gray-700); max-width: 720px; margin: 0 auto; }
.alz-section--dark .alz-lead { color: rgba(255,255,255,0.82); }

/* PRODUCT */
.alz-product { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.alz-product__image { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.15); }
.alz-product__image img { width: 100%; height: auto; display: block; }
.alz-product__image::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--alz-red); border-radius: 18px; pointer-events: none; transform: translate(16px, 16px); z-index: -1; }
.alz-product__body .alz-h2 { color: var(--alz-black); }
.alz-product__badge { display: inline-block; background: var(--alz-red); color: #fff; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.alz-product__features { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.alz-product__features li { position: relative; padding-left: 32px; font-size: 15px; color: var(--alz-gray-900); font-weight: 600; }
.alz-product__features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--alz-red); border-radius: 50%; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 13px; }

/* SOLUTIONS */
.alz-solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.alz-sol-card { position: relative; min-height: 380px; border-radius: 14px; overflow: hidden; background: var(--alz-black); display: flex; align-items: flex-end; transition: transform .3s ease; text-decoration: none !important; }
.alz-sol-card:hover { transform: translateY(-8px); }
.alz-sol-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; z-index: 1; }
.alz-sol-card:hover .alz-sol-card__img { transform: scale(1.06); }
.alz-sol-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0.1) 0%, rgba(17,17,17,0.85) 80%); z-index: 2; }
.alz-sol-card__body { position: relative; z-index: 3; padding: 30px; color: #fff; }
.alz-sol-card__num { display: inline-block; color: var(--alz-red-light); font-size: 12px; font-weight: 800; letter-spacing: 0.25em; margin-bottom: 10px; }
.alz-sol-card__title { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.alz-sol-card__desc { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.alz-sol-card__arrow { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--alz-red); color: #fff; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease; }
.alz-sol-card:hover .alz-sol-card__arrow { transform: translateX(6px); background: #fff; color: var(--alz-red); }

/* STATS */
.alz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.alz-stat__num { font-size: clamp(40px,5vw,64px); font-weight: 900; color: var(--alz-red-light); line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.alz-stat__lbl { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 600; }

/* VIDEOS */
.alz-videos { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.alz-video-main, .alz-video-thumb { position: relative; border-radius: 14px; overflow: hidden; background: #000; }
.alz-video-main video, .alz-video-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; }
.alz-video-thumbs { display: grid; gap: 24px; }
.alz-video-label { position: absolute; bottom: 16px; left: 16px; padding: 6px 12px; background: rgba(0,0,0,0.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 4px; z-index: 2; }

/* CTA */
.alz-cta { background: linear-gradient(135deg, var(--alz-black) 0%, var(--alz-gray-900) 100%); color: #fff; padding: 90px 40px; border-radius: 20px; text-align: center; position: relative; overflow: hidden; }
.alz-cta::before { content: ""; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(closest-side, var(--alz-red) 0%, transparent 70%); opacity: 0.35; }
.alz-cta h2 { color: #fff; font-size: clamp(32px,4vw,48px); margin: 0 0 16px; position: relative; }
.alz-cta p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 0 0 30px; position: relative; }

/* FOOTER */
.mil-footer { background: var(--alz-black) !important; }
.mil-footer, .mil-footer p, .mil-footer a, .mil-footer li { color: rgba(255,255,255,0.75) !important; }
.mil-footer h1, .mil-footer h2, .mil-footer h3, .mil-footer h4, .mil-footer h5 { color: #fff !important; }
.mil-footer a:hover { color: var(--alz-red-light) !important; }

/* CONTACT */
.alz-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.alz-contact-info h3 { font-size: 22px; margin: 0 0 14px; color: var(--alz-black); }
.alz-contact-info .alz-contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--alz-gray-300); }
.alz-contact-info .alz-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--alz-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.alz-contact-info .alz-contact-meta strong { display: block; color: var(--alz-black); font-size: 14px; margin-bottom: 3px; }
.alz-contact-info .alz-contact-meta a, .alz-contact-info .alz-contact-meta span { color: var(--alz-gray-700); font-size: 15px; text-decoration: none; }
.alz-contact-info .alz-contact-meta a:hover { color: var(--alz-red); }

/* COOKIE BANNER */
#alz-cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 520px; margin-left: auto; background: var(--alz-black); color: #fff; padding: 22px 24px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); z-index: 9999; display: none; font-size: 14px; line-height: 1.5; }
#alz-cookie-banner.is-visible { display: block; }
#alz-cookie-banner h4 { color: #fff; margin: 0 0 8px; font-size: 16px; }
#alz-cookie-banner p { margin: 0 0 14px; color: rgba(255,255,255,0.85); }
#alz-cookie-banner p a { color: var(--alz-red-light); }
#alz-cookie-banner .alz-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#alz-cookie-banner button { padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
#alz-cookie-accept { background: var(--alz-red); color: #fff; border-color: var(--alz-red); }
#alz-cookie-accept:hover { background: var(--alz-red-dark); }
#alz-cookie-reject { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
#alz-cookie-reject:hover { border-color: #fff; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .alz-section { padding: 80px 0; }
  .alz-product { grid-template-columns: 1fr; gap: 40px; }
  .alz-product__features { grid-template-columns: 1fr; }
  .alz-videos { grid-template-columns: 1fr; }
  .alz-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .alz-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .alz-hero { min-height: 85vh; }
  .alz-cta { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .alz-stats { grid-template-columns: 1fr 1fr; }
  .alz-hero__ctas { flex-direction: column; align-items: stretch; }
  .alz-btn { justify-content: center; }
}

/* A11Y */
.alz-skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alz-skip-link:focus { position: fixed; left: 20px; top: 20px; width: auto; height: auto; padding: 12px 20px; background: var(--alz-red); color: #fff; z-index: 10000; border-radius: 6px; font-weight: 700; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--alz-red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Disable preloader */
.preloader { display: none !important; }
body { opacity: 1 !important; }

/* FOOTER */
.alz-footer { background: var(--alz-black) !important; color: rgba(255,255,255,0.75); padding: 90px 0 0; }
.alz-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.alz-footer__col h4 { color: #fff !important; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 20px; }
.alz-footer__col ul { list-style: none; padding: 0; margin: 0; }
.alz-footer__col ul li { margin-bottom: 10px; }
.alz-footer__col a { color: rgba(255,255,255,0.75) !important; text-decoration: none; font-size: 15px; transition: color .15s; }
.alz-footer__col a:hover { color: var(--alz-red-light) !important; }
.alz-footer__col p, .alz-footer__col address { font-size: 15px; font-style: normal; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0 0 14px; }
.alz-footer__logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none !important; margin-bottom: 22px; }
.alz-footer__logo-img { height: 56px !important; width: 56px !important; object-fit: contain; }
.alz-footer__logo-text { color: #fff !important; font-weight: 900; font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; }
.alz-footer__logo-text em { font-style: normal; font-weight: 400; color: var(--alz-red-light); font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; }
.alz-footer__about { max-width: 340px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.65); }

.alz-footer__bottom { display: flex; align-items: center; justify-content: center; gap: 30px; padding: 24px 15px; flex-wrap: wrap; text-align: center; }
.footer-codlab { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0; text-align: center; background: var(--alz-black); }
.alz-footer__legal { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); }
.alz-footer__legal-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }
.alz-footer__legal-menu a { color: rgba(255,255,255,0.65) !important; font-size: 13px; }
.alz-footer__legal-menu a:hover { color: #fff !important; }

/* CodLab Badge */
.codlab-glass-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); border-radius: 50px; text-decoration: none !important; transition: all .2s; }
.codlab-glass-badge:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-1px); box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.codlab-text { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); transition: color .15s; }
.codlab-glass-badge:hover .codlab-text { color: rgba(255,255,255,0.85); }
.codlab-logo { height: 14px; width: auto; opacity: 0.55; transition: opacity .15s; }
.codlab-glass-badge:hover .codlab-logo { opacity: 0.95; }

/* Back to top */
.alz-back-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--alz-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; box-shadow: 0 10px 30px rgba(227,6,19,0.35); z-index: 900; }
.alz-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.alz-back-top:hover { background: var(--alz-red-dark); transform: translateY(-4px); }

/* Team cards */
.alz-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.alz-team__card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border-top: 4px solid var(--alz-red); }
.alz-team__photo { width: 100%; aspect-ratio: 1.6/1; object-fit: cover; display: block; background: var(--alz-gray-100); }
.alz-team__body { padding: 24px 26px 26px; }
.alz-team__name { margin: 0 0 4px; color: var(--alz-black); font-size: 20px; font-weight: 800; }
.alz-team__role { color: var(--alz-red); font-size: 12px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.alz-team__contact { font-size: 14px; line-height: 1.6; color: var(--alz-gray-700); }
.alz-team__contact a { color: var(--alz-gray-700); text-decoration: none; display: block; }
.alz-team__contact a:hover { color: var(--alz-red); }

/* Challenges grid (for Lösung subpages) */
.alz-challenges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.alz-challenge { background: #fff; padding: 26px 24px; border-radius: 12px; border: 1px solid var(--alz-gray-300); position: relative; transition: all .2s; }
.alz-challenge:hover { border-color: var(--alz-red); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(227,6,19,0.08); }
.alz-challenge__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(227,6,19,0.1); color: var(--alz-red); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; font-weight: 800; font-size: 18px; }
.alz-challenge h3 { color: var(--alz-black); font-size: 16px; font-weight: 800; margin: 0 0 8px; line-height: 1.3; }
.alz-challenge p { color: var(--alz-gray-700); font-size: 14px; line-height: 1.55; margin: 0; }

/* Countries grid */
.alz-countries { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.alz-country { padding: 10px 20px; background: #fff; border: 1px solid var(--alz-gray-300); border-radius: 30px; font-size: 14px; font-weight: 600; color: var(--alz-gray-900); transition: all .2s; }
.alz-country:hover { background: var(--alz-red); color: #fff; border-color: var(--alz-red); transform: translateY(-2px); }

@media (max-width: 960px) {
  .alz-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .alz-footer__bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .alz-footer__grid { grid-template-columns: 1fr; }
  .alz-back-top { right: 16px; bottom: 16px; }
}

/* FAQ accordion */
.alz-faq { padding: 90px 0; background: #fff; }
.alz-faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.alz-faq__item { background: var(--alz-gray-100); border: 1px solid var(--alz-gray-300); border-radius: 12px; overflow: hidden; transition: all .2s; }
.alz-faq__item[open] { border-color: var(--alz-red); background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.alz-faq__q { padding: 22px 26px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--alz-black); list-style: none; position: relative; padding-right: 60px; line-height: 1.35; }
.alz-faq__q::-webkit-details-marker { display: none; }
.alz-faq__q::after { content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid var(--alz-red); border-bottom: 2.5px solid var(--alz-red); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.alz-faq__item[open] .alz-faq__q::after { transform: translateY(-25%) rotate(-135deg); }
.alz-faq__a { padding: 0 26px 24px; color: var(--alz-gray-700); font-size: 15px; line-height: 1.7; }

/* Einzigartige Merkmale */
.alz-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.alz-feature-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 28px rgba(0,0,0,.06); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.alz-feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.alz-feature-card__img { height: 220px; background-size: cover; background-position: center; position: relative; }
.alz-feature-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.25)); }
.alz-feature-card__body { padding: 28px 28px 30px; flex: 1; }
.alz-feature-card__num { display: inline-block; font-size: 13px; font-weight: 700; color: var(--alz-red); letter-spacing: 2px; margin-bottom: 8px; }
.alz-feature-card__title { font-size: 22px; margin: 0 0 14px; color: var(--alz-black); line-height: 1.3; }
.alz-feature-card__desc { font-size: 15px; line-height: 1.65; color: var(--alz-gray-700); margin: 0; }
.alz-feature-card__desc strong { color: var(--alz-black); }

/* Details im Überblick / Specs */
.alz-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.alz-spec { background: #fafafa; border-left: 4px solid var(--alz-red); padding: 24px 26px; border-radius: 0 10px 10px 0; transition: background .2s; }
.alz-spec:hover { background: #f2f2f2; }
.alz-spec__title { font-size: 18px; margin: 0 0 10px; color: var(--alz-black); font-weight: 700; }
.alz-spec__desc { font-size: 14.5px; line-height: 1.6; color: var(--alz-gray-700); margin: 0; }
.alz-spec__desc strong { color: var(--alz-red); }

/* Vorteile */
.alz-vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.alz-vorteil { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 36px 30px; border-radius: 14px; backdrop-filter: blur(4px); transition: background .2s, transform .3s; }
.alz-vorteil:hover { background: rgba(227,6,19,.12); transform: translateY(-4px); border-color: var(--alz-red); }
.alz-vorteil__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--alz-red); color: #fff; font-size: 24px; margin-bottom: 18px; }
.alz-vorteil h3 { font-size: 20px; color: #fff; margin: 0 0 12px; }
.alz-vorteil p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8); margin: 0; }

/* Maschinenkonfiguration */
.alz-maschkonf { background: #fafafa; border-radius: 14px; padding: 40px 44px; max-width: 1000px; margin: 0 auto; }
.alz-maschkonf__title { font-size: 24px; color: var(--alz-black); margin: 0 0 8px; }
.alz-maschkonf__sub { color: var(--alz-gray-700); margin: 0 0 28px; font-size: 15px; }
.alz-maschkonf__list { list-style: none; padding: 0; margin: 0; }
.alz-maschkonf__list li { padding: 14px 0 14px 32px; position: relative; border-bottom: 1px solid #eee; font-size: 15.5px; line-height: 1.6; color: var(--alz-gray-700); }
.alz-maschkonf__list li:last-child { border-bottom: 0; }
.alz-maschkonf__list li::before { content: "✓"; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; background: var(--alz-red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.alz-maschkonf__list li strong { color: var(--alz-black); }

/* Timeline */
.alz-timeline { max-width: 900px; margin: 0 auto; position: relative; padding-left: 32px; }
.alz-timeline::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--alz-red) 0%, #b00510 100%); border-radius: 2px; }
.alz-timeline__item { position: relative; padding: 0 0 40px 40px; }
.alz-timeline__item::before { content: ""; position: absolute; left: -3px; top: 4px; width: 23px; height: 23px; background: #fff; border: 4px solid var(--alz-red); border-radius: 50%; z-index: 1; }
.alz-timeline__year { font-size: 28px; font-weight: 800; color: var(--alz-red); margin: 0 0 4px; }
.alz-timeline__title { font-size: 20px; color: var(--alz-black); margin: 0 0 10px; }
.alz-timeline__text { font-size: 15px; line-height: 1.7; color: var(--alz-gray-700); margin: 0; }

/* Jobs */
.alz-jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.alz-job { background: #fff; border-radius: 12px; padding: 28px 28px; border-left: 4px solid var(--alz-red); box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; gap: 12px; }
.alz-job:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.alz-job__cat { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--alz-red); font-weight: 700; }
.alz-job__title { font-size: 19px; color: var(--alz-black); margin: 0; line-height: 1.35; }
.alz-job__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--alz-gray-700); }
.alz-job__cta { margin-top: auto; align-self: flex-start; color: var(--alz-red); font-weight: 700; text-decoration: none; font-size: 14px; }
.alz-job__cta:hover { text-decoration: underline; }
