/*
 Theme Name:   Beim Dicken Andi
 Theme URI:    https://dicker-andi.de
 Description:  Kadence Child Theme fuer die Kantine "Beim Dicken Andi"
 Author:       Sascha Manke / younameit.tv
 Author URI:   https://younameit.tv
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  dicker-andi
*/

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Farben */
    --da-ocker:       #E8A838;
    --da-braun:       #1e1608;
    --da-creme:       #FAF6EE;
    --da-grau:        #5F5E5A;
    --da-weiss:       #FFFFFF;
    --da-hellgrau:    #F1EFE8;
    --da-ocker-hell:  #F5D98A;
    --da-ocker-dunkel:#C48A20;
    --da-overlay:     rgba(30, 22, 8, 0.65);

    /* Typografie */
    --da-font-heading: 'Libre Baskerville', Georgia, serif;
    --da-font-body:    'Open Sans', 'Source Sans 3', Arial, sans-serif;
    --da-fs-hero:      clamp(2rem, 5vw, 3.5rem);
    --da-fs-h1:        clamp(1.75rem, 3.5vw, 2.5rem);
    --da-fs-h2:        clamp(1.25rem, 2.5vw, 1.75rem);
    --da-fs-h3:        clamp(1.1rem, 2vw, 1.35rem);
    --da-fs-body:      clamp(0.95rem, 1.2vw, 1.05rem);
    --da-fs-small:     0.85rem;

    /* Spacing */
    --da-section-pad:  clamp(3rem, 6vw, 5rem);
    --da-gap:          clamp(1rem, 2vw, 2rem);
    --da-max-width:    1100px;

    /* Schatten */
    --da-shadow:       0 2px 12px rgba(30, 22, 8, 0.10);
    --da-shadow-lg:    0 4px 24px rgba(30, 22, 8, 0.15);

    /* Radius */
    --da-radius:       6px;
    --da-radius-lg:    12px;
}

/* ============================================
   Reset & Basis
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--da-font-body);
    font-size: var(--da-fs-body);
    line-height: 1.7;
    color: var(--da-braun);
    background-color: var(--da-creme);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--da-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--da-braun);
}

a {
    color: var(--da-ocker-dunkel);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--da-ocker);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Container
   ============================================ */
.da-container {
    width: 100%;
    max-width: var(--da-max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ============================================
   Sektions-Basis
   ============================================ */
.da-section {
    padding: var(--da-section-pad) 0;
}

.da-section:nth-child(even) {
    background-color: var(--da-weiss);
}

.da-section-title {
    font-size: var(--da-fs-h1);
    margin: 0 0 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.da-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--da-ocker);
    border-radius: 2px;
}
