:root {
    --primary-color: #1f1f1f;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --bg-color: #f8f8f8;
    --border-color: #4a2c20;
    --focus-color: #b87635;

    --color-phase-yellow: #e8dcb5;
    --color-phase-brown: #c48a56;
    --color-phase-dark: #4a2c20;

    --font-main: 'Lexend', sans-serif;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;

    font-size: 100%;

--text: 1rem;
--text-small: 0.875rem;

--h6: 1.05rem;
--h5: 1.15rem;
--h4: 1.32rem;
--h3: 1.52rem;
--h2: 1.75rem;
--h1: 2.01rem;

}

strong {
  font-weight: var(--font-bold);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

p,
ul,
li,
a {
font-size: var(--text);
}

small {
font-size: var(--text-small);
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-weight: var(--font-light);
    font-size: 100%;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    text-align: left;
    hyphens: auto;
}

button, input, select, textarea {
    font-family: inherit;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-container {
    max-width: 1400px;
    width: 100%;
    margin: 2rem auto;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: visible;
    position: relative;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease-in-out;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
}

.top-logo-svg {
    width: auto;
    display: block;
    transition: transform 0.2s ease;
    height: 1rem;
    margin-right: 2rem;
}

.logo:hover .top-logo-svg {
    transform: scale(1.02);
}

.logo-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: var(--font-bold);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.mobile-only-link {
	 display: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--font-medium);
    padding: 0.5rem;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hamburger → X állapot */
.mobile-menu-toggle.active .hamburger-line:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-of-type(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector button {
    background: none;
    border: none;
    border-left: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.75rem 1.2rem;
    color: var(--text-color);
}
.language-selector button:first-child {
    border-left: none;
}
.language-selector button.active {
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.snipcart-checkout {
    padding: 0.7rem 1.4rem;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s;
}
.snipcart-checkout:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1.2rem;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.2s;
    z-index: 1000;
}
.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: all;
}
.back-to-top-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.youtube-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: var(--font-medium);
    font-size: 0.9rem;
    transition: all 0.2s;
}
.youtube-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.youtube-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.youtube-btn .external-link-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-left: 8px;
    vertical-align: middle;
}

.content-section, article.content-section {
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.section-intro {
    max-width: 800px;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.grey-bg {
    background-color: #fafafa;
}

.hero-section {
    padding: 6rem 2rem;
    text-align: center;
    background-color: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section .inner {
    width: 100%;
    max-width: 1200px;
}

.main-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: inline-block;
    animation: heroLogoFade 1.2s ease-out;
}

@keyframes heroLogoFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-section {
    width: 100%;
    height: 500px;
    line-height: 0;
    position: relative;
    background-color: #eee;
}
.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#description {
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}
#description .description-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3.5rem;
    background-color: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
#description .section-title {
    font-size: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
}
#description .features-list {
    text-align: left;
    line-height: 1.8;
    color: #444;
}
#description .features-list li {
    margin-bottom: 1.5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}
