@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/inter-v20-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
/* cormorant-garamond-italic - latin */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --purple: #4d267c;
  --purple-2: #6f4aa0;
  --turquoise: #3b9aaa;
  --turquoise-2: #77c8c1;
  --dark: #1f2340;
  --cream: #fbf7f2;
  --light: #ffffff;
  --muted: #6d6680;
  --line: rgba(77, 38, 124, 0.14);
  --shadow: 0 24px 70px rgba(65, 38, 102, 0.13);
  --radius: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  color: var(--purple);
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.9rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

p {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 1.25vw, 1.22rem);
  font-family: 'Cormorant Garamond', Arial, serif;
}

a {
  color: inherit;
}

.page {
  overflow-x: hidden;
}

.gradient-text {
  color: var(--turquoise);
}

.section {
  padding: 5.5rem 6vw;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 6vw;
  background: transparent;
  border-bottom: 1px solid rgba(77, 38, 124, 0.08);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 247, 242, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  width: min(210px, 42vw);
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.4rem;
}

nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--purple);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 6vw 3rem;
  background:
    radial-gradient(circle at 7% 20%, rgba(119, 200, 193, 0.16), transparent 34%),
    linear-gradient(90deg, #fff9f4 0%, #fff9f4 47%, rgba(255,255,255,0) 100%);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-text::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 1.35rem;
  background: var(--purple-2);
  border-radius: 999px;
  opacity: 0.6;
}

.hero-text p {
  max-width: 560px;
  font-weight: 500;
}

.hero-media {
  position: relative;
  min-height: 610px;
  overflow: visible;
}

.hero-media img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: center;
  border-radius: 80px;
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  right: 2.3rem;
  bottom: -2.4rem;
  width: 185px;
  height: 185px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--purple);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  box-shadow: 0 24px 60px rgba(31, 35, 64, 0.16);
  font-weight: 700;
}

.badge svg {
  width: 38px;
  height: 38px;
  margin: 0 auto 0.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.button,
.button:visited,
.button:hover {
  color: white !important;
}

.button.light,
.button.light:visited,
.button.light:hover {
  color: var(--purple);
}


.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.65rem;
  border-radius: 999px;
  background: var(--purple);
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(77, 38, 124, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(77, 38, 124, 0.32);
  color: white !important;
}

.button.light {
  background: white;
  color: var(--purple) !important;
  box-shadow: none;
}



/* Values */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 2.4rem 6vw;
  background: rgba(255,255,255,0.82);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 110px;
  padding: 1.25rem 1.6rem;
  color: var(--purple);
  border-right: 1px solid var(--line);
}

.value-card:last-child {
  border-right: 0;
}

.value-card:nth-child(even) {
  color: var(--turquoise);
}

.value-card svg {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card span {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--dark);
}

/* Story / Location Style */

.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
  gap: 0;
  padding: 4.5rem 6vw 2rem;
}

.story-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  padding: 3rem;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: var(--shadow);
}

.story-card::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 1.3rem;
  background: var(--purple-2);
  border-radius: 999px;
  opacity: 0.5;
}

.story-card strong {
  display: block;
  margin-top: 1.3rem;
  color: var(--purple);
  font-size: 1.25rem;
  line-height: 1.45;
}

.story img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.story-location {
  padding-top: 2rem;
}

.story-location .story-card {
  background: rgba(255,255,255,0.96);
}

/* About */

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 3.5rem;
  padding: 2rem 6vw 4.5rem;
}

.about img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-content {
  position: relative;
  background: rgba(255,255,255,0.45);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.about-content::before {
  content: "";
  position: absolute;
  right: 3rem;
  top: 2rem;
  width: 160px;
  height: 160px;
  opacity: 0.18;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%235b2a86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M35 96c20-26 35-47 55-72'/%3E%3Cpath d='M45 78c-18-1-25-14-22-30 17 0 27 11 22 30z'/%3E%3Cpath d='M61 58c-17-1-24-14-21-28 16 0 26 10 21 28z'/%3E%3Cpath d='M77 40c-14-3-19-15-14-27 14 2 21 12 14 27z'/%3E%3Cpath d='M61 58c16 4 27-4 31-18-14-5-26 1-31 18z'/%3E%3Cpath d='M45 78c16 5 29-1 35-15-15-6-28-1-35 15z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.about-content::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 1.3rem;
  background: var(--purple-2);
  border-radius: 999px;
  opacity: 0.5;
}

.label {
  display: inline-block;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--purple);
}

/* Program */

.program {
  position: relative;
  margin: 0 6vw 4rem;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(77,38,124,0.98) 0%, rgba(77,38,124,0.9) 48%, rgba(77,38,124,0.25) 100%),
    url("../img/programm.webp") right center / cover no-repeat;
  color: white;
  box-shadow: var(--shadow);
}

.program-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding: 3.3rem;
}

.program h2,
.program .label {
  color: white;
}

.program-list {
  display: grid;
  gap: 1.15rem;
  align-content: center;
  max-width: 580px;
}

.program-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: start;
  font-weight: 700;
}

.program-item svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

/* Dual Task */

