/* ─── theisscherfig.dk — fælles stylesheet ─── */

:root {
  --moss:        #4a5c3f;
  --bark:        #7a5c3e;
  --clay:        #c97d4e;
  --sand:        #f0e8d8;
  --cream:       #faf7f0;
  --earth:       #2e2416;
  --sage:        #8aab7a;
  --muted:       #6b5a4a;
  --accent:      #b85c2c;
  --light-green: #d4e5c4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--earth);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(250,247,240,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122,92,62,0.15);
  padding: 0.8rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--moss);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo:hover { color: var(--bark); }
.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links a {
  color: #3a3028; text-decoration: none;
  transition: color 0.25s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--moss); }
.nav-links a.active {
  color: var(--moss);
  border-bottom: 2px solid var(--moss);
  padding-bottom: 2px;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--earth);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.5rem 0 1rem;
    font-size: 0.9rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(122,92,62,0.1);
  }
}

/* ─── HERO (forside) ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(138,171,122,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,125,78,0.12) 0%, transparent 60%),
    var(--cream);
}

.hero-bg::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: 90%;
  background: var(--light-green);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.45;
  z-index: 0;
}

.hero-text {
  position: relative; z-index: 1;
  padding: 4rem 3rem 4rem 6rem;
}
.hero-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  color: var(--clay);
  margin-bottom: 0.8rem;
  display: block;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--moss);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--bark);
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 1s 0.35s ease both;
}

/* ─── PAGE HERO (undersider) ─── */
.page-hero {
  padding: 7rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(212,229,196,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,125,78,0.1) 0%, transparent 60%),
    var(--cream);
  border-bottom: 1px solid rgba(122,92,62,0.1);
}
.page-hero .section-label { margin-bottom: 0.4rem; }
.page-hero .section-title { margin-bottom: 0.6rem; }
.page-hero .section-lead { margin-bottom: 0; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--moss);
  color: white;
  padding: 0.75rem 1.8rem;
  border: none; border-radius: 50px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--bark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--moss);
  padding: 0.75rem 1.8rem;
  border: 2px solid var(--sage);
  border-radius: 50px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--light-green); transform: translateY(-2px); }

.btn-donate {
  background: var(--clay);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Lora', serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-donate:hover { background: var(--accent); }

/* ─── HERO CARDS (forside) ─── */
.hero-visual {
  position: relative; z-index: 1;
  padding: 3rem 4rem 3rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  animation: fadeIn 1.2s 0.3s ease both;
}
.hero-card {
  background: white;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(46,36,22,0.08);
  display: flex; align-items: center; gap: 1rem;
  max-width: 280px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(46,36,22,0.14);
}
.hero-card:nth-child(2) { align-self: flex-end; }
.hero-card:nth-child(3) { align-self: center; margin-left: 2rem; }
.card-icon { font-size: 2rem; flex-shrink: 0; }
.card-label {
  font-size: 0.875rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.card-value {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem; color: var(--earth);
  line-height: 1.4;
}

/* ─── SECTION SHARED ─── */
section { padding: 6rem 0; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--clay);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--moss);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 3.5rem;
  line-height: 1.8;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--clay));
  border-radius: 2px;
  margin: 1.2rem 0 1.5rem;
}

/* ─── PHILOSOPHY STRIP ─── */
.philosophy {
  background: var(--moss);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: '';
  position: absolute; top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  text-align: center;
}
.phil-item {
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 0.8rem;
  transition: background 0.2s, transform 0.2s;
}
.phil-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  cursor: pointer;
}
.phil-icon { font-size: 2.8rem; margin-bottom: 0.8rem; display: block; }
.phil-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--light-green);
}
.phil-desc { font-size: 1rem; opacity: 0.82; line-height: 1.65; }

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  border-radius: 1.2rem;
  padding: 2rem;
  border: 1px solid rgba(122,92,62,0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--clay));
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(46,36,22,0.1); }
.card-emoji { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--moss); margin-bottom: 0.7rem;
}
.card-text { font-size: 0.95rem; color: #6b5a4a; line-height: 1.75; }
.card-link {
  display: inline-block; margin-top: 1.2rem;
  font-size: 0.85rem; color: var(--clay);
  text-decoration: none; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--clay);
  transition: color 0.2s;
}
.card-link:hover { color: var(--moss); border-color: var(--moss); }

/* ─── HIGHLIGHT SECTION (sløjd) ─── */
.highlight-section {
  background: var(--sand);
  border-radius: 2rem;
  margin: 0 2rem;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.highlight-text .section-title { color: var(--bark); }
.highlight-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--clay);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -1rem;
}
.spoon-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.spoon-row { display: flex; gap: 0.5rem; }
.spoon {
  font-size: 1.8rem;
  animation: sway 3s ease-in-out infinite;
  display: inline-block;
}
.spoon:nth-child(2n) { animation-delay: 0.5s; }
.spoon:nth-child(3n) { animation-delay: 1s; }

