@import url("https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --beige-50: #f3ead7;
  --beige-100: #e9dcc2;
  --beige-200: #cdb79d;
  --green-500: #3f7a4c;
  --green-700: #2f6b3f;
  --green-800: #24542f;
  --orange-500: #f3922b;
  --orange-600: #dd7c1f;
  --text: #1f2922;
  --paper: #fffdf8;
  --shadow-soft: 0 14px 28px rgba(36, 44, 31, 0.12);
  --shadow-card: 0 18px 36px rgba(35, 50, 37, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(85, 122, 79, 0.18), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(233, 122, 36, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
    var(--beige-50);
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  background: linear-gradient(90deg, #3e6f4a, #5f8f60);
  color: #fff;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
}

.topbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topbar-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.topbar-sub {
  opacity: 0.95;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(239, 231, 214, 0.96);
  border-bottom: 1px solid rgba(35, 74, 45, 0.14);
}

.navbar .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-weight: 700;
}

.logo img {
  display: block;
  height: 44px;
  width: auto;
  filter: saturate(0) contrast(1.1);
}

.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  color: var(--green-700);
  padding: 8px 14px;
  border-radius: 18px 12px 20px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(36, 84, 47, 0.24);
  background: rgba(245, 236, 217, 0.9);
  box-shadow: 0 5px 12px rgba(38, 63, 42, 0.08);
}

.nav-links a:hover {
  background: rgba(255, 250, 240, 0.95);
  transform: translateY(-1px) rotate(-0.4deg);
}

.nav-links a:nth-child(2n) {
  border-radius: 14px 20px 12px 18px;
}

.nav-links a:nth-child(3n) {
  border-radius: 20px 14px 18px 12px;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.ragged {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: none;
  color: #1f1f1f;
  background: linear-gradient(180deg, #f08a34, var(--orange-500));
  clip-path: polygon(2% 9%, 9% 1%, 19% 8%, 28% 2%, 37% 9%, 48% 1%, 58% 7%, 69% 1%, 79% 8%, 90% 0, 98% 9%, 98% 91%, 89% 100%, 80% 92%, 70% 99%, 58% 91%, 49% 100%, 37% 92%, 28% 100%, 18% 92%, 10% 98%, 2% 90%);
  box-shadow: 0 10px 18px rgba(124, 66, 20, 0.32);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ragged:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(124, 66, 20, 0.36);
  text-decoration: none;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(47, 94, 58, 0.35);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-700);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.ghost:hover {
  background: #fff;
}

.btn-ticket,
.btn-content,
.btn-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.btn-ticket {
  position: relative;
  isolation: isolate;
  padding: 11px 19px;
  font-size: 14px;
  color: #1f1f1f;
  background: linear-gradient(180deg, #f7aa48, var(--orange-500) 54%, #df7f1f);
  border: 1px solid rgba(177, 92, 21, 0.58);
  border-radius: 18px 12px 20px 14px;
  box-shadow:
    0 2px 0 #c66b18,
    0 9px 16px rgba(131, 69, 17, 0.24);
  letter-spacing: 0.01em;
}

.btn-ticket::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  z-index: -1;
}

.btn-ticket:hover {
  transform: translateY(-1px) rotate(-0.35deg);
  filter: brightness(1.03);
  box-shadow:
    0 3px 0 #c66b18,
    0 12px 18px rgba(131, 69, 17, 0.28);
  text-decoration: none;
}

.btn-content {
  padding: 9px 16px 10px;
  border-radius: 16px 22px 14px 20px;
  border: 1px solid rgba(36, 84, 47, 0.34);
  background: linear-gradient(180deg, rgba(252, 248, 240, 0.95), rgba(239, 229, 208, 0.95));
  color: var(--green-800);
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(31, 56, 39, 0.1);
}

.btn-content:hover {
  text-decoration: none;
  transform: translateY(-1px) rotate(0.4deg);
  background: linear-gradient(180deg, rgba(255, 251, 244, 1), rgba(243, 233, 214, 1));
}

.btn-tag {
  min-width: 132px;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(51, 124, 61, 0.98), rgba(36, 96, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  clip-path: polygon(8% 0, 97% 3%, 100% 22%, 97% 91%, 10% 100%, 0 81%, 1% 10%);
  box-shadow: 0 8px 16px rgba(20, 53, 25, 0.26);
}

.btn-tag:hover {
  text-decoration: none;
  transform: translateY(-1px) rotate(-0.5deg);
  background: rgba(37, 99, 46, 0.98);
}

.btn-small {
  font-size: 12px;
  padding: 7px 12px;
}

.editable-block {
  position: relative;
}

.editable-block:hover {
  background: rgba(246, 241, 229, 0.68);
}

.editable-block:focus {
  outline: 2px dashed rgba(221, 124, 31, 0.6);
  outline-offset: 2px;
}

.hero {
  padding: 44px 0 32px;
}

.hero-home {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.36;
  will-change: transform;
}

.hero-bg-img.next {
  left: 100%;
}

.hero-bg.swipe .hero-bg-img.current,
.hero-bg.swipe .hero-bg-img.next {
  transform: translateX(-100%);
  transition: transform 800ms ease-in-out;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: stretch;
}

.welcome {
  position: relative;
  background: rgba(255, 253, 248, 0.92);
  border-radius: 24px;
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.welcome::after {
  content: "";
  position: absolute;
  right: -64px;
  top: -68px;
  width: 220px;
  height: 220px;
  border: 3px solid rgba(47, 94, 58, 0.34);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-8deg);
}

.welcome h1 {
  margin: 10px 0 10px;
  color: #22352a;
  font-size: clamp(30px, 3.8vw, 42px);
  letter-spacing: -0.03em;
}

.welcome p {
  margin: 0 0 18px;
  line-height: 1.6;
  max-width: 66ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(79, 122, 83, 0.16);
  color: var(--green-800);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sidebar {
  background: rgba(255, 253, 248, 0.94);
  border-radius: 24px;
  padding: 18px 18px 12px;
  box-shadow: var(--shadow-soft);
  border-left: 7px solid var(--green-700);
}

.sidebar h3 {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 17px;
}

.sidebar .item {
  border-bottom: 1px dashed rgba(36, 44, 31, 0.25);
  padding: 10px 0;
  font-size: 14px;
}

.sidebar .item:last-child {
  border-bottom: 0;
}

.sidebar .date {
  color: var(--orange-600);
  font-weight: 800;
  margin-bottom: 3px;
}

.section {
  padding: 28px 0;
}

.section .container {
  display: grid;
  gap: 16px;
}

.section-title {
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange-500);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.button-large {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(247, 240, 226, 0.96), rgba(231, 219, 194, 0.94));
  color: var(--green-700);
  border-radius: 24px 16px 20px 28px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(63, 91, 54, 0.24);
  clip-path: polygon(2% 7%, 96% 1%, 100% 21%, 98% 93%, 84% 100%, 17% 97%, 0 84%, 1% 13%);
}

.button-large:hover {
  text-decoration: none;
  transform: translateY(-2px) rotate(-0.4deg);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  background: linear-gradient(180deg, rgba(73, 114, 67, 0.92), rgba(56, 91, 52, 0.95));
  color: #f6f5ef;
  border-radius: 20px 12px 24px 14px;
  padding: 15px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(43, 72, 39, 0.24);
  clip-path: polygon(3% 6%, 97% 1%, 100% 19%, 97% 94%, 84% 100%, 16% 97%, 0 84%, 0 13%);
}

.feature:hover {
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-1px) rotate(0.4deg);
}

.events {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: center;
}

.events-intro {
  background: rgba(255, 253, 248, 0.94);
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.62;
  box-shadow: var(--shadow-soft);
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price {
  background: rgba(255, 253, 248, 0.96);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}

.price .amount {
  color: var(--orange-600);
  font-size: 24px;
  font-weight: 800;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ticket-box {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(43, 71, 39, 0.16);
}

.ticket-box-header {
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f2c22;
}

.ticket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ticket-table tr + tr {
  border-top: 1px solid rgba(47, 94, 58, 0.14);
}

.ticket-table td {
  padding: 4px 0;
}

.ticket-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.ticket-box select {
  font-size: 13px;
}

.ticket-box .ragged {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.ticket-cart {
  margin-top: 18px;
  border-radius: 10px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(43, 71, 39, 0.2);
  background: rgba(255, 255, 255, 0.78);
}

.ticket-cart-items,
.ticket-cart-empty,
.ticket-cart-summary {
  font-size: 13px;
}

.ticket-cart-total {
  font-size: 14px;
  font-weight: 700;
}

.patenschaft-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.patenschaft-table th,
.patenschaft-table td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(47, 94, 58, 0.14);
  vertical-align: top;
}

.patenschaft-table th {
  color: #1f2c22;
  font-weight: 700;
  background: rgba(230, 221, 201, 0.74);
}

.patenschaft-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.animals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.animal {
  display: grid;
  grid-template-rows: 250px auto;
  background: rgba(255, 253, 248, 0.96);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.animal img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #d7d6d0;
}

.animal .content {
  padding: 12px 14px 14px;
}

.animal .name {
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--green-700);
}

.tierarten-list {
  margin-top: 22px;
  font-size: 14px;
}

.tierarten-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2c22;
}

.tierarten-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tierarten-columns ul {
  margin: 0;
  padding-left: 18px;
}

.tierarten-columns li {
  margin-bottom: 3px;
}

.footer {
  margin-top: 24px;
  padding: 26px 0 40px;
  background: linear-gradient(180deg, rgba(233, 224, 204, 0.95), rgba(231, 220, 197, 0.95));
  border-top: 1px solid rgba(35, 74, 45, 0.14);
}

.sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sponsors a {
  color: #1f2021;
}

.page-header {
  padding: 36px 0 18px;
}

.page-header .container {
  display: grid;
  gap: 10px;
}

.page-title {
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #203126;
}

.page-subtitle {
  max-width: 760px;
  color: #3b4f41;
  font-size: 15px;
}

.notice-board {
  background: rgba(255, 253, 248, 0.9);
  border-radius: 16px;
  border-left: 6px solid var(--orange-500);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.home-page .section-title,
.home-page .welcome h1,
.home-page .news-card h3 {
  font-family: "Amatic SC", "Trebuchet MS", sans-serif;
}

.home-page .topbar {
  background: #2f6b3f;
}

.home-page .navbar {
  background: rgba(240, 232, 214, 0.98);
}

.home-page .hero {
  padding-top: 12px;
}

.home-page .tear-bottom,
.home-page .tear-band,
.home-page .tear-top {
  position: relative;
}

.home-page .hero-stage {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
}

.home-page .hero-bg {
  position: absolute;
  inset: 0;
}

.home-page .hero-bg-img {
  opacity: 0.9;
}

.home-page .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 40, 30, 0.08), rgba(26, 40, 30, 0.34));
  z-index: 1;
}

.home-page .tear-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 58px;
  z-index: 2;
  background: var(--beige-50);
  clip-path: polygon(
    0 34%, 4% 28%, 8% 40%, 13% 32%, 18% 43%, 24% 31%, 30% 41%, 37% 30%,
    44% 42%, 51% 31%, 58% 43%, 65% 30%, 72% 40%, 79% 29%, 86% 41%, 93% 31%,
    100% 37%, 100% 100%, 0 100%
  );
}

