/* style.css — Aruspinter DokumentenService — Minimalist/Seriös Responsive CSS */

/* ------------------------------------------------------------ */
/* CSS RESET & BASELINE */
/* ------------------------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol { list-style: none; }
img, picture {
  display: block;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; background: none; }
:root {
  --color-primary: #1A377B;
  --color-secondary: #C4D2E8;
  --color-accent: #F7B32B;
  --color-bg: #fff;
  --color-text: #181818;
  --color-muted: #7B8894;
  --color-shade: #F7F9FC;
  --shadow-main: 0 2px 16px rgba(26,55,123,0.07);
  --radius: 12px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------ */
/* TYPOGRAPHY & HEADINGS */
/* ------------------------------------------------------------ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, table, .text-section, .text-section ul {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
}
p { margin-bottom: 16px; }
strong { font-weight: 600; }
cite {
  font-style: normal;
  font-size: 0.95em;
  color: var(--color-muted);
}
a {
  transition: color 0.15s;
  text-decoration-thickness: 2px;
}
a:hover, a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ------------------------------------------------------------ */
/* CONTAINER & SECTION LAYOUTS */
/* ------------------------------------------------------------ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
}

/* ------------------------------------------------------------ */
/* HEADER & NAVIGATION */
/* ------------------------------------------------------------ */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-secondary);
  box-shadow: 0 2px 12px rgba(26,55,123,0.04);
  width: 100%;
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}
header img { height: 38px; width: auto; }
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 2px 0;
  transition: color 0.14s;
  border-radius: 4px;
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-primary);
  color: #fff;
  padding: 11px 28px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin-left: 12px;
  transition: background .17s, box-shadow .17s, transform .18s;
  box-shadow: 0 4px 16px rgba(26, 55, 123, 0.08);
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: #1A377B;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(26,55,123,0.17);
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 12px;
  border: none;
  z-index: 510;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
}

@media (max-width: 960px) {
  header .container {
    flex-wrap: wrap;
  }
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 32px 32px 32px;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(.57,1.2,.4,1);
  box-shadow: 0 0 32px rgba(26,55,123,0.10);
  width: 100%;
  max-width: 320px;
}
.mobile-menu--open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-primary);
  background: transparent;
  align-self: flex-end;
  margin-bottom: 20px;
  border-radius: 6px;
  padding: 2px 7px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--color-primary);
  padding: 8px 0;
  width: 100%;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
}

@media (max-width: 400px) {
  .mobile-menu {
    max-width: 100vw;
    padding: 32px 10px 18px 10px;
  }
}

@media (min-width: 600px) {
.mobile-menu {
  display: none;
}
}
/* Overlay for body when menu is open (add class .menu-open to body via JS) */
body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------------ */
/* HERO & PAGE SECTIONS */
/* ------------------------------------------------------------ */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 28px 0;
  }
}

/* ------------------------------------------------------------ */
/* CARDS, FEATURES, FLEX SECTIONS */
/* ------------------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-main);
  border-radius: var(--radius);
  padding: 32px 22px 26px 22px;
  min-width: 280px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(26,55,123,0.13);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  justify-content: center;
  min-height: 120px;
}

.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: var(--color-shade);
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(26,55,123,0.043);
  padding: 30px 18px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 168px;
  transition: box-shadow 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 26px rgba(26,55,123,0.12);
  background: #fff;
}
.feature-grid img {
  width: 36px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 3px;
  margin-top: 0;
}
.feature-grid p {
  color: var(--color-text);
  font-size: 1rem;
}

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

.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) {
  .feature-grid, .features, .content-grid, .testimonial-card, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ------------------------------------------------------------ */
/* TESTIMONIALS */
/* ------------------------------------------------------------ */
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
  background: var(--color-shade);
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
}
.testimonial-card > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px 16px 18px;
  box-shadow: 0 1px 8px rgba(26,55,123,0.07);
  min-width: 180px;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.13s;
}
.testimonial-card > div:hover {
  box-shadow: 0 6px 28px rgba(26,55,123,0.13);
}
.testimonial-card span {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: var(--color-text);
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card cite {
  display: block;
  margin-top: 6px;
  font-size: 0.97rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.96;
}
@media (max-width: 900px) {
  .testimonial-card { flex-direction: column; }
}

/* ------------------------------------------------------------ */
/* CTA CONTACT INFO & STANDARDS */
/* ------------------------------------------------------------ */
.cta-contact-info, .contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.cta-contact-info img {
  width: 22px;
  margin-right: 9px;
  vertical-align: middle;
}
.cta-contact-info > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 600px) {
  .cta-contact-info, .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ------------------------------------------------------------ */
/* TABLE STYLES (LEISTUNGSÜBERSICHT, BERATUNG etc.) */
/* ------------------------------------------------------------ */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 22px;
  font-size: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0.5px 5px rgba(26,55,123,0.08);
  overflow: hidden;
}
thead th {
  background: var(--color-primary);
  color: #fff;
  text-align: left;
  padding: 15px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
}
tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-secondary);
}
tbody tr:last-child td {
  border-bottom: none;
}
td img {
  width: 22px;
  height: auto;
  vertical-align: baseline;
  margin-right: 7px;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; width: 100%; }
  thead { display: none; }
  tr { margin-bottom: 20px; }
  td { padding: 11px 2px; }
}

