/*
Theme Name: Stelmecke Modern
Theme URI: https://stelmecke.de/
Author: Marfbot
Description: Warmes, modernes WordPress-Theme für die Bäckerei Stelmecke.
Version: 0.3.0
Text Domain: stelmecke-modern
*/
:root { --flour:#fff8ee; --crumb:#f7e7bf; --crust:#820000; --dark:#261715; --red:#b00000; --red-deep:#7b0000; --gold:#f0d000; --gold-dark:#e09a00; --muted:#77645d; --paper:#fffdf8; --line:rgba(130,0,0,.16); --shadow:0 18px 45px rgba(38,23,21,.12); }
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--dark);background:var(--red);line-height:1.55}
a{color:inherit}
.site-header{position:sticky;top:0;z-index:10;background:rgba(123,0,0,.94);border-bottom:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px)}
.header-inner{max-width:1180px;margin:0 auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;color:#fff}
.brand-logo{display:block;width:auto;height:54px;max-width:min(260px,52vw);object-fit:contain}
.brand-mark{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--red),var(--crust));font-family:Georgia,serif;font-size:24px}
.nav-menu{display:flex;align-items:center;flex-wrap:wrap;gap:4px;list-style:none;margin:0;padding:0}
.nav-menu a{display:block;padding:9px 12px;border-radius:999px;text-decoration:none;color:#fff;font-weight:650;font-size:15px}
.nav-menu a:hover{background:rgba(255,255,255,.13)}
.hero{min-height:74vh;display:grid;align-items:end;background:linear-gradient(90deg,rgba(38,23,21,.74),rgba(130,0,0,.58),rgba(176,0,0,.28)),linear-gradient(135deg,var(--red-deep),var(--red) 70%,#d31111);color:#fff}
.hero-inner{max-width:1180px;margin:0 auto;padding:84px 22px 72px;width:100%;text-align:center}
.hero-logo{display:block;width:min(680px,92vw);height:auto;margin:0 auto 24px;filter:drop-shadow(0 14px 24px rgba(38,23,21,.26))}
.eyebrow{margin:0 0 12px;color:#ffe0a9;font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.08em}
h1,h2,h3{line-height:1.08;letter-spacing:0}
h1{max-width:780px;margin:0;font-size:clamp(42px,7vw,82px)}
.hero-copy{max-width:620px;margin:18px 0 0;font-size:20px;color:rgba(255,255,255,.88)}
.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:28px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:999px;text-decoration:none;font-weight:800;border:1px solid transparent}
.button.primary{background:var(--red);color:#fff}
.button.secondary{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.38)}
.section{padding:74px 22px;background:var(--red)}
.section.alt{background:var(--red-deep)}
.wrap{max-width:1180px;margin:0 auto}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}
.section-head h2{margin:0;font-size:clamp(30px,4vw,48px);color:#fff}
.section-head p{max-width:520px;margin:0;color:rgba(255,255,255,.82)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.card-media{min-height:180px;background:linear-gradient(135deg,var(--crumb),var(--gold));display:flex;align-items:center;justify-content:center}
.card-media img{width:100%;height:220px;object-fit:cover;display:block}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 42px}
.category-card{position:relative;min-height:220px;border-radius:8px;overflow:hidden;text-decoration:none;color:#fff;background:linear-gradient(135deg,var(--crust),var(--red));box-shadow:var(--shadow)}
.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(38,23,21,.1),rgba(38,23,21,.72))}
.category-card-content{position:absolute;left:18px;right:18px;bottom:18px;z-index:1}
.category-card h2{margin:0 0 8px;font-size:28px;color:#fff}
.category-card p{margin:0;color:rgba(255,255,255,.84)}
.term-products{margin-top:36px}
.term-products h2{font-size:32px;color:var(--crust);margin:0 0 16px}
.product-group{margin-top:42px}
.product-section-title{font-size:clamp(28px,3vw,38px);color:#fff;margin:0 0 18px}
.product-placeholder{min-height:220px;color:var(--crust);font-weight:800}
.product-placeholder span{display:inline-flex;align-items:center;justify-content:center;width:112px;height:112px;border-radius:50%;background:rgba(255,255,255,.68);border:1px solid rgba(130,0,0,.16)}
.card-body{padding:20px}
.card h3{margin:0 0 9px;font-size:22px;color:var(--crust)}
.card p{margin:0 0 10px;color:var(--muted)}
.product-card-meta{font-size:14px;color:rgba(38,23,21,.58)}
.product-badge{display:inline-block;margin:0 8px 10px 0;padding:4px 10px;border-radius:999px;background:rgba(130,0,0,.1);color:var(--crust);font-size:13px;font-weight:800}
.product-badge-alt{background:rgba(224,154,0,.16);color:#8a4f00}
.product-price{font-size:18px;font-weight:850;color:var(--crust)}
.branch-details{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0}
.branch-box{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px;box-shadow:var(--shadow)}
.branch-box h2{margin:0 0 14px;color:var(--crust);font-size:26px}
.branch-box p{margin:0 0 8px;color:var(--muted)}
.branch-hours{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.branch-hours li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding-bottom:8px;color:var(--muted)}
.branch-hours li:last-child{border-bottom:0;padding-bottom:0}
.branch-hours strong{color:var(--dark)}
.branch-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.branch-actions .button.secondary{background:var(--crumb);color:var(--crust);border-color:var(--line)}
.feature-band{background:linear-gradient(135deg,var(--crust),var(--red));color:#fff}
.feature-band .section-head h2,.feature-band .section-head p{color:#fff}
.offer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.offer{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:8px;overflow:hidden}
.offer-media{background:#fff}
.offer-media img{width:100%;height:auto;display:block}
.offer-body{padding:24px}
.offer h3{margin-top:0}
.footer{background:var(--dark);color:rgba(255,255,255,.78);padding:36px 22px}
.footer-inner{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.page-main{padding:64px 22px;background:var(--red);color:#fff}
.page-main .wrap{max-width:920px}
.page-title{font-size:clamp(36px,5vw,58px);color:#fff;margin:0 0 22px}
.back-link-wrap{margin:0 0 18px}
.back-link{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;text-decoration:none;font-weight:700}
.back-link:hover{background:rgba(255,255,255,.2)}
.single-media{margin:0 0 24px;border-radius:8px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.single-media img{width:100%;height:auto;display:block}
.single-summary{max-width:760px;margin:0 0 24px;font-size:19px;color:rgba(255,255,255,.88)}
.single-summary p{margin:0}
.single-product-meta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:0 0 24px;color:rgba(255,255,255,.88);font-size:18px}
.single-product-meta p{margin:0}
.single-product-price{font-size:28px;font-weight:850;color:#fff}
.wp-block-button__link{border-radius:999px;background:var(--red)}
.subcategory-grid{margin-top:36px}
.torten-page{padding-bottom:88px}
.torten-page .wrap{max-width:1180px}
.torten-intro{max-width:760px;margin:0 0 28px;color:rgba(255,255,255,.88);font-size:18px}
.torten-jumpnav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}
.torten-jumpnav a{display:inline-flex;align-items:center;min-height:42px;padding:9px 16px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none;font-weight:800}
.torten-jumpnav a:hover{background:rgba(255,255,255,.2)}
.torte-section{margin-top:32px;scroll-margin-top:108px}
.torte-card{overflow:hidden;background:var(--paper);border:1px solid rgba(255,255,255,.32);border-radius:18px;box-shadow:0 22px 52px rgba(38,23,21,.22);color:var(--dark)}
.torte-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:24px 28px 18px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fffdf8,#f9ead0)}
.torte-card-head h2{margin:0;color:var(--crust);font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5vw,58px)}
.torte-validity{margin:0;padding:6px 11px;border-radius:999px;background:rgba(130,0,0,.09);color:var(--crust);font-size:13px;font-weight:850;white-space:nowrap}
.torte-table-wrap{overflow-x:auto}
.torte-table{width:100%;border-collapse:collapse;table-layout:fixed}
.torte-table th,.torte-table td{padding:15px 14px;border-bottom:1px solid rgba(130,0,0,.1);vertical-align:middle}
.torte-table thead th{background:#fff8ee;color:var(--dark);text-align:left;font-size:14px;line-height:1.25}
.torte-table thead th:first-child{width:31%;padding-left:28px}
.torte-table thead small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:600}
.torte-table tbody tr:last-child th,.torte-table tbody tr:last-child td{border-bottom:0}
.torte-table tbody tr{--row-accent:var(--crust)}
.torte-table tbody tr:nth-child(7n+1){--row-accent:#087c3f}
.torte-table tbody tr:nth-child(7n+2){--row-accent:#7a665c}
.torte-table tbody tr:nth-child(7n+3){--row-accent:#455f92}
.torte-table tbody tr:nth-child(7n+4){--row-accent:#c55b28}
.torte-table tbody tr:nth-child(7n+5){--row-accent:#b58200}
.torte-table tbody tr:nth-child(7n+6){--row-accent:#a51d6a}
.torte-table tbody tr:nth-child(7n){--row-accent:#008ac7}
.torte-product{padding-left:28px!important;text-align:left;color:var(--row-accent);font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.18}
.torte-product small{display:block;margin-top:4px;color:var(--muted);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;font-weight:600;line-height:1.35}
.torte-price{display:block;color:var(--row-accent);font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.05;white-space:nowrap}
.torte-article{display:block;margin-top:4px;color:var(--muted);font-size:12px;white-space:nowrap}
.torte-empty{color:#b9aaa4}
.torte-footnote{margin:0;padding:15px 28px 20px;border-top:1px solid var(--line);background:#fff8ee;color:var(--muted);font-size:13px}
.torte-specialty-list{padding:4px 28px 10px}
.torte-specialty{--specialty-accent:var(--crust);padding:26px 0;border-bottom:1px solid rgba(130,0,0,.13)}
.torte-specialty:nth-child(6n+1){--specialty-accent:#c64f28}
.torte-specialty:nth-child(6n+2){--specialty-accent:#455f92}
.torte-specialty:nth-child(6n+3){--specialty-accent:#a51d6a}
.torte-specialty:nth-child(6n+4){--specialty-accent:#9b593f}
.torte-specialty:nth-child(6n+5){--specialty-accent:#087c3f}
.torte-specialty:nth-child(6n){--specialty-accent:#008ac7}
.torte-specialty:last-child{border-bottom:0}
.torte-specialty h3{margin:0;color:var(--specialty-accent);font-family:Georgia,"Times New Roman",serif;font-size:clamp(25px,3vw,34px)}
.torte-specialty-subtitle{margin:6px 0 0;color:var(--dark);font-size:17px;font-weight:700}
.torte-specialty-description{max-width:920px;margin:8px 0 0;color:var(--muted)}
.torte-specialty-note{display:inline-block;margin:9px 0 0;padding:5px 10px;border-radius:999px;background:rgba(130,0,0,.08);color:var(--crust);font-size:13px;font-weight:800}
.torte-options-wrap{margin-top:15px;overflow-x:auto}
.torte-options{width:100%;border-collapse:collapse;table-layout:auto}
.torte-options th,.torte-options td{padding:10px 12px;border-bottom:1px solid rgba(130,0,0,.09);text-align:left;vertical-align:top}
.torte-options thead th{background:#fff8ee;color:var(--muted);font-size:12px;line-height:1.25;text-transform:uppercase;letter-spacing:.035em}
.torte-options tbody tr:last-child td{border-bottom:0}
.torte-option-name{min-width:190px;color:var(--specialty-accent);font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:800}
.torte-option-details{color:var(--muted)}
.torte-option-price{color:var(--specialty-accent);font-family:Georgia,"Times New Roman",serif;font-size:20px;white-space:nowrap}
.torte-option-article{color:var(--muted);font-size:13px;white-space:nowrap}
.torte-specialty-footer{margin:0;padding:18px 28px 22px;border-top:1px solid var(--line);background:#fff8ee;color:var(--dark)}
.torte-specialty-footer strong{color:var(--crust)}
@media(max-width:820px){.header-inner{align-items:flex-start;flex-direction:column}.nav-menu{gap:2px}.nav-menu a{padding:8px 10px;font-size:14px}.grid,.offer-list,.category-grid,.branch-details{grid-template-columns:1fr}.section-head{display:block}.hero{min-height:68vh}.torte-card-head{align-items:flex-start;flex-direction:column}.torte-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.torte-table,.torte-table tbody,.torte-table tr,.torte-table th,.torte-table td{display:block;width:100%}.torte-table tbody{padding:10px 14px}.torte-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 12px;border:1px solid rgba(130,0,0,.12);border-radius:12px;overflow:hidden;background:#fff}.torte-table tbody tr:last-child{margin-bottom:0}.torte-table tbody th,.torte-table tbody td{border-bottom:1px solid rgba(130,0,0,.08);padding:12px 14px}.torte-product{grid-column:1/-1;padding:14px!important;background:#fff8ee;font-size:20px}.torte-table td::before{content:attr(data-label);display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:800;line-height:1.2}.torte-table .torte-empty{display:none}.torte-price-count-3 .torte-col-medium,.torte-price-count-1 td:not(.torte-empty){grid-column:1/-1}.torte-price{font-size:21px}.torte-article{white-space:normal}.torte-footnote{padding:14px 20px 18px}}
@media(max-width:820px){.torte-specialty-list{padding:2px 18px 8px}.torte-specialty{padding:22px 0}.torte-options thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.torte-options,.torte-options tbody,.torte-options tr,.torte-options td{display:block;width:100%}.torte-options tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 10px;border:1px solid rgba(130,0,0,.12);border-radius:10px;overflow:hidden}.torte-options tbody tr:last-child{margin-bottom:0}.torte-options td{padding:10px 12px}.torte-options td::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:10px;font-weight:800;line-height:1.2;text-transform:uppercase}.torte-option-name,.torte-option-details{grid-column:1/-1;min-width:0}.torte-option-name{background:#fff8ee}.torte-specialty-footer{padding:16px 20px 20px}}
@media(max-width:480px){.torten-page{padding-left:14px;padding-right:14px}.torte-card-head{padding:21px 20px 16px}.torte-table tbody{padding:9px}.torte-table tbody th,.torte-table tbody td{padding:11px}.torte-validity{white-space:normal}}
