/* forellenteiche.com - overrides on top of Bulma 1.0.2 (CDN).
   Mobile-first: base rules target 360px, layers at 480 / 768 / 1024.
   Light theme only: every surface and text colour is set explicitly. */

:root {
  color-scheme: only light;
  --ink: #0b0f10;
  --ink-2: #27323a;
  --body: #1b2327;
  --muted: #55626a;
  --teal: #12626b;
  --teal-dark: #0b4b52;
  --tint: #f1f7f7;
  --tint-2: #e3eff0;
  --line: #d0e1e3;
  --paper: #ffffff;
  --radius: 4px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  background-color: #ffffff;
  color: #0b0f10;
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  color: #1b2327;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  min-width: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, li, figure, figcaption, details, summary, table, th, td, nav, header, footer, main, section, article, aside, div, span, strong {
  color: inherit;
}

strong { font-weight: 700; color: #0b0f10; }

a { color: #12626b; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: #0b4b52; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #0b0f10;
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background-color: #0b0f10;
  color: #ffffff;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: .75rem; color: #ffffff; }

/* ---------- containers ---------- */
.container.container--wide,
.container.container--article {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
/* Bulma sets container max-widths with high specificity; these must win */
.container.container--wide { max-width: 1280px !important; }
.container.container--article { max-width: 832px !important; }

@media (min-width: 480px) {
  .container.container--wide,
  .container.container--article { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (min-width: 1024px) {
  .container.container--wide { padding-left: 2.75rem; padding-right: 2.75rem; }
  .container.container--article { padding-left: 16px; padding-right: 16px; }
}

/* ---------- masthead ---------- */
.masthead {
  position: relative;
  z-index: 20;
  background-color: #ffffff;
  color: #0b0f10;
  border-bottom: 1px solid var(--line);
}
.masthead__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .5rem;
  min-height: 60px;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.masthead__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #0b0f10;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.masthead__brand:hover { color: #12626b; }
.masthead__label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 .55rem;
  border: 1px solid #8fa9ad;
  border-radius: 999px;
  background-color: #f1f7f7;
  color: #2c3b40;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.masthead__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background-color: #ffffff;
  color: #0b0f10;
  cursor: pointer;
  transition: background-color .15s ease;
}
.masthead__toggle:hover { background-color: #f1f7f7; }
.masthead__burger,
.masthead__burger::before,
.masthead__burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #0b0f10;
  border-radius: 2px;
  content: "";
  transition: transform .2s ease, background-color .2s ease;
}
.masthead__burger { position: relative; }
.masthead__burger::before { position: absolute; top: -6px; left: 0; }
.masthead__burger::after { position: absolute; top: 6px; left: 0; }
.masthead__toggle[aria-expanded="true"] .masthead__burger { background-color: transparent; }
.masthead__toggle[aria-expanded="true"] .masthead__burger::before { transform: translateY(6px) rotate(45deg); }
.masthead__toggle[aria-expanded="true"] .masthead__burger::after { transform: translateY(-6px) rotate(-45deg); }

.masthead__nav {
  order: 3;
  flex: 0 0 100%;
  display: none;
  flex-direction: column;
  padding: .25rem 0 .75rem;
  border-top: 1px solid var(--line);
  background-color: #ffffff;
}
.masthead__nav.is-open { display: flex; }
.masthead__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #0b0f10;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.masthead__nav a:hover { color: #12626b; }

.masthead__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #12626b;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.masthead__back:hover { color: #0b4b52; text-decoration: underline; }

@media (min-width: 768px) {
  .masthead__bar { flex-wrap: nowrap; column-gap: 2rem; min-height: 60px; }
  .masthead__brand { margin-right: 0; font-size: 1.3125rem; }
  .masthead__toggle { display: none; }
  .masthead__label { order: 2; font-size: .6875rem; }
  .masthead__nav {
    order: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0;
    border-top: 0;
  }
  .masthead__nav a { font-size: .9375rem; padding: 0 .5rem; }
  .masthead__bar--simple .masthead__brand { margin-right: auto; }
}

/* ---------- promo bar (top call to action) ---------- */
.promo {
  background-color: #f1f7f7;
  color: #0b0f10;
  border-bottom: 1px solid #e0ecec;
}
.promo__inner {
  display: grid;
  gap: .85rem;
  padding-top: 1.1rem;
  padding-bottom: 1rem;
}
.promo__text {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: #0b0f10;
}
.promo .exit-note { margin: 0; }
@media (min-width: 768px) {
  .promo__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 2rem;
    row-gap: .55rem;
    padding-top: 1rem;
    padding-bottom: .9rem;
  }
  .promo .exit-note { grid-column: 1 / -1; }
}

/* ---------- call to action ---------- */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: .6rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background-color: #12626b;
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-cta:hover {
  background-color: #0b4b52;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 75, 82, .22);
  transform: translateY(-1px);
}
.btn-cta:active { transform: translateY(0); }
@media (min-width: 480px) {
  .btn-cta { display: inline-flex; width: auto; }
}

.exit-note {
  margin: .75rem 0 0;
  font-size: .8125rem;
  line-height: 1.45;
  color: #55626a;
  background-color: transparent;
}

/* ---------- article shell ---------- */
.article { background-color: #ffffff; color: #1b2327; }

.section.story {
  background-color: #ffffff;
  color: #1b2327;
  padding: 1.75rem 0;
}
.section.story--head { padding-top: 0; padding-bottom: .5rem; }
.section.story--tint {
  background-color: #f1f7f7;
  border-top: 1px solid #e0ecec;
  border-bottom: 1px solid #e0ecec;
  padding: 2.5rem 0;
}
.section.story--close {
  background-color: #e3eff0;
  padding: 2.75rem 0 3rem;
}
@media (min-width: 768px) {
  .section.story { padding: 2.25rem 0; }
  .section.story--head { padding-top: 0; padding-bottom: .75rem; }
  .section.story--tint { padding: 3.5rem 0; }
  .section.story--close { padding: 4rem 0 4.25rem; }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .6rem;
  margin: 1.1rem 0 .9rem;
  font-size: .875rem;
  color: #55626a;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #0b0f10;
  text-decoration: none;
}
.crumbs a:hover { color: #12626b; text-decoration: underline; }
.crumbs__sep { color: #8a979e; }
@media (min-width: 768px) { .crumbs { margin: 2.25rem 0 1.6rem; } }

.article__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5.4vw + .5rem, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #0b0f10;
  overflow-wrap: break-word;
}
.article__dek {
  margin: 0 0 1rem;
  font-size: clamp(1.0625rem, 1.1vw + .9rem, 1.3125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #27323a;
}
.article__byline {
  margin: 0 0 1.4rem;
  font-size: .875rem;
  line-height: 1.5;
  color: #55626a;
}
.article__byline strong { color: #27323a; font-weight: 600; }

/* "In questo articolo" - native details element */
.toc {
  margin: 0 0 1.5rem;
  background-color: #f1f7f7;
  border: 1px solid #cfe2e4;
  border-radius: var(--radius);
  color: #0b0f10;
}
.toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: .5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #0b0f10;
  cursor: pointer;
  list-style: none;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  margin-right: .25rem;
  border-right: 2px solid #0b0f10;
  border-bottom: 2px solid #0b0f10;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.toc[open] .toc__summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.toc__summary:hover { background-color: #e8f2f2; }
.toc__list {
  margin: 0;
  padding: .35rem 1rem .9rem;
  list-style: none;
  border-top: 1px solid #cfe2e4;
  counter-reset: toc;
}
.toc__list li { counter-increment: toc; margin: 0; color: #0b0f10; }
.toc__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: .75rem;
  color: #0b0f10;
  font-size: .9375rem;
  text-decoration: none;
}
.toc__list a::before {
  content: counter(toc);
  flex: 0 0 1.5rem;
  color: #12626b;
  font-weight: 800;
}
.toc__list a:hover { color: #12626b; text-decoration: underline; }

/* ---------- prose ---------- */
.prose { color: #1b2327; }
.prose p {
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1b2327;
}
.prose p:last-child { margin-bottom: 0; }
.prose + .plain-list { margin-top: 1.15rem; }
.split__text .prose + .plain-list { margin-top: .75rem; }
.lede-strong { font-weight: 700; color: #0b0f10; }

.story__title {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 1.2vw + 1.1rem, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: #0b0f10;
  scroll-margin-top: 1rem;
}
@media (min-width: 768px) { .story__title { margin-bottom: 1.25rem; } }

.story__sub {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0b0f10;
}

/* lists */
.plain-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}
.plain-list li {
  position: relative;
  margin: 0 0 .75rem;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1b2327;
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background-color: #12626b;
}
.plain-list li:last-child { margin-bottom: 0; }

.steps {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 1.1rem 3rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1b2327;
  counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #12626b;
  color: #ffffff;
  font-size: .9375rem;
  font-weight: 800;
}
.steps li::after {
  content: "";
  position: absolute;
  left: calc(1rem - 1px);
  top: 2rem;
  bottom: .15rem;
  width: 2px;
  background-color: #cfe2e4;
}
.steps li:last-child::after { display: none; }

/* callout (mint panel with accent edge, like the reference quote box) */
.callout {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.15rem 1.2rem;
  background-color: #eef6f6;
  border: 1px solid #cfe2e4;
  border-left: 4px solid #12626b;
  border-radius: var(--radius);
  color: #0b0f10;
}
.callout__title {
  margin: 0 0 .6rem;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0b0f10;
}
.callout .plain-list li { font-size: 1rem; }

/* checklist panel */
.checklist {
  margin: 1.5rem 0;
  padding: 1.25rem 1.15rem 1.35rem;
  background-color: #f1f7f7;
  border: 1px solid #cfe2e4;
  border-radius: var(--radius);
  color: #0b0f10;
}
.checklist__title {
  margin: 0 0 .9rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0b0f10;
}
.checklist__list { margin: 0; padding: 0; list-style: none; }
.checklist__list li {
  position: relative;
  margin: 0 0 .7rem;
  padding-left: 2.15rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #1b2327;
}
.checklist__list li:last-child { margin-bottom: 0; }
.checklist__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 4px;
  background-color: #12626b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
}

/* ---------- media ---------- */
.shot { display: block; margin: 1.5rem 0; }
.shot__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #dbe7e8;
}
.shot__frame--wide { aspect-ratio: 16 / 9; }
.shot__frame--portrait { aspect-ratio: 4 / 5; }
.shot__frame--crop video {
  top: auto;
  bottom: 0;
  height: 136%;
  object-position: 50% 100%;
}
.shot__frame img,
.shot__frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.shot__caption {
  margin: .6rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: #55626a;
}

.split {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.split.columns { display: grid; margin: 1.5rem 0; }
.split > .column { padding: 0; width: auto; min-width: 0; flex: none; }
.split .shot { margin: 0; }
.split__text { align-self: center; }
@media (min-width: 768px) {
  .split.columns { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.25rem; align-items: center; }
  .split.split--reverse.columns { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--reverse .split__media { order: 2; }
}

/* ---------- table ---------- */
.table-wrap {
  margin: 1.5rem 0 1.25rem;
  background-color: #ffffff;
  border: 1px solid #c3d8db;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 15, 16, .05);
}
.data-table,
.data-table tbody,
.data-table tr,
.data-table td { display: block; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  color: #1b2327;
}
.data-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.data-table tr { border-bottom: 1px solid #d9e6e8; padding: .35rem 0; background-color: #ffffff; }
.data-table tr:nth-child(even) { background-color: #f4f9f9; }
.data-table tr:last-child { border-bottom: 0; }
.data-table td {
  padding: .45rem 1rem;
  font-size: .9375rem;
  line-height: 1.55;
  color: #1b2327;
}
.data-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: .1rem;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #12626b;
}
.data-table td:first-child { font-size: 1.0625rem; font-weight: 800; color: #0b0f10; }
@media (min-width: 768px) {
  .data-table { display: table; table-layout: fixed; }
  .data-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .data-table tbody { display: table-row-group; }
  .data-table tr { display: table-row; padding: 0; }
  .data-table th {
    padding: .85rem 1.1rem;
    background-color: #12626b;
    color: #ffffff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-align: left;
    text-transform: uppercase;
  }
  .data-table td {
    display: table-cell;
    padding: 1rem 1.1rem;
    vertical-align: top;
    border-top: 1px solid #d9e6e8;
  }
  .data-table td::before { display: none; }
  .data-table td:first-child { width: 22%; font-size: 1rem; }
  .data-table tr { border-bottom: 0; }
}

/* ---------- CTA blocks ---------- */
.cta-block {
  margin: 2rem 0 0;
  padding: 1.5rem 1.25rem 1.4rem;
  background-color: #f1f7f7;
  border: 1px solid #cfe2e4;
  border-radius: var(--radius);
  color: #0b0f10;
}
.cta-block__title {
  margin: 0 0 .5rem;
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #0b0f10;
}
.cta-block__text {
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #27323a;
}
.cta-block--final {
  margin-top: 1.75rem;
  background-color: #ffffff;
  border: 1px solid #a8c8cc;
  border-top: 4px solid #12626b;
  padding: 1.75rem 1.25rem 1.6rem;
  text-align: center;
}
.cta-block--final .btn-cta { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .cta-block { padding: 1.75rem 2rem 1.6rem; }
  .cta-block--final { padding: 2.25rem 2.5rem 2rem; }
  .cta-block__title { font-size: 1.5rem; }
}

/* ---------- footer ---------- */
.footer {
  background-color: #ffffff;
  color: #55626a;
  border: 0;
  padding: 2.5rem 0 3rem;
  font-size: 13px;
  line-height: 1.65;
}
.footer__entity {
  margin: 0 0 1.25rem;
  color: #55626a;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0 0 1.1rem;
  background-color: transparent;
}
.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #34454c;
  font-size: 13px;
  text-decoration: underline;
}
.footer__legal-links a:hover { color: #12626b; }
.about-line {
  margin: 0;
  max-width: 62rem;
  color: #55626a;
  font-size: 13px;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .footer { padding: 3.5rem 0 4rem; }
}

/* ---------- legal / about documents ---------- */
.doc { background-color: #ffffff; color: #1b2327; padding-bottom: 2.5rem; }
.doc__title {
  margin: 0 0 .6rem;
  font-size: clamp(1.75rem, 4.6vw + .6rem, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #0b0f10;
}
.doc-meta {
  margin: 0 0 2rem;
  font-size: .875rem;
  line-height: 1.5;
  color: #55626a;
}
.doc__body h2 {
  margin: 2.25rem 0 .75rem;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: #0b0f10;
}
.doc__body p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1b2327;
}
.doc__body ul { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.doc__body li {
  position: relative;
  margin: 0 0 .6rem;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1b2327;
}
.doc__body li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background-color: #12626b;
}
.doc__address {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background-color: #f1f7f7;
  border-left: 4px solid #12626b;
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.65;
  color: #0b0f10;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