.process-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    background-color: #f8f8f8;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #d4d4d4;
}
.process-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}
.process-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0 1rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: -11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 1px var(--border-color);
}
.timeline-marker.drying { background: var(--color-phase-yellow); }
.timeline-marker.maillard { background: var(--color-phase-brown); }
.timeline-marker.crack { background: #955034; }
.timeline-marker.development { background: var(--text-color); }
.timeline-marker.caramel { background-color: #D2691E; }

.long-text-content {
   column-count: 2;
   column-gap: 5rem;
   text-align: left;
   line-height: 1.8;
   font-size: 1.05rem;
   color: #444;
}

.site-footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background-color: #fafafa;
}

.footer-legal {
    margin-bottom: 2rem;
}

.legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.legal-links a {
    padding: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.copyright {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}
.progress-bar {
    height: 4px;
    background: var(--focus-color);
    width: 0%;
    transition: width 0.1s ease-out;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus,
.visually-hidden:focus {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: var(--font-medium);
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    overflow: visible;
    white-space: nowrap;
}

.skip-link:focus:hover {
    background: var(--focus-color);
    color: var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1150px) {

    .map-section {
    width: 100%;
    max-height: 200px;
    line-height: 0;
    position: relative;
    background-color: #eee;
}

    .site-container {
        margin: 1rem auto;
        width: 95%;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .map-section {
        height: 350px;
    }
    #description .description-card {
        padding: 2.5rem;
    }
    .long-text-content {
        column-count: 1;
    }

    .mobile-menu-toggle {
        display: flex;
    }
	
	
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 0;
        background-color: var(--secondary-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        z-index: 100;
    }
    .site-nav.open {
        display: flex;
    }
    .site-nav a {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-bottom: 1px solid #f5f5f5;
    }
    .header-actions {
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .site-container {
        width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: none;
    }
    .content-section, article.content-section {
        padding: 2.5rem 1.25rem;
    }

    p, li, .section-intro {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    .hero-text p {
        font-size: 1.1rem;
        text-align: center;
    }
    .hero-section {
        padding: 3rem 1.25rem;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    #description .section-title {
        font-size: 1.6rem;
        padding-bottom: 1rem;
    }

    .process-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    .process-card h3 {
        font-size: 1.3rem;
        margin: 0;
    }
    .process-card p {
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.5;
    }
    .youtube-btn {
        width: 100%;
        padding: 0.8rem;
    }

    #description {
        padding: 2rem 1rem;
    }
    #description .description-card {
        padding: 1.5rem;
        border: none;
        box-shadow: none;
    }
    #description .features-list {
        padding-left: 0;
        list-style: none;
    }
    #description .features-list li {
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        border-left: 3px solid var(--primary-color);
    }
    #description .features-list .sub-list {
        padding-left: 1rem;
        margin-top: 0.5rem;
        list-style: none;
    }
    #description .features-list .sub-list li {
        border-left: 2px solid #ddd;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .timeline-list {
        margin-left: 0.5rem;
    }
    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }
    .timeline-marker {
        width: 14px;
        height: 14px;
        left: -8px;
        top: 4px;
    }
    .timeline-content h3 {
        font-size: 1.2rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    .timeline-content p {
        font-size: 0.95rem;
        margin: 0;
    }

    .map-section {
        height: 250px;
    }
    .site-header {
        padding: 1rem;
    }
    .header-actions .snipcart-checkout {
        display: none;
    }
    .footer-legal .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.75rem 1.2rem;
    }
	 .timeline-content p {
        margin-bottom: 2rem;
    }

    .timeline-content p:last-child {
        margin-bottom: 0;
    }
	
	 .top-logo-svg {
        height: 10px;
    }
}

.page-title {
    text-align: center;
    font-size: var(--h2);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.page-intro {
    text-align: justify;
    hyphens: auto;
    font-size: var(--h4);
    font-weight: var(--font-bold);
    color: var(--text-color);
    max-width: 500px;
    margin: 0 auto 4rem auto;
    line-height: 1.4;
}

.phase-title {
    font-size: var(--h4);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.check-item.highlighted {
    font-size: var(--h5);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.check-item {
    font-size: var(--text);
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 3px solid #e0e0e0;
    background-color: #fff;
    transition: border-color 0.2s;
}

.check-item:not(.highlighted):hover {
    border-left-color: var(--focus-color);
    background-color: #fafafa;
}

.checklist-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section {
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 1.5rem;
    font-size: var(--h5);
    font-weight: var(--font-medium);
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all 0.2s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--focus-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
    background-color: #fafafa;
    color: var(--focus-color);
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: -3px;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: var(--text-color);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: var(--font-medium);
}

@media (max-width: 1024px) {
    .faq-item summary {
        padding: 1.25rem;
        font-size: var(--h6);
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

@media (max-width: 768px) {
	
	
	.mobile-only-link {
	 display: block;
	}



    .faq-container {
        margin: 2rem auto 0;
    }
    
    .faq-item {
        border-radius: 6px;
        margin-bottom: 0.75rem;
    }
    
    .faq-item summary {
        padding: 1rem;
        padding-right: 3rem;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-item summary::after {
        right: 1rem;
        font-size: 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        text-align: justify;
        hyphens: auto;
    }
}

@media print {
    .faq-item {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }
    
    .faq-item summary::after {
        display: none;
    }
    
    .faq-item[open] summary {
        font-weight: var(--font-bold);
    }
}

@media (prefers-contrast: high) {
    .faq-item {
        border: 2px solid var(--primary-color);
    }
    
    .faq-item summary {
        color: #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item summary::after {
        transition: none;
    }
    
    .faq-answer {
        animation: none;
    }
}



/* Ez a rész tünteti el a pöttyöket (bullet points) */
.checklist-list {
    list-style: none; /* Eltünteti a • jelet */
    padding: 0;       /* Eltünteti a bal oldali behúzást */
    margin: 0;
}