/* =======================================================
   KanteenSig Autoservice — Style CSS
   Sophisticated Monochrome / Brand + Flexbox Only / Responsive
   ======================================================= */

/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F7F7F7;
  color: #1A1A1A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,.6,.23,1);
}
a:focus, a:hover {
  color: #1A3C62;
  outline: none;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
li + li {
  margin-top: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 1rem;
}
th, td {
  padding: 12px 18px;
  border-bottom: 1px solid #E3E3E3;
  text-align: left;
  background: #fff;
}
th {
  background: #ededed;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: #1A3C62;
}
tr:last-child td {
  border-bottom: none;
}

/* ===== TYPOGRAPHY MONOCHROME SOPHISTICATED ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  color: #111;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.1;
}
h1 {
  font-size: 2.35rem;
  margin-top: 8px;
}
h2 {
  font-size: 1.8rem;
  margin-top: 6px;
}
h3 {
  font-size: 1.25rem;
  margin-top: 3px;
}
h4 {
  font-size: 1.15rem;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, table, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1A1A1A;
}
blockquote {
  border-left: 4px solid #333;
  padding-left: 20px;
  font-style: italic;
  color: #222;
  margin: 16px 0 12px 0;
}
cite {
  display: block;
  font-size: .9rem;
  color: #555;
  margin-top: 3px;
  font-style: normal;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
strong, b {
  font-weight: 700;
  color: #1A3C62;
}

/* ===== CONTAINERS AND GENERAL LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(30,30,30,0.10);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 6px;
    margin-bottom: 36px;
    border-radius: 0;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ===== FLEXBOX PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(26,60,98,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  transition: box-shadow .22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(30,30,30,.17);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(30,30,30,0.07);
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(26,60,98,0.06), 0 1.5px 5px rgba(26,60,98,0.03);
  padding: 20px;
  margin-bottom: 20px;
  color: #111;
}
.testimonial-card p, .testimonial-card blockquote {
  color: #222;
  font-size: 1.08rem;
}
.testimonial-card strong, .testimonial-card cite {
  color: #1A3C62;
  margin-left: 14px;
}

/* Feature grid for 'Unsere Stärken' & Services flex */
.feature-grid, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.feature-grid > div, .services-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 26px 22px 22px 22px;
  box-shadow: 0 2px 10px rgba(20,20,20,0.05);
  transition: box-shadow .18s, background .18s;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.feature-grid > div:hover, .services-grid > div:hover {
  background: #fff;
  box-shadow: 0 6px 24px rgba(20,20,20,0.07);
}
.feature-grid img, .services-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
@media (max-width: 900px) {
  .feature-grid, .services-grid {
    gap: 20px;
  }
  .feature-grid > div, .services-grid > div {
    min-width: 180px;
    padding: 20px 12px 16px 12px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .services-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .services-grid > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/***************************************************
  HEADER, NAV, CTA BUTTONS & MOBILE MENU
***************************************************/
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(26,60,98,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0 15px 0;
  max-width: 1140px;
  margin: 0 auto;
}
nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #1A1A1A;
  font-size: 1.04rem;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background .16s, color .16s;
}
nav a:hover,
nav a:focus {
  background: #EEC643;
  color: #000;
}
nav img {
  height: 38px;
  margin-right: 14px;
}
.cta-primary {
  background: #1A3C62;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 24px;
  margin-left: 12px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  transition: background .18s, box-shadow .18s, color .18s;
  box-shadow: 0 0px 0 rgba(26,60,98,0.04);
  position: relative;
  letter-spacing: .04em;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #111;
  color: #EEC643 !important;
  box-shadow: 0 4px 12px rgba(26,60,98,0.10);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #111;
  z-index: 240;
  transition: color .18s;
  cursor: pointer;
  padding: 8px 8px;
  border-radius: 50%;
}
.mobile-menu-toggle:focus {
  color: #1A3C62;
  background: #ededed;
  outline: none;
}
@media (max-width: 950px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #18181A;
  z-index: 5000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.51,.06,.78,1.36);
  box-shadow: 0 0 0 rgba(30,30,30,0);
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 0 2px 14px rgba(26,60,98,.11);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 24px 28px 10px 0;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background .15s;
}
.mobile-menu-close:hover {
  background: #272731;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 36px 24px 36px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #f1f1f1;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.23rem;
  padding: 12px 0 12px 8px;
  border-radius: 5px;
  margin-bottom: 6px;
  transition: background .16s, color .16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #212125;
  color: #EEC643;
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none;
  }
}

