@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap"); :root { --font-handwriting: "Dancing Script", cursive; --font-serif: "Playfair Display", Georgia, serif; } h1 { text-shadow: 3px 3px 6px #000; } /* ---- LEATHER COVER ---- */ .book-wrapper { display: flex; justify-content: center; align-items: center; min-height: 720px; padding: 40px 0; } .book-container { position: relative; width: 960px; max-width: 100%; } .book-cover { position: relative; width: 100%; min-height: 620px; background: radial-gradient(ellipse at 30% 20%, rgba(80,35,10,0.3) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(60,25,5,0.2) 0%, transparent 50%), linear-gradient(165deg, #1a0e06 0%, #0d0500 30%, #160a04 60%, #0a0300 100%); border-radius: 4px 20px 20px 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.85), 0 8px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03); padding: 38px 48px; display: flex; gap: 0; border: 1px solid #2a1408; overflow: hidden; } .book-cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,255,255,0.008) 2px 4px), repeating-linear-gradient(0deg, transparent 0 30px, rgba(0,0,0,0.03) 30px 31px); border-radius: inherit; pointer-events: none; z-index: 0; } .book-cover::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(160,100,50,0.1); border-radius: 16px; pointer-events: none; z-index: 0; } /* ---- SPINE ---- */ .book-spine { width: 34px; flex-shrink: 0; background: linear-gradient(90deg, #080300, #1a0e06 25%, #2a1408 50%, #1a0e06 75%, #080300); margin: -38px 22px -38px -48px; border-radius: 20px 4px 4px 20px; display: flex; align-items: center; justify-content: center; box-shadow: inset -3px 0 12px rgba(0,0,0,0.7), 4px 0 20px rgba(0,0,0,0.5); position: relative; z-index: 2; } .book-spine::after { content: "GÄSTEBUCH"; writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--font-head); font-size: 0.95rem; color: #b8956a; letter-spacing: 8px; transform: rotate(180deg); text-shadow: 0 0 8px rgba(180,140,80,0.15), 0 1px 3px rgba(0,0,0,0.5); } .book-spine-ribs { position: absolute; left: 0; right: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 0; pointer-events: none; } .book-spine-ribs span { display: block; height: 4px; background: linear-gradient(90deg, transparent 0%, rgba(120,70,30,0.2) 30%, rgba(120,70,30,0.3) 50%, rgba(120,70,30,0.2) 70%, transparent 100%); margin: 0 3px; border-radius: 2px; } /* ---- PAGE STACK (edges) ---- */ .page-stack { display: flex; gap: 0; flex: 1; position: relative; z-index: 1; } .page-stack::before { content: ""; position: absolute; top: -8px; left: -5px; right: -5px; bottom: -8px; background: linear-gradient(170deg, #c8b48a, #b8a078 40%, #a89060); border-radius: 2px 10px 10px 2px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 15px rgba(0,0,0,0.2); z-index: -1; } .page-stack::after { content: ""; position: absolute; top: -5px; left: -3px; right: -3px; bottom: -5px; background: linear-gradient(170deg, #d8c8a0, #c8b890); border-radius: 2px 10px 10px 2px; box-shadow: 0 1px 8px rgba(0,0,0,0.1); z-index: -1; } /* ---- PAGES ---- */ .book-page { flex: 1; background: linear-gradient(to bottom, #f5ead0 0%, #ede0c0 40%, #e5d4b0 100%); padding: 32px 28px 28px; box-shadow: inset 0 0 60px rgba(100,50,20,0.05); position: relative; overflow-y: auto; height: 560px; } .book-page:first-child { border-right: 1px solid #d8c49c; background: linear-gradient(to bottom, #f5ead0 0%, #ede0c0 40%, #e5d4b0 100%), linear-gradient(to right, rgba(0,0,0,0.04) 0%, transparent 8%); } .book-page:last-child { background: linear-gradient(to bottom, #f5ead0 0%, #ede0c0 40%, #e5d4b0 100%), linear-gradient(to left, rgba(0,0,0,0.04) 0%, transparent 8%); } /* page texture overlay */ .book-page::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(transparent 0 27px, rgba(120,60,20,0.06) 27px 28px), radial-gradient(ellipse at 50% 0%, rgba(160,100,40,0.03) 0%, transparent 70%); pointer-events: none; } .book-page::-webkit-scrollbar { width: 5px; } .book-page::-webkit-scrollbar-track { background: transparent; } .book-page::-webkit-scrollbar-thumb { background: #c8b48a; border-radius: 3px; } .page-number-bottom { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-family: var(--font-serif); font-size: 0.75rem; color: #a89070; font-style: italic; letter-spacing: 3px; pointer-events: none; } /* ---- CENTER BINDING / FOLD ---- */ .page-stack > .book-page:first-child + .book-page { position: relative; } .page-stack > .book-page:first-child + .book-page::after { content: ""; position: absolute; top: 0; left: -12px; width: 24px; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.08) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.08) 100% ); pointer-events: none; } /* ---- RIBBON ---- */ .bookmark-ribbon { position: absolute; bottom: -30px; right: 90px; width: 18px; height: 75px; background: linear-gradient(to bottom, #bb2200, #771100); border-radius: 0 0 10px 10px; box-shadow: 2px 4px 15px rgba(0,0,0,0.5); transform: rotate(2deg); z-index: 5; } .bookmark-ribbon::after { content: ""; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 14px solid #771100; } /* ---- LEFT PAGE: FORM ---- */ .page-left { display: flex; flex-direction: column; gap: 16px; } .page-left h2 { font-family: var(--font-head); color: #3d1a05; text-align: center; margin: 0 0 16px 0; font-size: 1.6rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.15); letter-spacing: 2px; } .form-group { display: flex; flex-direction: column; gap: 4px; } .form-group label { font-family: var(--font-serif); font-size: 0.8rem; color: #7a5a3a; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; } .form-group input, .form-group textarea { padding: 10px 12px; border: 1px solid #c8b090; border-radius: 3px; background: rgba(255,252,240,0.85); color: #3a2a1a; font-family: var(--font-handwriting); font-size: 1.05rem; resize: none; transition: border-color 0.2s, box-shadow 0.2s; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #8a6030; box-shadow: 0 0 0 3px rgba(138,96,48,0.12); } .form-group textarea { min-height: 140px; } .btn-submit { width: 100%; box-sizing: border-box; background: linear-gradient(135deg, #3d1a05, #2a0f02); color: #d4b890; border: 1px solid #6a3a1a; padding: 11px; border-radius: 4px; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 3px; cursor: pointer; transition: all 0.25s; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .btn-submit:hover { background: linear-gradient(135deg, #5a2a10, #3d1a05); color: #e8d0b0; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.3); } /* ---- RIGHT PAGE: ENTRIES ---- */ .page-right { display: flex; flex-direction: column; } .page-right h2 { font-family: var(--font-head); color: #3d1a05; text-align: center; margin: 0 0 16px 0; font-size: 1.6rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.15); letter-spacing: 2px; } .page-right h2 span { color: #7a5a3a; } .entries-container { flex: 1; overflow-y: auto; padding-right: 6px; } /* ---- ENTRY CARDS -> HANDWRITTEN TEXT ---- */ .entry { margin-bottom: 22px; position: relative; padding: 0 0 14px 0; border-bottom: 1px dashed rgba(120,60,20,0.15); } .entry:last-child { border-bottom: none; margin-bottom: 0; } .entry-pending { opacity: 0.35; } .entry-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 8px; } .entry-name { font-family: var(--font-handwriting); font-weight: 700; font-size: 1.1rem; color: #5a3010; } .entry-date { font-size: 0.7rem; color: #a09078; white-space: nowrap; } .entry-message { font-family: var(--font-handwriting); color: #3a2a1a; font-size: 1rem; line-height: 1.7; } .entry-reply { margin-top: 10px; padding: 8px 0 0 16px; border-top: 1px dotted rgba(120,60,20,0.1); font-size: 0.85rem; color: #6a5a4a; } .entry-reply strong { font-family: var(--font-handwriting); color: #5a3010; font-size: 0.95rem; } /* ---- ADMIN ---- */ .entry .btn-approve, .entry .btn-delete { padding: 3px 8px; border: none; border-radius: 3px; cursor: pointer; font-size: 0.7rem; font-weight: 700; transition: 0.2s; } .entry .btn-approve { background: #3a7a3a; color: #fff; } .entry .btn-approve:hover { background: #4a9a4a; } .entry .btn-delete { background: #7a2a2a; color: #fff; } .entry .btn-delete:hover { background: #9a3a3a; } /* ---- PAGINATION ---- */ .page-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #d8c49c; } .btn-page { background: transparent; color: #5a3a1a; border: 1px solid #c8b090; border-radius: 4px; padding: 5px 16px; font-family: var(--font-serif); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; } .btn-page:hover:not(:disabled) { background: #c8b090; color: #fff; } .btn-page:disabled { opacity: 0.25; cursor: not-allowed; } .page-nav span { font-family: var(--font-serif); font-size: 0.8rem; color: #a09078; } /* ---- RESPONSIVE ---- */ @media (max-width: 1000px) { .book-container { width: 100%; } .page-stack { flex-direction: column; } .book-page { height: 420px; } .book-page:first-child { border-right: none; border-bottom: 1px solid #d8c49c; } .book-spine { display: none; } .book-cover { padding: 20px; border-radius: 12px; } .page-stack::before, .page-stack::after { display: none; } .bookmark-ribbon { right: 40px; } } @media (max-width: 600px) { .book-wrapper { padding: 10px 0 20px; } .book-cover { padding: 12px; } .book-page { padding: 20px 16px; height: 380px; } .page-left h2, .page-right h2 { font-size: 1.2rem; } .form-group input, .form-group textarea { font-size: 0.95rem; } } '; require '_header.php'; ?>

Unser Gästebuch


Schreib uns eine Nachricht! Deine Einträge werden nach Prüfung freigeschaltet.

Neuer Eintrag

— 1 —

Einträge (Seite 1)

— 2 —
'; require '_footer.php';