/* DenkSchärfe Akademie — next-mouse-268.css */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --primary: #1a6aa5;
  --primaryDark: #0e5788;
  --accent: #2196a4;
  --accentLight: #3ba7b5;
  --text: #333333;
  --textSec: #666666;
  --grey: #f0f0f0;
  --white: #ffffff;
  --dark: #1a252f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  background: var(--white);
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primaryDark); }
img { max-width: 100%; height: auto; display: block; }

/* ===================== LAYOUT ===================== */
.wrapper        { max-width: 1230px; margin: 0 auto; padding: 0 20px; }
.wrapper--wide  { max-width: 1440px; margin: 0 auto; }
.wrapper--half  { max-width: 600px; }

.is-flex         { display: flex; flex-wrap: wrap; }
.is-flex--middle { align-items: center; }
.is-flex--center { justify-content: center; }
.is-flex--end    { justify-content: flex-end; }
.is-flex--right  { align-items: flex-end; }
.is-flex--column { flex-direction: column; }
.is-flexitem     { flex: 1; }

.is-absolute { position: absolute; }
.is-relative { position: relative; }
.top-0       { top: 0; }
.left-0      { left: 0; }
.height-100  { height: 100%; }

/* ===================== SPACING ===================== */
.margin-0       { margin: 0; }
.margintop-1    { margin-top: 5px; }
.margintop-2    { margin-top: 10px; }
.margintop-3    { margin-top: 15px; }
.margintop-4    { margin-top: 20px; }
.margintop-5    { margin-top: 25px; }
.margintop-6    { margin-top: 30px; }
.margintop-8    { margin-top: 40px; }
.margintop-10   { margin-top: 50px; }
.margintop-12   { margin-top: 60px; }
.margintop-15   { margin-top: 75px; }
.marginbottom-1 { margin-bottom: 5px; }
.marginbottom-2 { margin-bottom: 10px; }
.marginbottom-3 { margin-bottom: 15px; }
.marginbottom-4 { margin-bottom: 20px; }
.marginbottom-5 { margin-bottom: 25px; }
.marginbottom-7 { margin-bottom: 35px; }
.marginright-3  { margin-right: 15px; }

.padding-0       { padding: 0; }
.padding-3       { padding: 15px; }
.padding-6       { padding: 30px; }
.paddingtop-2    { padding-top: 10px; }
.paddingtop-3    { padding-top: 15px; }
.paddingtop-10   { padding-top: 50px; }
.paddingtop-15   { padding-top: 75px; }
.paddingbottom-3 { padding-bottom: 15px; }
.paddingbottom-10 { padding-bottom: 50px; }
.paddingbottom-15 { padding-bottom: 75px; }
.paddingleft-2   { padding-left: 10px; }
.paddingleft-3   { padding-left: 15px; }
.paddingleft-5   { padding-left: 25px; }
.paddingleft-8   { padding-left: 40px; }
.paddingleft-15  { padding-left: 75px; }
.paddingleft-20  { padding-left: 100px; }
.paddingright-3  { padding-right: 15px; }
.paddingright-5  { padding-right: 25px; }
.paddingright-6  { padding-right: 30px; }
.paddingright-8  { padding-right: 40px; }
.paddingright-20 { padding-right: 100px; }

/* ===================== WIDTHS ===================== */
.width-25  { width: 25%; }
.width-30  { width: 30%; }
.width-40  { width: 40%; }
.width-50  { width: 50%; }
.width-100 { width: 100%; }

/* ===================== TYPOGRAPHY ===================== */
.headline      { font-family: 'Lato', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text); }
.headline-big  { font-family: 'Lato', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text); }
.headline--bold { font-weight: 700; }
.lineheight--small { line-height: 1.2; }
.text--secondary { color: var(--textSec); }
.text--nav     { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px; }

.is-center     { text-align: center; }
.is-right      { text-align: right; }
.is-justify    { text-align: justify; }
.is-uppercase  { text-transform: uppercase; }
.is-block      { display: block; }
.is-inlineblock { display: inline-block; }
.no-liststyle  { list-style: none; }

/* ===================== COLORS ===================== */
.color--accent      { background-color: var(--accent); }
.color--accentlight { background-color: var(--accentLight); }
.color--grey        { background-color: var(--grey); }
.color-text--light      { color: var(--white); }
.color-text--accent     { color: var(--accent); }
.color-text--accentlight { color: var(--accentLight); }

