    :root{
      --bg: #ffffff;
      --text: #989898;
      --texthero: #ffffff;
      --muted: #6b7280;
      --brand: #282e75;
      --border: #353030;
      --shadow: 0 8px 20px rgba(0,0,0,.06);
      --radius: 12px;
      --backgrounddark: #282e75;
      --backgroundlight: #8b92d8;
    }

    body {
      margin: 0;
      font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background: var(--backgrounddark);
    }

    header.site-header {
      position: sticky;
      top: 0;
      z-index: 10;   
      background: var(--bg);
      box-shadow: var(--shadow);
    }

    .header-bar {
      max-width: 1100px; margin: 0 auto;
      padding: 12px 16px;
      display: grid; gap: 12px;
      align-items: center;
      grid-template-columns: auto 1fr auto;
    }

    /* Logo */
    .brand img {
      height: clamp(36px, 5vw, 60px);
      width: auto;
      display: block;
    }

    /* Nav */
    nav.primary-nav { justify-self: center; }
    .nav-list {
      display: flex; gap: 28px;
      list-style: none; margin: 0; padding: 0;
    }
    .nav-list a {
      text-decoration: none; color: var(--text);
      font-weight: 500;
      padding: 8px 0; position: relative;
      transition: color 0.2s ease;
    }
    .nav-list a:after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
      height: 2px; background: var(--brand); transform: scaleX(0);
      transform-origin: left; transition: transform .2s ease;
    }
    .nav-list a:hover,
    .nav-list a:focus-visible { color: var(--brand); }
    .nav-list a:hover:after,
    .nav-list a:focus-visible:after { transform: scaleX(1); }

    /* Right side actions */

    .email-static a {
      color: var(--brand);
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 8px 14px;
      white-space: nowrap;
    }

    .email-static a:hover {
      text-decoration: underline;
    }

    .actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
    }
    .phone-static {
    min-width: max-content;          /* <- preserves intrinsic width */
    }
    .phone-static a {
      color: var(--brand);
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      padding: 8px 14px; cursor: pointer;
      white-space: nowrap;

    }
    .phone-static a:hover {
      text-decoration: underline;
    }

    .open-times-btn {
      appearance: none; border: 0; border-radius: 999px;
      background: var(--text); color: #fff; font-weight: 700;
      padding: 8px 14px; cursor: pointer;
      transition: transform .04s ease, opacity .2s ease;
      white-space: nowrap;
      font-family: 'Ubuntu', sans-serif;
      font-size: 0.9rem;
    }
    .open-times-btn:hover { opacity: .92; }
    .open-times-btn:active { transform: translateY(1px); }

    /* Hamburger (mobile) */
    .hamburger {
      display: none; background: transparent; border: 0; padding: 8px;
      border-radius: 8px; cursor: pointer;
    }
    .hamburger svg { width: 26px; height: 26px; }

    /* Modal */
    
    .modal-backdrop {
      position: fixed; inset: 0; background: rgba(15,23,42,.5);
      display: none; align-items: center; justify-content: center;
      padding: 20px;
    }
    .modal-backdrop[aria-hidden="false"]{ display: flex; }
    .modal {
      width: min(680px, 100%);
      background: #fff; color: var(--text);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-family: 'Ubuntu', sans-serif;
    }
    .modal header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 18px; border-bottom: 1px solid var(--border);
    }
    .modal header h2 { margin: 0; font-size: 1.1rem; font-weight: 700; }
    .modal .modal-body { padding: 16px 18px; }
    .modal .close-btn {
      background: transparent; border: 0; font-size: 1.4rem;
      line-height: 1; cursor: pointer; padding: 4px 8px;
    }
    .hours-table {
      width: 100%; border-collapse: collapse; font-size: .98rem;
    }
    .hours-table tr + tr td { border-top: 1px dashed var(--border); }
    .hours-table td { padding: 10px 4px; }
    .hours-table td:first-child { color: var(--muted); width: 40%; }

/* /css/fonts.css */

