/*-------------------------------------------
  CSS RESET & NORMALIZE
--------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #f8f6f2;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222b1f;
  background: #f8f6f2;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #236d45;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1b4734;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}

/*-----------------
  COLOR VARIABLES
------------------*/
:root {
  --brand-primary: #1B365D;
  --brand-secondary: #F2A900;
  --brand-white: #FFFFFF;
  --brand-green: #236d45;
  --brand-green-dark: #1b4734;
  --brand-brown: #8e735b;
  --brand-earth: #ede6db;
  --brand-beige: #f8f6f2;
  --brand-text: #222b1f;
  --brand-accent-light: #e5ecd9; /* pale green for cards/bg */
  --brand-shadow: rgba(46,56,45,0.08);
}

/*-------------------------------------------
  TYPOGRAPHY
--------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-green-dark);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.17;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.22;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, td, th {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-text);
}
p.subheadline {
  font-size: 1.18rem;
  color: var(--brand-green);
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
strong, b {
  font-weight: 600;
}

/* List Styles */
ul {
  padding-left: 1.15em;
}
ul li {
  list-style: disc inside;
}
ol li {
  list-style: decimal inside;
}

/* Table */
table {
  width: 100%;
  margin: 18px 0 20px 0;
  border-collapse: collapse;
  font-size: 1rem;
  background: var(--brand-accent-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--brand-shadow);
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e5ecd9;
}
th {
  background: var(--brand-green);
  color: var(--brand-white);
  font-weight: 700;
}
thead tr {
  border-radius: 18px 18px 0 0;
}
tr:last-child td {
  border-bottom: none;
}

/* Blockquote */
blockquote {
  margin: 20px 0;
  padding: 18px 28px;
  background: var(--brand-accent-light);
  border-left: 5px solid var(--brand-green);
  border-radius: 10px;
  color: var(--brand-green-dark);
  font-style: italic;
}

/*-------------------------------------------
  LAYOUT STRUCTURE & CONTAINERS
--------------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-earth);
  border-radius: 30px;
  box-shadow: 0 4px 32px var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  margin-bottom: 20px;
  background: var(--brand-accent-light);
  border-radius: 24px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(30,60,34,0.13);
  transform: translateY(-4px) scale(1.012);
}

.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) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--brand-beige);
  border-left: 5px solid var(--brand-green);
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--brand-shadow);
  margin-bottom: 20px;
  color: var(--brand-text);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 18px 0;
  flex-wrap: wrap;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-member {
  background: var(--brand-accent-light);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  padding: 20px 18px;
  flex: 1 1 250px;
  min-width: 240px;
  margin-bottom: 20px;
}

.trust-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  flex: 1 1 300px;
  background: var(--brand-accent-light);
  padding: 22px 18px;
  border-radius: 16px;
  box-shadow: 0 1px 6px var(--brand-shadow);
}

.map-placeholder {
  margin: 28px 0 18px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
footer {
  background: var(--brand-earth);
  margin-top: 60px;
  padding-top: 38px;
  padding-bottom: 32px;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -2px 16px var(--brand-shadow);
}
footer .container {
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.footer-navigation a {
  color: var(--brand-green);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: var(--brand-green-dark);
}
.contact-info a {
  color: var(--brand-green-dark);
  font-weight: 500;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-accent-light);
  padding: 5px;
  box-shadow: 0 1px 4px var(--brand-shadow);
  transition: background 0.22s;
}
.social-links a:hover img,
.social-links a:focus img {
  background: var(--brand-secondary);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/*-------------------------------------------
  BUTTONS & CTA
--------------------------------------------*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-green);
  color: var(--brand-white) !important;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 15px 32px;
  border-radius: 30px 60px 30px 50px;
  margin-top: 14px;
  transition: background 0.19s, box-shadow 0.19s, transform 0.16s;
  box-shadow: 0 2px 12px var(--brand-shadow);
  cursor: pointer;
  outline: none;
  letter-spacing: 0.01em;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-green-dark);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 26px rgba(35,109,69,0.12);
  text-decoration: none;
}

/*-------------------------------------------
  NAVIGATION
--------------------------------------------*/
header {
  background: var(--brand-beige);
  padding: 14px 0 8px 0;
  border-bottom: 1.5px solid #dcdbce;
  position: relative;
  z-index: 191;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
header img[alt="SchnellReparatur Nürnberg"] {
  height: 50px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--brand-green-dark);
  padding: 10px 4px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-accent-light);
  color: var(--brand-secondary);
}

/* Hamburger button - hidden on desktop */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--brand-earth);
    border: none;
    font-size: 2.2rem;
    padding: 9px 18px;
    border-radius: 18px;
    color: var(--brand-secondary);
    cursor: pointer;
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 201;
    transition: background 0.16s, color 0.16s;
    outline: none;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: var(--brand-secondary);
    color: var(--brand-white);
  }
}

/*-------------------------------------------
  MOBILE MENU
--------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(35,109,69,0.95);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.4,1.2,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--brand-white);
  cursor: pointer;
  z-index: 10001;
  padding: 7px 11px;
  border-radius: 50%;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: var(--brand-green-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 32px 40px 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-white);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-green-dark);
}
@media (max-width: 900px) {
  .cta-button {
    font-size: 1.02rem;
    padding: 13px 22px;
  }
  header .container {
    padding: 0 12px;
  }
}
@media (max-width: 560px) {
  .mobile-nav {
    padding: 24px 12px 0 18px;
  }
}

/*-------------------------------------------
  ORGANIC DECORATIVE SHAPES (OPTIONAL)
-------------------------------------------*/
/* E.g. use pseudo-elements for subtle background blobs or leaf shapes if desired */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  right: -36px;
  width: 120px;
  height: 120px;
  background: rgba(35,109,69,0.07);
  border-radius: 70% 40% 60% 40%/50% 60% 50% 60%;
  z-index: 0;
  pointer-events: none;
}
.section > * {
  position: relative;
  z-index: 1;
}

