/* ================ CSS RESET & BASE =================== */
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,
main, 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 {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A222B;
  background: #FFF;
  line-height: 1.5;
  min-height: 100vh;
}
av {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
*
{box-sizing: border-box;}
a {
  color: #19334D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #CDAC3A;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}

/* ================= BRAND COLOR VARIABLES ==================== */
:root {
  --primary: #19334D;
  --secondary: #CDAC3A;
  --accent: #E5E8ED;
  --background: #F7F9FB;
  --text: #1A222B;
  --gray: #E5E8ED;
  --darkblue: #132440;
  --border: #DBDFE5;
  --shadow: rgba(25,51,77,0.07);
  --white: #ffffff;
  --nav-bg: #19334D;
  --footer-bg: #1F2A38;
  --footer-text: #E5E8ED;
}

/* ================== TYPOGRAPHY ========================== */
h1, .hero h1 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 2.4rem;
  letter-spacing: .03em;
  line-height: 1.15;
  margin-bottom: 0.6em;
}
h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h3 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.45em;
}
h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: var(--primary);
}
p, ul, ol, .content-wrapper li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1em;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
}

/* ================= CONTAINER & SECTIONS ==================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============= NAVIGATION HEADER ==================== */
header {
  background: var(--nav-bg);
  color: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 0;
}
.main-nav a {
  color: var(--white);
  opacity: 0.93;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.17s, opacity 0.13s;
  padding: 0 3px;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.cta.primary {
  color: var(--secondary);
  opacity: 1;
}
.main-nav a.cta.primary {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 30px;
  padding: 8px 22px;
  margin-left: 10px;
  font-size: 1.01rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--shadow);
  border: none;
  transition: background .18s, color .18s;
  text-decoration: none;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #e1bb44;
  color: var(--darkblue);
}
.main-nav img {
  max-height: 40px;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  margin-left: auto;
  cursor: pointer;
  padding: 4px 12px;
  outline: none;
  transition: color 0.22s;
  z-index: 111;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F7CB44;
}

/* ================= MOBILE NAVIGATION =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  box-shadow: -1px 0 16px 3px rgba(25,51,77,0.10);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.62,1.23,.41,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--secondary);
  font-size: 2.25rem;
  border: none;
  margin: 26px 26px 10px auto;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7CB44;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 90%;
  margin: 15px auto 0 auto;
  gap: 20px;
  padding-bottom: 45px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.29rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 3px 6px 3px;
  width: 100%;
  border-bottom: 1px solid rgba(229,232,237,0.07);
  transition: color 0.17s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* =============== HERO / LANDING =============== */
.hero {
  background: var(--accent);
  border-bottom: 1px solid var(--gray);
  padding: 54px 0 48px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 2em;
  max-width: 670px;
}
.hero .cta.primary {
  margin-top: 14px;
}

/* ================== BUTTONS ======================= */
.cta, button, .button {
  background: var(--primary);
  color: var(--white);
  display: inline-block;
  border: none;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 26px;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 3px 14px var(--shadow);
  transition: background 0.17s, color 0.15s, box-shadow 0.19s;
  margin-top: 4px;
  margin-bottom: 4px;
}
.cta.primary, .cta.primary:visited {
  background: var(--secondary);
  color: var(--primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: #e1bb44;
  color: var(--darkblue);
}
.cta.secondary {
  background: var(--primary);
  color: var(--white);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--darkblue);
  color: var(--secondary);
}

/* ================== FEATURE SECTION =================== */
.features, .feature-grid, .feature-list {
  margin-bottom: 60px;
}
.features .content-wrapper > h2 {
  margin-bottom: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: var(--white);
  padding: 24px 22px 22px 22px;
  border-radius: 16px;
  box-shadow: 0 2px 18px var(--shadow);
  border: 1px solid var(--gray);
  flex: 1 1 235px;
  min-width: 225px;
  max-width: 295px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.23s, border 0.19s, transform 0.19s;
}
.feature:hover, .feature:focus-within {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 6px 26px rgba(25,51,77,0.12);
  transform: translateY(-4px) scale(1.025);
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.feature p {
  font-size: 0.99rem;
  color: var(--text);
}

/* ================= TESTIMONIALS ===================== */
.testimonials {
  background: var(--background);
  border-bottom: 1px solid var(--gray);
  border-top: 1px solid var(--gray);
  padding: 40px 0;
}
.testimonials .content-wrapper > h2 {
  margin-bottom: 26px;
  color: var(--primary);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--white);
  color: #17202A;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--shadow);
  border: 1px solid var(--gray);
  padding: 20px 28px 20px 28px;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, border 0.14s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px rgba(25,51,77,0.13);
  border: 1.5px solid var(--secondary);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.testimonial-author {
  color: var(--secondary);
  font-family: 'Oswald',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ==================== ABOUT SECTION ================ */
.about-snippet, .about, .values, .certifications {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--shadow);
  border: 1px solid var(--gray);
  margin-bottom: 40px;
}
.about-snippet ul,
.values ul, .certifications ul, .content-wrapper ul {
  padding-left: 20px;
  margin-bottom: 1em;
  list-style: disc inside;
}
.about-snippet li,
.values li, .certifications li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* ============== CARD, GRID, SECTION LAYOUTS ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--shadow);
  border: 1px solid var(--gray);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, border 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px rgba(25,51,77,0.13);
  border: 1.5px solid var(--secondary);
}
.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;
}