.home-page .quick-links {
  position: absolute;
  right: 26px;
  top: 24px;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.home-page .quick-links .btn-tag:nth-child(2) {
  clip-path: polygon(10% 0, 96% 4%, 100% 23%, 96% 92%, 9% 100%, 0 76%, 2% 12%);
  transform: rotate(-0.6deg);
}

.home-page .quick-links .btn-tag:nth-child(3) {
  clip-path: polygon(6% 0, 95% 2%, 100% 20%, 96% 94%, 12% 100%, 0 82%, 1% 10%);
  transform: rotate(0.6deg);
}

.home-page .home-intro-layout {
  margin-top: -20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 20px;
}

.home-page .home-welcome {
  border-radius: 30px 20px 26px 36px;
  text-align: center;
  padding-inline: 34px;
  background: linear-gradient(180deg, #fffcf6, #f3ecde);
  border: 1px solid rgba(45, 82, 53, 0.16);
  box-shadow:
    0 3px 0 rgba(219, 207, 182, 0.95),
    0 18px 30px rgba(39, 54, 36, 0.18);
}

.home-page .home-welcome::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 24px 18px 22px 30px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.home-page .home-welcome h1 {
  font-size: clamp(44px, 7vw, 66px);
  line-height: 0.95;
  color: #2e663a;
  margin-bottom: 6px;
}

.home-page .home-welcome p {
  margin-inline: auto;
  max-width: 72ch;
}

.home-page .hero-actions {
  gap: 14px;
  justify-content: center;
}

.home-page .hero-actions .btn-ticket {
  transform: rotate(-0.55deg);
  box-shadow:
    0 2px 0 #c66b18,
    0 10px 18px rgba(120, 64, 18, 0.24);
}

.home-page .hero-actions .btn-ticket:hover {
  transform: translateY(-2px) rotate(-0.6deg);
  box-shadow:
    0 3px 0 #c66b18,
    0 13px 20px rgba(120, 64, 18, 0.28);
}

.home-page .hero-actions .btn-content {
  transform: rotate(0.55deg);
  background: linear-gradient(180deg, #f2ecdc, #e0d2b7);
  border: 1px solid rgba(53, 96, 61, 0.42);
  box-shadow:
    0 2px 0 rgba(58, 101, 66, 0.35),
    0 9px 16px rgba(36, 62, 44, 0.2);
}

.home-page .hero-actions .btn-content:hover {
  transform: translateY(-2px) rotate(0.5deg);
  box-shadow:
    0 3px 0 rgba(58, 101, 66, 0.35),
    0 12px 19px rgba(36, 62, 44, 0.22);
}

.home-page .home-welcome::after {
  right: -30px;
  top: -38px;
  width: 190px;
  height: 190px;
  border: 3px solid rgba(47, 107, 63, 0.28);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  opacity: 0.8;
  transform: rotate(-12deg);
}

.home-page .home-sidebar {
  border-left-width: 0;
  border-top: 7px solid var(--green-700);
  border-radius: 26px 18px 24px 30px;
  background: linear-gradient(180deg, #fffcf6, #f1e8d8);
  border: 1px solid rgba(45, 82, 53, 0.16);
  box-shadow:
    0 3px 0 rgba(219, 207, 182, 0.92),
    0 16px 26px rgba(39, 54, 36, 0.16);
}

.home-page .news-section {
  padding-top: 10px;
}

.home-page .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .news-card {
  background: rgba(255, 253, 248, 0.9);
  border-radius: 18px 12px 16px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding-bottom: 12px;
}

.home-page .news-card:nth-child(2) {
  transform: rotate(-0.7deg);
}

.home-page .news-card:nth-child(3) {
  transform: rotate(0.9deg);
}

.home-page .news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.home-page .news-card .news-date,
.home-page .news-card h3,
.home-page .news-card p {
  padding-inline: 12px;
}

.home-page .news-card .news-date {
  font-size: 12px;
  margin-top: 10px;
  color: #8d6f3d;
  font-weight: 700;
}

.home-page .news-card h3 {
  margin: 4px 0 6px;
  color: var(--green-700);
  font-size: 36px;
  line-height: 0.92;
}

.home-page .news-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.home-page .center-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.home-page .visit-section {
  padding-top: 22px;
}

.home-page .visit-section .button-large {
  border-radius: 26px 18px 22px 28px;
}

.home-page .visit-section .button-large:nth-child(2n) {
  border-radius: 18px 26px 16px 24px;
  clip-path: polygon(4% 4%, 98% 3%, 100% 18%, 97% 95%, 82% 100%, 14% 96%, 0 84%, 1% 10%);
}

.home-page .visit-section .button-large:nth-child(3n) {
  border-radius: 24px 14px 26px 18px;
  clip-path: polygon(3% 8%, 95% 0, 100% 23%, 96% 92%, 86% 100%, 17% 98%, 0 80%, 2% 12%);
}

.home-page .features .feature {
  border-radius: 20px 14px 22px 18px;
}

.home-page .features .feature:nth-child(2n) {
  border-radius: 14px 24px 16px 22px;
  clip-path: polygon(2% 10%, 96% 0, 100% 20%, 96% 93%, 82% 100%, 18% 96%, 0 84%, 1% 14%);
}

.home-page .features .feature:nth-child(3n) {
  border-radius: 22px 14px 20px 12px;
  clip-path: polygon(4% 4%, 98% 2%, 100% 16%, 98% 94%, 85% 100%, 12% 97%, 0 86%, 0 10%);
}

.home-page .events-band {
  background: rgba(199, 173, 146, 0.66);
  border-radius: 18px;
  overflow: hidden;
}

.home-page .tear-band::before,
.home-page .tear-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 0;
  background: rgba(191, 164, 136, 0.74);
}

.home-page .tear-band::before {
  top: -2px;
  clip-path: polygon(
    0 100%, 4% 64%, 10% 88%, 17% 62%, 25% 90%, 34% 60%, 44% 88%, 55% 62%,
    66% 92%, 77% 62%, 87% 88%, 94% 66%, 100% 100%
  );
}

.home-page .tear-band::after {
  bottom: -2px;
  clip-path: polygon(
    0 0, 6% 34%, 14% 12%, 23% 36%, 33% 10%, 45% 34%, 56% 8%, 67% 34%,
    78% 10%, 88% 34%, 95% 12%, 100% 0, 100% 100%, 0 100%
  );
}

.home-page .events-band .events-intro {
  border-radius: 20px 14px 24px 16px;
}

.home-page .price {
  border-radius: 20px 14px 18px 22px;
}

.home-page .animal {
  border-radius: 24px 18px 20px 28px;
}

.home-page .events-band .container {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  padding-bottom: 24px;
}

.home-page .discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-page .discover-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: linear-gradient(180deg, #3f7248, #2f5f39);
  border-radius: 18px 12px 20px 14px;
  color: #f5f4ef;
  font-weight: 800;
  text-decoration: none;
  clip-path: polygon(3% 6%, 97% 2%, 100% 18%, 97% 94%, 86% 100%, 14% 97%, 0 84%, 1% 11%);
}

.home-page .discover-card:hover {
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-1px) rotate(0.3deg);
}

.home-page .discover-card:nth-child(2n) {
  border-radius: 14px 22px 12px 20px;
  clip-path: polygon(5% 3%, 97% 0, 100% 20%, 96% 95%, 83% 100%, 12% 96%, 0 82%, 2% 8%);
}

.home-page .footer {
  margin-top: 36px;
  background: rgba(198, 173, 146, 0.74);
  border-top: 0;
  border-radius: 0;
}

.home-page .sponsor-link {
  background: rgba(248, 240, 224, 0.9);
}

.home-page .sponsors .btn-content:nth-child(2n) {
  border-radius: 20px 12px 18px 14px;
}

.home-page .tear-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 24px;
  background: rgba(198, 173, 146, 0.74);
  clip-path: polygon(
    0 100%, 5% 68%, 12% 90%, 20% 60%, 29% 92%, 39% 58%, 50% 91%, 60% 60%,
    71% 90%, 81% 62%, 90% 88%, 96% 70%, 100% 100%
  );
}

.sub-page .hero-actions .btn-ticket,
.sub-page .hero-actions .btn-content {
  transform: none;
}

.sub-page .hero-actions .btn-ticket:hover,
.sub-page .hero-actions .btn-content:hover {
  transform: translateY(-1px);
}

@media (max-width: 1000px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

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

  .grid-6,
  .prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .animals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-page .news-grid,
  .home-page .discover-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .navbar .container {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .topbar .container,
  .container {
    padding-inline: 16px;
  }

  .grid-6,
  .features,
  .prices,
  .animals,
  .tierarten-columns {
    grid-template-columns: 1fr;
  }

  .home-page .hero-stage {
    min-height: 360px;
  }

  .home-page .quick-links {
    position: static;
    margin: 14px 16px 10px;
    grid-template-columns: 1fr;
  }

  .home-page .home-intro-layout {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .home-page .home-welcome h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .home-page .news-grid,
  .home-page .discover-grid {
    grid-template-columns: 1fr;
  }
}
