/* Awyco.ch – angelehnt an conatex.com (Work Sans, #005288 / #e50215) */

:root {
  --conatex-blue: #005288;
  --conatex-blue-hover: #004d83;
  --conatex-red: #e50215;
  --color-bg: #ffffff;
  --color-header: #f7f7f7;
  --color-search: #f7f7f7;
  --color-search-hover: #f0f0f0;
  --color-ink: #212529;
  --color-ink-soft: #454b54;
  --color-ink-muted: #6c757d;
  --color-border: #dee2e6;
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container-max: 1140px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink-soft);
  background: var(--color-bg);
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— .header (conatex.com: grauer Streifen, Logo, Suche, Icons) —— */
.header {
  flex-shrink: 0;
  background: var(--color-header);
  border-bottom: 1px solid var(--color-border);
}

.header__container {
  padding-block: 1rem 1.25rem;
}

.header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.header__logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.header__logo-awyco {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.header__logo-awyco:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.header__logo-img--awyco {
  display: block;
  height: clamp(2.25rem, 5vw, 3rem);
  width: auto;
  max-width: 4.5rem;
  object-fit: contain;
}

.header__logo-conatex {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header__logo-img--conatex {
  display: block;
  width: min(200px, 42vw);
  height: auto;
  aspect-ratio: 245 / 53;
}

.header__search-btn {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ink-muted);
  text-decoration: none;
  background: var(--color-search);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.12s ease;
}

.header__search-btn:hover {
  background: var(--color-search-hover);
  color: var(--color-ink-soft);
}

.header__search-btn:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 2px;
}

.header__search-ico {
  flex-shrink: 0;
  color: var(--conatex-blue);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.header__tool {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--conatex-blue);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background 0.12s ease, color 0.12s ease;
}

.header__tool:hover {
  background: rgba(0, 82, 136, 0.08);
  color: var(--conatex-blue-hover);
}

.header__tool:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .header__tool--hide-sm {
    display: none;
  }

  .header__row {
    flex-direction: column;
    align-items: stretch;
  }

  .header__logo {
    justify-content: center;
    width: 100%;
  }

  .header__search-btn {
    flex-basis: auto;
    width: 100%;
    order: 3;
  }

  .header__tools {
    margin-left: 0;
    justify-content: flex-end;
    width: 100%;
    order: 2;
  }
}

/* —— Schweiz-Hinweis (prominent, oberhalb des Headers) —— */
.swiss-notice {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--conatex-blue) 0%, #003d5c 100%);
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px -8px rgba(0, 40, 70, 0.35);
}

.swiss-notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.75rem;
  padding-block: clamp(1.25rem, 3.5vw, 1.85rem);
}

.swiss-notice__copy-wrap {
  flex: 1 1 12rem;
  min-width: min(100%, 16rem);
  max-width: 40rem;
}

.swiss-notice__copy {
  margin: 0;
  line-height: 1.45;
}

.swiss-notice__headline {
  display: block;
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.swiss-notice__sub {
  font-size: clamp(1.02rem, 2.3vw, 1.22rem);
  font-weight: 500;
  opacity: 0.96;
}

.swiss-notice__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-left: auto;
}

.swiss-notice__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.swiss-notice__link:hover {
  color: #fff;
  text-decoration: underline;
}

.swiss-notice__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .swiss-notice__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .swiss-notice__actions {
    margin-left: 0;
    width: 100%;
  }

  .btn-primary--on-notice {
    width: 100%;
    justify-content: center;
  }
}

/* —— Hero wie conatex.com (Slider-Bild + Overlay #454b54 30 %) —— */
.hero-shop {
  position: relative;
  flex-shrink: 0;
  min-height: clamp(260px, 40vw, 530px);
  color: #fff;
}

.hero-shop__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shop__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-shop__overlay {
  position: absolute;
  inset: 0;
  background: #454b54;
  opacity: 0.3;
}

.hero-shop__content {
  position: relative;
  z-index: 1;
  min-height: clamp(260px, 40vw, 530px);
  display: flex;
  align-items: center;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-shop__holder {
  max-width: 36rem;
}

.hero-shop__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-shop__sub {
  margin: 0 0 1.35rem;
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  line-height: 1.5;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  opacity: 0.98;
}

/* —— Shop-Blöcke (Sortiment / Neuheiten) —— */
.shop-block {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--color-border);
}

.shop-block__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem 1.25rem;
}

.category-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.15s ease;
}

.category-tile:hover {
  box-shadow: 0 8px 28px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 82, 136, 0.25);
}

.category-tile:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 3px;
}

.category-tile__img-wrap {
  display: block;
  background: #eceff2;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.category-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
}

.category-tile__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.85rem 0.85rem;
  font-size: clamp(0.8125rem, 1.45vw, 1.02rem);
  font-weight: 600;
  color: #fff;
  background: var(--conatex-blue);
  line-height: 1.3;
  white-space: nowrap;
}

.category-tile__arrow {
  flex-shrink: 0;
  opacity: 0.9;
}

.didactic-teaser {
  padding-block: clamp(2rem, 4vw, 2.75rem);
  background: #eceff2;
  border-bottom: 1px solid var(--color-border);
}

.didactic-teaser__inner {
  max-width: 48rem;
}

.didactic-teaser__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--color-ink);
}

.didactic-teaser__text {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.didactic-teaser__link {
  font-weight: 600;
  color: var(--conatex-blue);
  text-decoration: none;
}

.didactic-teaser__link:hover {
  text-decoration: underline;
}

/* —— Hauptinhalt —— */
.main {
  flex: 1;
  background: var(--color-bg);
}

.main__inner {
  padding-block: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 5vw, 3rem);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  background: var(--conatex-blue);
  border: none;
  border-radius: 0.5rem;
  transition: background 0.2s var(--ease), transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--conatex-blue-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 82, 136, 0.2);
}

.btn-primary--on-dark {
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary--on-dark:hover {
  background: var(--conatex-blue-hover);
  color: #fff;
}

.btn-primary--on-notice {
  flex-shrink: 0;
  background: #fff;
  color: var(--conatex-blue);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.btn-primary--on-notice:hover {
  background: #f0f7fb;
  color: var(--conatex-blue-hover);
}

.btn-primary--on-notice:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.btn-primary__ico {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-primary:active {
    transition: none;
    transform: none;
  }
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin: 0 0 1.15em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-ink);
}

.prose__strong {
  font-weight: 700;
  color: var(--color-ink);
}

.prose__link {
  color: var(--conatex-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(0, 82, 136, 0.35);
}

.prose__link:hover {
  color: var(--conatex-blue-hover);
}

.prose__link:focus-visible {
  outline: 2px solid var(--conatex-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

