/* ===================================================
   Daniel Publishing
   Version 1.0
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --gold:#b58b39;
    --gold-dark:#8f6d29;

    --bg:#f6f4ef;
    --white:#ffffff;

    --text:#222;
    --text-light:#666;

    --radius:18px;

    --shadow:
        0 20px 40px rgba(0,0,0,.08);

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.7;

}

/* ============================= */

.container{

    width:min(1200px,92%);
    margin:auto;

}

/* ============================= */

header{

    background:#fff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:
        0 4px 20px rgba(0,0,0,.06);

}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 0;

}

.logo{

    font-size:30px;

    font-weight:700;

    color:var(--gold);

    letter-spacing:.5px;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:#444;

    font-weight:600;

    transition:.25s;

}

nav a:hover{

    color:var(--gold);

}

.active{

    color:var(--gold);

}

/* ============================= */

.hero{

    padding:90px 0;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    align-items:center;

}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    background:#efe8d9;

    color:var(--gold-dark);

    border-radius:50px;

    margin-bottom:30px;

    font-size:15px;

}

.hero h1{

    font-size:64px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero p{

    font-size:21px;

    color:var(--text-light);

    margin-bottom:40px;

    max-width:700px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn{

    display:inline-block;

    text-decoration:none;

    padding:18px 36px;

    border-radius:12px;

    font-weight:bold;

    transition:.3s;

}

.btn-primary{

    background:var(--gold);

    color:white;

}

.btn-primary:hover{

    background:var(--gold-dark);

    transform:translateY(-3px);

}

.btn-secondary{

    background:white;

    color:#333;

    box-shadow:var(--shadow);

}

.btn-secondary:hover{

    transform:translateY(-3px);

}

.hero-image{

    text-align:center;

}

.hero-image img{

    width:100%;

    max-width:360px;

    filter:drop-shadow(0 30px 35px rgba(0,0,0,.18));

}

/* ============================= */

.books-section{

    padding:80px 0;

}

.section-title{

    text-align:center;

    margin-bottom:55px;

}

.section-title h2{

    font-size:42px;

    margin-bottom:10px;

}

.section-title p{

    color:#777;

}

.book-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.book-card{

    background:white;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.3s;

}

.book-card:hover{

    transform:translateY(-10px);

}

.book-card img{

    width:100%;

    display:block;

    aspect-ratio:3/4;

    object-fit:cover;

    background:#ddd;

}

.book-content{

    padding:28px;

}

.category{

    display:inline-block;

    background:#f2e8cf;

    color:var(--gold-dark);

    padding:6px 14px;

    border-radius:30px;

    font-size:13px;

    margin-bottom:15px;

}

.book-content h3{

    font-size:28px;

    margin-bottom:15px;

}

.book-content p{

    color:#666;

    margin-bottom:25px;

}

.details{

    text-decoration:none;

    color:var(--gold);

    font-weight:bold;

}

.details:hover{

    color:var(--gold-dark);

}

/* ============================= */

footer{

    background:#1d1d1d;

    color:white;

    margin-top:100px;

    padding:60px 0;

}

.footer-logo{

    font-size:28px;

    font-weight:bold;

    color:var(--gold);

    margin-bottom:15px;

}

/* ============================= */

@media(max-width:980px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero p{

margin:auto auto 40px;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

.header-container{

flex-direction:column;

gap:25px;

}

}

@media(max-width:700px){

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.btn{

width:100%;

text-align:center;

}

.hero-buttons{

flex-direction:column;

}

.section-title h2{

font-size:34px;

}

.logo{

font-size:24px;


/* ===================================================
   Buchdetailseite
=================================================== */

.book-detail{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:60px;

    align-items:start;

}

.book-detail-image img{

    width:100%;

    border-radius:18px;

    display:block;

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

.book-detail-content h1{

    font-size:52px;

    margin:20px 0 10px;

    line-height:1.15;

}

.book-detail-content h2{

    font-size:24px;

    color:#777;

    font-weight:400;

    margin-bottom:30px;

}

.book-meta{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    margin-bottom:30px;

}

.book-meta p{

    margin:0;

    color:#555;

}

.book-description{

    font-size:18px;

    color:#444;

    margin-bottom:40px;

    line-height:1.9;

}

/* ===================================================
   Footer
=================================================== */

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

}

.footer-grid h3{

    color:var(--gold);

    margin-bottom:20px;

    font-size:28px;

}

.footer-grid h4{

    color:white;

    margin-bottom:20px;

}

.footer-grid p{

    color:#bbbbbb;

}

.footer-grid ul{

    list-style:none;

    padding:0;

}

.footer-grid li{

    margin-bottom:12px;

}

.footer-grid a{

    color:#bbbbbb;

    text-decoration:none;

    transition:.25s;

}

.footer-grid a:hover{

    color:white;

}

.footer-bottom{

    margin-top:50px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.1);

    text-align:center;

    color:#888;

}

/* ===================================================
   Responsive Buchdetail
=================================================== */

@media(max-width:980px){

.book-detail{

grid-template-columns:1fr;

}

.book-detail-image{

text-align:center;

}

.book-detail-image img{

max-width:420px;

margin:auto;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.book-meta{

flex-direction:column;

gap:10px;

}

}

@media(max-width:700px){

.book-detail-content h1{

font-size:36px;

}

.book-detail-content h2{

font-size:20px;

}

.book-description{

font-size:16px;

/* ===================================================
   Suche
=================================================== */

.search-form{

    margin:40px 0;

}

.search-box{

    display:flex;

    background:#ffffff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.search-box input{

    flex:1;

    border:none;

    padding:20px;

    font-size:17px;

    outline:none;

    background:#fff;

}

.search-box button{

    border:none;

    background:var(--gold);

    color:#fff;

    padding:0 30px;

    cursor:pointer;

    font-size:16px;

    font-weight:bold;

    transition:.25s;

}

.search-box button:hover{

    background:var(--gold-dark);

}

@media(max-width:700px){

.search-box{

flex-direction:column;

}

.search-box button{

padding:18px;

/* ===================================================
   Kategorien
=================================================== */

.category-menu{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    justify-content:center;

    margin-bottom:45px;

}

.category-button{

    background:#ffffff;

    color:#444;

    text-decoration:none;

    padding:12px 22px;

    border-radius:30px;

    box-shadow:0 8px 18px rgba(0,0,0,.08);

    transition:.25s;

    font-weight:600;

}

.category-button:hover{

    background:var(--gold);

    color:#ffffff;

/* ===================================================
   Book Card Component
=================================================== */

.book-image-link{

    display:block;

    text-decoration:none;

}

.book-title{

    color:inherit;

    text-decoration:none;

    transition:.25s;

}

.book-title:hover{

    color:var(--gold);

}

.book-subtitle{

    font-size:16px;

    font-weight:500;

    color:#777;

    margin:10px 0 18px;

}

.book-card-footer{

    margin-top:auto;

/* ===================================================
   Kategorien Startseite
=================================================== */

.category-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.category-card{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    background:#ffffff;

    padding:40px 25px;

    border-radius:18px;

    text-decoration:none;

    color:#222;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.3s;

}

.category-card:hover{

    transform:translateY(-8px);

    background:var(--gold);

    color:#ffffff;

}

.category-icon{

    font-size:52px;

    margin-bottom:18px;

}

.category-card h3{

    margin-bottom:10px;

    font-size:26px;

}

.category-card p{

    opacity:.8;

}

}
}

}