/* ===================== BORDERS ===================== */
.border--right { border-right: 1px solid rgba(255,255,255,0.25); }
.border--top   { border-top: 1px solid #e0e0e0; }

/* ===================== BUTTONS ===================== */
.button {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--white);
  color: var(--white);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}
.button:hover         { background: var(--white); color: var(--accent); }
.button--light        { border-color: var(--white); color: var(--white); }
.button--light:hover  { background: var(--white); color: var(--accent); }
.button--small        { padding: 8px 20px; font-size: 0.85rem; }
.button--solid        { background: var(--accent); border-color: var(--accent); color: var(--white); }
.button--solid:hover  { background: var(--primaryDark); border-color: var(--primaryDark); color: var(--white); }

/* ===================== HEADER ===================== */
.header {
  background: var(--white);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__logo { display: flex; align-items: center; }
.header__logo svg { height: 50px; width: auto; }
.header__contact {
  text-align: right;
  font-size: 0.9rem;
  color: var(--textSec);
  line-height: 1.4;
}
.header__contact a { color: var(--accent); font-weight: 600; font-size: 1.05rem; }
.header__contact a:hover { color: var(--primaryDark); }

/* ===================== NAV ===================== */
.nav { background: var(--accent); }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__item          { position: relative; }
.nav__link {
  display: block;
  padding: 14px 22px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: background 0.2s;
}
.nav__link:hover,
.nav__item--active .nav__link { background: var(--primaryDark); color: var(--white); }

.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primaryDark);
  min-width: 200px;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.nav__item:hover .subnav { display: block; }
.subnav__link {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.83rem;
  white-space: nowrap;
}
.subnav__link:hover { background: rgba(0,0,0,0.2); color: var(--white); }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
}
.mobile-nav-toggle i { font-size: 1.4rem; color: var(--white); }

/* ===================== HERO SLIDER ===================== */
.slider {
  position: relative;
  overflow: hidden;
  background: var(--primaryDark);
}
.slider__desktop {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}
.slider__blurry {
  width: 100%;
  height: 580px;
  object-fit: cover;
  filter: blur(8px);
  opacity: 0.5;
}
.slider__mobile { display: none; }

.slider__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to left, rgba(10,40,70,0.75) 0%, rgba(10,40,70,0.1) 60%);
}
.slider__content {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 40px 60px;
  max-width: 620px;
  text-align: right;
}
.slider__content .headline     { font-size: 1.7rem; font-weight: 300; }
.slider__content .headline--bold { font-size: 2.9rem; font-weight: 900; }
.slider__content hr {
  border: none;
  border-top: 2px solid rgba(255,255,255,0.5);
  width: 60px;
  margin: 14px 0;
  align-self: flex-end;
}
.slider__content .marginbottom-5 { margin-bottom: 25px; }

/* ===================== INFO BAR ===================== */
.infobar { background: var(--accentLight); }
.iconlist { display: flex; }
.infoblock {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 30px;
}
.infoblock i {
  font-size: 2.3rem;
  color: var(--white);
  flex-shrink: 0;
  margin-right: 20px;
  margin-top: 5px;
}
.infoblock .headline    { color: var(--white); margin-bottom: 8px; }
.infoblock p            { color: rgba(255,255,255,0.88); font-size: 0.92rem; line-height: 1.55; }
.infoblock a            { color: rgba(255,255,255,0.75); font-size: 0.88rem; display: inline-block; margin-top: 8px; }
.infoblock a:hover      { color: var(--white); }
.infoblock--accent      { background: var(--accent); }

