/* Vortex Genuss – Minimalistisches, responsives CSS mit Flexbox, mobilem Menü, Cookie Banner
   ================================================================ */

/* 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 { line-height: 1.15; }
body { background: #fff; color: #344E41; min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; font-size: 16px; line-height: 1.6; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { border: 0; max-width: 100%; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
*, *:before, *:after { box-sizing: inherit; }
::-webkit-input-placeholder { color: #adb5bd; }
::-moz-placeholder { color: #adb5bd; }
:-ms-input-placeholder { color: #adb5bd; }
::placeholder { color: #adb5bd; }

/* BRAND COLORS & VARIABLES */
:root {
  --primary: #344E41;
  --secondary: #F7B267;
  --accent: #FFFFFF;
  --bg-main: #FFFFFF;
  --bg-section: #F8F8F8;
  --muted: #E9EAE4;
  --text-main: #344E41;
  --text-light: #FFFFFF;
  --border-radius: 12px;
  --shadow: 0 2px 16px 0 rgba(52, 78, 65, 0.06);
  --shadow-card: 0 4px 24px 0 rgba(52,78,65,0.09);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ---------------------- TYPOGRAPHY --------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.6rem; line-height: 1.13; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
p, ul, ol, li { font-family: var(--font-body); font-size: 1rem; }
ul, ol {margin-left: 1.2em;}
p { margin-bottom: 18px; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ---------------------- LAYOUT & CONTAINERS --------------------*/
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--border-radius);
}

/* CRITICAL FLEX UTILITIES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(52,78,65,0.14);
}
.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: var(--muted);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1.5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------- HEADER & NAVIGATION --------------------*/
header {
  background: var(--bg-main);
  box-shadow: 0 1px 9px 0 rgba(52,78,65,0.05);
  position: sticky;
  top: 0; z-index: 100;
  width: 100%;
}
header .container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;

  gap: 20px;
  margin-left: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.14s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
}
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-radius: 40px;
  padding: 10px 28px;
  margin-left: 32px;
  box-shadow: 0 2px 8px rgba(52,78,65, 0.09);
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.17s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 18px rgba(52,78,65, 0.14);
}

/* ---------------- MOBILE NAVIGATION ----------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  margin-left: 10px;
  cursor: pointer;
  z-index: 302;
  height: 44px; width: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-main);
  box-shadow: var(--shadow-card);
  z-index: 301;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 28px 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,.01,.3,1.1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
  height: 44px; width: 44px;
  z-index: 303;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.19rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--muted); color: var(--secondary); outline: none; }

/* Responsive Navigation */
@media (max-width: 1024px) {
  .main-nav { gap: 14px; margin-left: 10px; }
  .cta-button { margin-left: 12px; }
}
@media (max-width: 900px) {
  header .container {
    gap:12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-button { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  header .container { height: 62px; }
}

/* ---------------------- HERO & FEATURES --------------------*/
.hero {
  margin-bottom: 60px;
  padding: 70px 0 40px 0;
  background: var(--bg-main);
  display: flex;
  align-items: center;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.3rem;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.features, .services {
  background: var(--bg-section);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper, .services .content-wrapper {
  gap: 28px;
}
.features h2, .services h2 {
  margin-bottom: 20px;
}

.feature-grid, .category-grid, .service-list, .feature-list, .service-highlights, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid li, .category-grid li, .service-list li, .feature-list li, .service-highlights li, .category-list li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 16px 22px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  min-width: 190px;
}
.feature-grid img, .feature-grid svg {
  height: 36px; width: 36px; margin-bottom: 10px; align-self: flex-start;
}

/* Quick Links and Cards */
.quick-links, .service-cards, .pricing-overview { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.quick-links a { margin-right: 5px; }
.service-cards {
  gap: 24px;
  margin-bottom: 32px;
  flex-direction: row;
  align-items: stretch;
}
.service-cards .text-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
  flex: 1 1 260px;
}

@media (max-width: 768px) {
  .feature-grid, .category-grid, .service-list, .feature-list, .service-highlights, .category-list, .service-cards, .quick-links {
    flex-direction: column;
    gap: 18px;
  }
  .features, .services {padding: 30px 5px;}
}

/* ---------------------- ABOUT, TEXT, GRIDS --------------------*/
.about, .contact, .text-section, .history_timeline, .team_profiles, .mission_statement {
  background: var(--bg-main);
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 18px;
  box-shadow: var(--shadow);
}
.text-section ul, .history_timeline ul, .about ul {margin-top: 6px; margin-bottom:12px;}
.text-section li {margin: 7px 0; padding-left: 12px; list-style: disc inside;}
.history_timeline, .team_profiles, .mission_statement {
  margin-bottom: 24px;
}
.business-hours, .location-map {margin-top: 17px;}
@media (max-width:540px) {
  .about, .contact, .text-section, .history_timeline, .team_profiles, .mission_statement {padding: 24px 6px;}
}

/* ---------------------- TESTIMONIALS --------------------*/
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--border-radius);
}
.testimonials .container {width: 100%;}
.testimonials .content-wrapper {gap: 18px;}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #FAFAFA;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.6;
  min-width: 180px;
  word-break: break-word;
}
.testimonial-card p {flex: 1; margin-bottom: 0; font-style: italic;}
.testimonial-card span {font-size: 1rem; color: var(--primary); font-weight: 500; display: flex; align-items: center; gap:7px;}
.testimonial-card img {height: 21px; width: 21px; margin-left: 2px;}
@media (max-width: 768px) {
  .testimonials {padding: 24px 6px;}
  .testimonial-card {padding: 16px 11px; font-size: 1rem;}
}