/* Lists and Blocks */
ul,ol {
  margin-bottom: 17px;
  padding-left: 1.35em;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
  position: relative;
}
ul li::marker, ol li::marker { color: var(--color-primary); font-size:1.2em; }
ul li strong, ol li strong { color: var(--color-primary); }

.text-section {
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.7;
}
.text-section ul, .text-section ol {
  margin-bottom: 8px;
}
.contact-block ul {
  margin-top: 14px;
  margin-bottom: 0;
}
.contact-block li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.03rem;
}
.contact-block img { width:20px; }

/* ------------------------------------------------------------ */
/* FOOTER */
/* ------------------------------------------------------------ */
footer {
  background: #fff;
  border-top: 1px solid var(--color-secondary);
  box-shadow: 0 -2px 12px rgba(26,55,123,0.05);
  margin-top: 60px;
  padding: 0 0;
  font-size: 0.97rem;
  color: var(--color-muted);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding: 36px 20px 16px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 16px;
}
footer nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  opacity: 0.82;
  transition: color 0.1s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  color: var(--color-muted);
  opacity: 0.90;
  font-size: 0.97rem;
  margin-bottom: 14px;
}
.footer-contact a { color: var(--color-primary); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-social img { width: 28px; opacity: 0.72; transition: opacity 0.15s; }
.footer-social a:hover img, .footer-social a:focus img { opacity: 1; }
footer small {
  margin-top: 16px;
  display: block;
  width: 100%;
  opacity: 0.65;
  color: var(--color-muted);
  font-size: 0.93rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 36px 10px 16px 10px;
  }
}

/* ------------------------------------------------------------ */
/* COOKIE CONSENT BANNER & MODAL */
/* ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--color-text);
  border-top: 1.5px solid var(--color-secondary);
  box-shadow: 0 -2px 22px rgba(26,55,123,.14);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 32px 18px 32px;
  font-size: 1.04rem;
  animation: banner-in 0.35s cubic-bezier(.67,1.47,.5,.95);
}
@keyframes banner-in { 0%{ transform: translateY(100%);} 100%{transform:translateY(0);} }
.cookie-banner-text {
  flex: 3 1 320px;
}
.cookie-banner-actions {
  flex: 1 1 185px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 18px;
  border: none;
  margin: 0;
  outline: none;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background 0.13s, color 0.13s;
}
.cookie-btn--accept {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn--reject {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: var(--color-secondary);
}
.cookie-btn--settings {
  background: var(--color-shade);
  color: var(--color-primary);
  border: none;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width:600px){
  .cookie-banner{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner-actions{ width: 100%; justify-content: flex-start; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  z-index: 99998;
  background: rgba(24,24,24,0.16);
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlay-fadein .2s cubic-bezier(.45,1.31,.41,1.01);
}
@keyframes overlay-fadein { 0%{opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 44px rgba(26,55,123,.17);
  padding: 34px 30px 24px 30px;
  max-width: 420px;
  width: 92vw;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: popin 0.34s cubic-bezier(.39,1.41,.43,.97);
}
@keyframes popin { 0%{ transform:scale(1.14) translateY(60px); opacity:0; } 100%{transform:scale(1) translateY(0); opacity:1;} }
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.6rem;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 12px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
  margin-left: 8px;
  display: inline-block;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-accent);
}
.cookie-toggle-inner {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-inner {
  left: 20px;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: flex-end;
}

/* ------------------------------------------------------------ */
/* FORM ELEMENTS (for forms, if present) */
/* ------------------------------------------------------------ */
input, select, textarea {
  background: #fff;
  border: 1px solid var(--color-secondary);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  box-shadow: 0.5px 1px 5px rgba(26,55,123,.05);
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: none;
}
label { display: block; font-size: 1rem; margin-bottom: 4px; color: var(--color-primary); }

/* ------------------------------------------------------------ */
/* MISC UTILITIES, EFFECTS, ANIMATIONS */
/* ------------------------------------------------------------ */
.shadow {
  box-shadow: 0 2px 16px rgba(26,55,123,0.10);
}
.text-center {
  text-align: center;
}
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ------------------------------------------------------------ */
/* RESPONSIVE — MOBILE FIRST ADJUSTMENTS */
/* ------------------------------------------------------------ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .feature-grid > div, .card {
    padding: 20px 12px;
    min-width: 140px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 485px) {
  .container, footer .container { padding-left: 4px; padding-right: 4px; }
  .feature-grid > div, .card {
    min-width: 85vw;
  }
}

/* ------------------------------------------------------------ */
/* END OF FILE — ARUSPINTER DOKUMENTENSERVICE */