/*-------------------------------------------
  RESPONSIVE DESIGN
-------------------------------------------*/
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .content-wrapper {
    max-width: 100%;
    gap: 12px;
  }
  .section {
    padding: 25px 6px;
    margin-bottom: 36px;
  }
  .card {
    padding: 18px 12px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; margin-bottom: 11px; }
  h2 { font-size: 1.15rem; margin-bottom: 9px; }
  h3 { font-size: 1.04rem; }
  .footer-navigation {
    min-width: unset;
    font-size: 0.95rem;
  }
  .card, .team-member {
    min-width: 80vw;
  }
}

/*-------------------------------------------
  FORMATTING FOR INFO/CALL-TO-ACTION SECTIONS
-------------------------------------------*/
.contact-data {
  background: var(--brand-earth);
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*-------------------------------------------
  COOKIE CONSENT BANNER & MODAL
-------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--brand-earth);
  color: var(--brand-text);
  box-shadow: 0 -4px 24px var(--brand-shadow);
  padding: 24px 18px 24px 18px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  transition: transform 0.24s cubic-bezier(.4,1.2,.3,1), opacity 0.2s;
  border-radius: 24px 24px 0 0;
  font-size: 1rem;
  animation: cc-fade-in 0.62s cubic-bezier(.28,1.32,.6,1.2);
}
@keyframes cc-fade-in {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.cookie-consent-banner button {
  border: none;
  background: var(--brand-green);
  color: var(--brand-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 16px 28px 16px 16px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, color 0.18s;
}
.cookie-consent-banner .cookie-accept {
  background: var(--brand-green);
}
.cookie-consent-banner .cookie-accept:hover, .cookie-consent-banner .cookie-accept:focus {
  background: var(--brand-green-dark);
}
.cookie-consent-banner .cookie-reject {
  background: var(--brand-brown);
  color: var(--brand-white);
}
.cookie-consent-banner .cookie-reject:hover, .cookie-consent-banner .cookie-reject:focus {
  background: #a28765;
}
.cookie-consent-banner .cookie-settings {
  background: var(--brand-secondary);
  color: var(--brand-text);
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: var(--brand-white);
  color: var(--brand-green-dark);
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(34,43,31,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s cubic-bezier(.4,1.2,.3,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--brand-beige);
  border-radius: 24px;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 8px 28px var(--brand-shadow);
  min-width: 320px;
  max-width: min(95vw, 420px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cc-pop-in 0.45s cubic-bezier(.28,1.32,.6,1.2);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cc-pop-in {
  from { transform: scale(0.8) translateY(24px); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: var(--brand-green-dark);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 60%;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-secondary);
  color: var(--brand-green-dark);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-accent-light);
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-text);
}
.cookie-category .toggle {
  margin-left: 18px;
}
.cookie-category .toggle[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 14px;
}

@media (max-width: 620px) {
  .cookie-modal-content {
    min-width: 92vw;
    padding: 18px 6px 20px 9px;
  }
}

/*-------------------------------------------
  ORGANIC VISUAL ELEMENTS
-------------------------------------------*/
.section, .card, .team-member, .testimonial-card, .feature-item, .faq-list > div {
  border-radius: 34px 20px 38px 15px / 15px 35px 20px 36px;
  /* flowing organic corners */
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--brand-accent-light);
  border-radius: 28px 14px 24px 24px;
  box-shadow: 0 2px 10px var(--brand-shadow);
  padding: 24px 18px 18px 18px;
  flex: 1 1 190px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 32px rgba(40,88,46,0.15);
  transform: translateY(-3px) scale(1.0115);
}
.feature-grid img {
  width: 34px;
  height: 34px;
}
@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/*-------------------------------------------
  SHADOWS & EFFECTS
-------------------------------------------*/
.section, .card, .team-member, .feature-grid > div, .testimonial-card, .faq-list > div {
  box-shadow: 0 2px 12px var(--brand-shadow);
}

/*-------------------------------------------
  VISUAL HIERARCHY & SPACING
-------------------------------------------*/
main {
  margin-bottom: 64px;
}
section {
  margin-bottom: 60px;
  padding-top: 2px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*-------------------------------------------
  UTILITY CLASSES
-------------------------------------------*/
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-4 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/*-------------------------------------------
  CONTRAST FOR TESTIMONIALS / REVIEW SECTIONS
-------------------------------------------*/
.testimonial-card {
  background: var(--brand-beige);
  color: var(--brand-text);
  border-left: 6px solid var(--brand-green);
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong, .testimonial-card b {
  color: var(--brand-green-dark);
}

/*-------------------------------------------
  MISC
-------------------------------------------*/
hr {
  border: none;
  border-top: 1.5px solid #d3c8b5;
  margin: 28px 0;
}
::-webkit-input-placeholder { color: #998866; opacity: 1; }
::-moz-placeholder { color: #998866; opacity: 1; }
:-ms-input-placeholder { color: #998866; opacity: 1; }
::placeholder { color: #998866; opacity: 1; }

/*-------------------------------------------
  PRINT FRIENDLY
-------------------------------------------*/
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal, footer { display: none !important; }
  body, .container, main { background: white !important; color: black !important; }
}
