/*
Theme Name: GEORGE tecoil
Theme URI: https://tecoil.de
Author: GEORGE tecoil
Author URI: https://tecoil.de
Description: Offizielles WordPress Theme für GEORGE tecoil - Schmierstoffexperten seit über 90 Jahren
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecoil
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

GEORGE tecoil WordPress Theme - Konvertiert von statischer HTML/CSS Website
*/

/* CSS Variables */
:root {
  --brand-blue: #002d53;
  --brand-blue-700: #042443;
  --brand-yellow: #fdc300;
  --brand-red: #e30613;
  --text: #102132;
  --muted: #5c6b7a;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --ring: rgba(242,194,0,.35);
  --shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* Base Styles */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Container */
.container {
  width: min(1280px, calc(100% - 120px));
  margin-inline: auto;
  padding-inline: 0;
}

/* Typography - Arial Black Italic for Headlines */
.hero-title-advanced,
.hero-title-advanced span.title-word,
h1, h2.gradient-text,
.title-yellow {
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
}

/* Regular text - Arial */
.hero-subtitle-advanced,
.hero-description-advanced,
p,
.nav-text,
.top-item,
.stat-label,
.stat-number,
.stat-suffix,
.badge-text,
.btn-text,
.cta-text {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
}

/* Gallery */
.section-gallery { background: #0e3356; color: #e8f1fb; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: #102f4f; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; z-index: 1000; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .close, .lightbox .prev, .lightbox .next { position: absolute; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 1; border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 22px; }
.lightbox .next { right: 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11,42,74,.96), rgba(11,42,74,.88));
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}
.brand-logo { height: 38px; }
.brand-logo.small { height: 28px; }
.site-nav ul { display: flex; gap: 24px; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .2px; }
.site-nav a.btn { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; outline: 0; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; display: block; }

