/*
Theme Name: Dining Data
Theme URI: https://dining-data.de
Author: Dining Data Team
Author URI: https://dining-data.de
Description: Modernes WordPress Theme für Dining Data Reservierungssystem mit Landing Page Template - DSGVO-konform mit lokalen Fonts
Version: 1.0.3
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diningdata
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Dining Data WordPress Theme - Lokale Fonts, keine Google CDN
*/

/* 
 * Die Hauptstyles befinden sich in:
 * - css/fonts.css (Lokale Font-Definitionen)
 * - css/landing-page.css (für Landing Page)
 */

/* ============================================
   Base Styles (mit lokalen Fonts)
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* Container */
.container,
.site-content > .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #367778;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #2a5c5d;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #367778;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #2a5c5d;
    transform: translateY(-2px);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #367778;
}

/* WordPress Core Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Sticky Post */
.sticky {
    /* Styles für sticky posts */
}

/* Post Classes */
.entry-content {
    margin-top: 2rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
}

.comment-list {
    list-style: none;
}

.comment-body {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-numbers,
.nav-links a,
.nav-links span {
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover {
    background: #367778;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 1rem;
    }
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 .page-title {
    font-size: 6rem;
    color: #367778;
}

/* Footer Styles */
.dd-footer {
    padding: var(--dd-spacing-3xl) 0 var(--dd-spacing-lg);
    background: var(--dd-gray-900);
    color: var(--dd-gray-300);
}

.dd-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--dd-spacing-xl);
    margin-bottom: var(--dd-spacing-xl);
}

.dd-footer-logo {
    margin-bottom: var(--dd-spacing-md);
}

.dd-footer-logo img {
    height: 70px;
    width: auto;
}

.dd-footer-description {
    color: var(--dd-gray-400);
    font-size: 0.9375rem;
}

.dd-footer-col h4 {
    color: var(--dd-white);
    font-size: 1rem;
    margin-bottom: var(--dd-spacing-md);
}

.dd-footer-col ul {
    list-style: none;
    padding: 0;
}

.dd-footer-col ul li {
    margin-bottom: var(--dd-spacing-sm);
}

.dd-footer-col ul li a {
    color: var(--dd-gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color var(--dd-transition-base);
}

.dd-footer-col ul li a:hover {
    color: var(--dd-teal);
}

.dd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--dd-spacing-lg);
    border-top: 1px solid var(--dd-gray-800);
    flex-wrap: wrap;
    gap: var(--dd-spacing-md);
}

.dd-footer-bottom p {
    color: var(--dd-gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.dd-footer-social {
    display: flex;
    gap: var(--dd-spacing-md);
}

.dd-footer-social a {
    color: var(--dd-gray-400);
    transition: color var(--dd-transition-base);
}

.dd-footer-social a:hover {
    color: var(--dd-teal);
}

@media (max-width: 767px) {
    .dd-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}