/* =========================================
   KlarKopf Duisburg: Modern Bold Style.css
   Author: Professional CSS/UI Design (2024)
   Style: Modern Bold – flexbox-only, all components
   ========================================= */

/* === 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #f4f7fa;
  color: #23395d;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
article, aside, details, figcaption, figure, footer, 
header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #f2a950;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
input[type="text"], textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #23395d;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 16px;
  transition: border-color 0.15s;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35, 57, 93, 0.05);
}
input[type="text"]:focus, textarea:focus {
  border-color: #f2a950;
  outline: none;
}

/* === BRAND COLORS (CUSTOM PROPS/FALLBACKS) === */
:root {
  --primary: #23395d;
  --primary-darker: #172440;
  --primary-lighter: #39588b;
  --secondary: #f4f7fa;
  --accent: #f2a950;
  --accent-dark: #c97d12;
  --text-main: #23395d;
  --text-light: #f4f7fa;
  --gray: #e0e6ed;
}

/* === TYPOGRAPHY (MODERN BOLD SCALE) === */
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  line-height: 1.13;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin: 0 0 14px 0;
}
h3 {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  color: var(--primary-lighter);
}
h4, h5, h6 { font-size: 1rem; }
p, ul, ol {
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
  color: var(--primary-darker);
}
.section ul,
.section ol,
ul,
ol {
  padding-left: 23px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--accent-dark);
  border-left: 5px solid var(--accent);
  margin: 24px 0;
  padding-left: 18px;
  font-style: italic;
  background: linear-gradient(90deg, #fff 55%, var(--secondary) 100%);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* == SECTIONS and PATTERNS == */
section {
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 7px 30px rgba(35,57,93,0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  min-width: 260px;
  box-shadow: 0 3px 18px rgba(35,57,93,0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(35,57,93,.15);
  transform: translateY(-4px) scale(1.018);
}
.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;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(35,57,93,0.13);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card img {
  width: 36px;
  height: 36px;
  margin-right: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, #fff 60%, #f4f7fa 100%);
  padding: 56px 0 48px 0;
  margin-bottom: 30px;
  border-bottom: 7px solid #f2a95055;
}
.hero h1 {
  color: var(--primary-darker);
  font-size: 2.5rem;
  margin-bottom: 13px;
}
.hero p {
  color: #23395dcc;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* === NAVIGATION & HEADER === */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid #f4f7fa;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.logo img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  padding: 9px 14px;
  border-radius: 7px;
  transition: background 0.17s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cta-primary {
  background: var(--accent);
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  box-shadow: 0 3px 18px rgba(242, 169, 80, 0.09);
  margin-left: 16px;
  letter-spacing: 0.04em;
  position: relative;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 7px 28px rgba(35,57,93,0.18);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  padding: 7px 9px;
  border-radius: 8px;
  margin-left: 10px;
  transition: background 0.15s, color 0.15s;
  z-index: 1600;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #f4f7fa;
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 24px rgba(35,57,93, 0.27);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 38px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 4px 10px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f4f7fa;
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  padding: 13px 0 12px 0;
  border-bottom: 2px solid #f4f7fa;
  transition: color 0.16s, background 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  background: #f4f7fa;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  margin: 11px 0 0 0;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.15s;
  opacity: 0.81;
  font-size: 1rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  opacity: 0.88;
}
footer a img {
  height: 44px;
  width: auto;
  filter: brightness(1.1) grayscale(30%);
}

/* === FEATURE GRID / SERVICE CARDS (Index) === */
.feature-grid, .service-cards, .tips-grid, .team-intros, .testimonial-slider, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div, .service-cards > div, .tips-grid > div, .team-intros > div, .article-preview {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px rgba(35,57,93,0.06);
  padding: 26px 22px 20px;
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.feature-grid > div:hover, .service-cards > div:hover, .tips-grid > div:hover, .article-preview:hover {
  box-shadow: 0 9px 28px rgba(35,57,93,.14);
  transform: translateY(-6px) scale(1.022);
}
.feature-grid img {
  height: 34px;
  width: 34px;
  margin-bottom: 13px;
}
.price {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 4px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-top: 13px;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* === ARTICLE / INSPIRATION PREVIEW (artikel.html) === */
.article-list {
  gap: 24px;
}
.article-preview {
  min-width: 230px;
  max-width: 360px;
  border-left: 7px solid var(--accent);
  padding-left: 25px;
}
.article-preview h3 {
  color: var(--primary-darker);
  margin-bottom: 6px;
  font-size: 1.12rem;
}
.article-preview .tags {
  margin: 10px 0 2px 0;
  display: flex;
  gap: 8px;
}
.article-preview .tags span {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 0.9rem;
  opacity: 0.92;
  margin-right: 0;
}
.article-preview a {
  margin-top: 7px;
  color: var(--accent);
  font-weight: bold;
  transition: color 0.15s;
}
.article-preview a:hover { color: var(--primary-darker); }

.categories {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0 3px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.categories a {
  color: var(--primary);
  padding: 3px 13px;
  border-radius: 6px;
  background: #f2a95012;
  font-weight: 600;
  margin-right: 0px;
  transition: background 0.14s, color 0.13s;
}
.categories a:hover,
.categories a.active {
  background: var(--accent);
  color: #fff;
}

/* === TESTIMONIALS === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 5px;
  justify-content: flex-start;
}
.testimonial-card {
  min-width: 290px;
  max-width: 430px;
  background: #fff;
  color: #23395d;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  box-shadow: 0 7px 27px rgba(35,57,93,0.12);
  border: 1.5px solid #e0e6ed;
  margin-bottom: 0px;
  margin-right: 0px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-details {
  color: var(--accent-dark);
  margin-left: 7px;
  opacity: 0.9;
}

/* === CTA AREA === */
.cta-area, .cta-section {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

/* === CONTACT DETAILS (kontakt.html) === */
.contact-details {
  font-size: 1.05rem;
  margin-bottom: 12px;
  background: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(35,57,93,0.04);
  color: var(--primary-darker);
}
.contact-details a {
  color: var(--accent);
  font-weight: 600;
}
.map-placeholder {
  width: 100%;
  max-width: 380px;
  height: 170px;
  margin: 18px 0 0 0;
  background: #e0e6ed;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-placeholder img {
  width: 44px;
  height: 44px;
  opacity: 0.65;
}

/* == FORMS, INPUTS == */
input[type="text"] {
  width: 100%;
  margin-bottom: 16px;
}

/* === MOBILE FIRST RESPONSIVE === */
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding: 0 11px;
  }
  .main-nav, .footer-nav {
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    height: auto;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-primary {
    margin-left: 0;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero p  { font-size: 1.1rem; }
  .feature-grid, .service-cards, .tips-grid, .article-list, .testimonial-slider, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .section {
    padding: 23px 9px;
    margin-bottom: 32px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cta-area {
    flex-direction: column;
    gap: 14px;
  }
  footer .container {
    gap: 15px;
    padding-top: 17px;
  }
  .footer-contact {
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .hero { padding: 22px 0 7px 0; }
  h1 { font-size: 1.17rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: 1.01rem; }
  .footer-contact { font-size: 0.88rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(35,57,93,0.11);
  padding: 18px 18px 18px 25px;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-banner p {
  flex: 1;
  color: var(--primary-darker);
  font-size: 1.08rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
  margin-right: 0;
  box-shadow: 0 2px 9px rgba(35,57,93,0.07);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #e0e6ed;
  color: var(--primary-darker);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--primary-darker);
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 9px 18px;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 16px 8px 16px 11px;
    font-size: 0.99rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3100;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(35,57,93,0.16);
  justify-content: center;
  align-items: center;
  transition: background 0.24s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  padding: 38px 31px 28px 31px;
  border-radius: 20px;
  box-shadow: 0 10px 38px rgba(35,57,93,0.23);
  min-width: 310px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalIn 0.28s cubic-bezier(.47,1.64,.41,.8) both;
  position: relative;
}
@keyframes modalIn {
  0%   { opacity:0; transform:scale(0.92) translateY(30px); }
  100% { opacity:1; transform:scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 11px 0 0 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: var(--primary-darker);
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #e0e6ed;
  border-radius: 11px;
  position: relative;
  outline: none;
  margin-right: 8px;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 1px 4px rgba(35,57,93,0.10);
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-category.essential .cookie-toggle {
  background: #f2a95099;
  pointer-events: none;
}
.cookie-close-btn {
  position: absolute;
  right: 19px;
  top: 16px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 9px;
  transition: background 0.1s, color 0.13s;
}
.cookie-close-btn:hover,
.cookie-close-btn:focus {
  background: #f4f7fa;
  color: var(--accent);
}
.cookie-modal-btn-row {
  display: flex;
  gap: 15px;
  margin-top: 21px;
  flex-wrap: wrap;
}

/* ===== MICRO INTERACTIONS & TRANSITIONS ===== */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.5px;
}
a, button { transition: color 0.17s, background 0.17s, box-shadow 0.16s; }
.card, .feature-grid > div, .service-cards > div, .article-preview, .tips-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.17s;
}

/* ===== VISUAL DECORATIVE ELEMENTS ===== */
hr {
  border: none;
  border-bottom: 1.5px solid #e0e6ed;
  margin: 28px 0;
}

/* ==== MISC: Hide elements for accessibility ==== */
.visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* === END OF STYLE.CSS === */