@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Medium'), local('Ubuntu-Medium'),
       url('/fonts/ubuntu-v21-latin/ubuntu-v21-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ubuntu';
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'),
       url('/fonts/ubuntu-v21-latin/ubuntu-v21-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*  Ubuntu Font globally */
html, body {
  font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Layout helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 56px 0;
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
}
.muted { color: var(--muted); }

#services .section-title {
  color: #ffffff;
}

/* Hero */
.hero {
  background: var(--backgroundlight);
}
.hero h1
{
  color: var(--backgrounddark);
  margin-bottom: 5px;

}

.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}
.hero .lead {
  color: var(--texthero);
  font-size: 1.05rem;
}

.hero .subtitle {
  color: var(--backgrounddark);
  margin: 0;
}

.hero-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.placeholder-img {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(14,165,233,.15), rgba(14,165,233,.05));
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--muted);
  font-weight: 500;
}

/* Hero image setup */
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: auto;                 
  border-radius: 12px;         
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  object-fit: cover;            /* fills */
  max-width: 600px;            
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 999px;
  text-decoration: none; cursor: pointer; user-select: none;
  transition: opacity .2s ease, transform .04s ease;
  font-weight: 700;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--text); color: #fff;
}
.btn-primary:hover { opacity: .92; }
.btn-ghost {
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { opacity: .92; }

/* === HERO SLIDESHOW === */
.hero-slideshow {
  position: relative;
  max-width: 600px;
}

.hero-slideshow .hero-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slideshow .hero-img.active {
  opacity: 1;
  position: relative;
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 5;
}

.slide-arrow:hover {
  background: rgba(0,0,0,.65);
}

.slide-arrow.prev { left: 10px; }
.slide-arrow.next { right: 10px; }


/* === Team section === */
.team {
  background: var(--backgrounddark);
  color: white;
}


.team-list {
  display: grid;
  gap: 24px;
}

.team-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr; 
  gap: 24px;
  align-items: center;
}

/* Alternate layout: even rows flip order (text left, image right) */
.team-row:nth-child(even) .team-media { order: 2; }
.team-row:nth-child(even) .team-text  { order: 1; }

/* Limits Size */
.team-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  max-width: 350px;
  justify-self: center;
}

.team-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.team-text h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.team-text p {
  margin: 0;
  color: white;
  text-shadow: white;
}

/* Responsive */
@media (max-width: 900px) {
  .team-row {
    grid-template-columns: 1fr;
  }
  /* On mobile, stack image above text for all rows */
  .team-row .team-media { order: 1 !important; }
  .team-row .team-text  { order: 2 !important; }
}


/* Services Section */
.services {
  background: var(--backgroundlight);
  padding: 40px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .25s ease;
}
.card:hover {
  transform: translateY(-4px);
}

/* Icon */
.card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
}

/* Title + teaser text */
.card-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.card-teaser {
  color: var(--muted);
  margin: 0 0 16px;
}

/* Toggle button */
.card-toggle {
  margin-top: auto;
  background: var(--backgrounddark);
  color: var(--backgroundlight);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .25s ease;
}
.card-toggle:hover {
  background: #222;
}

/* Accordion body */
.card-body {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height .35s ease, margin .35s ease;
  text-align: left;
  padding-right: 4px;
}

.card.open .card-body {
  margin-top: 16px;
}


/* About */
.about a{
  color:rgb(133, 158, 210);
  text-shadow: 0.5px 0.5px white;
}

.about {
  background: var(--backgrounddark);
  color: white;
  text-shadow: 1px 1px rgb(0, 0, 0);
}

