/* ==== 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background-color: #191c1e;
  color: #f6f6f6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ol, ul {
  list-style: none;
  margin: 0;
}
a {
  color: #EEB43A;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #fff6df;
  text-decoration: underline;
}
:focus {
  outline: 2px solid #EEB43A;
  outline-offset: 3px;
}

/* ==== FONT IMPORT ==== */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ==== CSS VARIABLES ==== */
:root {
  --primary: #225577;
  --primary-dark: #16293a;
  --secondary: #EEB43A;
  --accent: #F6F6F6;
  --bg-dark: #191c1e;
  --bg-card: #232627;
  --text-main: #eeeeee;
  --text-muted: #b3b8bb;
  --border-metal: #37404a;
  --metallic: #bcc2c6;
  --shadow-dark: 0 2px 24px 0 rgba(42,48,54,.28);
  --shadow-metal: 0 2px 10px 0 rgba(93,104,121,0.13);
}

/* ==== CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ececec;
  text-shadow: 0 1px 1px #11191c55;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p {
  font-size: 1.12rem;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 400;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #d4d8dd;
}
blockquote {
  border-left: 5px solid var(--secondary);
  padding-left: 20px;
  margin: 20px 0;
  color: #fffecf;
  font-size: 1.12rem;
  font-style: italic;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}

/* ==== BUTTONS & CTA ==== */
.cta-btn,
button,
input[type="button"],
input[type="submit"] {
  display: inline-block;
  font-family: 'Raleway', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: var(--secondary);
  color: #16191a;
  border: none;
  border-radius: 6px;
  padding: 13px 36px;
  font-size: 1.12rem;
  letter-spacing: .7px;
  box-shadow: 0 4px 14px 0 rgba(140,120,25,0.12),0 1.5px 5px 0 rgba(34,85,119,0.12);
  cursor: pointer;
  transition: background-color .18s cubic-bezier(.4,0,.2,1),
              color .18s cubic-bezier(.4,0,.2,1),
              box-shadow .18s;
  margin-bottom: 10px;
  margin-top: 6px;
  text-shadow: 0 1px 0 #fff3;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus,
input[type="button"]:hover, input[type="submit"]:hover {
  background: #ffa500;
  color: #192225;
  box-shadow: 0 8px 32px 0 #eeb43a22;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--primary-dark);
  box-shadow: 0 4px 26px 0 rgba(19,23,28,0.18);
  padding: 0;
}
header .container {
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 74px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--metallic);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 2px;
  border-radius: 3px;
  transition: color .18s, background .15s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--secondary);
  background: #222a3066;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--secondary);
  cursor: pointer;
  margin-left: 22px;
}
.cta-btn {
  margin-left: 20px;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181d21ee;
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.23,1,.32,1);
  box-shadow: 2px 0 18px 0 #0005;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--secondary);
  z-index: 2200;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #ffe594;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  margin-left: 45px;
  gap: 26px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--metallic);
  padding: 7px 0;
  border-radius: 2px;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: #23262799;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 12px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(120deg, #232627 68%, rgba(34,85,119, 0.89) 100%);
  border-bottom: 4px solid var(--border-metal);
  min-height: 320px;
  box-shadow: var(--shadow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 60px;
  padding: 40px 20px 30px 20px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
}
.hero h1 {
  color: var(--accent);
  font-size: 2.7rem;
}
.hero p {
  color: var(--metallic);
  font-size: 1.18rem;
  margin-bottom: 22px;
}
/* ===== SECTION and CARDS LAYOUTS as required ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  margin-bottom: 20px;
  background: var(--bg-card);
  position: relative;
  border-radius: 14px;
  box-shadow: var(--shadow-metal);
  border: 1.5px solid var(--border-metal);
  transition: box-shadow .16s cubic-bezier(.4,0,.2,1),
              border-color .14s cubic-bezier(.4,0,.3,1);
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(34,85,119,.21);
  border-color: var(--secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px 22px 22px;
  gap: 10px;
}

.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: #f6f6f6;
  border-radius: 10px;
  border: 1px solid #bfc6cf;
  margin-bottom: 24px;
  color: #232627;
  font-size: 1.12rem;
  box-shadow: 0 2px 18px 0 #161a1d20;
  min-height: 70px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card p {
  color: #232627;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #555a5e;
  font-weight: 500;
  font-size: 1.02rem;
  margin-left: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
}
.features-grid > div {
  flex: 1 1 250px;
  max-width: 320px;
  background: var(--bg-card);
  border-radius: 11px;
  border: 1.5px solid var(--border-metal);
  box-shadow: var(--shadow-metal);
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  transition: border-color .17s, box-shadow .19s;
}
.features-grid > div:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 29px 0 rgba(238,180,58,.14);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  filter: grayscale(25%) brightness(1.17);
}

/* TEAM GRID for ueber-uns */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
}
.team-grid > div {
  background: var(--bg-card);
  border-radius: 11px;
  border: 1.5px solid var(--border-metal);
  box-shadow: var(--shadow-metal);
  flex: 1 1 200px;
  min-width: 170px;
  max-width: 320px;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color .17s, box-shadow .19s;
}
.team-grid > div:hover {
  border-color: var(--secondary);
  box-shadow: 0 7px 18px 0 #eeb43a15;
}
.team-grid img {
  width: 40px;
  margin-bottom: 20px;
}