/* ─── PODCAST ─── */
.podcast-section {
  background: linear-gradient(135deg, var(--earth) 0%, #3d2f1e 100%);
  color: white;
  padding: 6rem 0;
}
.podcast-section .section-title { color: #d4e5c4; }
.podcast-section .section-label { color: var(--clay); }
.podcast-section .section-lead { color: rgba(255,255,255,0.65); }
.podcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.podcast-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}
.podcast-badge::before { content: '🎙️'; }
.episode-list { display: flex; flex-direction: column; gap: 1rem; }
.episode {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
}
.episode:hover { background: rgba(255,255,255,0.1); }
.episode-topic {
  font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #f0c9a0;
  font-family: 'Lato', Arial, sans-serif;
  margin-bottom: 0.2rem;
}
.episode-link {
  text-decoration: none;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}
.episode-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}

/* Donate-boks */
.donate-box {
  margin-top: 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.donate-text { flex: 1; min-width: 180px; }
.donate-text strong { color: white; display: block; margin-bottom: 0.3rem; }
.donate-text span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ─── GÆSTELISTE ─── */
.guest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.guest-item {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
}
.guest-name {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  line-height: 1.3;
}
.guest-topic {
  font-size: 0.875rem;
  color: #f0c9a0;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 0.2rem;
  line-height: 1.3;
}
@media (max-width: 700px) {
  .guest-grid { grid-template-columns: 1fr; }
}

/* ─── PERMAPODCAST ─── */
.permapodcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .permapodcast-inner { grid-template-columns: 1fr; }
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.about-sidebar { position: sticky; top: 100px; }
.about-avatar {
  width: 100%; max-width: 280px;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--light-green), var(--sand));
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.5rem;
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}
.about-quick { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.about-quick li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; color: var(--muted);
}
.about-quick span:first-child { font-size: 1.1rem; }
.about-content p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--earth);
}
.about-content p:first-of-type {
  font-size: 1.2rem;
  color: var(--bark);
  font-style: italic;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  background: var(--sand);
  border: 1px solid rgba(122,92,62,0.3);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem; color: #5a4a3a;
}

/* ─── CONTACT ─── */
.contact-section { background: var(--sand); padding: 6rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  background: white;
  padding: 1.2rem 1.5rem;
  border-radius: 0.8rem;
  box-shadow: 0 2px 10px rgba(46,36,22,0.06);
}
.contact-item a {
  color: var(--moss); text-decoration: none;
  font-size: 1.05rem;
}
.contact-item a:hover { color: var(--clay); }
.contact-icon { font-size: 1.5rem; }
.contact-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--bark);
  line-height: 1.5;
  border-left: 4px solid var(--sage);
  padding-left: 1.8rem;
}

/* ─── SVG IKONER ─── */
.card-icon svg, .phil-icon svg, .card-emoji svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.card-emoji { display: block; margin-bottom: 1rem; }
.phil-icon { display: block; margin-bottom: 0.8rem; }

/* ─── TOOLTIP ─── */
.tooltip-word {
  position: relative;
  color: var(--bark);
  border-bottom: 1px dashed var(--bark);
  cursor: pointer;
  white-space: nowrap;
}
.tooltip-word sup { font-size: 0.7em; color: var(--clay); }
.tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--earth);
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  line-height: 1.65;
  padding: 1rem 1.2rem;
  border-radius: 0.7rem;
  width: 300px;
  box-shadow: 0 8px 24px rgba(46,36,22,0.25);
  z-index: 200;
  white-space: normal;
  text-align: left;
  cursor: default;
}
@media (max-width: 600px) {
  .tooltip-box {
    bottom: auto;
    top: calc(100% + 8px);
    left: 0;
    transform: none;
    width: calc(100vw - 4rem);
  }
  .tooltip-box::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: var(--earth);
  }
}
.tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--earth);
}
.tooltip-word.active .tooltip-box { display: block; }

/* ─── FOTOS ─── */
.section-photo {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  margin-bottom: 3rem;
  box-shadow: 0 6px 24px rgba(46,36,22,0.12);
}
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.photo-pair img {
  width: 100%; border-radius: 1rem;
  object-fit: cover; height: 320px;
  box-shadow: 0 4px 16px rgba(46,36,22,0.1);
}
.wtr-illustration {
  width: 100%; max-width: 260px;
  margin: 1rem auto 0;
  display: block;
}

/* ─── FOOTER ─── */
footer {
  background: var(--earth);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.85rem;
}
footer a { color: var(--sage); text-decoration: none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes sway {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 5rem 0 3rem; }
  .hero-text { padding: 3rem 2rem; text-align: center; }
  .hero-tagline, .hero-ctas { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-bg::after { display: none; }
  .hero-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 1rem 2rem 3rem; }
  .hero-card { max-width: 220px; }
  .philosophy-grid { grid-template-columns: repeat(2,1fr); }
  .highlight-section { grid-template-columns: 1fr; padding: 3rem 2rem; margin: 0 1rem; }
  .podcast-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { font-size: 0.875rem; gap: 1rem; }
}

@media (max-width: 700px) {
  .undervisning-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: 220px; }
}

/* ─── COPY-EMAIL ─── */
.copy-email {
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  transition: opacity 0.15s;
}
.copy-email:hover { opacity: 0.75; }
.copy-email:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.copy-email--copied { border-bottom-style: solid; }