/* ======= LANDING & CONTENT SECTIONS ======= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.address-map {
  background: #efefef;
  border-radius: 7px;
  padding: 18px;
  font-size: 1rem;
  color: #1A3C62;
  margin-bottom: 12px;
}

/***************************************************
  FOOTER
***************************************************/
footer {
  background: #181818;
  color: #f9f9f9;
  padding: 36px 0 18px 0;
  margin-top: 48px;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-menu a {
  color: #dddddd;
  font-size: 1rem;
  padding: 6px 8px;
  transition: color 0.16s, background 0.14s;
  border-radius: 5px;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #EEC643;
  background: #252525;
}
.brand-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.brand-signature img {
  height: 28px;
  width: 28px;
  display: inline;
}
.brand-signature span {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #EEC643;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 0 0;
  font-size: 0.99rem;
  color: #eee;
  line-height: 1.6;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-contact a {
  color: #EEC643;
  font-weight: 500;
  transition: color .13s;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #fff;
}
@media (max-width: 650px) {
  .footer-menu {
    gap: 11px;
    margin-bottom: 12px;
  }
}

/***************************************************
  CTA Buttons & INTERACTIONS
***************************************************/
.cta-primary {
  box-shadow: 0 1.5px 8px rgba(26,60,98,0.10);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}
.cta-primary:active {
  filter: brightness(0.97);
}

/* =========== TABLE STYLE (for Preislist) ============ */
table {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}
th, td {
  border-bottom: 1px solid #dedede;
}
thead th {
  background: #F7F7F7;
  color: #234;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
tbody tr:nth-child(even) td {
  background: #F9F9F9;
}

/***************************************************
  RATINGS SUMMARY & INFO BOXES
***************************************************/
.ratings-summary {
  background: #efefef;
  border-radius: 10px;
  padding: 21px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(31,44,91,0.04);
  color: #1A3C62;
}
.ratings-summary h2 {
  color: #1A3C62;
  font-size: 1.37rem;
  margin-bottom: 9px;
}
.ratings-summary ul {
  margin: 0 0 0 16px;
}

/***************************************************
  COOKIE CONSENT BANNER & MODAL
***************************************************/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #222;
  color: #f9f9f9;
  box-shadow: 0 -2px 14px rgba(30,30,30,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px;
  font-size: 1rem;
  z-index: 99999;
  transition: transform .33s cubic-bezier(.23,.69,.32,1), opacity .23s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner__message {
  flex: 1;
  color: #f7f7f7;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #f7f7f7;
  color: #1A3C62;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  margin: 0;
  transition: background .13s, color .13s;
  cursor: pointer;
}
.cookie-btn--primary {
  background: #1A3C62;
  color: #fff;
}
.cookie-btn--primary:hover,
.cookie-btn--primary:focus {
  background: #EEC643;
  color: #18181A;
}
.cookie-btn--secondary:hover,
.cookie-btn--secondary:focus {
  background: #111;
  color: #EEC643;
}
.cookie-btn--settings {
  background: #fff;
  color: #111;
  border: 1.5px solid #1A3C62;
  padding: 10px 14px;
}
.cookie-btn--settings:hover {
  background: #EEC643;
  color: #18181A;
  border-color: #EEC643;
}

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 6px 24px 7px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(30,30,30,0.67);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .24s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  padding: 38px 24px 24px 24px;
  width: 98vw;
  max-width: 400px;
  box-shadow: 0 8px 34px rgba(51,51,51,0.14);
  color: #1A1A1A;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h2 {
  font-size: 1.21rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-weight: 500;
  color: #1A3C62;
}
.cookie-toggle {
  width: 34px;
  height: 19px;
  background: #EEC643;
  border-radius: 10px;
  position: relative;
  transition: background .18s;
  cursor: pointer;
  margin-right: 4px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px;
  top: 2.5px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s cubic-bezier(.44,.7,.32,1);
  border: 1px solid #c6c6c6;
}
.cookie-toggle input:checked + span {
  transform: translateX(15px);
  border-color: #1A3C62;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  flex: 1;
}

/* Essentials cookie toggle (disabled) */
.cookie-category--essential label {
  opacity: 0.78;
  font-style: italic;
}
.cookie-category--essential .cookie-toggle {
  background: #666;
  cursor: not-allowed;
}
.cookie-category--essential .cookie-toggle span {
  background: #bbb;
  border: 1.5px dashed #888;
}

@media(max-width: 380px){
  .cookie-modal {
    padding: 14px 2px 13px 2px;
  }
}

/***************************************************
  ANIMATIONS
***************************************************/
.cta-primary, .card, .feature-grid > div, .services-grid > div, .testimonial-card, .cookie-banner, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .20s, transform .25s;
}
.card:hover, .feature-grid > div:hover,
.services-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
}
.cta-primary:active {
  transform: scale(.97);
}

/***************************************************
  UTILITY SPACING & RESPONSIVE UTILITIES
***************************************************/
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.gap-20 { gap: 20px !important; }
.fs-18 { font-size: 1.12rem !important; }
.fs-24 { font-size: 1.5rem !important; }

@media (max-width: 520px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.19rem; }
  .footer-contact, .footer-menu, .brand-signature { flex-direction: column; gap: 9px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .card, .section { padding: 12px 4px; }
  .ratings-summary { padding: 10px 9px; }
}

/***************************************************
  MISC: FORM ELEMENTS (if present in future)
***************************************************/
input, textarea, select {
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  font-size: 1rem;
  padding: 10px;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #1A3C62;
  border-color: #1A3C62;
}

/***************************************************
  FORMATTING - SPECIAL CLASSES (future proof)
***************************************************/
.notice, .info-box {
  background: #EEF2F6;
  color: #313242;
  border-left: 4px solid #1A3C62;
  padding: 16px 18px;
  border-radius: 7px;
  margin: 16px 0;
}

/***************************************************
  ARIA & ACCESSIBILITY FOCUS
***************************************************/
a, button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cta-primary {
  outline: none;
}
a:focus-visible, button:focus-visible, .cookie-btn:focus-visible, .cta-primary:focus-visible {
  box-shadow: 0 0 0 2.5px #EEC643;
  background: #eee;
  color: #1A3C62 !important;
}

/***************************************************
  SPECIALS: HIDE ON MOBILE/DESKTOP
***************************************************/
.hide-on-mobile { display: block; }
.hide-on-desktop { display: none; }
@media (max-width: 950px) {
  .hide-on-mobile { display: none !important; }
  .hide-on-desktop { display: block !important; }
}

/***************************************************
  PRINT
***************************************************/
@media print {
  nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  header { box-shadow: none !important; }
}