/* ==== CTA SECTION ==== */
.cta {
  background: var(--primary);
  border-top: 3px solid var(--secondary);
  box-shadow: 0 0 0 0 #0000;
  color: #fffef9;
  text-align: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.cta h2 {
  color: #fffefb;
  font-size: 2.1rem;
  margin-bottom: 10px;
}
.cta p {
  color: #f6f6f6;
  margin-bottom: 7px;
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary-dark);
  color: #bfc6cf;
  font-size: 1.03rem;
  padding-top: 35px;
  padding-bottom: 0px;
  border-top: 3px solid var(--border-metal);
  box-shadow: 0 -2px 22px 0 #11181e14;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.logo-footer img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #cbccc2;
  font-weight: 500;
  font-size: 1.06rem;
  transition: color .16s;
  padding: 2px 0;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact p {
  color: #bfc6cf;
  font-size: 1.01rem;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #37404a;
  padding: 12px 0 18px 0;
  font-size: .97rem;
  color: #75808c;
  text-align: left;
}

/* ==== COOKIE BANNER & MODAL ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232627f2;
  color: #f6f6f6;
  padding: 23px 5vw 21px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3200;
  box-shadow: 0 -3px 22px 0 #1415142b;
  font-size: 1.07rem;
  gap: 24px;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner strong { color: var(--secondary); }
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: #16191a;
  border: none;
  margin-left: 13px;
  padding: 9px 25px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, box-shadow .15s;
  box-shadow: 0 2px 12px 0 #eeb43a12;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #ffa500;
  color: #1a222a;
}
.cookie-banner .cookie-btn.reject {
  background: #37404a;
  color: #f6f6f6;
  border: 1px solid #757c82;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #232627;
  color: #ffc641;
}
.cookie-banner .cookie-btn.settings {
  background: #225577;
  color: #f6f6f6;
  margin-right: 8px;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #19242e;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #181c21b2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .26s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--bg-card);
  color: var(--text-main);
  max-width: 450px;
  width: 100%;
  border-radius: 12px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 4px 27px 0 #11182371;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--secondary);
  cursor: pointer;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 17px;
}
.cookie-modal-category label {
  flex: 1 1;
  color: #f6f6f6;
  font-size: 1.05rem;
}
.cookie-modal-category input[type="checkbox"],
.cookie-modal-category input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
  border-radius: 3px;
  margin-left: 0px;
  margin-right: 9px;
}
.cookie-modal-category .cookie-essential {
  opacity: 0.64;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  margin-top: 12px;
}
.cookie-modal-footer .cookie-btn {
  margin: 0 !important;
  flex: 1 1 80px;
}

/* ===== GENERIC FORM STYLES ===== */
input, textarea { 
  background: #22282d;
  color: #e1eeff;
  border: 1.6px solid #37404a;
  border-radius: 5px;
  padding: 11px 12px;
  font-family: inherit;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border-color .13s;
}
input:focus, textarea:focus {
  color: #fff;
  border-color: var(--secondary);
}
label {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  font-size: 1rem;
}

/* ==== CONTENT WRAPPER ==== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==== Accessibility: skip-link ==== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 3200;
  background: #fee145;
  color: #333;
  padding: 11px 19px;
  border-radius: 8px;
  font-size: 1.14rem;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  outline: 2px solid var(--primary);
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 950px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .footer-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.01rem; }
  h2 { font-size: 1.36rem; }
  .hero h1 { font-size: 1.35rem; }
  .features-grid, .team-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .features-grid > div, .team-grid > div, .card {
    max-width: 100%;
    min-width: 130px;
  }
  .section, .hero {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    padding: 16px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 22px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .cookie-modal-content {
    padding: 18px 7vw;
    max-width: 98vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1.02rem; }
}

/* ==== TRANSITIONS & MICRO-INTERACTIONS ==== */
.card, .features-grid > div, .team-grid > div, .cta-btn, .footer-nav a, .cookie-btn, .main-nav a, .mobile-menu-close {
  transition: box-shadow .16s cubic-bezier(.4,0,.2,1),
              border-color .14s cubic-bezier(.4,0,.3,1),
              background-color .14s, 
              color .19s, 
              transform .15s;
}
.card:hover, .features-grid > div:hover, .team-grid > div:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 6px 27px 0 rgba(34,85,119,.11);
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(.97);
}

/* ==== SCROLLBARS (INDUSTRIAL MODERN) ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #182029;
}
::-webkit-scrollbar-thumb {
  background: #324050;
  border-radius: 16px;
  border: 2px solid #181c21;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==== UTILITY ==== */
.hide { display: none !important; }
.show { display: block !important; }

/* ===== END OF INDUSTRIAL_MODERN THEME CSS ===== */