/*
Theme Name: Auto-Center Orsoy
Theme URI: https://auto-center-orsoy.de
Author: Auto-Center Orsoy GmbH
Author URI: https://auto-center-orsoy.de
Description: Individuelles Theme für Auto-Center Orsoy mit direktem WhatsApp-CTA.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: auto-center-orsoy
*/

/* -------------------------------------------------------------
 * 1. Grund-Reset & Basis-Typografie
 * ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------
 * 2. Header
 * ----------------------------------------------------------- */
.aco-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.aco-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.aco-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aco-brand .custom-logo-link img {
  max-height: 52px;
  width: auto;
}

.aco-brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.aco-brand-text span {
  color: #0284c7;
}

.aco-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aco-btn-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.aco-btn-header-tel {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.aco-btn-header-tel:hover {
  background: #e2e8f0;
}

.aco-btn-header-wa {
  background: #25D366;
  color: #ffffff;
}

.aco-btn-header-wa:hover {
  background: #20ba59;
}

/* -------------------------------------------------------------
 * 3. Hero Section (Header-Bild, Overlay & CTAs)
 * ----------------------------------------------------------- */
.aco-hero-section,
.aco-hero {
  position: relative;
  min-height: 540px;
  padding: 100px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.aco-hero-inner,
.aco-hero-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

.aco-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.aco-hero-section h1,
.aco-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.aco-hero-sub,
.aco-hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.94) !important;
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.aco-cta-group,
.aco-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.aco-btn,
.aco-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}

.aco-btn:hover,
.aco-btn-lg:hover {
  transform: translateY(-2px);
}

.aco-btn-wa,
.aco-btn-hero-wa {
  background: #25D366;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.aco-btn-wa:hover,
.aco-btn-hero-wa:hover {
  background: #20ba59;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.aco-btn-phone,
.aco-btn-hero-phone {
  background: #ffffff;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.aco-btn-phone:hover,
.aco-btn-hero-phone:hover {
  background: #f8fafc;
  color: #0284c7 !important;
}

/* -------------------------------------------------------------
 * 4. Vertrauensleiste (Trust Bar)
 * ----------------------------------------------------------- */
.aco-trust-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 22px 20px;
}

.aco-trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}

.aco-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.aco-trust-item span.icon {
  font-size: 20px;
}

/* -------------------------------------------------------------
 * 5. Leistungsübersicht (Services Grid)
 * ----------------------------------------------------------- */
.aco-services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 80px;
  width: 100%;
}

.aco-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.aco-section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.aco-section-header p {
  font-size: 17px;
  color: #64748b;
}

.aco-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.aco-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.aco-service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.aco-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.aco-service-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.55;
}

.aco-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #25D366;
  transition: gap 0.15s ease, color 0.15s ease;
  align-self: flex-start;
}

.aco-card-action:hover {
  color: #1ea952;
  gap: 10px;
}

/* -------------------------------------------------------------
 * 6. Footer
 * ----------------------------------------------------------- */
.aco-site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 20px 24px;
  margin-top: auto;
}

.aco-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.aco-footer-col h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.aco-footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.aco-footer-hours {
  background: #1e293b;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-top: 14px;
}

.aco-footer-hours strong {
  color: #ffffff;
}

.aco-footer-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s ease;
}

.aco-footer-link:hover {
  color: #38bdf8;
}

.aco-footer-wa-btn {
  display: inline-block;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 14px;
  transition: background-color 0.15s ease;
}

.aco-footer-wa-btn:hover {
  background: #20ba59;
}

.aco-footer-address {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

.aco-footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.aco-footer-links {
  display: flex;
  gap: 18px;
}

.aco-footer-links a:hover {
  color: #ffffff;
}

/* -------------------------------------------------------------
 * 7. Mobile Sticky Schnellkontakt-Leiste
 * ----------------------------------------------------------- */
.aco-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  padding: 8px 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.aco-bar-wa,
.aco-bar-phone {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.aco-bar-wa {
  background: #25D366;
  color: #ffffff !important;
}

.aco-bar-phone {
  background: #0f172a;
  color: #ffffff !important;
}

/* -------------------------------------------------------------
 * 8. Responsive Anpassungen
 * ----------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 66px;
  }

  .aco-header-actions {
    display: none;
  }

  .aco-hero-section,
  .aco-hero {
    min-height: 440px;
    padding: 70px 16px 60px;
  }

  .aco-cta-group,
  .aco-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .aco-btn,
  .aco-btn-lg {
    width: 100%;
  }

  .aco-services-grid {
    grid-template-columns: 1fr;
  }

  .aco-mobile-bar {
    display: flex;
    gap: 8px;
  }
}






/* -------------------------------------------------------------
 * Ergänzung: Social Media Icons im Footer
 * ----------------------------------------------------------- */
.aco-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.aco-footer-links-list li {
  margin-bottom: 8px;
}

.aco-footer-links-list a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.15s ease;
}

.aco-footer-links-list a:hover {
  color: #ffffff;
}

.aco-social-wrapper {
  margin-top: 16px;
}

.aco-social-wrapper h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.aco-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aco-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff !important;
  transition: all 0.2s ease;
  border: 1px solid #334155;
}

.aco-social-btn svg {
  display: block;
}

.aco-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.aco-social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
}

.aco-social-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.aco-social-google:hover {
  background: #ea4335;
  border-color: #ea4335;
}




/* -------------------------------------------------------------
 * 9. Standard-Seiten (Datenschutz, Impressum)
 * ----------------------------------------------------------- */
.aco-page-content {
  padding: 60px 20px 80px;
  background-color: #f8fafc;
}

.aco-page-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.aco-page-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.aco-page-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #0f172a;
}

.aco-entry-content {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.aco-entry-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px;
}

.aco-entry-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 24px 0 10px;
}

.aco-entry-content p {
  margin-bottom: 16px;
}

.aco-entry-content ol,
.aco-entry-content ul {
  margin: 0 0 18px 24px;
}

.aco-entry-content li {
  margin-bottom: 6px;
}



.aco-footer-map-link {
  color: #94a3b8;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}
.aco-footer-map-link:hover {
  color: #60a5fa;
}
.aco-route-hint {
  display: block;
  font-size: 0.8rem;
  color: #38bdf8;
  margin-top: 4px;
  font-weight: 600;
}