/* ---------------------- FOOTER --------------------*/
footer {
  width: 100%; background: var(--primary); color: var(--accent); margin-top:70px;
  padding: 34px 0 0 0;
}
footer .container { width:100%; }
footer .content-wrapper {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; width: 100%;
}
.footer-brand {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.footer-brand img {
  height: 36px; width: 36px; margin-bottom: 9px;
}
.footer-brand p {
  font-size:0.95rem;
  color: var(--accent);
  line-height: 1.5;
}
.footer-nav, .footer-legal-nav, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
}
.footer-nav h3, .footer-legal-nav h3, .footer-social h3 {
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 9px;
  color: var(--secondary);
}
.footer-nav a, .footer-legal-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  padding: 4px 0;
  opacity: 0.91;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-legal-nav a:hover { color: var(--secondary); opacity:1; }
.footer-social a {display:inline-block; margin-right:6px;}
.footer-social img {height: 26px; width: 26px; filter: brightness(0) invert(1); opacity: 0.88; transition: opacity 0.13s;}
.footer-social a:hover img {opacity: 1;}
@media (max-width: 900px) {
  footer .content-wrapper {gap: 22px;}
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  footer {padding: 24px 0 0 0;}
}

/* ---------------------- MISC/UTILITY --------------------*/
span, time, small {
  font-family: var(--font-body);
}
hr {
  border: none;
  border-top: 1px solid var(--muted);
  margin: 32px 0;
}

/* Buttons and Links */
button, input[type=submit], input[type=button] {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 40px;
  border: none;
  padding: 10px 22px;
  background: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(52,78,65,.10);
  transition: background 0.13s, color 0.14s, box-shadow 0.17s;
  outline: none;
}
button:hover, button:focus, .cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--accent);
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FCFBF7;
  color: var(--primary);
  border-top: 1.5px solid var(--muted);
  box-shadow: 0 -2px 24px 0 rgba(52,78,65,0.10);
  z-index: 1005;
  width: 100vw;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s;
}
.cookie-banner.visible {
  opacity: 1; pointer-events: auto;
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 400px;
  display: flex; flex-direction: column; gap: 9px;
}
.cookie-banner .cookie-buttons {
  display: flex; gap: 16px;
}
.cookie-banner button {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  margin: 0 3px;
  box-shadow: var(--shadow);
  transition: background 0.15s, color 0.15s;
}
.cookie-banner button.settings {
  background: var(--muted); color: var(--primary);
}
.cookie-banner button.reject {
  background: #fff; color: var(--primary); border:1px solid var(--muted);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary); color: var(--accent);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 8px;
  }
  .cookie-banner .cookie-buttons {gap: 10px;}
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,56,41,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
  opacity: 0; pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.visible {
  opacity: 1; pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 32px 0 rgba(52,78,65, 0.13);
  border-radius: 16px;
  padding: 38px 24px 28px 24px;
  min-width: 300px; max-width: 96vw;
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1012;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal h2, .cookie-modal h3 {
  margin-bottom: 0.7em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--muted);
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal .cookie-switch {
  margin-left: 14px;
}
.cookie-modal .cookie-switch input[type=checkbox] {
  width: 32px; height: 19px;
  accent-color: var(--secondary);
  border-radius: 30px;
}
.cookie-modal .cookie-modal-actions {
  margin-top:18px; display: flex; gap:14px; justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  background: var(--secondary); color: var(--primary);
  border: none; border-radius: 19px;
  padding: 7px 18px; font-weight: 600;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: var(--primary); color: var(--accent);
}

/* -------------- RESPONSIVE ADJUSTMENTS ------------------ */
@media (max-width: 1200px) {
  .container {max-width: 98vw;}
}
@media (max-width: 1024px) {
  h1 {font-size: 2.1rem;}
  .container {max-width: 98vw;}
}
@media (max-width: 768px) {
  .section, .hero, .about, .contact, .testimonials, .services, .features {padding-left: 6px; padding-right: 6px;}
  .text-image-section {flex-direction: column; gap: 19px;}
  .content-grid {flex-direction: column; gap: 14px;}
}
@media (max-width: 480px) {
  .testimonial-card {font-size: 0.95rem;}
  .footer-nav, .footer-legal-nav, .footer-social { font-size: 0.98rem; }
  header .container {padding: 0 6px;}
}

/* -------------- MICRO-INTERACTIONS / ANIMATION -------------- */
.cta-button, .cookie-banner button, .footer-nav a, .footer-legal-nav a, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.19s, background 0.2s, color 0.16s, border 0.13s;
}
.card, .testimonial-card, .service-cards .text-section, .feature-grid li {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .testimonial-card:hover, .feature-grid li:hover {
  transform: translateY(-2px) scale(1.013);
  box-shadow: 0 10px 36px rgba(52,78,65, 0.13);
}

/* ------------- CUSTOM CLASSES FOR LAYOUT UTILS --------------- */
.mt-24 {margin-top: 24px !important;}
.mb-24 {margin-bottom: 24px !important;}
.mt-40 {margin-top: 40px !important;}
.mb-40 {margin-bottom: 40px !important;}

/* Accessibility: High contrast for testimonials & review text on light bg */
.testimonial-card, .review-card {
  color: var(--text-main);
  background: #FAFAFA;
}

/* Hide scroll on body when mobile menu or modal open */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden !important;
}

/* Hide elements visually but keep access for assistive tech */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* END VORTEX GENUSS BRAND CSS */