.dual-task {
  padding: 0 6vw 3.5rem;
  background: var(--cream);
}

.dual-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.dual-task p {
  margin-top: 0.4rem;
  max-width: 720px;
}

.benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.8rem;
  background: rgba(255,255,255,0.82);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.benefit-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  min-height: 105px;
  border-right: 1px solid var(--line);
  color: var(--purple);
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-card:nth-child(even) {
  color: var(--turquoise);
}

.benefit-card svg {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card span {
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.35;
  color: var(--dark);
}

/* FAQ */
.faq {
  padding: 2.5rem 6vw 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* max-width: 1000px; */ 
  margin: 2rem auto 0;
}

details {
  width: 100%;
  background: white;
  border: 1px solid rgba(77, 38, 124, 0.08);
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  box-shadow: 0 12px 34px rgba(77, 38, 124, 0.06);
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--dark);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--purple);
  font-weight: 900;
}

details[open] summary::after {
  content: "–";
}

details p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Contact */

.contact {
  position: relative;
  margin: 0 6vw;
  padding: 3.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(90deg, rgba(255,249,244,0.96) 0%, rgba(255,249,244,0.78) 55%, rgba(255,249,244,0.25) 100%),
    url("../img/kontakt.webp") right center / cover no-repeat;
  overflow: hidden;
}

.contact p {
  max-width: 520px;
}

/* Legal Pages */

.subpage-hero {
  padding: 4rem 6vw 3rem;
  background:
    radial-gradient(circle at 8% 20%, rgba(119,200,193,.18), transparent 34%),
    linear-gradient(90deg,#fff9f4 0%,#fff9f4 58%,rgba(255,255,255,0) 100%);
}

.subpage-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.subpage-hero p {
  max-width: 760px;
  margin-top: 1.2rem;
}

.legal-content {
  padding: 0 6vw 5rem;
}

.legal-card {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.legal-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.legal-card a:hover {
  color: var(--turquoise);
}

/* Footer */

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 6vw;
  background: white;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-weight: 800;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--purple);
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-item:hover {
  color: var(--turquoise);
  transform: translateY(-2px);
}

.footer-item svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 6vw;
  background: var(--purple);
  color: white;
  font-size: 0.92rem;
}

footer img {
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

footer a {
  text-decoration: none;
  color: white;
  margin-left: 1.2rem;
}

/* Responsive */

@media (max-width: 1100px) {
  nav {
    gap: 1.1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero,
  .story,
  .about,
  .program-inner,
  .dual-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: 520px;
    border-radius: var(--radius);
  }

  .story-card,
  .story img {
    border-radius: var(--radius);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .header {
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-media img {
    height: 440px;
  }

  .values,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card,
  .benefit-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program {
    background:
      linear-gradient(135deg, rgba(77,38,124,0.98), rgba(111,74,160,0.95)),
      url("../img/programm.webp") center / cover no-repeat;
  }

  .badge {
    width: 150px;
    height: 150px;
    right: 1rem;
    bottom: -1.8rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 560px) {
  .hero,
  .story,
  .about,
  .dual-task,
  .faq,
  .subpage-hero {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-media img {
    height: 380px;
  }

  .values,
  .benefits,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .story-card,
  .about-content,
  .program-inner,
  .contact {
    padding: 2rem;
  }

  .program,
  .contact {
    margin-left: 1.35rem;
    margin-right: 1.35rem;
  }

  .legal-content {
    padding: 0 1.35rem 4rem;
  }

  .badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -4rem 1rem 0 auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer a {
    margin: 0 0.45rem;
  }
}

/* Dual Task */

.dual-task {
  padding: 5rem 6vw;
  background:
    radial-gradient(circle at 92% 18%, rgba(119, 200, 193, 0.14), transparent 32%),
    linear-gradient(180deg, #fbf7f2 0%, #ffffff 100%);
}

.dual-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
  /*max-width: 1380px;*/
  margin: 0 auto;
}

.dual-grid > div:first-child {
  position: relative;
}

.dual-grid > div:first-child::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 1.4rem;
  background: var(--purple-2);
  border-radius: 999px;
  opacity: 0.55;
}

.dual-task h3 {
  max-width: 640px;
}

.dual-task p {
  margin-top: 2.1rem;
  max-width: 760px;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--dark);
}

.benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.92);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(65, 38, 102, 0.09);
}

.benefit-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem 1.5rem;
  min-height: 128px;
  border-right: 1px solid var(--line);
  color: var(--purple);
  background: rgba(255,255,255,0.58);
  transition: transform 0.25s ease, background 0.25s ease;
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-card:nth-child(even) {
  color: var(--turquoise);
}

.benefit-card:hover {
  background: rgba(251,247,242,0.9);
  transform: translateY(-3px);
}

.benefit-card svg {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card span {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--dark);
}

@media (max-width: 1100px) {
  .dual-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dual-task p {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .dual-task {
    padding: 3.5rem 1.35rem;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    justify-content: flex-start;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--purple);
  color: white;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}


[id] {
  scroll-margin-top: 210px;
}

@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 180px;
  }
}