@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: relative;
    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.is-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
}

.navbar-anchor {
    height: 0;
}

.navbar .container {
    max-width: 1360px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo links actions";
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
}

.logo {
    grid-area: 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 {
    grid-area: 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 {
    grid-area: actions;
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
    grid-area: toggle;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(36, 84, 47, 0.28);
    background: linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(240, 230, 207, 0.98));
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 5px 12px rgba(38, 63, 42, 0.08);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2.5px;
    background: var(--green-700);
    border-radius: 999px;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:hover {
    border-color: rgba(36, 84, 47, 0.45);
    box-shadow: 0 8px 16px rgba(38, 63, 42, 0.14);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(63, 122, 76, 0.5);
    outline-offset: 2px;
}

.navbar.is-open .nav-toggle {
    background: rgba(235, 223, 197, 0.98);
}

.navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.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, .section-subtitle {
    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-bigtitle {
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
}

.section-title::before, .section-bigtitle::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);
}

.blog-list {
    align-items: stretch;
}

.blog-card {
    grid-template-rows: 230px auto;
}

.blog-card img,
.blog-image-fallback {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-image-fallback {
    background: linear-gradient(180deg, rgba(57, 104, 65, 0.2), rgba(243, 234, 214, 0.82));
}

.blog-date {
    margin-bottom: 6px;
    color: var(--orange-600);
    font-weight: 800;
    font-size: 13px;
}

.blog-summary {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
}

.blog-article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(255, 253, 248, 0.96);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.blog-article-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.blog-article-content {
    padding: 20px;
}

.blog-article-content h2 {
    margin: 0 0 12px;
    color: var(--green-700);
}

.blog-article-content p {
    margin: 0 0 12px;
    line-height: 1.65;
}

.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;
}

.anlagen-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.anlagen-layout p {
    margin: 0;
    line-height: 1.62;
}

.anlagen-image {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.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;
}

.footer-legal {
    margin-top: 16px;
    font-size: 14px;
}

.footer-legal a {
    color: var(--green-800);
    font-weight: 700;
}

.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, .section-subtitle, .section-bigtitle,
.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-grid--split {
    grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.home-page .news-grid--split .news-grid-divider {
    grid-column: 2;
    grid-row: 1;
    width: 2px;
    align-self: stretch;
    justify-self: center;
    margin: 8px 0;
    background: rgba(243, 146, 43, 0.72);
}

.home-page .news-grid--split .news-card:nth-of-type(1) {
    grid-column: 1;
}

.home-page .news-grid--split .news-card:nth-of-type(2) {
    grid-column: 3;
}

.home-page .news-grid--split .news-card:nth-of-type(3) {
    grid-column: 4;
}

.home-page .news-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    margin-bottom: 2px;
}

.home-page .news-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-700);
    text-decoration: none;
}

.home-page .news-links a:hover {
    text-decoration: underline;
}

.home-page .news-links-sep {
    width: 2px;
    height: 14px;
    border-radius: 999px;
    background: rgba(243, 146, 43, 0.7);
}

.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-of-type(2) {
    transform: rotate(-0.7deg);
}

.home-page .news-card:nth-of-type(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));
    }

    .footer-legal {
        margin-top: 14px;
    }

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

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

    .blog-article {
        grid-template-columns: 1fr;
    }

    .blog-article-content {
        padding: 0 16px 16px;
    }

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

    .anlagen-layout {
        grid-template-columns: 1fr;
    }

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

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

    .home-page .news-grid--split .news-grid-divider {
        display: none;
    }

    .home-page .news-grid--split .news-card {
        grid-column: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .navbar .container {
        position: relative;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo actions toggle";
        gap: 10px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 30;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        border: 1px solid rgba(35, 74, 45, 0.18);
        border-radius: 16px;
        background: rgba(250, 244, 230, 0.98);
        box-shadow: 0 16px 28px rgba(25, 42, 31, 0.2);
        backdrop-filter: blur(8px);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        visibility: hidden;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .navbar.is-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .nav-actions {
        justify-self: end;
    }

    .nav-toggle {
        display: inline-flex;
    }

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

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

    .blog-card {
        grid-template-rows: 210px auto;
    }

    .blog-card img,
    .blog-image-fallback {
        height: 210px;
    }

    .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;
    }

    .home-page .news-grid--split {
        grid-template-columns: 1fr;
    }
    .contact-captcha-wrap {
        grid-template-columns: 1fr;
    }

    .contact-input--captcha {
        max-width: 100%;
    }
}

    .blog-admin-login {
        max-width: 480px;
    }

    .blog-admin-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
        gap: 18px;
        align-items: start;
    }

    .blog-admin-layout h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: var(--green-700);
    }

    .blog-admin-posts {
        display: grid;
        gap: 10px;
    }

    .blog-admin-post-item {
        border: 1px solid rgba(47, 94, 58, 0.16);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.82);
        padding: 10px;
        display: grid;
        gap: 8px;
    }

    .blog-admin-post-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .blog-admin-post-actions form {
        margin: 0;
    }

    @media (max-width: 1000px) {
        .blog-admin-layout {
            grid-template-columns: 1fr;
        }
    }

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
}

.contact-panel {
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(47, 94, 58, 0.16);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.contact-panel--info {
    border-radius: 24px 16px 22px 28px;
}

.contact-panel--form {
    border-radius: 20px 26px 18px 24px;
}

.contact-feedback {
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 12px;
    font-size: 14px;
}

.contact-feedback--success {
    background: rgba(63, 122, 76, 0.12);
    color: #1f5b2c;
    border: 1px solid rgba(63, 122, 76, 0.28);
}

.contact-feedback--error {
    background: rgba(243, 146, 43, 0.11);
    color: #6b3b0d;
    border: 1px solid rgba(221, 124, 31, 0.35);
    padding-left: 28px;
}

.contact-form-row {
    margin-bottom: 12px;
}

.contact-label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #1f2c22;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border: 1px solid rgba(47, 94, 58, 0.24);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
    background: #fffdf8;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--orange-600);
    box-shadow: 0 0 0 3px rgba(221, 124, 31, 0.18);
    background: #fff;
}

.contact-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-captcha-wrap {
    display: grid;
    grid-template-columns: auto minmax(120px, 180px);
    gap: 10px;
    align-items: center;
}

.contact-captcha {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 12px 8px 14px 10px;
    background: linear-gradient(180deg, rgba(247, 240, 226, 0.96), rgba(231, 219, 194, 0.94));
    border: 1px dashed rgba(47, 94, 58, 0.3);
    color: var(--green-700);
    font-weight: 800;
}

.contact-input--captcha {
    max-width: 180px;
}

.contact-form .btn-ticket {
    border: 0;
    cursor: pointer;
}

.contact-hp {
    display: none;
}