/* =============== SERVICE LIST (Leistungen) =============== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.service-category {
  background: var(--accent);
  border-radius: 14px;
  border: 1px solid var(--gray);
  box-shadow: 0 2px 13px var(--shadow);
  padding: 22px 18px 18px 18px;
  min-width: 210px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  max-width: 275px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-category h2 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary);
}
.quick-facts {
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--shadow);
  border: 1px solid var(--gray);
  padding: 18px 18px 14px 18px;
  margin-top: 16px;
}

/* =================== PRICING TABLE ================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2em;
}
.pricing-table th, .pricing-table td {
  font-size: 1rem;
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray);
  text-align: left;
}
.pricing-table th {
  background: var(--primary);
  color: var(--white);
  font-family: 'Oswald',Arial,sans-serif;
}
.pricing-table tr:nth-child(even) td {
  background: var(--accent);
}

/* ================== FAQ ============================= */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.faq-item {
  background: var(--accent);
  border-radius: 10px;
  border: 1px solid var(--gray);
  box-shadow: 0 2px 9px var(--shadow);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 350px;
  padding: 16px 15px;
}

/* =============== TEAM COLUMNS (Team) =================== */
.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.team-member {
  background: var(--accent);
  border-radius: 14px;
  border: 1px solid var(--gray);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 20px 18px 17px 18px;
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 255px;
  margin-bottom: 20px;
}
.team-member h2 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.team-member p {
  font-size: 0.96rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.skill {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(25,51,77,0.08);
  border: 1px solid var(--gray);
  padding: 14px 13px 12px 13px;
  flex: 1 1 150px;
  min-width: 140px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.skill img {
  width: 28px;
  height: 28px;
}

/* =============== CONTACT PAGE ======================== */
.contact-section .contact-details {
  background: var(--accent);
  border-radius: 13px;
  border: 1px solid var(--gray);
  box-shadow: 0 2px 9px var(--shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-section .location-description {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--accent);
  border-radius: 11px;
  border: 1px solid var(--gray);
  padding: 15px 14px;
}
.map-section img {
  display: block;
  max-width: 115px;
  margin-left: 14px;
  margin-top: 9px;
}

/* =============== CTA SECTIONS (Calls to action) ============= */
.cta, .cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 36px 0 32px 0;
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--shadow);
}
.cta .cta.primary {
  margin-top: 10px;
}

/* =============== FOOTER ============================== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 36px 0 22px 0;
  margin-top: 44px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: flex-start;
}
.footer-menu a {
  color: var(--footer-text);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: .015em;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--footer-text);
  line-height: 1.6;
}
.footer-contact a {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: underline dotted;
  transition: color 0.16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #F7CB44;
}

/* =============== COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 99999;
  box-shadow: 0 -4px 25px rgba(25,51,77,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 20px 16px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.61,1.16,.41,1);
  gap: 22px;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.15s;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #f7cb44;
  color: var(--primary);
}
.cookie-reject {
  background: var(--accent);
  color: var(--primary);
  font-weight: 500;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f5eec6;
  color: var(--secondary);
}
.cookie-settings {
  background: transparent;
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--gray);
  color: var(--primary);
}

/* =============== COOKIE MODAL =========================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,51,77,0.42);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal {
  background: var(--white);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(25,51,77,0.22);
  max-width: 410px;
  width: 92vw;
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 7px;
  font-weight: 600;
}
.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-cat label {
  font-size: 1.01rem;
  color: var(--darkblue);
}
.cookie-cat input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal-close {
  background: transparent;
  color: var(--secondary);
  font-size: 1.32rem;
  border: none;
  position: absolute;
  top: 13px; right: 18px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

/* =============== RESPONSIVE DESIGN ======================== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 930px) {
  .main-nav, .footer-menu {
    gap: 14px;
    font-size: 0.98rem;
  }
  .feature-grid, .testimonials .testimonial-list, .team-member-list, .skills-grid, .service-list, .faq-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 38px 0 30px 0;
    margin-bottom: 38px;
  }
  h1, .hero h1 {
    font-size: 1.5rem;
  }
  h2 { font-size: 1.18rem; }
  .section, section {
    padding: 28px 0 22px 0;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 5px;
  }
  .feature-grid, .testimonial-list, .service-list, .faq-list, .team-member-list, .skills-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .testimonial-card, .service-category, .faq-item, .team-member, .skill {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
  }
  .contact-section .contact-details,
  .map-section .location-description {
    padding: 12px 7px 10px 7px;
  }
  .hero .content-wrapper, .content-wrapper {
    gap: 12px;
  }
  .footer-menu {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 1.17rem; }
  h2 { font-size: 1.02rem; }
  h3 { font-size: 1rem; }
  .footer-contact {
    font-size: 0.97rem;
  }
  .faq-item, .service-category, .testimonial-card, .team-member, .skill {
    padding: 10px 7px;
  }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 9px 10px 9px;
    font-size: 0.97rem;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 18px 3px 12px 3px;
  }
}

/* =============== FINE TUNING: GENERAL SPACING ============= */
.section, section:not(.hero):not(.cookie-banner):not(.cookie-policy) {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .service-list, .faq-list, .testimonial-list, .team-member-list, .skills-grid {
  gap: 24px;
}
.card, .testimonial-card, .feature, .service-category, .team-member, .faq-item, .skill {
  margin-bottom: 20px;
}
.content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}
.text-image-section {
  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;
}

/* === ACCESSIBILITY HIGH CONTRAST & FOCUS === */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 1.5px;
  border-radius: 3px;
}

/* ========== END OF STYLE ========== */