/* ===================== SERVICES ===================== */
.services-home { padding: 75px 0; }
.services-grid { display: flex; flex-wrap: wrap; }
.service-card {
  flex: 1;
  min-width: 220px;
  padding: 25px 30px;
  border-right: 1px solid #eee;
  text-align: center;
}
.service-card:last-child { border-right: none; }
.service-card i         { font-size: 2.8rem; color: var(--accent); margin-bottom: 18px; }
.service-card .headline { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p         { font-size: 0.93rem; line-height: 1.7; color: var(--textSec); }
.service-card a         { color: var(--accent); font-size: 0.88rem; display: inline-block; margin-top: 12px; }

/* ===================== ABOUT STRIP ===================== */
.about-strip { background: var(--grey); padding: 75px 0; }
.about-strip .wrapper { display: flex; align-items: center; gap: 50px; }
.about-strip__img { flex: 0 0 45%; }
.about-strip__img img { width: 100%; height: 380px; object-fit: cover; border-radius: 4px; }
.about-strip__text { flex: 1; }
.about-strip__text h2 { font-family: 'Lato', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.about-strip__text p  { color: var(--textSec); line-height: 1.8; margin-bottom: 15px; font-size: 0.97rem; }
.about-strip__text .button--solid { margin-top: 10px; }

/* ===================== CTA BANNER ===================== */
.callout { position: relative; overflow: hidden; }
.callout img { width: 100%; height: 280px; object-fit: cover; display: block; }
.callout__content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 30px 40px;
  background: rgba(14,87,136,0.68);
}
.callout__content .headline-big { font-size: 2.1rem; margin-bottom: 20px; }

/* ===================== TEAM ===================== */
.team-section { padding: 75px 0; }
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
}
.team-card { flex: 0 0 calc(33.333% - 30px); text-align: center; }
.team-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 18px;
}
.team-card .headline    { margin-bottom: 5px; }
.team-card p            { color: var(--textSec); font-size: 0.9rem; }
.team-card a            { color: var(--accent); font-size: 0.85rem; display: inline-block; margin-top: 8px; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--grey); padding: 75px 0; }
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 45px;
}
.testimonial-card {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  padding: 30px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.testimonial-card p        { font-style: italic; color: var(--textSec); line-height: 1.7; margin-bottom: 18px; font-size: 0.97rem; }
.testimonial-card .author  { font-weight: 700; color: var(--accent); font-size: 0.9rem; font-style: normal; }
.testimonial-card .stars   { color: #f59e0b; font-size: 0.85rem; margin-bottom: 10px; }

/* ===================== CONTACT SPLIT ===================== */
.contact--home { display: flex; }
.contact__left {
  flex: 1;
  background: var(--accentLight);
  padding: 65px 50px;
}
.contact__left .headline-big { color: var(--white); font-size: 1.75rem; margin-bottom: 8px; line-height: 1.25; }
.contact__left .headline     { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 30px; }
.contact__left form          { display: flex; flex-direction: column; gap: 12px; }
.contact__left input,
.contact__left select,
.contact__left textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
}
.contact__left textarea { height: 100px; resize: vertical; }
.contact__left .button  { align-self: flex-start; margin-top: 8px; }
.contact__right {
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__right iframe { width: 100%; height: 100%; border: 0; }

/* ===================== FOOTER ===================== */
footer { background: var(--dark); color: #999; }
.footer__widgets { padding: 55px 0; }
.footer__widgets .is-flex { gap: 30px; align-items: flex-start; }
.footer__col { flex: 1; }
.footer__col .headline {
  color: var(--white);
  margin-bottom: 22px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__col p { font-size: 0.9rem; line-height: 1.7; }
.footer-logo   { height: 42px; width: auto; margin-bottom: 18px; }

.link-list          { list-style: none; padding: 0; }
.link-list li       { margin-bottom: 9px; }
.link-list a        { color: #999; font-size: 0.88rem; text-transform: uppercase; }
.link-list a:hover  { color: var(--accentLight); }
.link-list__icon    { margin-right: 7px; color: var(--accentLight); font-size: 0.75rem; }

.footer-contact-item        { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item i      { color: var(--accentLight); margin-top: 3px; font-size: 0.95rem; flex-shrink: 0; }
.footer-contact-item p      { font-size: 0.88rem; line-height: 1.55; }
.footer-contact-item label  { display: block; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 1px; color: #666; margin-bottom: 2px; }

.footer__copyright  { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 0.83rem; }
.footer__copyright .wrapper { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__copyright a        { color: #888; padding: 0 12px; border-right: 1px solid #444; }
.footer__copyright a:last-of-type { border-right: none; }
.footer__copyright a:hover  { color: var(--accentLight); }

.go_to_top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accentLight);
  color: var(--white);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin-left: 15px;
}
.go_to_top:hover { background: var(--accent); color: var(--white); }

hr { border: none; border-top: 1px solid rgba(255,255,255,0.3); margin: 15px auto; width: 60px; }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #111b24;
  color: #ccc;
  padding: 18px 30px;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  z-index: 9999;
  font-size: 0.88rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.35);
}
.cookie-banner p   { margin: 0; flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-banner a   { color: var(--accentLight); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept  {
  background: var(--accent); color: var(--white);
  border: none; padding: 9px 22px;
  cursor: pointer; font-size: 0.88rem;
  border-radius: 3px; font-family: inherit;
}
.cookie-btn-accept:hover { background: var(--primaryDark); }
.cookie-btn-decline {
  background: transparent; color: #ccc;
  border: 1px solid #555; padding: 9px 22px;
  cursor: pointer; font-size: 0.88rem;
  border-radius: 3px; font-family: inherit;
}
.cookie-btn-decline:hover { border-color: #888; color: #fff; }

/* ===================== SUB-PAGES ===================== */
.page-hero { background: var(--accent); padding: 65px 0; text-align: center; }
.page-hero h1 {
  font-family: 'Lato', sans-serif;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 900;
}
.page-hero p { color: rgba(255,255,255,0.82); margin-top: 10px; font-size: 1.05rem; }

.content-section         { padding: 75px 0; }
.content-section h2      { font-family: 'Lato', sans-serif; color: var(--primary); font-size: 1.45rem; margin: 35px 0 14px; }
.content-section h3      { font-family: 'Lato', sans-serif; color: var(--primaryDark); font-size: 1.12rem; margin: 25px 0 10px; }
.content-section h2:first-child { margin-top: 0; }
.content-section p       { margin-bottom: 15px; line-height: 1.8; color: var(--textSec); }
.content-section ul,
.content-section ol      { margin: 10px 0 20px 22px; }
.content-section li      { margin-bottom: 8px; line-height: 1.75; color: var(--textSec); }
.content-section strong  { color: var(--text); }

/* Values page */
.values-img { width: 100%; height: 340px; object-fit: cover; display: block; }
.values-grid { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 35px; }
.value-card  {
  flex: 1;
  min-width: 250px;
  padding: 28px;
  border-top: 4px solid var(--accent);
  background: var(--grey);
  border-radius: 2px;
}
.value-card i    { font-size: 1.9rem; color: var(--accent); margin-bottom: 14px; }
.value-card h3   { font-family: 'Lato', sans-serif; font-size: 1.1rem; margin-bottom: 10px; color: var(--primary); }
.value-card p    { color: var(--textSec); font-size: 0.93rem; line-height: 1.7; }

/* Contact page */
.contact-page-grid { display: flex; flex-wrap: wrap; gap: 45px; margin-top: 40px; }
.form-col          { flex: 2; min-width: 300px; }
.info-col          { flex: 1; min-width: 250px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  margin-bottom: 14px;
  font-size: 0.95rem;
  border-radius: 3px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--accent); }
.contact-form textarea    { height: 145px; resize: vertical; }
.contact-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 38px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--primaryDark); }
.info-col-item   { display: flex; gap: 15px; margin-bottom: 25px; }
.info-col-item i { font-size: 1.25rem; color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.info-col-item p { line-height: 1.6; color: var(--textSec); font-size: 0.93rem; }
.info-col-item strong { display: block; color: var(--text); margin-bottom: 3px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .paddingleft-20  { padding-left: 40px; }
  .paddingright-20 { padding-right: 40px; }
  .team-card       { flex: 0 0 calc(50% - 30px); }
  .slider__content { padding: 30px 40px; max-width: 500px; }
}

@media (max-width: 768px) {
  .nav          { display: flex; justify-content: flex-end; padding: 5px 15px; }
  .nav ul       { display: none; flex-direction: column; width: 100%; background: var(--primaryDark); }
  .nav ul.is-open { display: flex; }
  .mobile-nav-toggle { display: block; }
  .nav__link    { padding: 12px 20px; }

  .slider__desktop { height: 340px; }
  .slider__content { padding: 20px 25px; max-width: 100%; align-items: flex-start; text-align: left; }
  .slider__content .headline--bold { font-size: 1.85rem; }
  .slider__content .headline       { font-size: 1.15rem; }

  .iconlist          { flex-direction: column; }
  .services-grid     { flex-direction: column; }
  .service-card      { border-right: none; border-bottom: 1px solid #eee; }
  .service-card:last-child { border-bottom: none; }
  .about-strip .wrapper { flex-direction: column; }
  .about-strip__img  { flex: none; width: 100%; }
  .contact--home     { flex-direction: column; }
  .contact__right    { min-height: 260px; }
  .footer__widgets .is-flex { flex-direction: column; }
  .team-card         { flex: 0 0 100%; }
  .callout__content .headline-big { font-size: 1.5rem; }
  .header .is-flex   { flex-wrap: nowrap; gap: 15px; }
}

@media (max-width: 480px) {
  .headline-big  { font-size: 1.55rem; }
  .paddingtop-15 { padding-top: 45px; }
  .paddingbottom-15 { padding-bottom: 45px; }
  .contact__left { padding: 40px 25px; }
  .page-hero h1  { font-size: 1.7rem; }
}