/* Hero */
.hero { position: relative; }
.hero-split { background: radial-gradient(1200px 400px at -5% -10%, #0b3b6c 0%, rgba(11,59,108,0) 60%), linear-gradient(180deg, #072d50, #0d3a66 50%, #0b2f54); color: #fff; }
.hero-split-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
  padding: 60px 60px 36px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-col .eyebrow { letter-spacing: .3px; text-transform: uppercase; font-weight: 700; opacity: .9; margin: 0 0 6px; color: #cde0f6; }
.title-yellow { color: var(--brand-yellow); }
.section h2.title-yellow { color: var(--brand-yellow); }
.hero-col .sub { opacity: .95; margin: 6px 0 14px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); color: #e8f1fb; border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.media-card { background: linear-gradient(180deg,#0c2f58,#0b2648); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.media-card.tall img { height: 420px; object-fit: cover; width: 100%; }
.media-card img { display: block; width: 100%; height: auto; }
.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-col.media { position: relative; }
.floating-stat { position: absolute; right: 12px; bottom: -16px; background: #0f3a66; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 10px 14px; box-shadow: 0 10px 28px rgba(0,0,0,.35); color: #fff; }
.floating-stat .kicker { margin: 0 0 2px; color: #bed3ea; font-size: 12px; }
.floating-stat .value { margin: 0; font-weight: 900; font-size: 28px; color: #fdc300; }
.hero-wave { height: 78px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path fill='%230b2f54' d='M0,80 C240,20 480,140 720,80 C960,20 1200,140 1440,80 L1440,120 L0,120 Z'/></svg>") bottom center/100% 100% no-repeat; }

/* Buttons */
.btn { appearance: none; border: 2px solid transparent; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; transition: .2s all; }
.btn-primary { background: var(--brand-yellow); color: #111; }
.btn-primary:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #111; }
.center { display: flex; justify-content: center; margin-top: 22px; }

/* Sections */
.section { padding: 68px 0; }
.section-head { margin-bottom: 28px; text-align: center; }
.section-head.left { text-align: left; }
.section h2 { font-size: clamp(22px, 3.2vw, 36px); color: var(--brand-blue); margin: 0 0 6px; }
.section p { margin: 0; color: var(--muted); }

.section-expertise { background: transparent; color: #000; }
.section-marquee { background: #0b2f54; padding: 8px 0; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 10px; will-change: transform; animation: marquee 40s linear infinite; }
.marquee .tile { flex: 0 0 220px; height: 120px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #102f4f; }
.marquee .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.feature-left .steps { counter-reset: step; list-style: none; margin: 12px 0 0; padding: 0; position: relative; }
.feature-left .steps li { position: relative; padding-left: 42px; margin: 14px 0; }
.feature-left .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: .1rem; width: 26px; height: 26px; border-radius: 999px; border: 2px solid #6ea8ff; color: #6ea8ff; display: grid; place-items: center; font-weight: 800; }
.section-expertise .media-card img { height: 420px; object-fit: cover; }

.section-products { background: #0d2f51; color: #e8f1fb; }
.section-products .section-head p { color: #bed3ea; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; }
.feature .icon { font-size: 22px; }
.stat-and-image { margin-top: 24px; align-items: center; }
.stat-card { background: linear-gradient(180deg,#0b3158,#164c82); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; color: #fff; box-shadow: var(--shadow); }
.stat-card .label { margin: 0 0 4px; color: #bed3ea; }
.stat-card .value { margin: 0; font-size: 46px; font-weight: 900; }

.section-usps { background: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp-card { background: #fff; border: 1px solid #e9eef5; border-radius: 14px; padding: 20px; box-shadow: 0 6px 18px rgba(16,33,50,.06); }
.usp-card h3 { margin: 0 0 6px; color: var(--brand-blue); }

.section-branchen { background: var(--surface); }
.branch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.branch { position: relative; border-radius: 14px; overflow: hidden; min-height: 170px; color: #fff; transition: transform .2s ease, filter .2s ease; }
.branch .bg { position: absolute; inset: 0; background: #0e3356 center/cover no-repeat; filter: brightness(.8); }
.branch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,45,83,.15), rgba(0,45,83,.75)); }
.branch .content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 14px; }
.branch h3 { margin: 0 0 4px; color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.branch p { margin: 0; color: #e0eaf6; font-size: 14px; }
.branch:hover { transform: translateY(-2px); }

.section-lines { background: #0e3356; color: #e8f1fb; }
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.chip { background: #102f4f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px; }
.chip h3 { margin: 0 0 6px; color: #fff; }
.chip p { margin: 0; color: #bed3ea; }

.history-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 10px; overflow-x: auto; padding: 10px; margin-top: 12px; }
.history-strip figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #102f4f; }
.history-strip img { display: block; width: 100%; height: 160px; object-fit: cover; }

.section-services .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: #fff; border: 1px dashed #d7e0ea; border-radius: 14px; padding: 20px; }
.service h3 { margin: 0 0 6px; color: var(--brand-blue); }

.section-services { background: #0b2f54; color: #e8f1fb; }
.section-services .section-head p { color: #bed3ea; }
.promise-card { background: #0f3a66; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }

.section-about .two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.section-about img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.list-check { margin: 12px 0 0; padding: 0 0 0 20px; }
.list-check li { margin: 6px 0; }

.section-career { background: #0d2f51; color: #e8f1fb; }
.career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.career-role { background: #102f4f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px; }
.career-role h3 { margin: 0 0 6px; color: #fff; }
.career-role p { margin: 0; color: #bed3ea; }

/* People grid (team) */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { background: #102f4f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; color: #e8f1fb; }
.person img { display: block; width: 100%; height: 180px; object-fit: cover; }
.person .info { padding: 12px; }
.person h3 { margin: 0 0 4px; color: #fff; }
.person p { margin: 0; color: #bed3ea; }

/* Page CTA */
.page-cta { display: flex; justify-content: center; margin-top: 16px; }

/* Benefits/Badges line */
.badge-line { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-line .badge { background: #0b3158; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 8px 10px; color: #e8f1fb; }

.section-contact { background: #0b2f54; }
.section-contact .two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.contact-form { background: #fff; border: 1px solid #e9eef5; border-radius: 14px; padding: 20px; }
.section-contact .media-card img { height: 360px; object-fit: cover; }
.form-row { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-row label { font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row textarea { padding: 10px 12px; border: 1px solid #cfd9e6; border-radius: 10px; outline: 0; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand-yellow); box-shadow: 0 0 0 4px var(--ring); }
.contact-box { background: #0e3356; color: #fff; border-radius: 14px; padding: 20px; }
.contact-list { margin: 10px 0 0; padding: 0; list-style: none; }
.contact-list li { margin: 6px 0; }

/* Footer */
.site-footer { background: #eef3f9; margin-top: 40px; }
.footer-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 0; }
.footer-nav { display: flex; gap: 14px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.copy { color: var(--muted); margin: 0; }

/* Layout helpers */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col { min-width: 0; }

/* WhatsApp button */
.whatsapp { border-color: #25D366; color: #25D366; }
.whatsapp:hover { background: #25D366; color: #111; }

/* Responsive */
@media (max-width: 1200px) {
  .container { width: calc(100% - 80px); }
  .header-inner { padding-left: 40px; padding-right: 40px; }
  .hero-split-inner { padding: 50px 40px 30px 40px; }
}

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .career-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .section-services .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-about .two-col, .section-contact .two-col { grid-template-columns: 1fr; }
  .promise-inner { grid-template-columns: 1fr; }
  .promise-steps { grid-template-columns: 1fr; }
  .hero-split-inner { grid-template-columns: 1fr; padding: 40px 30px; }
  .hero-col.media { margin-top: 30px; }
  .chip-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: var(--brand-blue); transition: right 0.3s ease; padding: 80px 20px 20px; z-index: 1000; }
  .site-nav.open { right: 0; box-shadow: -5px 0 20px rgba(0,0,0,0.3); }
  .site-nav ul { flex-direction: column; gap: 15px; padding: 0; }
  .site-nav a { display: block; padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .container { width: calc(100% - 40px); }
  .hero-split-inner { padding: 30px 20px; }
  .section { padding: 40px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  h2 { font-size: clamp(1.25rem, 4vw, 2rem); }
  .title-yellow { font-size: clamp(1.5rem, 5vw, 2.5rem); }
}

@media (max-width: 480px) {
  .branch-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-badges { justify-content: center; }
  .cta-group { justify-content: center; width: 100%; }
  .btn { width: 100%; justify-content: center; padding: 12px 20px; }
  .history-strip { grid-auto-columns: minmax(180px, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; }
  .section-head { margin-bottom: 20px; }
  .container { width: calc(100% - 30px); }
  .hero-split-inner { padding: 20px 15px; }
  .header-inner { padding-left: 15px; padding-right: 15px; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile-specific image adjustments */
@media (max-width: 768px) {
  .media-card img {
    height: auto;
    max-height: 300px;
  }
  .hero-col.media {
    order: 2;
  }
  .hero-col.text {
    order: 1;
  }
}