.checklist {
  margin: 8px 0 0; padding: 0; list-style: none;
  color: white;
}
.checklist li {
  position: relative; padding-left: 28px; margin: 10px 0;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--backgroundlight);
  color: white;
  display: grid; place-items: center;
  font-weight: 700; font-size: .85rem;
}
.about-card {
  color: var(--backgrounddark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  text-shadow:none;
}

.about-card .checklist {
  color:black;
}
/* Contact */

.contact {
  background: var(--backgroundlight);
}
.contact .contact-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}
.contact .link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.contact .link:hover { text-decoration: underline; }
.cta-row {
  margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap;
}
.map-wrap .placeholder-map {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: repeating-linear-gradient(
    45deg,
    rgba(14,165,233,.05),
    rgba(14,165,233,.05) 12px,
    rgba(14,165,233,.1) 12px,
    rgba(14,165,233,.1) 24px
  );
  display: grid; place-items: center;
  color: var(--muted);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px){
  .grid-2 { grid-template-columns: 1fr; }
  .services .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px){
  .services .cards { grid-template-columns: 1fr; }
}

/* === Section base (for dividers) === */
.section {
  position: relative;
  overflow: hidden;
  isolation: isolate;   /* ensures ::after with z-index:-1 stays behind section content */
}

/* === Divider behind content === */
.section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: calc(100vw * (200 / 914)); /* 914:200 ratio */
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: -1;  /* push behind */
}

/* Use SVG per section */
.hero::after     { background-image: url('/media/teiler_test.svg'); }
.team::after {background-image: url('/media/teiler_test.svg'); transform: rotate(180deg);}
.services::after { background-image: url('/media/teiler_test.svg');}
.about::after    { background-image: url('/media/teiler_test.svg');  transform: rotate(180deg);}
.contact::after  { background-image: url('/media/teiler_test.svg'); }

/* Slight overlap to avoid hairline gaps between sections */
.section + .section { margin-top: -2px; }

/* Responsiveness: cap divider height on very small screens */
@media (max-width: 480px) {
  .section::after {
    height: min(calc(100vw * (200 / 914)), 120px);
  }
}


/* === Footer === */
.site-footer {
  background: #0f172a;       
  color: #f8fafc;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.95rem;
  padding: 24px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  margin: 0;
  opacity: 0.8;
}

.footer-nav a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  margin-left: 18px;
  transition: opacity 0.2s ease;
}

.footer-nav a:first-child { margin-left: 0; }

.footer-nav a:hover {
  opacity: 0.8;
}

/* On very small screens: center the layout */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav a {
    margin: 6px 8px;
  }
}

/* === FULLSCREEN OVERLAY MENU (MOBILE ONLY) === */
@media (max-width: 820px) {

  /* Header: simple – Logo left, Burger right */
  .header-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Fullscreen Nav Overlay */
  nav.primary-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: none;
    flex-direction: column;
    padding: 110px 40px 40px;
    z-index: 200; 
    animation: fadeIn .25s ease forwards;
  }

  nav.primary-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 26px;
  }

  .nav-list a {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--brand);
  }

  /* Hamburger visible only on mobile */
  .hamburger {
    display: inline-flex;
    background: transparent;
    border: 0;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 300;
  }

  /* Blur Backdrop behind menu */
  .menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 150;
  }

  .menu-backdrop.open {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
  }
}

/* === HOLIDAY POPUP (ROLLING CIRCLE) === */
.holiday-popup {
  text-align: center;
  position: fixed;
  left: -320px;                  /* hidden off-screen */
  top: clamp(80px, 20vh, 220px);
  width: 200px;
  height: 200px;
  background: var(--backgrounddark);
  color: var(--backgroundlight);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 999;
  transform: rotate(-360deg);
  transition:
    left 0.9s cubic-bezier(.22,.61,.36,1),
    transform 0.9s ease;
}

/* Visible State */
.holiday-popup.show {
  left: 50px;
  transform: rotate(0deg);
}

.holiday-popup h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.holiday-popup p {
  margin: 2px 0;
  font-weight: 500;
}

/* Close Button */
.holiday-close {
  position: absolute;
  top: 6px;
  right: 80px;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--backgroundlight);
}

.etermin {
  background-color: white;
    }

.etermin h1 {
color: var(--backgrounddark);
text-align: center;

}
